Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Tim Dijkstra
Florian Lohoff schreef: On Sat, Nov 15, 2008 at 05:25:19PM +0100, Michael Biebl wrote: Florian Lohoff wrote: Package: pm-utils Version: 1.1.2.4-1 Severity: wishlist Hi, please provide a sleep scriptlet to unmount network filesystems. I am currently using this basically copied from

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Florian Lohoff
On Mon, Nov 17, 2008 at 12:08:04PM +0100, Tim Dijkstra wrote: A sane way could be to refuse suspend if there are open files on the network storage as the state could get severly garbled if suspending with potentially dirty cache content or even resuming with some expectation about the

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Tim Dijkstra
Florian Lohoff schreef: On Mon, Nov 17, 2008 at 12:08:04PM +0100, Tim Dijkstra wrote: A sane way could be to refuse suspend if there are open files on the network storage as the state could get severly garbled if suspending with potentially dirty cache content or even resuming with some

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Florian Lohoff
On Mon, Nov 17, 2008 at 03:01:09PM +0100, Tim Dijkstra wrote: Suspend also takes down networking (/usr/lib/pm-utils/sleep.d/10NetworkManager) whats the point in this? I mean if you take down networking you also should take care of taking down network filestems before disabling networking.

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Tim Dijkstra
Florian Lohoff schreef: On Mon, Nov 17, 2008 at 03:01:09PM +0100, Tim Dijkstra wrote: Suspend also takes down networking (/usr/lib/pm-utils/sleep.d/10NetworkManager) whats the point in this? I mean if you take down networking you also should take care of taking down network filestems

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Florian Lohoff
On Mon, Nov 17, 2008 at 04:17:04PM +0100, Tim Dijkstra wrote: There must be also quite some people that suspend their notebook on their desk. Besides that most modern desktops I've seen also suspend just fine. Anyway, what I wanted to say in all my argumentation so far is that bringing down

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Michael Biebl
Florian Lohoff wrote: Suspend also takes down networking (/usr/lib/pm-utils/sleep.d/10NetworkManager) whats the point in this? I mean if you take down networking you also should take care of taking down network filestems before disabling networking. This is inconsitent behaviour ...

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-17 Thread Michael Biebl
Florian Lohoff wrote: And its not about the wired/wireless drivers not surviving. Bringing Actually I think this was the initial reason why the NetworkManager scriplet was added to pm-utils, as I wrote in a previous email. Cheers, Michael -- Why is it that all of the instruments seeking

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-15 Thread Florian Lohoff
Package: pm-utils Version: 1.1.2.4-1 Severity: wishlist Hi, please provide a sleep scriptlet to unmount network filesystems. I am currently using this basically copied from /etc/init.d/umountnfs.sh which does more than needed (unmounting sysfs etc) ... This needs to be done before network

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-15 Thread Michael Biebl
Florian Lohoff wrote: Package: pm-utils Version: 1.1.2.4-1 Severity: wishlist Hi, please provide a sleep scriptlet to unmount network filesystems. I am currently using this basically copied from /etc/init.d/umountnfs.sh which does more than needed (unmounting sysfs etc) ... This needs to

Bug#505793: pm-utils: please provide scriptlet to unmount network filesystems

2008-11-15 Thread Florian Lohoff
On Sat, Nov 15, 2008 at 05:25:19PM +0100, Michael Biebl wrote: Florian Lohoff wrote: Package: pm-utils Version: 1.1.2.4-1 Severity: wishlist Hi, please provide a sleep scriptlet to unmount network filesystems. I am currently using this basically copied from /etc/init.d/umountnfs.sh