Public bug reported:
Description: Ubuntu 9.04
Release: 9.04
pm-utils:
Installed: 1.2.2.4-0ubuntu4
Candidate: 1.2.2.4-0ubuntu4
Version table:
*** 1.2.2.4-0ubuntu4 0
500 http://de.archive.ubuntu.com jaunty/main Packages
100 /var/lib/dpkg/status
pulseaudio:
Installed: 1:0.9.14-0ubuntu20.2
Candidate: 1:0.9.14-0ubuntu20.2
Version table:
*** 1:0.9.14-0ubuntu20.2 0
500 http://de.archive.ubuntu.com jaunty-updates/main Packages
500 http://security.ubuntu.com jaunty-security/main Packages
100 /var/lib/dpkg/status
1:0.9.14-0ubuntu20 0
500 http://de.archive.ubuntu.com jaunty/main Packages
I am using /bin/bash instead of /bin/dash as /bin/sh
=================================
Using the command "sudo pm-suspend", only the screen is locked.
This seems to be caused by /usr/lib/pm-utils/sleep.d/01PulseAudio
>From the /var/log/pm-suspend.log:
+ suspend_pulse
++ get_pulse_users
+++ ps aux
+++ awk '/\/usr\/bin\/pulseaudio --start/ {print $1}'
++ echo 1000
+ for i in '$(get_pulse_users)'
+ sudo -H -u 1000 pactl suspend-sink 1
+ sudo -H -u 1000 pactl suspend-source 1
+ hook_exit_status 1
executing sudo -H -u 1000 pactl suspend-sink 1 from a root-console
resulted in:
sudo: no passwd entry for 1000!
man sudo told me, that the -u flag has to be used with the username or
the uid preceded by an escaped hash symbol (\#)
This does not seem to be the case using dash.
Changing the four occurrences of the sudo -u call in 01PulseAudio solved
the problem. This fix does work with dash, too.
** Affects: pulseaudio (Ubuntu)
Importance: Undecided
Status: New
--
pm-suspend does not work, caused by /usr/lib/pm-utils/sleep.d/01PulseAudio
https://bugs.launchpad.net/bugs/414385
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