Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 545128

Summary: media-sound/pulseaudio-6.0 XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0
Product: Gentoo Linux Reporter: tman <cornicx>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: sound
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description tman 2015-03-31 08:35:32 UTC
[I] media-sound/pulseaudio-6.0 X alsa alsa-plugin asyncns bluetooth caps dbus equalizer gdbm glib gtk ipv6 jack libsamplerate native-headset orc qt4 realtime ssl systemd tcpd udev webrtc-aec -doc -gnome -lirc -neon -ofono-headset -oss -selinux -system-wide -test -xen -zeroconf 

Reproducible: Always

Actual Results:  
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

Error creating proxy: The connection is closed (g-io-error-quark, 18)

XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e g happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (Th


Portage 2.2.18 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 3.19.3-gentoo x86_64)
=================================================================
System uname: Linux-3.19.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24626200 total,  10173316 free
KiB Swap:   25461756 total,  25461756 free
Timestamp of repository gentoo: Mon, 30 Mar 2015 23:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 0

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    masters: gentoo
    priority: 50

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 50

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 50

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
PORTAGE_CONFIGROOT="/"
Comment 1 tman 2015-03-31 08:36:46 UTC
[I] dev-lang/orc
     Available versions:  0.4.19 0.4.23 {examples static-libs ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  0.4.23(04:24:20 31.03.2015)(-examples -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://gstreamer.freedesktop.org/
     Description:
Comment 2 tman 2015-03-31 08:37:48 UTC
 # groups user
wheel floppy cdrom video usb users portage plugdev vboxusers games bumblebee user
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-03-31 14:58:12 UTC
You did not describe what are the actual results. Does the package build and run successfully?

If it builds, please attach the complete build log.

If it doesn't, the issue is cosmetic (those warnings could appear e.g if you have FEATURES=test, and pulseaudio's test suite skipped a test because on your system, portage does not drop root privileges when building).
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-03-31 14:59:06 UTC
(In reply to Alexandre Rostovtsev from comment #3)
> You did not describe what are the actual results. Does the package build and
> run successfully?
> 
> If it builds, please attach the complete build log.
> 
> If it doesn't, the issue is cosmetic (those warnings could appear e.g if you
> have FEATURES=test, and pulseaudio's test suite skipped a test because on
> your system, portage does not drop root privileges when building).

Typo, meant to say - if it doesn't build, please attach the complete build log.
Comment 5 tman 2015-03-31 15:50:50 UTC
1) pulseaudio compiles fine

2) idont have emerge pulseaudio with the USE test
[I] media-sound/pulseaudio
     Available versions:  5.0-r4 5.0-r7 (~)6.0 {+X +alsa +alsa-plugin +asyncns avahi bluetooth +caps dbus doc equalizer +gdbm +glib gnome gtk ipv6 jack libsamplerate lirc native-headset neon ofono-headset +orc oss qt4 realtime selinux ssl system-wide systemd tcpd test +udev +webrtc-aec xen zeroconf ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  6.0(13:56:44 31.03.2015)(X alsa alsa-plugin asyncns bluetooth caps dbus equalizer gdbm glib gtk ipv6 jack libsamplerate native-headset orc qt4 realtime ssl systemd tcpd udev webrtc-aec -doc -gnome -lirc -neon -ofono-headset -oss -selinux -system-wide -test -xen -zeroconf ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")


3) the problem ist the Errors appear SOMETIME in any opening console in X. in my case: urxvtc. and it dont vanished
Comment 6 Pacho Ramos gentoo-dev 2015-09-24 18:26:01 UTC
Maybe related with su/sudo:
https://bugzilla.redhat.com/show_bug.cgi?id=753882

Also, what systemd version are you running? Also try with pulseaudio-7.0