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

Bug#518463: marked as done (initscripts: skip live specific file systems)



Your message dated Fri, 28 May 2010 09:06:18 +0200
with message-id <4BFF6B6A.7080704@debian.org>
and subject line Re: initscripts: skip live specific file systems
has caused the Debian Bug report #518463,
regarding initscripts: skip live specific file systems
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
518463: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518463
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initscripts
Severity: wishlist
Tags: patch
Owner: debian-live@lists.debian.org

Hi,

/etc/init.d/umountfs unmounts both temporary and local filesystems.
however, in case of a live system, trying to unmount /cow, /live* or
/filesystem* will not work and therefore results in an (end-user
confusing) warning, that the respective fs could not have been unmounted
because it's busy.

In the latest version of live-initramfs we do workaround this at runtime
by patching the script. However, it would be nice if this could be
improved and integrated into the umountfs script itself.

Note that the namespace (/live*, /filesystem* etc.) is stable, it is
already part of some excluding/including mechanisms in gnome-vfs and
live-installer. so you don't have to fear that even if you hardcode it,
that you don't need to change it soon again. However, if you would
prefere something with an exclude mechanism by sourcing from another
file that would be only there on live-systems, that's fine too. Please
let me know what you'd prefere.

Anyway, here is what we do currently:

sed -i  -e 's#pioodl $TMPFS_MTPTS)#pioodl $TMPFS_MTPTS | sed -e "s@\\
@\\n@" | grep -v ^/live)#' \
        -e 's#pioodl $REG_MTPTS)#pioodl $REG_MTPTS | sed -e "s@\\ @\\n@"
| grep -v ^/live | grep -v ^/filesystem) /#' \
/etc/init.d/umountfs

in the second replace, we also add '/' so that $REG_MTPTS is never
empty. it would be nice if you can make the whole unmounting of local
filesystems conditional, so that the script doesn't try to do anything
when there's nothing to unmount.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



--- End Message ---
--- Begin Message ---
Hi,

the root cause for this request was, that live-initramfs did lock the
cow mounts and the initscripts therefore showed a warning that those
mounts could not be unmounted cleanly at shutdown, hence the request to
ignore them.

however, in february, i could fix the cow handling, so on shutdown,
everything is cleanly unmounted now and there's no need anymore to
ignore anything in initscripts, therefore i'm closing this bug now.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/


--- End Message ---

Reply to: