Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates alternatives don't work #677

Open
dustymabe opened this issue Nov 20, 2020 · 2 comments
Open

updates alternatives don't work #677

dustymabe opened this issue Nov 20, 2020 · 2 comments
Labels
jira for syncing to jira kind/bug

Comments

@dustymabe
Copy link
Member

However much you might like or dislike alternatives. There are significant pieces of our stack that still use it. Let's go through some effort to get it working with rpm-ostree systems so we dont hit the recent issue with iptables again (#676). There is an open issue upstream (fedora-sysv/chkconfig#27) asking if alternatives can be updated to use /etc/ for state instead of /var/. Let's try to work with the maintainer upstream to fix this problem so all RPM-OSTree systems don't have this same problem where intended defaults don't get applied.

@dustymabe dustymabe added the jira for syncing to jira label Nov 25, 2020
@travier
Copy link
Member

travier commented May 4, 2021

Stumbled upon this one again investigating the following log:

systemd[1]: var.mount: Directory /var to mount over is not empty, mounting anyway.

Which is from:

ls -R /sysroot/ostree/deploy/fedora-coreos/deploy/*/var/
/sysroot/ostree/deploy/fedora-coreos/deploy/1b7e0d318f5e78013434236ad17edb8b65297f0e8de3e765562fdedc1a7e52ab.0/var/:
lib  mnt

/sysroot/ostree/deploy/fedora-coreos/deploy/1b7e0d318f5e78013434236ad17edb8b65297f0e8de3e765562fdedc1a7e52ab.0/var/lib:
alternatives  vagrant

/sysroot/ostree/deploy/fedora-coreos/deploy/1b7e0d318f5e78013434236ad17edb8b65297f0e8de3e765562fdedc1a7e52ab.0/var/mnt:

For reference: coreos/rpm-ostree#1614 & coreos/rpm-ostree#1861

Code: https://github.com/coreos/rpm-ostree/blob/12cc4e5f5bbe8da2b59e10fef05b9d30156fc39e/rust/src/composepost.rs#L707-L713

@LorbusChris
Copy link
Contributor

related: fedora-sysv/chkconfig#9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira for syncing to jira kind/bug
Projects
None yet
Development

No branches or pull requests

3 participants