Hello,

On Monday 25 May 2009, martin f krafft wrote:
> also sprach Stefanos Harhalakis <v...@v13.gr> [2009.05.23.1432 +0200]:
> > mount -n -o move ... done.
> >
> > If it is shown before, it will be helpfull to tell me after which
> > line. There will be a pause of 3 seconds after the 'done.' message
> > but I suggest you also press ctrl-S at that point.
>
> The problem happens later:
>
> Fast boot enabled, so skipping file system check. (warning).
> [   81.434677] aufs au_opts_parse:1042:mount[1697]: unknown option
> errors=remount-ro [   81.441904] aufs au_opts_parse:1042:mount[1698]:
> unknown option errors=remount-ro mount: / not mounted already, or bad
> option
>
> This is due to /etc/rcS.d/S10checkroot.sh, which remounts the root
> filesystem.

That was what I thought. I reproduced it and unfortunately I don't see a 
standard way for avoiding this. I believe that the lines that case the problem 
in checkroot.sh are the following:

if ! mount -n -o remount,$rootopts,$rootmode $fstabroot / 2>/dev/null
then
        mount -n -o remount,$rootopts,$rootmode /
fi

The only fixes that I can think of are:
a) Ask initscripts' authors to add a check for already r/w root filesystem and 
leave the root filesystem r/w.
b) On-the-fly change fstab to remove extra options.

I find (b) to be the easiest approach but I'm not sure that it won't cause 
problems. Any thoughts on that?

> PS: why do you --bind mount /fsprotect/aufs to /root instead of
> using --move?

Good point. I changed that.

p.s. I'm CC'ing this to the bug report address to keep track of the 
conversation. It may be usefull for future reference.




-- 
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