[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2018-04-02 Thread Daniel van Vugt
This bug is closed. If you have any issues, please open a new bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/elementaryos/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2018-03-30 Thread Ccurtis0
With the caveat that I haven't followed the entire thread, I had a
similar problem today on an older 14.04 release: the owner of
/run/user/$id/pulse would "spontaneously" become root. Comment #34 says
this is easily reproducible when running pkexec/synaptic. I believe I
can explain - broadly - what is happening by describing what I can
confirm.

First, here is one way to reproduce the problem:
*) PulseAudio (v4 in this case) starts as a normal user.
*) As root (via sudo su -), run 'aplay --list-devices'
*) /run/user/$id/pulse is now owned by root.

Tracing 'aplay' I can see that it is dlopen()ing a bunch of pulseaudio
support libraries. *Somehow* they (the pulseaudio support libraries, I
presume) determine that pusleaudio is running. They extract a cookie
from /root/.config/cookie and try to connect to the server via
/run/user/$id/pulse/native socket.

At this point, I don't know what the code is trying to do, but what it
_does_ do is this:

mkdir("/run/user/1000/pulse", 0700) = -1 EEXIST (File exists)
open("/run/user/1000/pulse", O_RDONLY|O_NOCTTY|O_NOFOLLOW|O_CLOEXEC) = 5
fchown(5, 0, 0) = 0
fchmod(5, 0700) = 0
[...]
getuid()= 0
socket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 5
connect(5, {sa_family=AF_LOCAL, sun_path="/run/user/1000/pulse/native"}, 110) = 
-1 ENOENT (No such file or directory)
[...]

If my supposition is true that this is in the pulseaudio libraries, any
application running as root (like synaptic) is going to disable the
sound server when it tries to play audio through pulseaudio.

I scanned the pulseaudio changelogs and didn't see anything mentioning
this, but I can also confirm that Ubuntu 17.10 with pulseaudio version
10 and aplay version 1.1.3 does not do this. The older aplay version was
1.0.27.2.

In Ubuntu 17.10 pulseaudio is being run by 'gdm' but the same aplay
strace shows that it now looks for the socket in /var/run/pulse/native
instead of any particular UID in /run. It's unclear to me if the problem
is solved (in pulseaudio, if the culprit) or just band-aided by changing
the configuration (perhaps of ALSA integration with pulseaudio).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/elementaryos/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 103 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=753882.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2011-11-14T18:29:34+00:00 Dr wrote:

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/comments/0


On 2011-11-14T18:36:24+00:00 Dr wrote:

Following 11-11-2011 F16 updates I have following problem
99% certain this did not happen before the updates

Login to the console as fred
Create a konsole window

[fred@naxos ~]$ xhost +  
access control disabled, clients can connect from any host 
[fred@naxos ~]$ su - ja
Password: 
ja@naxos ~ 1$ export DISPLAY=:0.0
ja@naxos ~ 2$ gedit prob.txt
** (gedit:4544): CRITICAL **: unable to create '/run/user/fred/dconf'; dconf 
will not work properly.
ja@naxos ~ 3$ 

Editing is possible but ja preferences are not honoured

Why is gedit trying to create a file in fred's directory?
[root@naxos ~]# ls -l /run/user/
total 0
drwx--. 4 fred fred 80 Nov 11 11:29 fred
drwx--. 2 root root 40 Nov 11 12:00 root


Fully updated F16
Using KDM and XFCE (not GDM or Gnome)

[root@naxos ~]# yum info gconf*
Installed Packages
Name: GConf2
Arch: x86_64
Version : 3.2.3
Release : 1.fc16
Size: 6.2 M
Repo: installed
>From repo   : local-16-update
Summary : A process-transparent configuration system
URL : http://projects.gnome.org/gconf/
License : LGPLv2+
Description : GConf is a process-transparent configuration database API used to
: store user preferences. It has pluggable backends and features to
: support workgroup administration.

[root@naxos ~]# yum info dconf
Installed Packages
Name: dconf
Arch: x86_64
Version : 0.10.0
Release : 1.fc16
Size: 210 k
Repo: installed
>From repo   : anaconda-0
Summary : A configuration system
URL : http://live.gnome.org/dconf
License : LGPLv2+
Description : dconf is a low-level configuration system. Its main purpose is to 
provide a
: backend to the GSettings API in GLib.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/comments/1


On 2011-11-18T01:03:34+00:00 Matthias wrote:

This is because su - does not change the XDG_RUNTIME_DIR environment
variable.

Setting XDG_RUNTIME_DIR=/run/user/ja is not going to solve the problem,
since dconf relies on the system to create (and remove) the runtime dir.

Unsetting XDG_RUNTIME_DIR will make dconf use ~/.cache, and thus avoid
the problem.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/comments/2


On 2011-11-28T12:15:01+00:00 Dodji wrote:

Matthias, I am sorry, but I don't understand why you close this as
'NOTABUG'.

So what you are essentially saying by doing this is that end users
should not expect dconf to work after they did 'su -', and for what it's
worth, I would find that assertion questionable.  In other words, this
ought to be fixed somehow, IMHO.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/comments/3


