[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /run in experimental



On Fri, May 13, 2011 at 09:07:04PM +0200, Stefan Lippers-Hollmann wrote:
> Hi
> 
> On Friday 13 May 2011, Roger Leigh wrote:
> > On Wed, Apr 27, 2011 at 05:40:13PM +0100, Roger Leigh wrote:
> > > On Sun, Apr 17, 2011 at 10:23:10AM +0100, Roger Leigh wrote:
> [...]
> > With the upload of initramfs-tools (0.99) to unstable, we're now
> > ready to upload sysvinit 2.88dsf-13.6 to unstable, available at
> >   http://people.debian.org/~rleigh/sysvinit_2.88dsf-13.6.dsc
> > if you would like to test it.  I'm just waiting for confirmation
> > from the maintainers before I NMU it.
> 
> Switching to /run/ triggers a critical bug in ifupdown's init script 
> (#623076, #623523, proposed change in #625204). This completely breaks
> any kind of network access (including lo), if /etc/network/run is a 
> symlink to /dev/shm/network (default). 

Is this definitely the case with initscripts 2.88dsf-13.6 /after/ a
reboot?  It's working fine for me:

# ls -l /etc/network/run
lrwxrwxrwx 1 root root  16 May 13 20:15 /etc/network/run -> /dev/shm/network
# ls -l /etc/network/run/
total 4
-rw-r--r-- 1 root root  16 May 13 20:17 ifstate
# cat /etc/network/run/ifstate
lo=lo
eth0=eth0
# ls -l /dev/shm
lrwxrwxrwx 1 root root 8 May 13 20:17 /dev/shm -> /run/shm
ls -l /run/shm
total 0
drwxr-xr-x 2 root root 60 May 13 20:17 network

Note that 2.88dsf-13.6 switched the /dev/shm symbolic link to being an
absolute link (/run/shm, not ../run/shm).  But you'll need to reboot
(or rerun mountall.sh after deleting the link) to fix it up--it may
well be the relative link that's causing problems for ifupdown.

> Wouldn't it be better to upload a NMU for ifupdown incorporating the 
> proposed modifications first and adding a versioned Breaks to 
> initscripts 2.88dsf-13.6 accordingly?

Certainly if this is still broken.  If you could confirm the above
for me, that would be great.  If it is, we'll fix ifupdown first.

Thanks for the testing so far.


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.

Attachment: signature.asc
Description: Digital signature


Reply to: