Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#43445 - [systemd] initcpio hook: list added units according to systemctl list-dependencies initrd.target
Attached to Project:
Arch Linux
Opened by Alain Kalker (ackalker) - Wednesday, 14 January 2015, 19:40 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 March 2015, 14:11 GMT
Opened by Alain Kalker (ackalker) - Wednesday, 14 January 2015, 19:40 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 15 March 2015, 14:11 GMT
|
DetailsDescription:
Please consider restructuring the list of units added with `add_systemd_unit` to be in the order as output by `systemctl list-dependencies initrd.target`. The structure output by `list-dependencies` appears to be very consistent: the difference between a minimal `base` system made with pacstrap and a fully pimped out system with lots of other packages installed comes down to a few units inserted within the overall structure. Keeping this structure makes it much easier to troubleshoot (and experiment), as well as find units which need to be added or which can be removed. Additional info: * package version(s) systemd 218-1 mkinitcpio 18-2 * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 15 March 2015, 14:11 GMT
Reason for closing: Won't implement
Additional comments about closing: Doesn't seem like a good compromise given a number of factors.
Sunday, 15 March 2015, 14:11 GMT
Reason for closing: Won't implement
Additional comments about closing: Doesn't seem like a good compromise given a number of factors.
I'm hesitant to add more toil to the packaging process for the sake of an infrequent optimization task.
Considering that the current consistency may not hold forever, I think that even keeping the list sorted lexicographically would be a big improvement.
systemd-hwdb-update.service
systemd-fs-fuse-connections.mount
sys-kernel-config.mount
sys-kernel-debug.mount
alsa-restore.service
alsa-state.service
(there's others)
And there's units in here which are pulled in because of local configuration. While it's common to my machine, srv-nfs-video.mount probably is rare elsewhere. The ALSA stuff isn't always going to be included... this gets worse the more I look at it.
I think the best starting point is a fresh system with only the `base` group installed, then add units which appear to be needed (installed by packages other than systemd itself).