Bug#237056: udev breaks bootlogd
On Dec 31, Thomas Hood <[EMAIL PROTECTED]> wrote: > OK, what if I split "mountdevsubfs" out of mountvirtfs and run it at > S04 and S37. Then udev can move its script to S03 so that it mounts > /dev between S02mountvirtfs and S04mountdevsubfs. Yes. Long time, the udev init script should probably mount /proc and /sys by itself like other distributions do and then the S02 script would not be needed anymore. -- ciao, Marco signature.asc Description: Digital signature
Bug#237056: udev breaks bootlogd
Marco d'Itri wrote: > On Dec 31, Thomas Hood <[EMAIL PROTECTED]> wrote: > >> OK, what if I split "mountdevsubfs" out of mountvirtfs and run it at >> S04 and S37. Then udev can move its script to S03 so that it mounts >> /dev between S02mountvirtfs and S04mountdevsubfs. > > Yes. OK, I have made the necessary changes in svn. mountvirtfs will run at S02 and S36; mountdevsubfs will run at S04 and S37. Note that S04mountdevsubfs will still run _before_ S04udev so the net behavior will remain unchanged. (Also, I am not sure that mountdevsubfs needs to run at S37 but I think it's best to make changes in small steps.) The next step would be for the udev initscript to be moved back to S03. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#237056: udev breaks bootlogd
Marco d'Itri wrote: > This is what I do on my system and it works fine, but I'd rather split > mountvirtfs which is the correct solution. OK, what if I split "mountdevsubfs" out of mountvirtfs and run it at S04 and S37. Then udev can move its script to S03 so that it mounts /dev between S02mountvirtfs and S04mountdevsubfs. -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#237056: udev breaks bootlogd
found 237056 0.050-1 # this means I can ignore this bug forever thanks On Dec 31, Nathanael Nerode <[EMAIL PROTECTED]> wrote: > Except it isn't remounted later, until S36. This is really bad because By design, because it was hard to do it reliably and Miquel assured me that this would cause no problems (and indeed it did no, except for bootlogd). > * have udev actually remount /dev/pts (and /dev/shm) at the end of its script > The natural solution. Creates code duplication, though. Unless udev > invokes /etc/mountvirtfs directly, in which case it has to watch out > and make sure that 'set -e' is disabled for the invocation. See above. I am not inclined to do this again (it adds complexity to work around a misfeature in a different package). > * split mountvirtfs into multiple scripts, one for /proc and /sys which > runs before udev, and one for /dev/pts and /dev/shm which runs after. This is what me and Miquel agreed to do, but when I tried discussing it with the current maintainer he was not very interested. > * move bootlogd before udev This is what I do on my system and it works fine, but I'd rather split mountvirtfs which is the correct solution. > As an aside, none of these solutions are robust to parallelized initscripts > -- but then neither are udev or bootlogd, period. Essentially > nothing can safely run at the same time as udev. Essentially all > initscripts should run after bootlogd for bootlogd to make sense -- but only > if bootlogd is present. And these aren't because the later scripts in any > sense 'require' them. I have been saying this for a while, now you only need to persuade the initscripts maintainer. -- ciao, Marco signature.asc Description: Digital signature