-
Notifications
You must be signed in to change notification settings - Fork 247
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
Stale services dependencies cache while editing /etc/rc.conf #85
Comments
The /etc/init.d/savecache service saves the dependency cache during shutdown and the cache is restored by /lib*/rc/init.sh during the reboot. This is why the issue exists after the second reboot. |
This is for OpenRC#85.
This commit should be reverted. Because 1. it tries to solve a fake problem 2. it introduces new bug.
Because the system is in a fucked state, when
|
All services generating the deptree at once is a separate issue, so I will treat it as such. I would rather not revert the commit, but I can generate the deptree before attempting to start services. |
Steps to reproduce:
echo 'rc_need="zram-init"' >> /etc/rc.conf
reboot
Observe that no services start because all now depend on zram-init
mount -o remount,rw /
(required because mount fails)sed -i 's/rc_need="zram-init"//' /etc/rc.conf
reboot
Observe that services still fail to start
rc-update -u
Updates cache, and all returns to normal.
Let me know if I can provide any more information
emerge --info
The text was updated successfully, but these errors were encountered: