Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695654 - sys-apps/systemd - unused dependency on sys-fs/udev-init-scripts
Summary: sys-apps/systemd - unused dependency on sys-fs/udev-init-scripts
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-09-25 23:53 UTC by Bertrand Jacquin
Modified: 2019-09-29 15:53 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 Bertrand Jacquin 2019-09-25 23:53:10 UTC
sys-fs/udev-init-scripts provides the following content:
    /etc/conf.d/udev-trigger
    /etc/conf.d/udev-settle
    /etc/conf.d/udev
    /etc/init.d/udev-trigger
    /etc/init.d/udev-settle
    /etc/init.d/udev

none of them are used by sys-apps/systemd since they can only be consumed by openrc



Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2019-09-26 02:59:29 UTC
It is possible to use udev from systemd on a system running openrc.
Comment 2 Bertrand Jacquin 2019-09-26 21:14:00 UTC
(In reply to Mike Gilbert from comment #1)
> It is possible to use udev from systemd on a system running openrc.

I am reopening this since it's still quiet unclear to me. I definitely understand it's possible to use udev from systemd on a system running openrc, however sys-fs/udev-init-scripts is also a direct dependency on openrc while systemd is handling udev on it's own.
Comment 3 Mike Gilbert gentoo-dev 2019-09-28 17:17:43 UTC
Sorry, but I dont really know how to further clarify this. However, I a certain I will not be making any changes.
Comment 4 Bertrand Jacquin 2019-09-28 19:05:49 UTC
(In reply to Mike Gilbert from comment #3)
> Sorry, but I dont really know how to further clarify this. However, I a
> certain I will not be making any changes.

Can you at least comment on the note I just made earlier? This is not appropriate, you are not making me or any body reading this bug to actually understand.

Quoting myself "I definitely understand it's possible to use udev from systemd on a system running openrc, however sys-fs/udev-init-scripts is also a direct dependency on openrc while systemd is handling udev on it's own."

Said differently, there is no reason to have sys-fs/udev-init-scripts in both openrc and systemd.
Comment 5 Mike Gilbert gentoo-dev 2019-09-29 00:53:05 UTC
Please do not reopen this.
Comment 6 Mike Gilbert gentoo-dev 2019-09-29 02:29:13 UTC
> however sys-fs/udev-init-scripts is also a direct dependency on openrc

sys-apps/openrc does NOT depend on sys-fs/udev-init-scripts.

People running OpenRC have 3 options if they wish to utilize udev:

sys-fs/eudev
sys-fs/udev
sys-apps/systemd

All of these packages install some form of udevd.

To allow udevd to be started on a system running OpenRC, the 3 udev providers all depend on sys-fs/udev-init-scripts.

The user may chose not run OpenRC or systemd when they boot their system; installing the init scripts always ensures this runtime switching works properly.

This also aligns with Gentoo's policy that init scripts and systemd units should always be installed unconditionally.
Comment 7 Mike Gilbert gentoo-dev 2019-09-29 02:34:12 UTC
> The user may chose not run OpenRC or systemd

This should read "The user may chose to run OpenRC or systemd".
Comment 8 Bertrand Jacquin 2019-09-29 15:53:30 UTC
You are correct, I did misread the ebuild initially. Thanks for the elaborated answer, appreciated.