Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489966 - >=sys-kernel/dracut-031 - should alternatively rdepend on sys-apps/systemd-sysv-utils
Summary: >=sys-kernel/dracut-031 - should alternatively rdepend on sys-apps/systemd-sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amadeusz Żołnowski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-31 12:56 UTC by Alexander Tsoy
Modified: 2013-12-10 19:39 UTC (History)
1 user (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 Alexander Tsoy 2013-10-31 12:56:09 UTC
It seems that sys-apps/sysvinit dependency is not mandatory anymore [1]. The only executables from sysvinit that still needed by dracut are: reboot, poweroff, halt. All of them are also provided by sys-apps/systemd-sysv-utils.

Of course, if sys-apps/sysvinit is not installed and systemd module is not included in initramfs, then shutdown functionality will likely not work.

How about replacing the dep

>=sys-apps/sysvinit-2.87-r3

with

|| (
    sys-apps/systemd-sysv-utils
    >=sys-apps/sysvinit-2.87-r3
)

??


[1] http://git.kernel.org/cgit/boot/dracut/dracut.git/commit/?id=45ef8eb7234dbad60e39ce1e7791c8e9ad7d920b
Comment 1 Nikoli 2013-11-19 08:16:21 UTC
Did you verify boot after removing sys-apps/sysvinit and rebuilding initramfs?
Comment 2 Alexander Tsoy 2013-11-19 20:37:35 UTC
Yes, everything works fine.
Comment 3 Amadeusz Żołnowski (RETIRED) gentoo-dev 2013-12-10 19:39:03 UTC
Committed in dracut-034-r1 (no revbump). Thanks!