-
Notifications
You must be signed in to change notification settings - Fork 59
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
Comments
Stumbled upon this one again investigating the following log:
Which is from:
For reference: coreos/rpm-ostree#1614 & coreos/rpm-ostree#1861 |
related: fedora-sysv/chkconfig#9 |
fedora-sysv/chkconfig#135 has been merged. I have not checked the implications for existing and new systems yet. |
With https://bodhi.fedoraproject.org/updates/FEDORA-2024-4960de2b0f in F41, this should be fixed in next. Will need some testing. Maybe CC @HuijingHei ? |
If it's indeed fixed, we'll need a release notes entry and probably some docs. |
Do testing according to fedora-sysv/chkconfig#135 (comment) in
Check in container
|
Can you test on a running system if the We should then update the docs in https://docs.fedoraproject.org/en-US/fedora-coreos/alternatives/ with the "normal" |
From https://www.mankier.com/8/alternatives:
|
Try on silverblue, seems can not create new at runtime, if using existing files works.
|
Build FCOS image with
|
The related doc is updated in coreos/fedora-coreos-docs#673 |
So, coreos/fedora-coreos-config#264 is not "correct" in the sense that it does something that should only be done when creating an RPM or when you want to add your own config. I think what we want instead is to document:
See also: #1818 |
If I understand correctly, the |
Thanks for the pointing out, sorry for my misunderstanding, update in the doc PR and remove the command output. |
The fix for this went into |
The fix for this went into |
This makes sure that the system is setup properly and that the migration script will do the right thing on older systems. See: coreos/fedora-coreos-tracker#1818 See: coreos/fedora-coreos-tracker#677 See: https://docs.fedoraproject.org/en-US/fedora-coreos/alternatives/
The fix for this went into |
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.The text was updated successfully, but these errors were encountered: