Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#29454 - [networkmanager] Disconnect a connexion unmount my disks
Attached to Project:
Arch Linux
Opened by Anthony Ruhier (Anthony25) - Saturday, 14 April 2012, 19:06 GMT
Last edited by Ionut Biru (wonder) - Monday, 16 April 2012, 18:12 GMT
Opened by Anthony Ruhier (Anthony25) - Saturday, 14 April 2012, 19:06 GMT
Last edited by Ionut Biru (wonder) - Monday, 16 April 2012, 18:12 GMT
|
DetailsDescription:
When I disconnect a connexion in the network manager, it's unmounting my disks (even if they are declared in the fstab). Additional info: * package version(s) : networkmanager : 0.9.2.0-3 network-manager-applet : 0.9.2.0-1 desktop-privileges : 0.2-3 gnome 3.2.2 * config and/or log files etc. In /var/log/daemon.log : Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan0): device state change: disconnected -> unavailable (reason 'none') [30 20 0] Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan0): deactivating device (reason 'none') [0] Apr 14 21:02:53 localhost NetworkManager[872]: <info> Policy set 'NEUF_FE14 Ralink' (wlan1) as default for IPv4 routing and DNS. Apr 14 21:02:53 localhost NetworkManager[872]: <info> Policy set 'NEUF_FE14 Ralink' (wlan1) as default for IPv4 routing and DNS. Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan0): taking down device. Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan1): device state change: activated -> unavailable (reason 'none') [100 20 0] Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan1): deactivating device (reason 'none') [0] Apr 14 21:02:53 localhost avahi-daemon[868]: Withdrawing address record for 192.168.1.102 on wlan1. Apr 14 21:02:53 localhost avahi-daemon[868]: Leaving mDNS multicast group on interface wlan1.IPv4 with address 192.168.1.102. Apr 14 21:02:53 localhost avahi-daemon[868]: Interface wlan1.IPv4 no longer relevant for mDNS. Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan1): removing resolv.conf from /usr/sbin/resolvconf Apr 14 21:02:53 localhost NetworkManager[872]: <info> (wlan1): taking down device. Apr 14 21:02:53 localhost dbus[629]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper) Apr 14 21:02:53 localhost dbus[629]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher' Apr 14 21:02:53 localhost avahi-daemon[868]: Withdrawing address record for fe80::2c0:caff:fe36:7d0d on wlan1. Apr 14 21:02:53 localhost ntfs-3g[13839]: Unmounting /dev/sdc1 (DDE 750Go) Apr 14 21:02:53 localhost NetworkManager[872]: <info> WiFi hardware radio set disabled Apr 14 21:02:53 localhost NetworkManager[872]: <info> WiFi now disabled by radio killswitch Apr 14 21:02:53 localhost ntfs-3g[13829]: Unmounting /dev/sda4 (Data) Steps to reproduce: Just disconnecting the connexion. |
This task depends upon
I join my netfs script to this comment.
PS : and I am sorry for all the mistakes I made in the bug report ;)
Edit : Thanks to you I have understood from where this bug comes : I share my disks over the network, and when the Networkmanager disconnect a connexion, it unmounts all folders shares whith NFS and samba.
But it unmounts my disks to, so how I could just disable the share when the network is down and keep my disks mounted ?
Edit 2 : Actually even the disks that I don't share in samba are unmounted when I do "rc.d netfs stop"...
Many Thanks jelly to your help.
NETFS="nfs,nfs4,smbfs,cifs,codafs,ncpfs,shfs,fuse,fuseblk,glusterfs,davfs,fuse.glusterfs"
That includes FUSE filesystems, meaning that ntfs-3g filesystems will get unmounted by this script.
Many thanks to have helped me solving my problem, I request the closure of the bug ;)