Processed: Re: Bug#477498: general: Unmounting network filesystems solution (for me at least) - Debian
This is a discussion on Processed: Re: Bug#477498: general: Unmounting network filesystems solution (for me at least) - Debian ; Processing commands for control@bugs.debian.org :
> reassign 477498 initscripts
Bug#477498: smbfs: Shutdown & Reboot scripts try umount CIFS but CIFSD is killed first
Bug reassigned from package `general' to `initscripts'.
> thanks
Stopping processing here.
Please contact me if you ...
-
Processed: Re: Bug#477498: general: Unmounting network filesystems solution (for me at least)
Processing commands for control@bugs.debian.org:
> reassign 477498 initscripts
Bug#477498: smbfs: Shutdown & Reboot scripts try umount CIFS but CIFSD is killed first
Bug reassigned from package `general' to `initscripts'.
> thanks
Stopping processing here.
Please contact me if you need assistance.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-
Bug#477498: general: Unmounting network filesystems solution (for me at least)
Sound to me like the cifs startup script need to register their pid to
avoid killall killing them at shutdown. The mechanism is already
provided by initscripts, now the packages needing it just need to use
it.
Which package starts this daemon? This issue should be reassigned
there.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-
Bug#477498: general: Unmounting network filesystems solution (for me at least)
[Petter Reinholdtsen]
> Sound to me like the cifs startup script need to register their pid
> to avoid killall killing them at shutdown. The mechanism is already
> provided by initscripts, now the packages needing it just need to
> use it.
Another alternative is to flag the mounted volume in /etc/fstab using
the _netdev flag, to make sure the volume is umounted by umountnfs.sh
and not umountfs.sh during shutdown.
Happy hacking,
--
Petter Reinholdtsen
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
-
Bug#477498: general: Unmounting network filesystems solution (for me at least)
On Mon, Oct 20, 2008 at 09:57:24AM +0200, Petter Reinholdtsen wrote:
> Sound to me like the cifs startup script need to register their pid to
> avoid killall killing them at shutdown. The mechanism is already
> provided by initscripts, now the packages needing it just need to use
> it.
> Which package starts this daemon? This issue should be reassigned
> there.
Er, there's no such daemon.
> Another alternative is to flag the mounted volume in /etc/fstab using
> the _netdev flag, to make sure the volume is umounted by umountnfs.sh
> and not umountfs.sh during shutdown.
$ grep cifs /etc/init.d/umountnfs.sh
nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs)
$
umountnfs.sh already knows that cifs is a network filesystem. And having to
add a flag to /etc/fstab would be the wrong solution, /because/ cifs is
always a network filesystem and umountnfs.sh should handle it.
But in some circumstances, it happens that the network interface is taken
down before umountnfs.sh is called. This is the case when using NM 0.6 to
manage your interface (and possibly with later versions, I haven't checked).
CIFS doesn't like having the network pulled out from under it, leaving these
long timeouts.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
--
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org