Public bug reported:
Binary package hint: pulseaudio
The suspend/resume script for this package (located at /usr/lib/pm-
utils/sleep.d/01PulseAudio) will fail if a user has a username longer
than eight characters. This is because it relies on the output of 'ps
aux', which will display usernames longer than eight characters as their
numeric uids. The resulting sudo command generated by the script will
then fail, because if sudoing to a uid, the sudo command would need to
be specified as sudo -u #1000 rather than sudo -u 1000.
I observed this issue on 9.04 (Jaunty). The pulseaudio package version
is 0.9.14-0ubuntu20. I expected suspend to work (as it did in
Intrepid). It didn't. I had a look at /var/log/pm-suspend.log, and now
here we are. :)
The attached diff represents one way of fixing this issue.
** Affects: pulseaudio (Ubuntu)
Importance: Undecided
Status: New
--
pulseaudio suspend/resume script fails for accounts with 8 char username
https://bugs.launchpad.net/bugs/374694
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs