Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 446372 - sys-fs/udev - udevd was moved, which can render systems unbootable. Create a symlink for safety.
Summary: sys-fs/udev - udevd was moved, which can render systems unbootable. Create a ...
Status: RESOLVED DUPLICATE of bug 408891
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-07 14:47 UTC by Murph
Modified: 2013-01-19 14:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Murph 2012-12-07 14:47:11 UTC
Recently, /sbin/udevd was moved to /usr/lib64/systemd/systemd-udevd on my system.

My system then crashed, and upon reboot was unbootable because all the init scripts still pointed to /sbin/udevd.

/sbin/udevd should be symlinked to the new location of 'systemd-udevd'. Doing so allowed my system to boot again.

After a sufficient transition period, this symlink can be dropped.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-12-07 14:55:41 UTC
Why don't you simply update the udev start script in /etc/init.d via etc-update command?
Comment 2 Murph 2012-12-07 14:57:38 UTC
I have now fixed it.

The problem is that my system crashed between the two.

I just don't see any purpose for making the transition in an unsafe state that can render a system unbootable if it can be made safe with a simple symlink.
Comment 3 Ben Kohler gentoo-dev 2012-12-07 16:33:03 UTC
Updating things like udev & openrc, then rebooting before merging new configs, has always been a recipe for disaster.  Don't do that.
Comment 4 Murph 2012-12-07 16:39:02 UTC
Of course, I wouldn't do it on purpose. But if it's going to be a part of a frequently multi-hundred package update, you have to expect that there's a chance of an unintended reboot.

Are you saying that a symlink isn't worth the safety?

I could come up with several other ways to make this work well. You could force/reccomend these changes to be emerged seperatly so that their config changes will be merged quickly. You could have a setup similar to etc-update that switches both at once. You could decide that some config changes should be auto-merged. But I think the symlink is easy and safe.
Comment 5 William Hubbs gentoo-dev 2012-12-07 23:03:11 UTC
I can do that, but running the newer udev with older udev init scripts
hasn't been tested, so I can't be sure you would gain anything from
running it that way.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-01-17 18:14:44 UTC
Portage does print a message for configuration update. Miss anything boot related and you are likely screwed. Nothing to do here far as I can see.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-01-19 14:00:32 UTC

*** This bug has been marked as a duplicate of bug 408891 ***