Bug#769022: systemd: /run/user/uid/pulse gets root as user instead of uid sometime

Christian Hilgers chris at familie-hilgers.com
Mon Nov 10 19:14:10 GMT 2014


Package: systemd
Version: 215-5+b1
Severity: normal

I saw that my aplay is not allows to write to /run/usr/1000/pulse from time to time.
aplay reports:
Failed to create secure directory (/run/user/1000/pulse): Keine Berechtigung
Keine Berechitiung == ENOPERM 
I fixed it this morning by a manual chown chi:chi
root at zons:/usr/include/sys# ls -l /run/user/1000
insgesamt 0
drwx------ 2 chi chi 60 Nov  6 09:13 dconf
drwx------ 2 chi chi 60 Nov  2 11:40 keyring
drwx------ 2 chi chi 80 Okt 30 10:07 pulse
drwxr-xr-x 2 chi chi 80 Okt 30 10:06 systemd
root at zons:/usr/include/sys#
Then between 17:10 and 17:30 local time the ownership was changed again

drwx------ 2 root root 80 Okt 30 10:07 /run/user/1000/pulse
In BTS I only found https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762041 which
was resolved and seemed targeting a systemd restart. I cannot see a systemd restart

root at zons:/usr/include/sys# ps -ef | grep -i systemd ; date

root       292     1  0 Okt30 ?        00:06:06 /lib/systemd/systemd-journald
root       309     1  0 Okt30 ?        00:00:17 /lib/systemd/systemd-udevd 
root       969     1  0 Okt30 ?        00:00:02 /lib/systemd/systemd-logind
chi       1547     1  0 Okt30 ?        00:00:00 /lib/systemd/systemd --user
chi      29516 29364  0 19:44 pts/9    00:00:00 sh -c /usr/bin/sensible-editor  '/tmp/reportbug-systemd-20141110-29364-bSet1u'
chi      29517 29516  0 19:44 pts/9    00:00:00 /bin/sh /usr/bin/sensible-editor /tmp/reportbug-systemd-20141110-29364-bSet1u
chi      29525 29517  0 19:44 pts/9    00:00:00 /usr/bin/vim.tiny /tmp/reportbug-systemd-20141110-29364-bSet1u
root     29555 16079  0 19:50 pts/8    00:00:00 grep -i systemd
Mo 10. Nov 19:50:16 CET 2014
root at zons:/usr/include/sys#

This happened several times now and the most anoying side-effect is, my mixer does no longer work and so my sound is louder then wanted.

Thanks

Christian

-- Package-specific info:

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages systemd depends on:
ii  acl             2.2.52-2
ii  adduser         3.113+nmu3
ii  initscripts     2.88dsf-53.4
ii  libacl1         2.2.52-2
ii  libaudit1       1:2.4-1
ii  libblkid1       2.25.1-5
ii  libc6           2.19-12
ii  libcap2         1:2.24-6
ii  libcap2-bin     1:2.24-6
ii  libcryptsetup4  2:1.6.6-2
ii  libgcrypt20     1.6.2-3
ii  libkmod2        18-3
ii  liblzma5        5.1.1alpha+20120614-2
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.3-2
ii  libsystemd0     215-5+b1
ii  sysv-rc         2.88dsf-53.4
ii  udev            215-5+b1
ii  util-linux      2.25.1-5

Versions of packages systemd recommends:
ii  dbus            1.8.8-2
ii  libpam-systemd  215-5+b1

Versions of packages systemd suggests:
pn  systemd-ui  <none>

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list