FS#39386 - Dependencies on systemd could be on udev

Attached to Project: Arch Linux
Opened by CalimeroTeknik (Calimero) - Thursday, 13 March 2014, 17:45 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 April 2014, 16:48 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently, a lot of packages *depend* on systemd when they only require *udev*.

This causes a bit of hell when udev is built separately from systemd.
My initial reason for posting this is that I'm using Arch Linux packages everywhere, not only as the "running system", but also in chroots or other containers, and this makes it almost impossible to manage, at least cleanly.

But regardless, that would be a general dependency cleanliness improvement.
If at some time it's not the systemd package that provides udev anymore, the transition will happen with no hassle if everything depends on the virtual dependency "udev".

Some packages already use the udev dependency: libatasmart and libgusb in [core] do.

We already do that with libgl, which can be provided by mesa-libgl, libgl-switcheroo, nvidia-libgl, etc.
It's really convenient when building a custom package for the functionality!


Current relevant packages and apparent strongest reason:
core/device-mapper (links to libudev)
core/libusb (links to libudev)
extra/lighttpd (doesn't need to depend on systemd at all)
core/lvm2 (links to libudev)
extra/mesa (links to libudev)
core/pcmciautils (provides an udev rule)
extra/subversion (doesn't need to depend on systemd at all)
extra/xf86-input-evdev (links to libudev)

These packages clearly don't need systemd, only udev.
subversion and lighttpd seem to need no systemd dependency: they merely provide service units.
Does providing an udev rule warrant a dependency to udev, for pcmciautils?
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 05 April 2014, 16:48 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Nothing to do here. We aren't going to create virtual providers here for the sake of easing supporting unsupported things.
Comment by Dave Reisner (falconindy) - Thursday, 13 March 2014, 17:57 GMT
We've already split off the runtime libraries to libsystemd. Is this not sufficient?
Comment by CalimeroTeknik (Calimero) - Thursday, 13 March 2014, 18:38 GMT
I'm not complaining at all about this, it's great!
Just suggesting to change the "systemd" dependency of some packages to "udev".
Of course, systemd provides "udev". (respectively, libsystemd will provide libudev, I guess)

Loading...