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#24712 - [initscripts] Additional hook in rc.sysinit just before /usr is being used
Attached to Project:
Arch Linux
Opened by Jozef K. (jofko) - Monday, 13 June 2011, 20:34 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 19 June 2011, 17:08 GMT
Opened by Jozef K. (jofko) - Monday, 13 June 2011, 20:34 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 19 June 2011, 17:08 GMT
|
Detailsbackground:
Currently in rc.sysinit there is no hook before some binary from /usr is being called. This makes hard to maintain /usr in RAM and similiar configurations as it cuts possiblity to create own /etc/rc.d/functions.d/function Request: Add hook sysinit_mountfinished or something similiar to rc.sysinit <e.g.> run_hook sysinit_premount # now mount all the local filesystems /bin/mount -a -t $NETFS -O no_netdev run_hook sysinit_mountfinished </e.g.> |
This task depends upon
mountfinished.patch
This is the reason: having /usr on a separate partition from / does not work reliably as it is. Instead things fail silently and you might get weird problems.
The reason is that many upstream projects simply don't try to support this setup. In particular, several projects add udev rules which call binaries in /usr, and these rules will probably be triggered before /usr is mounted. What this means for your system might vary, on my current computer the following packages would not work correctly with a separate /usr (do "grep /usr /lib/udev/rules.d/*":
90-alsa-restore.rules is owned by alsa-utils 1.0.24.2-1
10-dm.rules is owned by device-mapper 2.02.85-2
85-usbmuxd.rules is owned by usbmuxd 1.0.6-2
70-infrared.rules is owned by v4l-utils 0.8.4-1
There might be other non-udev related problems that I'm not aware of.
With this in mind, do you still want to push for this change? Do you have a use-case that cannot be solved by moving /usr to /?
Sorry for the somewhat negative response, this is one of my pet-peeves ;-)
Just as I was about to post this, I was convinced that (independently of the particular use-case you mentioned) hooks might not be as evil as I thought. So if you post a git formated patch to arch-projects@archlinux.org, it will probably be accepted :-) Thanks for your contribution!
---------- Forwarded message ----------
From: <arch-projects-owner@archlinux.org>
Date: Tue, Jun 14, 2011 at 8:57 PM
Subject:
FS#24712- [initscripts] Additional hook in rc.sysinit just before /usr is being usedTo: joffko@gmail.com
You are not allowed to post to this mailing list, and your message has
been automatically rejected. If you think that your messages are
being rejected in error, contact the mailing list owner at
arch-projects-owner@archlinux.org.