gvfsd-trash stops suspend and hibernate

Bug #827787 reported by HappyCamper
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I don't know for sure that pm-utils is to blame, it might be gvfsd-trash, but this seemed like a good place to start.

1)
Description: Ubuntu 11.04
Release: 11.04

2)
pm-utils:
  Installed: 1.4.1-7
  Candidate: 1.4.1-7
  Version table:
 *** 1.4.1-7 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

gvfs:
  Installed: 1.8.0-0ubuntu2
  Candidate: 1.8.0-0ubuntu2
  Version table:
 *** 1.8.0-0ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

3)
I expected the PC's to suspend or hibernate, as requested.

4)
When I select either suspend or hibernate from the menu, Ubuntu starts going through the motions of the selected action, and it looks like it's working. However, it eventually just comes back to the "locked screen" login. I know it goes to this screen before suspending or hibernating, I'm not just being impatinent.

I checked dmesg on my wife's PC (not the one I am reporting this on) after a failed suspend it said that gvfsd-trash was stopping the suspend. I did:

  sudo pkill gvfsd-trash

...and tried to suspend again and it worked perfectly, I then tried to hibernate right after it, and it also worked fine.

I then thought maybe it was the same thing that was stopping suspend and hibernate from working on my own PC (the one I am reporting the bug from), so I killed gvfsd-trash it on, and then suspend worked here as well. I don't have a hibernate option on my menu.

 -----------

I hope this bug report work ok, the failed hibernate was right in the middle of me reporting this bug.

Let me know if you need more information.

Colin =)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: pm-utils 1.4.1-7
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic-pae 2.6.38.7
Uname: Linux 2.6.38-10-generic-pae i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Tue Aug 16 20:06:52 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: pm-utils
UpgradeStatus: Upgraded to natty on 2011-06-12 (65 days ago)

Revision history for this message
HappyCamper (colin-conway) wrote :
Revision history for this message
HappyCamper (colin-conway) wrote :

There is a bug that is similar and confirmed ( Bug #610048 ), but I'm not sure it's the same.

Revision history for this message
HappyCamper (colin-conway) wrote :

I forgot to mention....

Both of the PC's have auto cifs mounts in their /etc/fstab files, which go to an Ubuntu Server file sharing machine.

I don't know if this could be causing gvfsd-trash problems, but I though I better mention it.

Revision history for this message
Timothy Mayoh (timothy-m-deactivatedaccount) wrote :

Does the problem stop occuring if you disable automatic mounting of the server?

Changed in pm-utils (Ubuntu):
status: New → Incomplete
Revision history for this message
HappyCamper (colin-conway) wrote :

Well, the cifs fstab entries don't have "auto" like I thought they did, but they do auto mount. If I comment them all out completely the suspend and hibernate works fine.

Here is one of the mount commands. I don't think it's doing anything unusual:

  //192.168.93.3/colin/documents /home/colin/Documents cifs credentials=/home/colin/.smbcredentials_colin,iocharset=utf8,codepage=unicode,unicode 0 0

Should I be mounting them differently?

I also noticed that commenting them out fixed another problem on my wife's PC, which is that it takes FOREVER to shutdown. I had assumed it was something to do with the wifi card. I guess I'll look into that separately though.

Revision history for this message
Timothy Mayoh (timothy-m-deactivatedaccount) wrote :

It appears the bug you are reporting, as you thought, is likely identical to Bug #610048, so I will mark it as such.

Many thanks,
Timtohy

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.