Open ghost opened 6 years ago
Yeah, need to change alternatives to stop using /var
.
I made a dirty hack on my host to make alternatives work, to switch java version. But it seems like alternatives will need more changes than expected to make it work on Atomic. Because when switching links it also tries to recreate the links in /usr
, even if they're already exist and pointing to the right places and crashes without any changes to /etc/alternatives
links. It needs to make ostree admin unlock
to work properly.
https://github.com/fedora-sysv/chkconfig/pull/135 has been merged. I have not checked the implications for existing and new systems yet.
fedora-sysv/chkconfig#135 has been merged. I have not checked the implications for existing and new systems yet.
With that being merged, can we close this issue?
I think it would be great to get some docs on how to migrate existing systems before we close this.
I'm not sure this is correct to report here, but...
Host system details
// I know, that's a lot of layered packages. But I need to do some stuff and I'm still not a container-guy
Description
Any packages that use alternatives system register alternatives in bwrap container, but
/var
contents of this container isn't copied back to the host system and vanish. And because of that/var/lib/alternatives
is empty and/usr/sbin/alternatives
can't do anything. For example, switch java version.Would you like to work on the issue?
I can't help. But I can test the fix if it would be released.