public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] what's wrong with pulseaudio?
@ 2012-05-29 22:51 Easior
  2012-05-29 23:24 ` Canek Peláez Valdés
  2012-05-31  8:54 ` Keith Dart
  0 siblings, 2 replies; 11+ messages in thread
From: Easior @ 2012-05-29 22:51 UTC (permalink / raw
  To: gentoo-user

Hi, all!

I found that there were some strange files or directories under root directory. Let's
see what happened?

$ ls -a
.    boot  home        media  opt     .pulse-cookie  sbin  usr
..   dev   lib         mnt    proc    root           sys   var
bin  etc   lost+found  null   .pulse  run            tmp

As to my experience, .pulse and .pulse-cookie should be in the $HOME directory. How to
resovle this problem?

-- 
自从你离开了以后,我一直等待着你回来
心痛的时候,真是好辛苦
My homepage:[http://xxxxxxxx]



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-29 22:51 [gentoo-user] what's wrong with pulseaudio? Easior
@ 2012-05-29 23:24 ` Canek Peláez Valdés
  2012-05-30  9:35   ` Easior
  2012-05-31  8:54 ` Keith Dart
  1 sibling, 1 reply; 11+ messages in thread
From: Canek Peláez Valdés @ 2012-05-29 23:24 UTC (permalink / raw
  To: gentoo-user

On Tue, May 29, 2012 at 5:51 PM, Easior <easior@tom.com> wrote:
> Hi, all!
>
> I found that there were some strange files or directories under root directory. Let's
> see what happened?
>
> $ ls -a
> .    boot  home        media  opt     .pulse-cookie  sbin  usr
> ..   dev   lib         mnt    proc    root           sys   var
> bin  etc   lost+found  null   .pulse  run            tmp
>
> As to my experience, .pulse and .pulse-cookie should be in the $HOME directory. How to
> resovle this problem?

Delete them. Look at the date, they probably got created a long time
ago under weird circumstances (perhaps booting using a livecd), and
they remained there.

Just delete them.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-29 23:24 ` Canek Peláez Valdés
@ 2012-05-30  9:35   ` Easior
  2012-05-30 16:03     ` Canek Peláez Valdés
  0 siblings, 1 reply; 11+ messages in thread
From: Easior @ 2012-05-30  9:35 UTC (permalink / raw
  To: gentoo-user

>>>>> "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:

    CPV> On Tue, May 29, 2012 at 5:51 PM, Easior <easior@tom.com> wrote:
    >>  Hi, all!
    >> 
    >>  I found that there were some strange files or directories under root
    CPV> directory. Let's
    >>  see what happened?
    >> 
    >>  $ ls -a
    >>  .    boot  home        media  opt     .pulse-cookie  sbin  usr
    >>  ..   dev   lib         mnt    proc    root           sys   var
    >>  bin  etc   lost+found  null   .pulse  run            tmp
    >> 
    >>  As to my experience, .pulse and .pulse-cookie should be in the $HOME
    CPV> directory. How to
    >>  resovle this problem?

    CPV> Delete them. Look at the date, they probably got created a long time
    CPV> ago under weird circumstances (perhaps booting using a livecd), and
    CPV> they remained there.

    CPV> Just delete them.

    CPV> Regards.
    CPV> -- 
    CPV> Canek Peláez Valdés
    CPV> Posgrado en Ciencia e Ingeniería de la Computación
    CPV> Universidad Nacional Autónoma de México

Thanks.

I have tried to delete them. However, It didn't take any effect.
They will apear again in that place every time the Gentoo is booted.
As a fact, let's see:

# ls -al .pulse*
-rw------- 1 root root  256 May 27 20:53 .pulse-cookie

.pulse:
total 8
drwx------  2 root root 4096 May 30 15:59 .
drwxr-xr-x 21 root root 4096 May 27 20:53 ..
lrwxrwxrwx  1 root root   23 May 30 15:59 ceba4124b7a0c408493ce5bb0000001e-runtime ->
/tmp/pulse-PKdhtXMmr18n

what happened?


-- 
自从你离开了以后,我一直等待着你回来
我知道寻找你需要经历很多的困难,但我会努力的
My homepage:[http://xxxxxxxx]



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-30  9:35   ` Easior
@ 2012-05-30 16:03     ` Canek Peláez Valdés
  2012-05-31  3:09       ` Easior
  0 siblings, 1 reply; 11+ messages in thread
From: Canek Peláez Valdés @ 2012-05-30 16:03 UTC (permalink / raw
  To: gentoo-user

On Wed, May 30, 2012 at 4:35 AM, Easior <easior@tom.com> wrote:
>>>>>> "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
>
>    CPV> On Tue, May 29, 2012 at 5:51 PM, Easior <easior@tom.com> wrote:
>    >>  Hi, all!
>    >>
>    >>  I found that there were some strange files or directories under root
>    CPV> directory. Let's
>    >>  see what happened?
>    >>
>    >>  $ ls -a
>    >>  .    boot  home        media  opt     .pulse-cookie  sbin  usr
>    >>  ..   dev   lib         mnt    proc    root           sys   var
>    >>  bin  etc   lost+found  null   .pulse  run            tmp
>    >>
>    >>  As to my experience, .pulse and .pulse-cookie should be in the $HOME
>    CPV> directory. How to
>    >>  resovle this problem?
>
>    CPV> Delete them. Look at the date, they probably got created a long time
>    CPV> ago under weird circumstances (perhaps booting using a livecd), and
>    CPV> they remained there.
>
>    CPV> Just delete them.
>
>    CPV> Regards.
>    CPV> --
>    CPV> Canek Peláez Valdés
>    CPV> Posgrado en Ciencia e Ingeniería de la Computación
>    CPV> Universidad Nacional Autónoma de México
>
> Thanks.
>
> I have tried to delete them. However, It didn't take any effect.
> They will apear again in that place every time the Gentoo is booted.
> As a fact, let's see:
>
> # ls -al .pulse*
> -rw------- 1 root root  256 May 27 20:53 .pulse-cookie
>
> .pulse:
> total 8
> drwx------  2 root root 4096 May 30 15:59 .
> drwxr-xr-x 21 root root 4096 May 27 20:53 ..
> lrwxrwxrwx  1 root root   23 May 30 15:59 ceba4124b7a0c408493ce5bb0000001e-runtime ->
> /tmp/pulse-PKdhtXMmr18n
>
> what happened?

I don't know. What desktop do you use? Do you run it as root? What
version of PulseAudio do you have installed? Do you have
/etc/init.d/pulseaudio in any of your runlevels?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-30 16:03     ` Canek Peláez Valdés
@ 2012-05-31  3:09       ` Easior
  2012-05-31 14:44         ` Canek Peláez Valdés
  0 siblings, 1 reply; 11+ messages in thread
From: Easior @ 2012-05-31  3:09 UTC (permalink / raw
  To: gentoo-user

>>>>> "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:

    CPV> On Wed, May 30, 2012 at 4:35 AM, Easior <easior@tom.com> wrote:
    >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
    >> 
    >>     CPV> On Tue, May 29, 2012 at 5:51 PM, Easior <easior@tom.com>
    CPV> wrote:
    >>     >>  Hi, all!
    >>     >>
    >>     >>  I found that there were some strange files or directories
    CPV> under root
    >>     CPV> directory. Let's
    >>     >>  see what happened?
    >>     >>
    >>     >>  $ ls -a
    >>     >>  .    boot  home        media  opt     .pulse-cookie  sbin
    CPV>  usr
    >>     >>  ..   dev   lib         mnt    proc    root           sys  
    CPV> var
    >>     >>  bin  etc   lost+found  null   .pulse  run            tmp
    >>     >>
    >>     >>  As to my experience, .pulse and .pulse-cookie should be in
    CPV> the $HOME
    >>     CPV> directory. How to
    >>     >>  resovle this problem?
    >> 
    >>     CPV> Delete them. Look at the date, they probably got created a
    CPV> long time
    >>     CPV> ago under weird circumstances (perhaps booting using a
    CPV> livecd), and
    >>     CPV> they remained there.
    >> 
    >>     CPV> Just delete them.
    >> 
    >>     CPV> Regards.
    >>     CPV> --
    >>     CPV> Canek Peláez Valdés
    >>     CPV> Posgrado en Ciencia e Ingeniería de la Computación
    >>     CPV> Universidad Nacional Autónoma de México
    >> 
    >>  Thanks.
    >> 
    >>  I have tried to delete them. However, It didn't take any effect.
    >>  They will apear again in that place every time the Gentoo is booted.
    >>  As a fact, let's see:
    >> 
    >>  # ls -al .pulse*
    >>  -rw------- 1 root root  256 May 27 20:53 .pulse-cookie
    >> 
    >>  .pulse:
    >>  total 8
    >>  drwx------  2 root root 4096 May 30 15:59 .
    >>  drwxr-xr-x 21 root root 4096 May 27 20:53 ..
    >>  lrwxrwxrwx  1 root root   23 May 30 15:59
    CPV> ceba4124b7a0c408493ce5bb0000001e-runtime ->
    >>  /tmp/pulse-PKdhtXMmr18n
    >> 
    >>  what happened?

    CPV> I don't know. What desktop do you use? Do you run it as root? What
    CPV> version of PulseAudio do you have installed? Do you have
    CPV> /etc/init.d/pulseaudio in any of your runlevels?

I use Gnome 3 as my DE and also run it as normal user. I use PulseAudio 2.0:

$ eix media-sound/pulseaudio
[I] media-sound/pulseaudio
     Available versions:  0.9.22 0.9.22-r2 (~)0.9.23-r1 (~)1.1 1.1-r1 (~)2.0 **9999 {{+X +alsa +asyncns avahi bluetooth +caps dbus doc equalizer +gdbm +glib gnome ipv6 jack libsamplerate lirc +orc oss realtime ssl system-wide tcpd test +udev +webrtc-aec}}
     Installed versions:  2.0(06:44:00 AM 05/27/2012)(X alsa asyncns caps dbus gdbm glib gnome lirc orc ssl tcpd udev webrtc-aec -avahi -bluetooth -doc -equalizer -ipv6 -jack -libsamplerate -oss -realtime -system-wide -test)
     Homepage:            http://www.pulseaudio.org/
     Description:         A networked sound server with an advanced plugin system

And pulseaudio is not in the runleves, even not in /etc/init.d.

Maybe, the pulseaudio is misconfigured. But I couldn't find any useful information on
how to generate the run-time file /.pulse in the configuration directory /etc/pulse.
Do you know how to generate them?

    CPV> Regards.
    CPV> -- 
    CPV> Canek Peláez Valdés
    CPV> Posgrado en Ciencia e Ingeniería de la Computación
    CPV> Universidad Nacional Autónoma de México

Best wishes,

Easior

-- 
自从你离开了以后,我一直等待着你回来
心痛的时候,真是好辛苦
My homepage:[http://xxxxxxxx]



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-29 22:51 [gentoo-user] what's wrong with pulseaudio? Easior
  2012-05-29 23:24 ` Canek Peláez Valdés
@ 2012-05-31  8:54 ` Keith Dart
  1 sibling, 0 replies; 11+ messages in thread
From: Keith Dart @ 2012-05-31  8:54 UTC (permalink / raw
  To: gentoo-user; +Cc: easior

Re , Easior said:
> I found that there were some strange files or directories under root
> directory. Let's see what happened?


Ack! I have them too! 

Infected by pulseaudio again... and I'm using xfce, not gnome.

I don't have a solution yet, but I'll also look into it. 


-- Keith


-- 

-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Keith Dart <keith@dartworks.biz>
   public key: ID: 19017044
   <http://www.dartworks.biz/>
   =====================================================================



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-31  3:09       ` Easior
@ 2012-05-31 14:44         ` Canek Peláez Valdés
  2012-06-01  8:23           ` Easior
  0 siblings, 1 reply; 11+ messages in thread
From: Canek Peláez Valdés @ 2012-05-31 14:44 UTC (permalink / raw
  To: gentoo-user

On Wed, May 30, 2012 at 10:09 PM, Easior <easior@tom.com> wrote:
>>>>>> "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
>
>    CPV> On Wed, May 30, 2012 at 4:35 AM, Easior <easior@tom.com> wrote:
>    >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
>    >>
>    >>     CPV> On Tue, May 29, 2012 at 5:51 PM, Easior <easior@tom.com>
>    CPV> wrote:
>    >>     >>  Hi, all!
>    >>     >>
>    >>     >>  I found that there were some strange files or directories
>    CPV> under root
>    >>     CPV> directory. Let's
>    >>     >>  see what happened?
>    >>     >>
>    >>     >>  $ ls -a
>    >>     >>  .    boot  home        media  opt     .pulse-cookie  sbin
>    CPV>  usr
>    >>     >>  ..   dev   lib         mnt    proc    root           sys
>    CPV> var
>    >>     >>  bin  etc   lost+found  null   .pulse  run            tmp
>    >>     >>
>    >>     >>  As to my experience, .pulse and .pulse-cookie should be in
>    CPV> the $HOME
>    >>     CPV> directory. How to
>    >>     >>  resovle this problem?
>    >>
>    >>     CPV> Delete them. Look at the date, they probably got created a
>    CPV> long time
>    >>     CPV> ago under weird circumstances (perhaps booting using a
>    CPV> livecd), and
>    >>     CPV> they remained there.
>    >>
>    >>     CPV> Just delete them.
>    >>
>    >>     CPV> Regards.
>    >>     CPV> --
>    >>     CPV> Canek Peláez Valdés
>    >>     CPV> Posgrado en Ciencia e Ingeniería de la Computación
>    >>     CPV> Universidad Nacional Autónoma de México
>    >>
>    >>  Thanks.
>    >>
>    >>  I have tried to delete them. However, It didn't take any effect.
>    >>  They will apear again in that place every time the Gentoo is booted.
>    >>  As a fact, let's see:
>    >>
>    >>  # ls -al .pulse*
>    >>  -rw------- 1 root root  256 May 27 20:53 .pulse-cookie
>    >>
>    >>  .pulse:
>    >>  total 8
>    >>  drwx------  2 root root 4096 May 30 15:59 .
>    >>  drwxr-xr-x 21 root root 4096 May 27 20:53 ..
>    >>  lrwxrwxrwx  1 root root   23 May 30 15:59
>    CPV> ceba4124b7a0c408493ce5bb0000001e-runtime ->
>    >>  /tmp/pulse-PKdhtXMmr18n
>    >>
>    >>  what happened?
>
>    CPV> I don't know. What desktop do you use? Do you run it as root? What
>    CPV> version of PulseAudio do you have installed? Do you have
>    CPV> /etc/init.d/pulseaudio in any of your runlevels?
>
> I use Gnome 3 as my DE and also run it as normal user. I use PulseAudio 2.0:
>
> $ eix media-sound/pulseaudio
> [I] media-sound/pulseaudio
>     Available versions:  0.9.22 0.9.22-r2 (~)0.9.23-r1 (~)1.1 1.1-r1 (~)2.0 **9999 {{+X +alsa +asyncns avahi bluetooth +caps dbus doc equalizer +gdbm +glib gnome ipv6 jack libsamplerate lirc +orc oss realtime ssl system-wide tcpd test +udev +webrtc-aec}}
>     Installed versions:  2.0(06:44:00 AM 05/27/2012)(X alsa asyncns caps dbus gdbm glib gnome lirc orc ssl tcpd udev webrtc-aec -avahi -bluetooth -doc -equalizer -ipv6 -jack -libsamplerate -oss -realtime -system-wide -test)
>     Homepage:            http://www.pulseaudio.org/
>     Description:         A networked sound server with an advanced plugin system
>
> And pulseaudio is not in the runleves, even not in /etc/init.d.
>
> Maybe, the pulseaudio is misconfigured. But I couldn't find any useful information on
> how to generate the run-time file /.pulse in the configuration directory /etc/pulse.
> Do you know how to generate them?

Could you do:

$ ps aux | grep pulse

In my system, the result is:

canek      752  0.0  0.1 320096  4164 ?        Sl   May27   0:03
/usr/bin/pulseaudio --start --log-target=syslog

which means that the PulseAudio daemon is running as my user (canek).
To write into /, the daemon should be running as root; if the result
from "ps aux" shows that, it means that your system is starting
pulseaudio as the superuser.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-05-31 14:44         ` Canek Peláez Valdés
@ 2012-06-01  8:23           ` Easior
  2012-06-01 14:19             ` Canek Peláez Valdés
  0 siblings, 1 reply; 11+ messages in thread
From: Easior @ 2012-06-01  8:23 UTC (permalink / raw
  To: gentoo-user

>>>>> "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:

    CPV> On Wed, May 30, 2012 at 10:09 PM, Easior <easior@tom.com> wrote:
    >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
    >> 
    >>     CPV> On Wed, May 30, 2012 at 4:35 AM, Easior <easior@tom.com>
    CPV> wrote:
    >>     >>>>>>>  "CPV" == Canek Peláez Valdés <caneko@gmail.com> writes:
    >>     >>
    >>     >>     CPV> On Tue, May 29, 2012 at 5:51 PM, Easior
    CPV> <easior@tom.com>
    >>     CPV> wrote:
    >>     >>     >>  Hi, all!
    >>     >>     >>
    >>     >>     >>  I found that there were some strange files or
    CPV> directories
    >>     CPV> under root
    >>     >>     CPV> directory. Let's
    >>     >>     >>  see what happened?
    >>     >>     >>
    >>     >>     >>  $ ls -a
    >>     >>     >>  .    boot  home        media  opt     .pulse-cookie
    CPV>  sbin
    >>     CPV>  usr
    >>     >>     >>  ..   dev   lib         mnt    proc    root          
    CPV> sys
    >>     CPV> var
    >>     >>     >>  bin  etc   lost+found  null   .pulse  run          
    CPV>  tmp
    >>     >>     >>
    >>     >>     >>  As to my experience, .pulse and .pulse-cookie should
    CPV> be in
    >>     CPV> the $HOME
    >>     >>     CPV> directory. How to
    >>     >>     >>  resovle this problem?
    >>     >>
    >>     >>     CPV> Delete them. Look at the date, they probably got
    CPV> created a
    >>     CPV> long time
    >>     >>     CPV> ago under weird circumstances (perhaps booting using
    CPV> a
    >>     CPV> livecd), and
    >>     >>     CPV> they remained there.
    >>     >>
    >>     >>     CPV> Just delete them.
    >>     >>
    >>     >>     CPV> Regards.
    >>     >>     CPV> --
    >>     >>     CPV> Canek Peláez Valdés
    >>     >>     CPV> Posgrado en Ciencia e Ingeniería de la Computación
    >>     >>     CPV> Universidad Nacional Autónoma de México
    >>     >>
    >>     >>  Thanks.
    >>     >>
    >>     >>  I have tried to delete them. However, It didn't take any
    CPV> effect.
    >>     >>  They will apear again in that place every time the Gentoo is
    CPV> booted.
    >>     >>  As a fact, let's see:
    >>     >>
    >>     >>  # ls -al .pulse*
    >>     >>  -rw------- 1 root root  256 May 27 20:53 .pulse-cookie
    >>     >>
    >>     >>  .pulse:
    >>     >>  total 8
    >>     >>  drwx------  2 root root 4096 May 30 15:59 .
    >>     >>  drwxr-xr-x 21 root root 4096 May 27 20:53 ..
    >>     >>  lrwxrwxrwx  1 root root   23 May 30 15:59
    >>     CPV> ceba4124b7a0c408493ce5bb0000001e-runtime ->
    >>     >>  /tmp/pulse-PKdhtXMmr18n
    >>     >>
    >>     >>  what happened?
    >> 
    >>     CPV> I don't know. What desktop do you use? Do you run it as
    CPV> root? What
    >>     CPV> version of PulseAudio do you have installed? Do you have
    >>     CPV> /etc/init.d/pulseaudio in any of your runlevels?
    >> 
    >>  I use Gnome 3 as my DE and also run it as normal user. I use
    CPV> PulseAudio 2.0:
    >> 
    >>  $ eix media-sound/pulseaudio
    >>  [I] media-sound/pulseaudio
    >>      Available versions:  0.9.22 0.9.22-r2 (~)0.9.23-r1 (~)1.1 1.1-r1
    CPV> (~)2.0 **9999 {{+X +alsa +asyncns avahi bluetooth +caps dbus doc
    CPV> equalizer +gdbm +glib gnome ipv6 jack libsamplerate lirc +orc oss
    CPV> realtime ssl system-wide tcpd test +udev +webrtc-aec}}
    >>      Installed versions:  2.0(06:44:00 AM 05/27/2012)(X alsa asyncns
    CPV> caps dbus gdbm glib gnome lirc orc ssl tcpd udev webrtc-aec -avahi
    CPV> -bluetooth -doc -equalizer -ipv6 -jack -libsamplerate -oss -realtime
    CPV> -system-wide -test)
    >>      Homepage:            http://www.pulseaudio.org/>    
    CPV> Description:         A networked sound server with an advanced plugin
    CPV> system
    >> 
    >>  And pulseaudio is not in the runleves, even not in /etc/init.d.
    >> 
    >>  Maybe, the pulseaudio is misconfigured. But I couldn't find any
    CPV> useful information on
    >>  how to generate the run-time file /.pulse in the configuration
    CPV> directory /etc/pulse.
    >>  Do you know how to generate them?

    CPV> Could you do:

    CPV> $ ps aux | grep pulse

Thanks again. My result is as follows:

$ ps aux | grep pulse
easior    2989  0.0  0.6 100052  5472 ?        Sl   15:47   0:00 /usr/bin/pulseaudio --start --log-target=syslog
easior    2993  0.0  0.3  12636  2708 ?        S    15:47   0:00 /usr/libexec/pulse/gconf-helper

    CPV> In my system, the result is:

    CPV> canek      752  0.0  0.1 320096  4164 ?        Sl   May27   0:03
    CPV> /usr/bin/pulseaudio --start --log-target=syslog

    CPV> which means that the PulseAudio daemon is running as my user (canek).
    CPV> To write into /, the daemon should be running as root; if the result
    CPV> from "ps aux" shows that, it means that your system is starting
    CPV> pulseaudio as the superuser.

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?

    CPV> Regards.
    CPV> -- 
    CPV> Canek Peláez Valdés
    CPV> Posgrado en Ciencia e Ingeniería de la Computación
    CPV> Universidad Nacional Autónoma de México

-- 
自从你离开了以后,我一直等待着你回来
我等着你回来,我等着你回来~~
My homepage:[http://xxxxxxxx]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-06-01  8:23           ` Easior
@ 2012-06-01 14:19             ` Canek Peláez Valdés
  2012-06-01 14:27               ` Michael Mol
  2012-06-01 14:28               ` Michael Orlitzky
  0 siblings, 2 replies; 11+ messages in thread
From: Canek Peláez Valdés @ 2012-06-01 14:19 UTC (permalink / raw
  To: gentoo-user

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    2989  0.0  0.6 100052  5472 ?        Sl   15:47   0:00 /usr/bin/pulseaudio --start --log-target=syslog
> easior    2993  0.0  0.3  12636  2708 ?        S    15:47   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=syslog
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-pc-linux-gnu.gdbm
lrwx------ 1 canek canek 64 May 30 20:39 11 ->
/home/canek/.pulse/a8880ec371495fe2255463514a0d14e8-stream-volumes.x86_64-pc-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.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-06-01 14:19             ` Canek Peláez Valdés
@ 2012-06-01 14:27               ` Michael Mol
  2012-06-01 14:28               ` Michael Orlitzky
  1 sibling, 0 replies; 11+ messages in thread
From: Michael Mol @ 2012-06-01 14:27 UTC (permalink / raw
  To: gentoo-user

On Fri, Jun 1, 2012 at 10:19 AM, Canek Peláez Valdés <caneko@gmail.com> wrote:
> On Fri, Jun 1, 2012 at 3:23 AM, Easior <easior@tom.com> wrote:

[snip]

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

I'm going to venture a guess that whichever user PA is running as,
that user doesn't have a proper home directory set.

-- 
:wq



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-user] what's wrong with pulseaudio?
  2012-06-01 14:19             ` Canek Peláez Valdés
  2012-06-01 14:27               ` Michael Mol
@ 2012-06-01 14:28               ` Michael Orlitzky
  1 sibling, 0 replies; 11+ messages in thread
From: Michael Orlitzky @ 2012-06-01 14:28 UTC (permalink / raw
  To: gentoo-user

On 06/01/12 10:19, Canek Peláez Valdés wrote:
> 
> If after all this you are still getting the .pulse directory in /,
> then I have no idea how is getting in there.
> 
> Regards.

Maybe it isn't the reboot that's triggering it. In my crontab, I have,

  HOME=/

Maybe a cron job (running as root) is triggering the creation in $HOME,
which is temporarily set to / ?




^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-06-01 14:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-29 22:51 [gentoo-user] what's wrong with pulseaudio? Easior
2012-05-29 23:24 ` Canek Peláez Valdés
2012-05-30  9:35   ` Easior
2012-05-30 16:03     ` Canek Peláez Valdés
2012-05-31  3:09       ` Easior
2012-05-31 14:44         ` Canek Peláez Valdés
2012-06-01  8:23           ` Easior
2012-06-01 14:19             ` Canek Peláez Valdés
2012-06-01 14:27               ` Michael Mol
2012-06-01 14:28               ` Michael Orlitzky
2012-05-31  8:54 ` Keith Dart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox