[Bug 374694] [NEW] pulseaudio suspend/resume script fails for accounts with 8 char username

2009-05-10 Thread stephane
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

Re: [Bug 374694] [NEW] pulseaudio suspend/resume script fails for accounts with 8 char username

2009-05-10 Thread Luke Yelavich
Thanks for your bug report. I think using the UID instead of the user name is actually a much better idea. Each user's UID is unique, and there is no chance of the script choaking on the many different characters that are possible in usernames. I'll work on a patch to use the UID instead,