On 2011-11-28T12:15:26+00:00 Guillaume wrote:

(In reply to comment #2)
> Setting XDG_RUNTIME_DIR=/run/user/ja is not going to solve the problem, since
> dconf relies on the system to create (and remove) the runtime dir.

Then we have at least one of the following problem:
- dconf shouldn't rely on the sytem to create the runtime dir
- the sytem (systemd?) should create the runtime dir when loging in using "su 
-".

I do need a working environnement when testing with my test user.

Can you please re-open this bug ? Looks like I don't have the rights to
do it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/comments/4


On 2011-11-28T12:17:37+00:00 Dodji wrote:

I am tentatively re-opening the bug.  I don't meant to be rude by doing
this.  It's just that I think we need at least some rationale of why
this should be seen as an expected behaviour.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/comments/5


On 2011-11-28T12:18:58+00:00 Michael 

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2015-03-21 Thread Dariusz
This bug affects me today on actual elementary 0.3 freya

** Also affects: elementaryos
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/elementaryos/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-19 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 204-0ubuntu19.1

---
systemd (204-0ubuntu19.1) saucy-proposed; urgency=low

  * Add pam-check-runtime-dir-user.patch: Don't set an existing
$XDG_RUNTIME_DIR in the PAM module if it isn't owned by the session user.
Otherwise su sessions get a runtime dir from a different user which leads
to either permission errors or scribbling over the other user's files.
(Backported from current trusty package) (LP: #1197395)
  * debian/extra/60-keyboard.hwdb: Backport latest maps from trusty, as per
standing SRU exception:
- Fix Lenovo Z370 (LP: #1245189)
- Add Toshiba Satellite U940
 -- Martin Pitt martin.p...@ubuntu.com   Fri, 06 Dec 2013 08:37:14 +0100

** Changed in: systemd (Ubuntu Saucy)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-14 Thread Steve White
Hi, with some difficulty I installed the -proposed packages for saucy having to 
do with systemd.
This is a Lenovo E135 running Saucy.

This cleared up several problems for me, some related to sound, some not
obviously related.

One not mentioned here exactly:
FlashPlugin in Firefox made like an old TV showing static, and the message
   an error occurred, try again later
(this message has been reported appearing in other situations, too.)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-12 Thread Id2ndR
The packages from -proposed fixed the bug for me after rebooting the
computer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-12 Thread Martin Pitt
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-10 Thread Stéphane Graber
Hello Davide, or anyone else affected,

Accepted systemd into saucy-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/systemd/204-0ubuntu19.1
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: systemd (Ubuntu Saucy)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-10 Thread Martin Pitt
** Description changed:

  I'm experiencing this problem with Ubuntu Saucy. Some times, when I start a 
media player (I use Musique), it freezes, as it finds that it cannot write into 
/run/user/$ID/pulse.
  If I change the owner of that directory to me, the media player starts as 
usual and is able to play music.
  I've never had this problem with previous versions of Ubuntu.
  Someone says that running PulseAudio with the -D argument changes the owner 
of that directory, but I didn't try.
  
  This is before manually changing the owner of that directory:
  $ musique
  Failed to create secure directory (/run/user/1000/pulse): Permission denied+
  
  ... # it doesn't crash, it keeps waiting
  
  If needed:
  (dmesg attached)
  lspci:
  00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory 
Controller Hub (rev 07)
  00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)
  00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)
  00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #4 (rev 03)
  00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #5 (rev 03)
  00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #6 (rev 03)
  00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #2 (rev 03)
  00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)
  00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 
(rev 03)
  00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 
(rev 03)
  00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 
(rev 03)
  00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 
(rev 03)
  00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 
(rev 03)
  00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #1 (rev 03)
  00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #2 (rev 03)
  00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #3 (rev 03)
  00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #1 (rev 03)
  00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
  00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
  00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 
port SATA Controller [AHCI mode] (rev 03)
  02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter 
(PCI-Express) (rev 01)
  85:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8072 PCI-E 
Gigabit Ethernet Controller (rev 10)
  
  From /var/log/syslog:
  Jul  3 14:44:12 Davideddu-Laptop pulseaudio[11387]: [pulseaudio] core-util.c: 
Failed to create secure directory (/run/user/1000/pulse): Permission denied
  Jul  3 14:44:12 Davideddu-Laptop pulseaudio[11387]: [pulseaudio] main.c: 
User-configured server at 
{781995e0a8db2617790d55ca51c37499}unix:/run/user/1000/pulse/native, refusing to 
start/autospawn.
  Jul  3 14:46:08 Davideddu-Laptop pulseaudio[11443]: [pulseaudio] core-util.c: 
Failed to create secure directory (/run/user/1000/pulse): Permission denied
  Jul  3 14:46:08 Davideddu-Laptop pulseaudio[11443]: [pulseaudio] main.c: 
User-configured server at 
{781995e0a8db2617790d55ca51c37499}unix:/run/user/1000/pulse/native, refusing to 
start/autospawn.
  
  This is a fresh installation, I haven't updated it from a previous version. 
