Bug 512360 - Umount all network mountpoints before go to sleep mode, shutdown or reboot
Summary: Umount all network mountpoints before go to sleep mode, shutdown or reboot
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-07-17 14:14 UTC by Igor A Tarasov
Modified: 2010-06-28 13:41 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 470092
Environment:
Last Closed: 2010-06-28 13:41:20 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
proposed script for umounting network file-systems (228 bytes, application/octet-stream)
2009-07-23 14:05 UTC, Zdenek Prikryl
no flags Details

Description Igor A Tarasov 2009-07-17 14:14:04 UTC
+++ This bug was initially created as a clone of Bug #470092 +++

Description of problem:
When cifs mount is acvtive, shutdown become difficult (2 or more time need to process sleep request and process run slowly). When manually umount cifs filesystem all work fine. We need automatically umount unused cifs filesystem BEFORE go to sleep mode. Restore is not principial.

Version-Release number of selected component (if applicable):
Fedora 9, last updates

How reproducible:
Always

Steps to Reproduce:
1. mount -t cifs any filesystem
2. try go to sleep mode in Gnome or KDE
2. try go to sleep mode in Gnome or KDE
3. try go to sleep mode in Gnome or KDE

Actual results:
It work, after some tries ! :)
  


Expected results:
First try must work as withowt active cifs filesystem.

Additional info:
notebook can't switch to sleep mode automatically :(

--- Additional comment from dwmw2 on 2008-11-05 17:08:20 EDT ---

This is not an issue with the 0xFFFF package, against which you chose to file this bug. Please reopen and assign to the correct component.

--- Additional comment from dicr.ua on 2008-11-05 17:28:34 EDT ---

Please, specify what component responce for state changing to sleep (Suspend to RAM or disk).

--- Additional comment from tuxbrewr on 2009-03-08 14:04:01 EDT ---

ACPI is not the correct component for this issue.  If you are using gnome please change to gnome-power-manager  for KDE  guidance-power-manager.

--- Additional comment from fedora-triage-list on 2009-06-09 23:10:53 EDT ---


This message is a reminder that Fedora 9 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 9.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '9'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 9's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 9 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

--- Additional comment from linux on 2009-06-10 08:33:38 EDT ---

Please, change the Fedora Version for this bug to 10.

When you shutdown computer from the Gnome or KDE desktop it's hang on
'Umounting network file system', because network support stopped before with NetworkManager. To shutdown correctly I need to umount network filesystems before shutdown:

service netfs stop
shutdown (or with GUI menu Shutdown)

--- Additional comment from fedora-triage-list on 2009-07-14 10:08:29 EDT ---


Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

--- Additional comment from linux on 2009-07-17 10:11:13 EDT ---

No changes under fedora 11.
Need manually umount network shares before shutdown, reboot or sleep.
Please, reopen this bug.

Comment 1 Steven M. Parrish 2009-07-22 14:48:10 UTC
Reassigning to the correct component.

-- 
Steven M. Parrish - KDE Triage Master
                  - PackageKit Triager
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Zdenek Prikryl 2009-07-23 14:04:25 UTC
I think that you need to add a script to /usr/lib/pm-utils/sleep.d. There is 55NetwokManager which sends a sleep message to Network Manager. If you need to umount network file-systems before NetworkManager stops, you have to add a script 50cifs. An example is in an attachment.

Comment 3 Zdenek Prikryl 2009-07-23 14:05:26 UTC
Created attachment 354865 [details]
proposed script for umounting network file-systems

Comment 4 Zdenek Prikryl 2009-07-23 14:06:45 UTC
Anyway, this isn't a bug in acpid (it cannot contain such a scripts). The proper component is probably pm-utils. So reassigning.

Comment 5 Igor A Tarasov 2009-07-23 18:43:04 UTC
Also shutdown and reboot scripts ? :)

Comment 6 Jiri Skala 2010-02-24 06:58:14 UTC
(In reply to comment #5)
> Also shutdown and reboot scripts ? :)    

How do you mount the cifs filesystem? Do you use fstab or another way?

Are comments #2 & #3 enough to fix the issue?

Comment 7 Igor A Tarasov 2010-02-24 17:37:50 UTC
I any way. I have CIFS entries in fstab, but also mount cifs by hand.
mtab always contains actual state of mounting filesystems.
And it need to be umounted before network stopped in shutdown process.

Comment 8 Bug Zapper 2010-04-27 15:44:50 UTC
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 9 Bug Zapper 2010-06-28 13:41:20 UTC
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.