[Pkg-sysvinit-devel] Bug#656584: initscripts: /run transition: Please update /etc/network/if-up.d/mountnfs

Roger Leigh rleigh at codelibre.net
Fri Jan 20 10:16:21 UTC 2012


On Fri, Jan 20, 2012 at 11:07:24AM +0100, MAG4 Piemonte wrote:
> Dear Maintainer,
> after update to initscripts (version 2.88dsf-18) NetworkManager is waiting for
> interface (even if interface is already up) not doing NFS mounts.
> I think is related to /etc/network/if-up.d/mountnfs, that is not updated to
> /run transition at row 123: "       if ! grep -q $i /etc/network/run/ifstate ;
> then"
> This may be now /run/network/ifstate, according to
> http://wiki.debian.org/ReleaseGoals/RunDirectory

This shouldn't cause any problems though, since /etc/network/run
is nowadays a symlink to /run/network:

% ls -ld /etc/network/run
lrwxrwxrwx 1 root root 12 Jun  8  2011 /etc/network/run -> /run/network
% ls -ld /etc/network/run/ifstate
-rw-r--r-- 1 root root 16 Jan 20 09:01 /etc/network/run/ifstate
% ls -l /run/network/ifstate 
-rw-r--r-- 1 root root 16 Jan 20 09:01 /run/network/ifstate

Moving to the new path may also be troublesome, since ifupdown depends
on the new initscripts for it to transition to /run.  That is, we need
to continue using the old path or else we'll have an unsatisfiable
circular dependency.  The old paths will continue to be valid until
after wheezy for this reason.  We could always try the new and then
fall back to the old path as an alternative.


So none of the above is to say that there isn't a bug, just that it's
probably not a result of the /run transition unless you deleted the
compatibility symlinks.


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.





More information about the Pkg-sysvinit-devel mailing list