Ok, I think I came up with a solution to capture the output. I'm writing
it onto a local harddrive, but for the redirection to work I had to
remove the --daemon option:

script
    . /etc/default/rcS
    [ -f /forcefsck ] && force_fsck="--force-fsck"
    [ "$FSCKFIX" = "yes" ] && fsck_fix="--fsck-fix"
    [ -n "$TMPTIME" ] && tmptome="--tmptime=$TMPTIME"
    mount -o sync /dev/sda1 /mnt
    cat /etc/fstab
    exec mountall --debug $force_fsck $fsck_fix $tmptime > /mnt/stdout 2> 
/mnt/stderr
end script

-- 
/etc/init/mountall.conf fails when root is mounted using NFS instead of NBD
https://bugs.launchpad.net/bugs/485709
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to