SOLVED FOR ME: short version: edit /etc/pam.d/* and remove '@include
common-pammount' lines from all files. pammount will STILL WORK - the line is
no longer required, and breaks things.
This might not work for you.
Long version:
Similar problem here, except pm-suspend.log shows a segfault when
suspending PA:
/usr/lib/pm-utils/sleep.d/01PulseAudio suspend suspend: Segmentation fault
Segmentation fault
Segmentation fault
Returned exit code 139.
Tue Jan 19 14:28:33 EST 2010: Inhibit found, will not perform suspend
I've purged pm-utils, removed everything in /usr/lib/pm-utils, and
reinstalled acpi-support (and thus pm-utils). There are some things
missing, such as /usr/lib/pm-utils/sleep.d/01PulseAudio and others in
the same dir - that's because they're installed by those OTHER packages,
and they're probably required.
But sure enough, removing 01PulseAudio "fixes" suspending, putting it
back breaks it again.
Tracing the problem down, it's quite simple: as root, i can't sudo as myself!.
I checked all the local users:
r...@quark:/var/log# for u in $(</etc/passwd awk -F : '{print $1; }'); do sudo
-u $u ls >/dev/null || echo $u; done
Erreur de segmentation
esj
I'm the only user root can't sudo to. I don't know why. /home is on an
encrypted partition but that also homes other users.
So i traced it further down: i'm also the only user with a pammount hook
to make sure /home is decrypted. If i disable /etc/pam.d/common-pammount
i can suspend at will (and root can sudo to me).
Well it turns out that since libpam-mount upstream 1.27, you shouldn't
have the @include common-pammount line in your /etc/pam.d/* files. If
you've setup any type of automounting volumes (not just encrypted)
before, relying on pammount, then you'd have those lines, and that will
break sudo, and that will break pulseaudio suspend, and that will break
your system's suspend.
I removed the line. Automount of /home when i login still works fine. Suspend
now works fine.
w00t.
--
unable to suspend after upgrade to Karmic (/usr/bin/pacmd)
https://bugs.launchpad.net/bugs/498980
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs