[Bug 829076] New: [Pulseaudio startup fail] - running progams (such as Yast) through xdg-su changes owner of /run/user/*/pulse
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c0 Summary: [Pulseaudio startup fail] - running progams (such as Yast) through xdg-su changes owner of /run/user/*/pulse Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: Other OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: Sound AssignedTo: tiwai@suse.com ReportedBy: admin@ifyouwantblood.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0 running programs - especially yast2 - through xdg-su changes the owner of /run/user/$ID/pulse (and possibly other folders under /run/user/$ID/) to root. this causes pulseaudio to fail with the message: E: [autospawn] core-util.c: Failed to create secure directory (/run/user/1001/pulse): Permission denied W: [autospawn] lock-autospawn.c: Cannot access autospawn lock. E: [pulseaudio] main.c: Failed to acquire autospawn lock manually changing the owner back to the user fixes this. depending on the program running through xdg-su this may effect other folders in /run/user/$ID - such as dconf and gvfs - too. this affects all Yast2 desktop files in /usr/share/applications/YaST2/ Reproducible: Always Steps to Reproduce: 1. xdg-su -c "yast2 sw_single" 2. enter correct pw and press enter Actual Results: E: [autospawn] core-util.c: Failed to create secure directory (/run/user/1001/pulse): Permission denied W: [autospawn] lock-autospawn.c: Cannot access autospawn lock. E: [pulseaudio] main.c: Failed to acquire autospawn lock Expected Results: no owner change -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c1 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com AssignedTo|tiwai@suse.com |jslaby@suse.com --- Comment #1 from Takashi Iwai <tiwai@suse.com> 2013-07-11 14:41:56 UTC --- This sounds more like a generic issue in xdg-su, not specific to PA. Jiri, could you take a look? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Component|Sound |Basesystem -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c2 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |admin@ifyouwantblood.de --- Comment #2 from Jiri Slaby <jslaby@suse.com> 2013-07-19 08:53:56 UTC --- I don't see it with KDE. What DE do you use? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c3 --- Comment #3 from Jiri Slaby <jslaby@suse.com> 2013-07-19 08:57:18 UTC --- The best would be to attach the output of sh -xx xdg-su -c "yast2 sw_single" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c4 --- Comment #4 from Sebastian K <admin@ifyouwantblood.de> 2013-08-13 18:06:08 UTC --- i(In reply to comment #2)
I don't see it with KDE. What DE do you use?
at first i thougt with gnome too, but after some deeper looking it's only affecting e17. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c5 Tomas Cech <tcech@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tcech@suse.com --- Comment #5 from Tomas Cech <tcech@suse.com> 2013-08-15 13:50:32 CEST --- if Sebastian is using my modified version of xdg-utils, evil things may happen. But I'll have a look on that after vacation. Thanks for the report. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c6 --- Comment #6 from Sebastian K <admin@ifyouwantblood.de> 2013-08-15 12:41:32 UTC --- Tomas i didn't realise there was a patched version of xdg-utils in the e17 repo. but i'll tried standard one and its the same. so the problem is both with gnomesu and when running through xterm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c7 --- Comment #7 from Tomas Cech <tcech@suse.com> 2013-08-19 11:50:26 CEST --- Thank you for confirmation. If it is not related to my modified version, the same behaviour should appear in any non KDE/GNOME/XFCE DE. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c8 --- Comment #8 from Ondrej Holecek <oholecek@suse.com> 2013-12-11 14:55:28 CET --- Isn't this same issue as bnc#852015? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c9 --- Comment #9 from Takashi Iwai <tiwai@suse.com> 2013-12-11 14:36:46 UTC --- Yes, looks so. It was fixed in 13.1 but not for 12.3. The backport isn't too trivial as pam_systemd code has been changed a lot, unfortunately... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=829076 https://bugzilla.novell.com/show_bug.cgi?id=829076#c10 Jiri Slaby <jslaby@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|admin@ifyouwantblood.de | Resolution| |DUPLICATE --- Comment #10 from Jiri Slaby <jslaby@suse.com> 2014-01-09 15:04:21 UTC --- . *** This bug has been marked as a duplicate of bug 852015 *** http://bugzilla.novell.com/show_bug.cgi?id=852015 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com