On Tue, Apr 16, 2013 at 07:43:32PM +0100, Adam D. Barratt wrote:
> > The attached patch does the latter.  It looks to see if _netdev is in
> > use, and if so will refuse to migrate to a symlink.  Though it will
> > do nothing if a symlink already exists, so it won't revert back to
> > a static file (this could be added easily; I'm just attaching what I've
> > done so far prior to going away for the week in case you want to push
> > a fix for this before I get back).
> 
> What's the current status here?

I've not made any changes as yet.  Given that this will only affect
users who are using e.g. nbd as their rootfs, and not any regular
use of network nfsroot etc., the best option may be to simply
document how to re-enable a static mtab in the release notes, for
users who are dependent upon _netdev working.  This would
essentially be to
- comment out the mtab_migrate conditional in /etc/init.d/checkroot.sh
- rm /etc/mtab
- cat /proc/mounts > /etc/mtab
and to reboot; the _netdev flag will then be stored in mtab correctly.

If we want to do anything more sophisticated, I'm happy to look at
something like the proposed patch.  This would be a relatively safe
change to make.  Likewise if there are any alternative proposals,
I'll be happy to look at that.  But if the release notes are an
acceptable stopgap, I'll draft something.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to