I'm using Ubuntu with Unity, not a derivative.
  These are my PPAs:
  canonical-qt5-edgers-qt5-proper-saucy.list
  dropbox.list
  dukto.list
  google-earth.list
  jd-team-jdownloader-saucy.list
  kivy-team-kivy-saucy.list
  mitya57-ppa-saucy.list
  numix-icon-theme-dev-utouch-saucy.list
  otto-kesselgulasch-gimp-saucy.list
  phablet-team-desktop-deps-saucy.list
  satyajit-happy-themes-saucy.list
  steam.list
  ubuntu-sdk-team-ppa-saucy.list
  ubuntutrucchi.list
  ubuntutrucchi-testing.list
  ubuntu-wine-ppa-saucy.list
  webupd8team-y-ppa-manager-saucy.list
  
- 
- SRU TEST CASE:
+ SRU INFORMATION
+ ===
+ TEST CASE:
  - Ensure that as a normal user echo $XDG_RUNTIME_DIR is something like 
/run/user/1000
  - do sudo su - to get a root shell
- - In that root shell, do echo $XDG_RUNTIME_DIR. In the saucy final package 
this still gives /run/user/1000, which is incorrect for root and leads to 
destroying the real user's runtime dir. With the fixed package it should be 
empty.
+ - In that root shell, do echo $XDG_RUNTIME_DIR. In the saucy final package 
this still gives /run/user/1000, which is incorrect for root and leads to 
destroying the real 
+ user's runtime dir. With the fixed package it should be empty.
+ 
+ Fix: 

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-10 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/saucy-proposed/systemd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-05 Thread Martin Pitt
** Changed in: pulseaudio (Ubuntu Saucy)
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-05 Thread Martin Pitt
Uploaded fix for saucy, now waiting for SRU team to review/accept.

** Changed in: systemd (Ubuntu Saucy)
   Status: Confirmed = In Progress

** Description changed:

  I'm experiencing this problem with Ubuntu Saucy. Some times, when I start a 
media player (I use Musique), it freezes, as it finds that it cannot write into 
/run/user/$ID/pulse.
  If I change the owner of that directory to me, the media player starts as 
usual and is able to play music.
  I've never had this problem with previous versions of Ubuntu.
  Someone says that running PulseAudio with the -D argument changes the owner 
of that directory, but I didn't try.
  
  This is before manually changing the owner of that directory:
  $ musique
  Failed to create secure directory (/run/user/1000/pulse): Permission denied+
  
  ... # it doesn't crash, it keeps waiting
  
  If needed:
  (dmesg attached)
  lspci:
  00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory 
Controller Hub (rev 07)
  00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)
  00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)
  00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #4 (rev 03)
  00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #5 (rev 03)
  00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #6 (rev 03)
  00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #2 (rev 03)
  00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)
  00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 
(rev 03)
  00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 
(rev 03)
  00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 
(rev 03)
  00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 
(rev 03)
  00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 
(rev 03)
  00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #1 (rev 03)
  00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #2 (rev 03)
  00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI 
Controller #3 (rev 03)
  00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI 
Controller #1 (rev 03)
  00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
  00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03)
  00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 
port SATA Controller [AHCI mode] (rev 03)
  02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter 
(PCI-Express) (rev 01)
  85:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8072 PCI-E 
Gigabit Ethernet Controller (rev 10)
  
  From /var/log/syslog:
  Jul  3 14:44:12 Davideddu-Laptop pulseaudio[11387]: [pulseaudio] core-util.c: 
Failed to create secure directory (/run/user/1000/pulse): Permission denied
  Jul  3 14:44:12 Davideddu-Laptop pulseaudio[11387]: [pulseaudio] main.c: 
User-configured server at 
{781995e0a8db2617790d55ca51c37499}unix:/run/user/1000/pulse/native, refusing to 
start/autospawn.
  Jul  3 14:46:08 Davideddu-Laptop pulseaudio[11443]: [pulseaudio] core-util.c: 
Failed to create secure directory (/run/user/1000/pulse): Permission denied
  Jul  3 14:46:08 Davideddu-Laptop pulseaudio[11443]: [pulseaudio] main.c: 
User-configured server at 
{781995e0a8db2617790d55ca51c37499}unix:/run/user/1000/pulse/native, refusing to 
start/autospawn.
  
  This is a fresh installation, I haven't updated it from a previous version. 
I'm using Ubuntu with Unity, not a derivative.
  These are my PPAs:
  canonical-qt5-edgers-qt5-proper-saucy.list
  dropbox.list
  dukto.list
  google-earth.list
  jd-team-jdownloader-saucy.list
  kivy-team-kivy-saucy.list
  mitya57-ppa-saucy.list
  numix-icon-theme-dev-utouch-saucy.list
  otto-kesselgulasch-gimp-saucy.list
  phablet-team-desktop-deps-saucy.list
  satyajit-happy-themes-saucy.list
  steam.list
  ubuntu-sdk-team-ppa-saucy.list
  ubuntutrucchi.list
  ubuntutrucchi-testing.list
  ubuntu-wine-ppa-saucy.list
  webupd8team-y-ppa-manager-saucy.list
+ 
+ 
+ SRU TEST CASE:
+ - Ensure that as a normal user echo $XDG_RUNTIME_DIR is something like 
/run/user/1000
+ - do sudo su - to get a root shell
+ - In that root shell, do echo $XDG_RUNTIME_DIR. In the saucy final package 
this still gives /run/user/1000, which is incorrect for root and leads to 
destroying the real user's runtime dir. With the fixed package it should be 
empty.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned 

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-03 Thread Ville Ranki
For end user this is visible as any application (rhythmbox, flash in
browser, etc) freezing totally if trying to play audio. It would be
really good idea to update systemd on Saucy asap.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-12-03 Thread xan
Hi there,
just tried this evening to read a film with Totem and VLC - and got this bug, 
too.

Fyi, if it helps, here is the terminal output I got when trying to read
a film with VLC:

Fontconfig warning: FcPattern object size does not accept value 0
Fontconfig warning: FcPattern object size does not accept value 0
Failed to create secure directory (/run/user/1000/pulse): Permission non 
accordée
[0xaf054be0] pulse audio output error: PulseAudio server connection failure: 
Connexion refusée
Failed to create secure directory (/run/user/1000/pulse): Permission non 
accordée
[0x9fc5f70] access_http access error: error: HTTP/1.1 403 Forbidden
[0x9fc5f70] access_http access error: error: HTTP/1.1 403 Forbidden
[0x9fc5f70] access_mms access error: invalid chunk FATAL (0x3f3c)
[0x9fc5f70] access_mms access error: header size == 0
[0xa136978] main demux meta error: no suitable access module for 
`http://services.tvrage.com/feeds/search.php?show=Misfits'

thanks in advance for the help =)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: pulseaudio (Ubuntu Saucy)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-16 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: systemd (Ubuntu Saucy)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-14 Thread Clement Lefebvre
Hi Martin,

Just to echo my comment on bugzilla. I reviewed the patch again and
you're entirely right, it deals with the problem pretty well. Sorry
about the confusion. The patch looks good.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-14 Thread David Henningsson
I wouldn't mind a Saucy SRU for this. It seems to hit quite a few
people.

** Also affects: pulseaudio (Ubuntu Saucy)
   Importance: Undecided
   Status: New

** Also affects: systemd (Ubuntu Saucy)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-13 Thread Martin Pitt
** Also affects: systemd (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=753882
   Importance: Unknown
   Status: Unknown

** Changed in: systemd (Ubuntu)
Milestone: None = ubuntu-13.11

** Changed in: systemd (Ubuntu)
 Assignee: (unassigned) = Martin Pitt (pitti)

** Changed in: systemd (Ubuntu)
   Status: Triaged = In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-13 Thread Martin Pitt
Patch sent to RedHat bug, and applied locally in my systemd packaging
git. With that I think we shoudln't work around this in pulse. David's
proposed patch might still be useful for upstream pulse though, if
upstream systemd refuses to apply this.

** Changed in: systemd (Ubuntu)
   Status: In Progress = Fix Committed

** Changed in: systemd (Ubuntu)
 Assignee: Martin Pitt (pitti) = (unassigned)

** Changed in: pulseaudio (Ubuntu)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/systemd

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-13 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 204-5ubuntu6

---
systemd (204-5ubuntu6) trusty; urgency=low

  * Add pam-check-runtime-dir-user.patch: Don't set an existing
$XDG_RUNTIME_DIR in the PAM module if it isn't owned by the session user.
Otherwise su sessions get a runtime dir from a different user which leads
to either permission errors or scribbling over the other user's files.
(LP: #1197395)
  * Update debian/extra/60-keyboard.hwdb from current upstream trunk:
- Fix Lenovo Z370 (LP: #1245189)
 -- Martin Pitt martin.p...@ubuntu.com   Wed, 13 Nov 2013 14:00:55 +0100

** Changed in: systemd (Ubuntu)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-13 Thread Clement Lefebvre
Hi Martin,

Thanks for stepping up on this.

I think Colin is right over on
https://bugzilla.redhat.com/show_bug.cgi?id=753882, you need to check
the UID. I added a comment there with an example where permissions on
the runtime dir itself are fine.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread Y. Leretaille
Reencountered the same problem again today (again on my MPr 15). I
_did_ shutdown the computer properly yesterday evening, but I'm pretty
sure that I closed the lid immediatly after clicking on shutdown.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread David Henningsson
** Changed in: pulseaudio (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: pulseaudio (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread Clement Lefebvre
Hi,

It's a regression in the pam module for systemd:
https://bugzilla.redhat.com/show_bug.cgi?id=753882

It affects all distributions afaik and it can make any app/package using
XDG_RUNTIME_DIR crash if it's used with root privileges (including
dconf)...

This is a huge bug. I think the most relevant person to look into this
on your side is Martin Pitt. Let us know if we can help on our side. As
always we're available at #linuxmint-dev on irc.spotchat.org.

Here's a quick way to troubleshoot it:

echo $XDG_RUNTIME_DIR
sudo su -
echo $XDG_RUNTIME_DIR

In raring, this returns different paths. In saucy they collide.

This is because /etc/pam.d/common-session* no longer use Ubuntu's
libpam-xdg-support (xdg_support.so) but the systemd pam module.

As far as I understand it from the
https://bugzilla.redhat.com/show_bug.cgi?id=753882, this isn't actually
a bug in systemd, but a change by design.

We're considering solutions in Mint and we'd love to talk to you about
it. We've a few ideas we can run by you and it would be better for
everyone if we tackled this the same way in Saucy/Petra and got involved
in the upstream discussion.

** Bug watch added: Red Hat Bugzilla #753882
   https://bugzilla.redhat.com/show_bug.cgi?id=753882

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread David Henningsson
** Also affects: systemd (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread David Henningsson
** Changed in: systemd (Ubuntu)
   Status: New = Triaged

** Changed in: systemd (Ubuntu)
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread David Henningsson
Aha, thanks for that. I've been trying to find a way to reproduce the
bug and with the help of comment #46 I got one that worked for me:

sudo su -
pacmd list

This will result in an error message and the directory being owned by
root, which screws up further connections.

This does not happen when trying to use the native/normal protocol (e g
used by paplay or pactl), because that connection, I believe, uses the
PULSE_SERVER x11 property ( see xprop -root | grep PULSE_SERVER ).

Pacmd goes straight ahead and calls pa_runtime_path which does a chown
on the directory, and normal clients can do that in more unusual
situations too, e g if there is no such x11 property.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread Clement Lefebvre
Please don't use that as a solution... it's just for the purpose of
troubleshooting:

- Add the following to /etc/profile

if [ `id -u` -eq 0 ]; then
  mkdir -p /run/user/0
  XDG_RUNTIME_DIR='/run/user/0'
fi

- log out and log back in.

This should force the system to behave like it did in raring. So if
you're joe and your uid is 1000, it looks like this:

user - /run/user/1000
sudo - /home/joe/.cache (which was really bad.. but heh, at least it worked)
gksu - /root/.cache
su - - /run/user/0

You can test that by running a script or a program which calls
g_get_user_runtime_dir() from glib and outputs it somewhere you can see.

Here's an example (main.c):

#include stdio.h
#include stdlib.h
#include glib.h

int main(void)
{ 
  const char * runtime_dir = g_get_user_runtime_dir();
  char * cmd = g_strdup_printf(notify-send 'Runtime directory is %s', 
runtime_dir);  
  FILE *fp = popen(cmd, r);
  pclose(fp);
  exit(0);
}

Compile it with gcc -Wall main.c $(pkg-config --cflags --libs
glib-2.0), you'll need the glib dev package installed.

Then mv a.out somewhere in /usr/bin and run that as yourself, with sudo,
with gksu and as root behind su -.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread Clement Lefebvre
^^ this is mostly for the Ubuntu developers by the way. Please don't
modify your /etc/profile unless you know your way around the tty
consoles and how to repair cache/run permissions. You could find
yourself unable to log back in.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-11 Thread David Henningsson
Ok, here's my take on the problem:

http://lists.freedesktop.org/archives/pulseaudio-
discuss/2013-November/019121.html

Let's give Lennart a day or two to respond, if he does not, let's deploy
the patch.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-10 Thread jradwans
I have the same problem with FLash in all Web Browsers :(

The problem starts after upgrade to ubuntu 13.10 (32bit)

My notebook PacardBell Intel i3-2330M 4x2,2GHz
Intel Sandybridge Mobile


patrycja@patrycja-Satellite-L300:~$ ls -l ./.dmrc 
-rw-r--r-- 1 patrycja patrycja 93 lis  9 21:42 ./.dmrc
patrycja@patrycja-Satellite-L300:~$ ls -l /home
razem 12
drwxr-xr-x 80 patrycja users 12288 lis  9 21:42 patrycja
patrycja@patrycja-Satellite-L300:~$ pulseaudio --check
E: [pulseaudio] core-util.c: Failed to create secure directory 
(/run/user/1000/pulse): Brak dostępu

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-10 Thread TooDiesel
I've also installed skype recently (before upgrading), and the issue has
affected me since upgrading to ubuntu 13.10

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-08 Thread jnns
Problem occurs on a Lenovo Thinkpad X230 as well.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-07 Thread wizzor
I can reconfirm.

Also, other users have pointed out putting the lid down while docked,
which results in a crash, having to hard-reboot and on restart find this
problem.

This also is exactly how my problem appeared. I think I closed the lid
first, then docked, though.

Clean install 64b, Lenovo X220 w. dock.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-06 Thread Scorpil
Same here: after failed attempt to suspend my PC, directory 
/run/user/1000/pulse was owned by root.
I've just installed system yesterday (fresh one, not upgraded from previous 
version).

I've installed only one program that has anything to do with pulseaudio: skype 
(from repo, not official deb package).
Anyone experiencing this issue installed skype recently?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-06 Thread Philip Aston
Yes - same for me as #37,#38 after failing to enter standby / forced
power off.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-06 Thread Horst Schirmeier
Same here, had several standby issues before seeing this. Dell Latitude
E6400, Ubuntu 13.10 (saucy) 64-bit. Temporary workaround: sudo chown -R
1000:1000 /run/user/1000.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-05 Thread Ryan Baxter
I had this happen after a failed attempt to put my computer into standby
that required a force poweroff.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-11-01 Thread Y. Leretaille
Just had the same problem after a (normal) restart on a Macbook Retina
10,1. Sound wasn't working anymore and  most applications using sound
hung up/waited for a ling time and then crashed (most annoyingly
flashplayer, which caused firfox to hang). After deleting the folder
pulse, sound instantily worked again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-31 Thread Kootee
I think problem is connected with system crash. I also musted do hard
reboot of my computer, because after wake-up my usb WiFi didn't work and
system didn't wanted to reboot (even with root privilages). So after
some minutes of waiting i've pressed power button and after new boot got
this error.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-28 Thread L.
After updated to ubuntu 13.10 I also have this issue. The permission of
the directory (/var/run/user/1000/pulse) was changed to root, every time
I run synaptic, from the gnome-flashback menu in the panel.

From the menu synaptic is invoked by pkexec. I tried gksudo synaptic
then no such problem, i.e. the directory remians owned by myslef. I
think it may be a problem caused by pkexec

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-23 Thread Laurent Séguin
I don't know if it is related, but under XFCE the indicator-sound is
not functional (luckily hotkeys work).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-22 Thread Ales
I can confirm that. Deleting the directory '/run/user/1000/pulse' is
apparently enough. The problem is solved for good I guess.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-22 Thread duportail
The error stays, even in fully updated xubuntu 13.10, on multiseatcomputer.
Log in a first user, the dir /run/user/1001 is created.
Logout this user and login with another user, pulse error shows up in syslog 
complaining access to this 1001 dir.
Delete this dir, reboot and do the same logins and logout, same problems.
Seems that this libpam-systemd module is not creating a /run/user/dir for every 
user.Maybe this module is creating dirs upon x displays or something.
In ubuntu 13.04 these dirs were created according the usernames.
Again, disabling this module in pam.d solves the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-21 Thread Alexander List
Hit this bug running latest Saucy, with distro pulseaudio after a cold
reboot.

pulseaudio:
  Installed: 1:4.0-0ubuntu6
  Candidate: 1:4.0-0ubuntu6
  Version table:
 *** 1:4.0-0ubuntu6 0
500 http://tw.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
100 /var/lib/dpkg/status

What I did (don't know if it's related / required to trigger the bug):

- close lid of my Thinkpad X201 while docked
- undock TP
- open TP next morning, LEDs start up but sceen stays dark
- need to hard reboot (4s on power button)
- screen is set to darkest setting
- Ubuntu boots up, but above Pulseaudio problem

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-21 Thread Alexander List
Syslog says:

Oct 22 12:01:51 thinkpad pulseaudio[7500]: [pulseaudio] core-util.c: Failed to 
create secure directory (/run/user/1000/pulse): Permission denied
Oct 22 12:01:51 thinkpad pulseaudio[7500]: [pulseaudio] main.c: User-configured 
server at {8fd1761c7e3ddb8d6613834f51480041}unix:/run/user/1000/pulse/native, 
refusing to start/autospawn.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-21 Thread Alexander List
Workaround: I removed the offending directory, and pulse immediately
created one owned by the right user. Even after a reboot, no issues
here.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-20 Thread David Henningsson
There was something upstream that looked somewhat related:


Ok, got the error: the systemd pam module in /etc/pam.d/common-session does not 
create a secure run dir in /run/user for every logged in user.
So pulse is complaining about access .
Deleted the systemd line in /etc/pam.d/common-session makes all work well.
Maybe it's because this is on multi-user (multiseat) computers. 


If any of you can reproduce this, can you check if this workaround
works?

Source: http://lists.freedesktop.org/archives/pulseaudio-
discuss/2013-October/018970.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-20 Thread Ales
Fixed by deleting the directory '/run/user/1000/pulse'. 
Then I had to kill vlc (VLC media player) process that was waiting endlessly 
saing Failed to create secure directory (/run/user/1000/pulse).
But I think after reboot it will be the same again.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-10-16 Thread gururise
This bug happened to me on upgrade to saucy daily build (10/13/2013)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-08-13 Thread Antti Kaijanmäki
OK, hit this today. Never seen it before. I started to have weird problems with 
Google Hangout; the plugin failed to start on both 
firefox and chromium. Manually starting the plugin from command line I got:

$ /opt/google/talkplugin/GoogleTalkPlugin 
Failed to create secure directory (/run/user/1000/pulse): Permission denied

There I figured out there is something wrong with pulse:
$ pulseaudio --check
E: [pulseaudio] core-util.c: Failed to create secure directory 
(/run/user/1000/pulse): Permission denied

$ ls -lah /run/user/1000/
drwx-- 2 root  root  100 elo   13 11:31 pulse

Removing the directory fixed the problem with GoogleTalk. I guess all
the programs using pulse were affected.

Everything was working just fine yesterday. This morning I noticed my laptop 
had apparently run out of battery. Pluggin in the power chord and power up the 
machine it seemed that unity did not start straight away. I'm not sure what the 
failsafe error session looks like, but at least I first saw a bunch of 
undecorated problem report windows. So I would guess that the first session was 
run as root or something. Anyway after that the normal unity session started 
and I was greeted with this:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1211674

So, could it be that at some error situation the X session is started as
root and pulse somehow creates it's /run/user/1000/pulse with root
permissions at situation like this?

** Tags added: apport-collected saucy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread Iain Lane
I am seeing this right now. I got the updated PA from saucy when it was
uploaded on the 26th and rebooted on the 27th, so my system was booted
with 4.0.

laney@iota ls -la /run/user/1000
total 0
drwx-- 7 laney laney 160 Jul 27 10:40 ./
drwxr-xr-x 3 root  root   60 Jul 27 10:41 ../
drwx-- 2 laney laney  60 Jul 30 12:43 dconf/
dr-x-- 2 laney laney   0 Jul 27 10:40 gvfs/
drwx-- 2 laney laney  40 Jul 27 10:40 gvfs-burn/
drwx-- 2 laney laney 120 Jul 27 10:40 keyring-ibRVX2/
drwx-- 2 root  root  100 Jul 27 10:40 pulse/
lrwxrwxrwx 1 root  root   17 Jul 27 10:41 X11-display - /tmp/.X11-unix/X0=

laney@iota sudo ls -la /run/user/1000/pulse
[sudo] password for laney: 
total 4
drwx-- 2 root  root  100 Jul 27 10:40 .
drwx-- 7 laney laney 160 Jul 27 10:40 ..
srwxrwxrwx 1 laney laney   0 Jul 27 10:40 dbus-socket
srwxrwxrwx 1 laney laney   0 Jul 27 10:40 native
-rw--- 1 laney laney   5 Jul 27 10:40 pid

laney@iota sudo more /run/user/1000/pulse/pid
2198

laney@iota ps faux | grep 2198
laney 2198  0.0  0.0 375976  1140 ?Sl   Jul27   0:32 
/usr/bin/pulseaudio --start --log-target=syslog

So it's started correctly as my user but the directory has the wrong
permissions. Could this be a bug in lightdm?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread David Henningsson
 So it's started correctly as my user but the directory has the wrong
permissions. Could this be a bug in lightdm?

At least it can't be a bug in PulseAudio, because PulseAudio shouldn't
have the permission to create that directory with those permissions,
right?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread Iain Lane
When I press the media keys I can hear the 'pip' sound telling me what
the volume will be, so somehow that can use the sound hardware.

Thinking about it, while I can't be sure, it seems quite unlikely that
sound would have been broken for me for a week without me noticing
(implied if it happened at login time). I wonder if it broke somehow at
runtime.

laney@iota loginctl show-session c2
Id=c2
Timestamp=Sat 2013-07-27 10:41:27 BST

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread Davide Depau
 At least it can't be a bug in PulseAudio, because PulseAudio shouldn't
have the permission to create that directory with those permissions,
right?

I agree with you, but what else could make it owned by root? Or PA is started 
as root before the DM is started, and maybe it doesn't remove it after 
terminating/crashing, or the DM does something nasty...
A workaround could be a script runned *after* login and whitelisted in 
/etc/sudoers.d that checks the permissions of that directory.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread Luke Yelavich
Pulseaudio is run as the logged in user. Pulse itself will refuse to
start as root if system mode is not enabled in the config. I think this
is happening post pulse start, although I have no idea what the problem
could be, and I haven't experienced this problem myself.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread Davide Depau
On Thu, Aug 1, 2013 at 12:29 AM, Luke Yelavich
luke.yelav...@canonical.comwrote:

 Pulseaudio is run as the logged in user. Pulse itself will refuse to
 start as root if system mode is not enabled in the config. I think this
 is happening post pulse start, although I have no idea what the problem
 could be, and I haven't experienced this problem myself.


It may be a media player started as root! Maybe if a media player is
started as root could change the owner of that directory to root..

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-31 Thread Luke Yelavich
On Thu, Aug 01, 2013 at 08:39:59AM EST, Davide Depau wrote:
 It may be a media player started as root! Maybe if a media player is
 started as root could change the owner of that directory to root..

If a media player was started as root, libpulse would notice that
pulseaudio is not running for root, and attempt to spawn a new instance
of pulseaudio, which likely wouldn't work due to the conditions I
outlined in my comment earlier.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-18 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: pulseaudio (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-18 Thread Nicolas Devillers
I meet the same problem with the same version of pulseaudio and
permission set uncorrectly as found in my syslog.

pulseaudio:
  Installé : 1:3.0-0ubuntu8
  Candidat : 1:3.0-0ubuntu8
 Table de version :
 *** 1:3.0-0ubuntu8 0
500 http://fr.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
100 /var/lib/dpkg/status

after running musique I got a hang with :
Failed to create secure directory (/run/user/1000/pulse): Permission non 
accordée

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-18 Thread Roland Dreier
affecting me on a system upgraded from raring around saucy-alpha1.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-18 Thread Luke Yelavich
As above, please try testing with Pulseaudio 4.0 from the mentioned PPA.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-08 Thread Luke Yelavich
Ok then, could you please try testing Pulseaudio 4.0 from ppa:ubuntu-
audio-dev/pulse-testing? I must say I am not seeing any such problem
similar to this here locally, although I am running Pulse 4.0.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-08 Thread Davide Depau
Ok, I'm adding it. I didn't have the problem again. I'll try to play music
every time I turn on the PC, and if I won't have problem for almost a week,
I will report it here.


2013/7/9 Luke Yelavich luke.yelav...@canonical.com

 Ok then, could you please try testing Pulseaudio 4.0 from ppa:ubuntu-
 audio-dev/pulse-testing? I must say I am not seeing any such problem
 similar to this here locally, although I am running Pulse 4.0.

 --
 You received this bug notification because you are subscribed to the bug
 report.
 https://bugs.launchpad.net/bugs/1197395

 Title:
   /run/user/$ID/pulse owned by root and not by the user

 Status in “pulseaudio” package in Ubuntu:
   New

 Bug description:
   I'm experiencing this problem with Ubuntu Saucy. Some times, when I
 start a media player (I use Musique), it freezes, as it finds that it
 cannot write into /run/user/$ID/pulse.
   If I change the owner of that directory to me, the media player starts
 as usual and is able to play music.
   I've never had this problem with previous versions of Ubuntu.
   Someone says that running PulseAudio with the -D argument changes the
 owner of that directory, but I didn't try.

   This is before manually changing the owner of that directory:
   $ musique
   Failed to create secure directory (/run/user/1000/pulse): Permission
 denied+

   ... # it doesn't crash, it keeps waiting

   If needed:
   (dmesg attached)
   lspci:
   00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory
 Controller Hub (rev 07)
   00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series
 Chipset Integrated Graphics Controller (rev 07)
   00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset
 Integrated Graphics Controller (rev 07)
   00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #4 (rev 03)
   00:1a.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #5 (rev 03)
   00:1a.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #6 (rev 03)
   00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
 Controller #2 (rev 03)
   00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
 Controller (rev 03)
   00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 1 (rev 03)
   00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 2 (rev 03)
   00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 3 (rev 03)
   00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 5 (rev 03)
   00:1c.5 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express
 Port 6 (rev 03)
   00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #1 (rev 03)
   00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #2 (rev 03)
   00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI
 Controller #3 (rev 03)
   00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI
 Controller #1 (rev 03)
   00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93)
   00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller
 (rev 03)
   00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E)
 4 port SATA Controller [AHCI mode] (rev 03)
   02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network
 Adapter (PCI-Express) (rev 01)
   85:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8072 PCI-E
 Gigabit Ethernet Controller (rev 10)

   From /var/log/syslog:
   Jul  3 14:44:12 Davideddu-Laptop pulseaudio[11387]: [pulseaudio]
 core-util.c: Failed to create secure directory (/run/user/1000/pulse):
 Permission denied
   Jul  3 14:44:12 Davideddu-Laptop pulseaudio[11387]: [pulseaudio] main.c:
 User-configured server at
 {781995e0a8db2617790d55ca51c37499}unix:/run/user/1000/pulse/native,
 refusing to start/autospawn.
   Jul  3 14:46:08 Davideddu-Laptop pulseaudio[11443]: [pulseaudio]
 core-util.c: Failed to create secure directory (/run/user/1000/pulse):
 Permission denied
   Jul  3 14:46:08 Davideddu-Laptop pulseaudio[11443]: [pulseaudio] main.c:
 User-configured server at
 {781995e0a8db2617790d55ca51c37499}unix:/run/user/1000/pulse/native,
 refusing to start/autospawn.

   This is a fresh installation, I haven't updated it from a previous
 version. I'm using Ubuntu with Unity, not a derivative.
   These are my PPAs:
   canonical-qt5-edgers-qt5-proper-saucy.list
   dropbox.list
   dukto.list
   google-earth.list
   jd-team-jdownloader-saucy.list
   kivy-team-kivy-saucy.list
   mitya57-ppa-saucy.list
   numix-icon-theme-dev-utouch-saucy.list
   otto-kesselgulasch-gimp-saucy.list
   phablet-team-desktop-deps-saucy.list
   satyajit-happy-themes-saucy.list
   steam.list
   ubuntu-sdk-team-ppa-saucy.list
   ubuntutrucchi.list
   ubuntutrucchi-testing.list
   ubuntu-wine-ppa-saucy.list
   

[Bug 1197395] Re: /run/user/$ID/pulse owned by root and not by the user

2013-07-04 Thread Davide Depau
No, it's not from a PPA:

pulseaudio:
  Installed: 1:3.0-0ubuntu8
  Candidate: 1:3.0-0ubuntu8
  Version table:
 *** 1:3.0-0ubuntu8 0
500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1197395

Title:
  /run/user/$ID/pulse owned by root and not by the user

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1197395/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs