On Sun, Apr 17, 2011 at 07:21:56AM +1000, Kel Modderman wrote: > On Sun, 17 Apr 2011 02:06:50 AM Roger Leigh wrote: > > Done. The diff to sync svn with the uploaded NMU is attached. I stupidly > > didn't sync with svn for the upload, so I uploaded a second time with the > > svn changes synched, which is why there's a second revision in the > > attached diff. > > Applied the diff. Also applied one more patch to svn, so please do sync with > that before further /run fixups.
Hi Kel and other sysvinit developers, I've attached a further update for your consideration, which fixes a few issues. If it's OK with you, this could be uploaded to experimental (with your changes folded into the same version in the changelog) as 2.88dsf-13.5. Unless you'd prefer to do a maintainer upload. The logic used for mounting filesystems is duplicated entirely between the various scripts doing mounting, and the mtab script used to generate the initial mtab. This includes the domtab() function, which is almost entirely identical to domount() with the use of -f with mount. This patch removes the duplication, and uses the same codepaths for both mounting and mtab generation, which will make the scripts much more robust when making any changes. The reason for doing this was principally to allow for /remounting/ of already mounted filesystems so that filesystems mounted in the initramfs and subsequently moved onto the rootfs could be made to use the mount options specified in /etc/fstab (and /etc/default/tmpfs, where applicable). This means that all filesystems mounted by the initramfs are entirely user-configurable, so mount options and policies are not hardcoded in the initramfs. I also added remount/reload argument support to mountkernfs/mountdevsubfs which means you can edit /etc/defaults/* and/or /etc/fstab and then reload to make those changes active. Other than that, we create relative rather than absolute symlinks, and I've made the error checking and other parts of the scripts more robust. Other than these changes, I'm not aware of anything outstanding in initscripts needing changes to support /run. The symlinks neeed making relative, and while I did the mount changes to allow for a clean handover from the initramfs-mounted /run to the real system so our configuration would still get applied, this is a general change which applies to all initramfs-mounted filesystems via creation of a suitable entry in /etc/fstab. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
signature.asc
Description: Digital signature
_______________________________________________ Pkg-sysvinit-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-sysvinit-devel

