Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh

2011-05-15 Thread rleigh
On Sun, May 15, 2011 at 02:52:46PM +0100, Ben Hutchings wrote: > On Sat, 2011-05-14 at 03:27 +0200, Goswin von Brederlow wrote: > > Ben Hutchings writes: > > > > > On Thu, May 12, 2011 at 08:57:18PM +0200, Goswin von Brederlow wrote: > > >> rleigh writes: &g

Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh

2011-05-12 Thread rleigh
On Thu, May 12, 2011 at 05:52:23PM +0200, Goswin von Brederlow wrote: > Ben Hutchings writes: > > > On Wed, May 11, 2011 at 05:40:52PM +0100, rleigh wrote: > > [...] > >> The fix for this is straightforward: by making initramfs-tools use the > >> same optio

Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh

2011-05-11 Thread rleigh
On Wed, May 11, 2011 at 07:56:13PM +0100, Ben Hutchings wrote: > On Wed, May 11, 2011 at 05:40:52PM +0100, rleigh wrote: > [...] > > The fix for this is straightforward: by making initramfs-tools use the > > same options as initscripts and any additional user entries in > >

Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh

2011-05-11 Thread rleigh
initscripts so that everything works > whether you're using /etc/mtab as a file or as a symlink to > /proc/mounts (as will occur soon; see #620710 and > http://people.debian.org/~rleigh/util-linux_2.19.1-1.dsc). The > new mount uses libmount and /run/mount/utab which makes a >

Bug#603858: Mount options for proc conflict with /etc/fstab breaking /etc/init.d/mountall.sh

2011-05-10 Thread rleigh
over to the host from the initramfs so that read-only root works correctly. This matches up the mount options with those used by initscripts so that everything works whether you're using /etc/mtab as a file or as a symlink to /proc/mounts (as will occur soon; see #620710 and http://people.debian.

Bug#621803: mountkernfs.sh unconditionally mounts /run

2011-05-10 Thread rleigh
On Tue, May 10, 2011 at 11:31:23PM +0200, chris h wrote: > * rleigh [110510 20:43]: > > On Tue, May 10, 2011 at 11:55:48AM +0200, Michael Biebl wrote: > > > Am 10.05.2011 11:39, schrieb rleigh: > > > > On Tue, May 10, 2011 at 11:11:20AM +0200, Michael Biebl wrote

Bug#621803: mountkernfs.sh unconditionally mounts /run

2011-05-10 Thread rleigh
On Tue, May 10, 2011 at 11:55:48AM +0200, Michael Biebl wrote: > Am 10.05.2011 11:39, schrieb rleigh: > > On Tue, May 10, 2011 at 11:11:20AM +0200, Michael Biebl wrote: > >> Am 09.05.2011 23:40, schrieb rleigh: > >>> On Mon, May 09, 2011 at 10:56:39PM +0200, chris h

Bug#621803: mountkernfs.sh unconditionally mounts /run

2011-05-10 Thread rleigh
On Tue, May 10, 2011 at 11:55:48AM +0200, Michael Biebl wrote: > Am 10.05.2011 11:39, schrieb rleigh: > > On Tue, May 10, 2011 at 11:11:20AM +0200, Michael Biebl wrote: > >> Am 09.05.2011 23:40, schrieb rleigh: > >>> On Mon, May 09, 2011 at 10:56:39PM +0200, chris h

Bug#621803: mountkernfs.sh unconditionally mounts /run

2011-05-10 Thread rleigh
On Tue, May 10, 2011 at 11:11:20AM +0200, Michael Biebl wrote: > Am 09.05.2011 23:40, schrieb rleigh: > > On Mon, May 09, 2011 at 10:56:39PM +0200, chris h wrote: > >> with initscripts 2.88dsf-13.5 from exp and initramfs-tools maks/run > >> there's a new warning dur

Bug#621803: mountkernfs.sh unconditionally mounts /run

2011-05-09 Thread rleigh
t may still attempt to read it. As soon as mount switches to a symlink for /etc/mtab, it will never be out of date. I'll take a look later tonight. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `&

Bug#621803: Add support for /run directory

2011-04-27 Thread rleigh
On Tue, Apr 26, 2011 at 06:48:15PM +0200, Marco d'Itri wrote: > On Apr 26, rleigh wrote: > > > Testing with initramfs-tools (maks/run) with current unstable shows > > udev appearing to work correctly with it using /dev/.udev when /run > > is not present on the hos

Bug#621803: Add support for /run directory

2011-04-27 Thread rleigh
On Tue, Apr 26, 2011 at 06:48:15PM +0200, Marco d'Itri wrote: > On Apr 26, rleigh wrote: > > > Testing with initramfs-tools (maks/run) with current unstable shows > > udev appearing to work correctly with it using /dev/.udev when /run > > is not present on the hos

Bug#621803: Add support for /run directory

2011-04-26 Thread rleigh
On Tue, Apr 26, 2011 at 05:12:49PM +0200, Marco d'Itri wrote: > On Apr 26, rleigh wrote: > > > > -mount -t tmpfs -o nodev,noexec,nosuid,mode=0755 none /run > > > +mount -t tmpfs -o "nosuid,size=20%,mode=0755" tmpfs /run > Why does /run should not be n

Bug#621803: Add support for /run directory

2011-04-26 Thread rleigh
-- This is with udev 168-1. However, I see the above without any changes to initramfs-tools or initscripts, and this doesn't changes with /run present in the initramfs or both the initramfs and rootfs, so it's a separate issue, and so far specific to the VM image. 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

Bug#621803: Add support for /run directory

2011-04-26 Thread rleigh
hen initramfs-tools is updated and initscripts is not. Thanks, 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

Bug#621803: Add support for /run directory

2011-04-22 Thread rleigh
On Mon, Apr 18, 2011 at 07:38:41PM +0100, Roger Leigh wrote: > On Mon, Apr 18, 2011 at 05:58:07PM +, maximilian attems wrote: > > On Mon, Apr 18, 2011 at 05:43:02PM +0100, rleigh wrote: > > > > > > I didn't see a patch in git, so I've attached a simple o

Bug#621803: Add support for /run directory

2011-04-18 Thread rleigh
On Mon, Apr 18, 2011 at 05:58:07PM +, maximilian attems wrote: > On Mon, Apr 18, 2011 at 05:43:02PM +0100, rleigh wrote: > > > > I didn't see a patch in git, so I've attached a simple one here. > > This creates /run as a tmpfs, and moves the mount to the ro

Bug#621803: Add support for /run directory

2011-04-18 Thread rleigh
s a simple and safe change to make. I've raised the severity due to the /run transition being dependent on this being fixed. Many thanks, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GN