From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-138803-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SaSjQ-0006RI-5a
	for garchives@archives.gentoo.org; Fri, 01 Jun 2012 14:21:36 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id BFDCDE05D9;
	Fri,  1 Jun 2012 14:21:13 +0000 (UTC)
Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id CCB4BE02F0
	for <gentoo-user@lists.gentoo.org>; Fri,  1 Jun 2012 14:19:20 +0000 (UTC)
Received: by yhp26 with SMTP id 26so1836075yhp.40
        for <gentoo-user@lists.gentoo.org>; Fri, 01 Jun 2012 07:19:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :content-type:content-transfer-encoding;
        bh=R0n76bR/54brClek4Ko15O36LXywOjC7exjuY2p6SA4=;
        b=e9iBBOLxGIClklximulgP3D7u1tczETQsoS1lsjrmNn7W2e3DS70vafRrPdRLM8xWE
         Af2Z/Vtw6qz/XnRK2TQkHvCn1BJJiS4A+o97i0o1nf+Cuxzc6dwggBkotqEbMo0dr3UV
         iInldDlHGkLIhXgijHZh/rO/yar10uXsWv7uklLQIQKL6sAhb6+fDlZusGl1BvvkR2j3
         jp1isgeYWUgyFkPRW7eA57WqPoaj4Tbwr11hA3RBnpXy3rWJi1YoYDv3LR1i3sTtcwn8
         nTvs6J+LymgB1+Bh9+UoQVz2bUroea13TZ8pEa4g6HJ10zCuBIrmLwWJilr3l44PYpK8
         nZaw==
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.236.79.6 with SMTP id h6mr2806700yhe.71.1338560360168; Fri, 01
 Jun 2012 07:19:20 -0700 (PDT)
Received: by 10.100.117.1 with HTTP; Fri, 1 Jun 2012 07:19:20 -0700 (PDT)
In-Reply-To: <87obp3785i.fsf@Noah.localdomain>
References: <87pq9mppm8.fsf@Noah.localdomain>
	<CADPrc82k8R6LSdi=+c6p_GRUz1bjeAX81fvwveKxhwso4dBbLA@mail.gmail.com>
	<87d35mf1uc.fsf@Noah.localdomain>
	<CADPrc83Md3HCw-jE6JkbnXG5S1A7i5Of3nowVHotqfNm=wQ7KA@mail.gmail.com>
	<87396h11yg.fsf@Noah.localdomain>
	<CADPrc80-pe0J9TrASrhoG=AAPiOKme=yOFoYywrrygT6fqtSKw@mail.gmail.com>
	<87obp3785i.fsf@Noah.localdomain>
Date: Fri, 1 Jun 2012 09:19:20 -0500
Message-ID: <CADPrc81s1AyJGzEvsy24sL3=ov1QyCsfqFBJBXzKauhg05T72Q@mail.gmail.com>
Subject: Re: [gentoo-user] what's wrong with pulseaudio?
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 086532ba-6cd4-44fc-a1cf-f6d4130ff83d
X-Archives-Hash: ff946e4e9719c3721bac25e7d2312b39

On Fri, Jun 1, 2012 at 3:23 AM, Easior <easior@tom.com> wrote:
[ snip ]
> Thanks again. My result is as follows:
>
> $ ps aux | grep pulse
> easior =C2=A0 =C2=A02989 =C2=A00.0 =C2=A00.6 100052 =C2=A05472 ? =C2=A0 =
=C2=A0 =C2=A0 =C2=A0Sl =C2=A0 15:47 =C2=A0 0:00 /usr/bin/pulseaudio --start=
 --log-target=3Dsyslog
> easior =C2=A0 =C2=A02993 =C2=A00.0 =C2=A00.3 =C2=A012636 =C2=A02708 ? =C2=
=A0 =C2=A0 =C2=A0 =C2=A0S =C2=A0 =C2=A015:47 =C2=A0 0:00 /usr/libexec/pulse=
/gconf-helper
[ snip ]
> I think that the runtime files should be in the /var/somewhere or /root/ =
even if the
> pulseaudio is been running as the superuser. Do you?

I suppose, but your system is doing really weird stuff: running
pulseaudio as user and writing to /  should be, at least
theoretically, impossible. PulseAudio is not setuid'. You could check
proc to see if it's actually PA writing to /; for example, I have

$ ps aux | grep pulse
canek      752  0.0  0.1 320356  5624 ?        Sl   May27   2:52
/usr/bin/pulseaudio --start --log-target=3Dsyslog
canek      755  0.0  0.0 190328    20 ?        Sl   May27   0:00
/usr/libexec/pulse/gconf-helper

So I do

$ ls -l /proc/752/fd/
total 0
lr-x------ 1 canek canek 64 May 30 20:39 0 -> /dev/null
l-wx------ 1 canek canek 64 May 30 20:39 1 -> /dev/null
lrwx------ 1 canek canek 64 May 30 20:39 10 ->
/home/canek/.pulse/a8880ec371495fe2255463514a0d14e8-device-volumes.x86_64-p=
c-linux-gnu.gdbm
lrwx------ 1 canek canek 64 May 30 20:39 11 ->
/home/canek/.pulse/a8880ec371495fe2255463514a0d14e8-stream-volumes.x86_64-p=
c-linux-gnu.gdbm
lrwx------ 1 canek canek 64 May 30 20:39 12 ->
/home/canek/.pulse/a8880ec371495fe2255463514a0d14e8-card-database.x86_64-pc=
-linux-gnu.gdbm

So I can see that my PA process has opened files on /home/canek/.pulse/.

However, I guess that will only confirm that your PA process is
opening files in /. So this I would do (as root):

1. Backup any pulse file in /etc:

   $ tar zcvf /root/pulse-conf-bak.tar.gz $(find /etc -iname "*pulse*")

   In my system, there are only 4 PulseAudio files in /etc:

   $ find /etc -iname "*pulse*"
/etc/pulse
/etc/xdg/autostart/pulseaudio-kde.desktop
/etc/xdg/autostart/pulseaudio.desktop
/etc/dbus-1/system.d/pulseaudio-system.conf

2. Uninstall pulse:

   $ emerge -C pulseaudio

3. Remove every single file in /etc that looks related to pulse (check
before that nothing else is getting in the list):

   $ find /etc -iname "*pulse*"
   # If everything seems safe to delete, then
   $ rm -rf $(find /etc -iname "*pulse*")

4. Emerge PA again:

   $ emerge -1v pulseaudio

5. Delete /.pulse and all its files.

6. Reboot.

If after all this you are still getting the .pulse directory in /,
then I have no idea how is getting in there.

Regards.
--=20
Canek Pel=C3=A1ez Vald=C3=A9s
Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n
Universidad Nacional Aut=C3=B3noma de M=C3=A9xico