Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-09-09 Thread 张敬强
Hello,
在 2014年8月19日 星期二 10:45:52,Felipe Sateler 写道:
 Control: retitle -1 pulseaudio: pacmd/pactl as root change secure
 directory permissions
 
 On Tue, Aug 19, 2014 at 10:33 AM, 张敬强 godfrey.pub...@gmail.com wrote:
  在 2014年8月19日 星期二 10:08:52,Felipe Sateler 写道:
 
  I don't think so, but you shouldn't be using pacmd as root, but rather
  as your normal user. Does the problem show itself if you never invoke
  a pulseaudio command as root?
 
 
  But I have done that at 8.9 when the problem first appeared.
  Maybe I have done some somilar thing at 8.16.
  So the problem will not happen without running pa command as root.
 
 OK, retitling accordingly. I will test this when I get back to my workstation.
 
Today I run krusader as root, and when it try to make sound notifications, the 
secure
directory's permission is changed to root.
This should be the only thing that I did at 8.16.

So the Severity: normal may be changed to important as Krusader provide a 
run in root mode menu by default.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-19 Thread 张敬强
在 2014年8月18日 星期一 17:22:18,Felipe Sateler 写道:
 
 Do you see the problem if you disable autospawn? That is, disabling
 autospawn and after rebooting, do you still see the problem of the
 secure directory?
 
 
 
I found the problem.
I just run 'pacmd list-modules' in konsole as root, 
and got a message
后台程序未响应。---  may be background program not responding in English
and then owner of /run/user/1000/pulse is changed to root:root.

Is it normal?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-19 Thread Felipe Sateler
On Tue, Aug 19, 2014 at 9:03 AM, 张敬强 godfrey.pub...@gmail.com wrote:
 在 2014年8月18日 星期一 17:22:18,Felipe Sateler 写道:

 Do you see the problem if you disable autospawn? That is, disabling
 autospawn and after rebooting, do you still see the problem of the
 secure directory?



 I found the problem.
 I just run 'pacmd list-modules' in konsole as root,
 and got a message
 后台程序未响应。---  may be background program not responding in 
 English
 and then owner of /run/user/1000/pulse is changed to root:root.

 Is it normal?

I don't think so, but you shouldn't be using pacmd as root, but rather
as your normal user. Does the problem show itself if you never invoke
a pulseaudio command as root?



-- 

Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-19 Thread 张敬强
在 2014年8月19日 星期二 10:08:52,Felipe Sateler 写道:
 
 I don't think so, but you shouldn't be using pacmd as root, but rather
 as your normal user. Does the problem show itself if you never invoke
 a pulseaudio command as root?
 
 
 

But I have done that at 8.9 when the problem first appeared.
Maybe I have done some somilar thing at 8.16.
So the problem will not happen without running pa command as root.

I notice that there are two pulseaudio autostart files under /etc/xdg/autostart,
Isn't this cause the Daemon already running message?


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-19 Thread Felipe Sateler
Control: retitle -1 pulseaudio: pacmd/pactl as root change secure
directory permissions

On Tue, Aug 19, 2014 at 10:33 AM, 张敬强 godfrey.pub...@gmail.com wrote:
 在 2014年8月19日 星期二 10:08:52,Felipe Sateler 写道:

 I don't think so, but you shouldn't be using pacmd as root, but rather
 as your normal user. Does the problem show itself if you never invoke
 a pulseaudio command as root?




 But I have done that at 8.9 when the problem first appeared.
 Maybe I have done some somilar thing at 8.16.
 So the problem will not happen without running pa command as root.

OK, retitling accordingly. I will test this when I get back to my workstation.


 I notice that there are two pulseaudio autostart files under 
 /etc/xdg/autostart,
 Isn't this cause the Daemon already running message?

Yes, this can be the cause. This will be fixed in pulseaudio 6, which
merges those autostart files into one.

-- 

Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-18 Thread Felipe Sateler
On Sat, Aug 16, 2014 at 11:10 PM, 张敬强 godfrey.pub...@gmail.com wrote:
 在 2014年8月16日 星期六 13:07:39,Felipe Sateler 写道:
  8月 16 11:53:23 SUN pulseaudio[10094]: [pulseaudio] main.c: Failed to 
  acquire
  autospawn lock

 This seems fishy: these two are from different PID's. What does `ps
 -fea | grep pulseaudio` say?


 If set autospawn = no in .config/pulse/client.conf, there is no Daemon 
 already running message
 the ps result:
 g0dfrey   1206 1  0 10:38 ?00:00:00 /usr/bin/pulseaudio --start
 g0dfrey   1223 1  0 10:38 ?00:00:00 /bin/sh 
 /usr/bin/start-pulseaudio-kde

 If I delete  .config/pulse/client.conf, then Daemon already running message 
 come back
 the ps result:
 g0dfrey   1296 1  0 11:01 ?00:00:00 /usr/bin/pulseaudio --start 
 --log-target=syslog
 g0dfrey   1309 1  0 11:01 ?00:00:00 /bin/sh 
 /usr/bin/start-pulseaudio-kde
 the journald message:
 8月 17 11:01:29 SUN pulseaudio[1306]: Daemon already running.


Do you see the problem if you disable autospawn? That is, disabling
autospawn and after rebooting, do you still see the problem of the
secure directory?


-- 

Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread 张敬强
Package: pulseaudio
Version: 5.0-6
Severity: important

--- Please enter the report below this line. ---

Here's some journald logs:
###
8月 16 11:53:23 SUN pulseaudio[10094]: [pulseaudio] main.c: Failed to acquire 
autospawn lock
8月 16 11:53:23 SUN pulseaudio[10094]: [autospawn] lock-autospawn.c: 不能访问
autospawn锁。
8月 16 11:53:23 SUN pulseaudio[10094]: [autospawn] core-util.c: Failed to 
create secure directory (/run/user/1000/pulse): 权限不够
8月 16 11:53:23 SUN pulseaudio[10092]: [pulseaudio] main.c: Failed to acquire 
autospawn lock
8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] lock-autospawn.c: 不能访问
autospawn锁。
8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] core-util.c: Failed to 
create secure directory (/run/user/1000/pulse): 权限不够
###

It seems that sometimes /run/user/1000/pulse is owned by root, but not user 
1000.


--- System information. ---
Architecture: amd64
Kernel:   Linux 3.14-2-amd64

Debian Release: jessie/sid
  990 unstableftp.debian.org 
  500 testing-proposed-updates ftp.debian.org 
  500 testing security.debian.org 
  500 testing ftp.debian.org 
1 experimentalftp.debian.org 

--- Package information. ---
Depends   (Version) | Installed
===-+-
===
libasound2(= 1.0.24.1) | 
libc6 (= 2.15) | 
libcap2 (= 1:2.10) | 
libdbus-1-3  (= 1.1.1) | 
libfftw3-single3| 
libgcc1(= 1:4.1.1) | 
libice6(= 1:1.0.0) | 
libltdl7 (= 2.4.2) | 
liborc-0.4-0  (= 1:0.4.20) | 
libpulse0 (= 5.0-6) | 
libsamplerate0   (= 0.1.7) | 
libsm6  | 
libsndfile1 (= 1.0.20) | 
libspeexdsp1 (= 1.2~beta3.2-1) | 
libstdc++6   (= 4.1.1) | 
libsystemd-login0   (= 31) | 
libtdb1  (= 1.2.7+git20101214) | 
libudev1   (= 183) | 
libwebrtc-audio-processing-0| 
libx11-6| 
libx11-xcb1 | 
libxcb1 | 
libxtst6| 
adduser | 
lsb-base(= 3.2-13) | 
udev   (= 143) | 
libasound2-plugins  | 
pulseaudio-utils| 


Recommends (Version) | Installed
-+-===
pulseaudio-module-x11| 5.0-6
rtkit| 0.11-1


Suggests (Version) | Installed
==-+-===
pavumeter  | 
pavucontrol| 
paman  | 
paprefs| 

--- Output from package bug script ---
File '/etc/default/pulseaudio' does not exist

/etc/pulse/client.conf:
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA.

## Configuration file for PulseAudio clients. See pulse-client.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; default-sink =
; default-source =
; default-server =
; default-dbus-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 
MiB

; auto-connect-localhost = no
; auto-connect-display = no

/etc/pulse/daemon.conf:
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 

Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread Felipe Sateler
Hi,

On Sat, Aug 16, 2014 at 3:07 AM, 张敬强 godfrey.pub...@gmail.com wrote:
 Package: pulseaudio
 Version: 5.0-6
 Severity: important

 --- Please enter the report below this line. ---

 Here's some journald logs:
 ###
 8月 16 11:53:23 SUN pulseaudio[10094]: [pulseaudio] main.c: Failed to acquire
 autospawn lock
 8月 16 11:53:23 SUN pulseaudio[10094]: [autospawn] lock-autospawn.c: 不能访问
 autospawn锁。
 8月 16 11:53:23 SUN pulseaudio[10094]: [autospawn] core-util.c: Failed to
 create secure directory (/run/user/1000/pulse): 权限不够
 8月 16 11:53:23 SUN pulseaudio[10092]: [pulseaudio] main.c: Failed to acquire
 autospawn lock
 8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] lock-autospawn.c: 不能访问
 autospawn锁。
 8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] core-util.c: Failed to
 create secure directory (/run/user/1000/pulse): 权限不够
 ###

 It seems that sometimes /run/user/1000/pulse is owned by root, but not user
 1000.

Could you please post a full log? Instructions here:
https://wiki.ubuntu.com/PulseAudio/Log

-- 

Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread 张敬强
在 2014年8月16日 星期六 11:21:16,Felipe Sateler 写道:
  8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] core-util.c: Failed to
  create secure directory (/run/user/1000/pulse): 权限不够
  ###
  
  It seems that sometimes /run/user/1000/pulse is owned by root, but not
  user
  1000.
 
 Could you please post a full log? Instructions here:
 https://wiki.ubuntu.com/PulseAudio/Log

I don't know how to reproduce the bug.  So no full log available now.
There's some other message before the autospawn error log:
pulseaudio[1209]: Denied access to client with invalid authorization data.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread Felipe Sateler
Control: tags -1 unreproducible moreinfo

On Sat, Aug 16, 2014 at 12:12 PM, 张敬强 godfrey.pub...@gmail.com wrote:
 在 2014年8月16日 星期六 11:21:16,Felipe Sateler 写道:
  8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] core-util.c: Failed to
  create secure directory (/run/user/1000/pulse): 权限不够
  ###
 
  It seems that sometimes /run/user/1000/pulse is owned by root, but not
  user
  1000.

 Could you please post a full log? Instructions here:
 https://wiki.ubuntu.com/PulseAudio/Log

 I don't know how to reproduce the bug.  So no full log available now.
 There's some other message before the autospawn error log:
 pulseaudio[1209]: Denied access to client with invalid authorization data.

Are there other pulseaudio processes running?


-- 

Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread 张敬强
在 2014年8月16日 星期六 12:28:14,您写道:
  
  I don't know how to reproduce the bug.  So no full log available now.
  There's some other message before the autospawn error log:
  pulseaudio[1209]: Denied access to client with invalid authorization data.
 
 Are there other pulseaudio processes running?

Here's all pulseaudio journald log during that reboot:

8月 16 12:02:57 SUN pulseaudio[1209]: Failed to create secure directory 
(/run/user/1000/pulse): 权限不够
...
8月 16 11:53:23 SUN pulseaudio[10094]: [pulseaudio] main.c: Failed to acquire 
autospawn lock
8月 16 11:53:23 SUN pulseaudio[10094]: [autospawn] lock-autospawn.c: 不能访问
autospawn锁。
8月 16 11:53:23 SUN pulseaudio[10094]: [autospawn] core-util.c: Failed to 
create secure directory (/run/user/1000/pulse): 权限不够
8月 16 11:53:23 SUN pulseaudio[10092]: [pulseaudio] main.c: Failed to acquire 
autospawn lock
8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] lock-autospawn.c: 不能访问
autospawn锁。
8月 16 11:53:23 SUN pulseaudio[10092]: [autospawn] core-util.c: Failed to 
create secure directory (/run/user/1000/pulse): 权限不够
...
8月 16 11:27:19 SUN pulseaudio[1209]: Denied access to client with invalid 
authorization data.
8月 16 11:27:19 SUN pulseaudio[1209]: Denied access to client with invalid 
authorization data.
8月 16 11:27:19 SUN pulseaudio[1209]: Denied access to client with invalid 
authorization data.
8月 16 11:27:19 SUN pulseaudio[1209]: Denied access to client with invalid 
authorization data.
8月 16 11:27:19 SUN pulseaudio[1209]: Denied access to client with invalid 
authorization data.
8月 16 11:27:19 SUN pulseaudio[1209]: Denied access to client with invalid 
authorization data.
...
8月 16 09:53:39 SUN pulseaudio[1220]: [pulseaudio] pid.c: Daemon already 
running.

The BUG first appeared 7 days before. (8.9 00:07:50)


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread Felipe Sateler
On Sat, Aug 16, 2014 at 12:47 PM, 张敬强 godfrey.pub...@gmail.com wrote:
 在 2014年8月16日 星期六 12:28:14,您写道:
 
  I don't know how to reproduce the bug.  So no full log available now.
  There's some other message before the autospawn error log:
  pulseaudio[1209]: Denied access to client with invalid authorization data.

 Are there other pulseaudio processes running?

 Here's all pulseaudio journald log during that reboot:

 8月 16 12:02:57 SUN pulseaudio[1209]: Failed to create secure directory
 (/run/user/1000/pulse): 权限不够
 ...
 8月 16 11:53:23 SUN pulseaudio[10094]: [pulseaudio] main.c: Failed to acquire
 autospawn lock

This seems fishy: these two are from different PID's. What does `ps
-fea | grep pulseaudio` say?


-- 

Saludos,
Felipe Sateler


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#758272: [pulseaudio] core-util.c: Failed to create secure directory

2014-08-16 Thread 张敬强
在 2014年8月16日 星期六 13:07:39,Felipe Sateler 写道:
  8月 16 11:53:23 SUN pulseaudio[10094]: [pulseaudio] main.c: Failed to acquire
  autospawn lock
 
 This seems fishy: these two are from different PID's. What does `ps
 -fea | grep pulseaudio` say?
 

If set autospawn = no in .config/pulse/client.conf, there is no Daemon already 
running message
the ps result:
g0dfrey   1206 1  0 10:38 ?00:00:00 /usr/bin/pulseaudio --start
g0dfrey   1223 1  0 10:38 ?00:00:00 /bin/sh 
/usr/bin/start-pulseaudio-kde

If I delete  .config/pulse/client.conf, then Daemon already running message 
come back
the ps result:
g0dfrey   1296 1  0 11:01 ?00:00:00 /usr/bin/pulseaudio --start 
--log-target=syslog
g0dfrey   1309 1  0 11:01 ?00:00:00 /bin/sh 
/usr/bin/start-pulseaudio-kde
the journald message:
8月 17 11:01:29 SUN pulseaudio[1306]: Daemon already running.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org