|
|
Subscribe / Log in / New account

Poettering: Why systemd?

Poettering: Why systemd?

Posted May 2, 2011 7:24 UTC (Mon) by ebiederm (subscriber, #35028)
In reply to: Poettering: Why systemd? by mezcalero
Parent article: Poettering: Why systemd?

> > The kexec path is hardcoded to /sbin/kexec while it lives under /usr/sbin/ on my system.

> Then your OS is broken. /usr/bin is not available during late shutdown, hence placing kexec there is just wrong.

Wow. If this is true than systemd has a bug here. The only reason kexec -e is called the distribution shutdown scripts is because the patch to /sbin/reboot never made it into sysvinit. All kexec -e really does is a single system call.

Systemd has incorrect hard coded paths to avoid a single system call???

Wow.


to post comments

Poettering: Why systemd?

Posted May 2, 2011 9:42 UTC (Mon) by michich (guest, #17902) [Link]

"kexec -e" does more than a single syscall. It also downs all network interfaces, shaper devices first.

Poettering: Why systemd?

Posted May 2, 2011 15:55 UTC (Mon) by mezcalero (subscriber, #45103) [Link]

Is it really just a single system call? afaics it does all kinds of stuff like uploading a kernel. Not sure I want to get into the business of doing that.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds