Public bug reported:

Binary package hint: pulseaudio

since jaunty, I used a script which check whether music is played.
It uses the following command:


$ pactl list | grep RUNNING


The script is called from rc.local, and as such, it is run by root.
While in jaunty and karmic, everything works great,
a fresh install of Lucid lets the script die.

If I type in

$ sudo pactl list | grep RUNNING

it gives me the error:

Home directory /home/produnis not ours.
Connection refused

I don't know what this means, as the script isn't stored in my home-
folder, and it does no actions in my home-folder....

In sum:
Running the comand as user "produnis", everything works well
Running the comand as root, it gives me the error.
Unfortunately, I MUST run the script as root (due to other action it does),
so, is there any hint why it is not working any longer?
[Running Lucid 64bit with current updates]

** Affects: pulseaudio (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"sudo pactl list" fails with "Connection refused"
https://bugs.launchpad.net/bugs/575910
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

Reply via email to