Bug#850855: [rtkit] rtkit daemon fails to start

Bogdan Vatra bogdan.vatra at kdab.com
Wed Jan 11 07:59:06 UTC 2017


On miercuri, 11 ianuarie 2017 09:48:16 EET Bogdan Vatra wrote:
> On marți, 10 ianuarie 2017 17:20:28 EET Felipe Sateler wrote:
> > Hi,
> > 
> > On 10 January 2017 at 16:05, Bogdan Vatra <bogdan.vatra at kdab.com> wrote:
> > > Package: rtkit
> > > Version: 0.11-4
> > > Severity: important
> > > 
> > > --- Please enter the report below this line. ---
> > > 
> > > This bug is pretty annoying because it makes pulseaudio unusable (see
> > > #850806).
> > 
> > > Here are the logs:
> > <snip>
> > 
> > > -- Unit rtkit-daemon.service has begun starting up.
> > > ian 10 21:00:32 zmeu rtkit-daemon[19342]: Failed to connect to system
> > > bus:
> > > Failed to connect to socket /var/run/dbus/system_bus_socket: No su
> > 
> > This suggests that dbus is not running. Could that be the case? Do
> > other dbus-interacting apps misbehave?
> 
> I think that's a wrong message ... because :
> 
> $ ls -l /var/run/dbus/system_bus_socket
> srw-rw-rw- 1 root root 0 ian 10 09:42 /var/run/dbus/system_bus_socket
> 
> That file exists and dbus works fine (all my KDE/Qt apps works ok).
> 

If I manually run "/usr/lib/rtkit/rtkit-daemon" it works just fine...
The only problem is when I start it with "systemctl start rtkit-
daemon.service".
I strace it and from the log it seems it succeeds to open dbus socket:
[...]
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/dbus/system_bus_socket"}, 
33) = 0
getsockopt(3, SOL_SOCKET, SO_PEERCRED, {pid=1, uid=0, gid=0}, [12]) = 0
fstat(3, {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0
getsockopt(3, SOL_SOCKET, SO_ACCEPTCONN, [0], [4]) = 0
getsockname(3, {sa_family=AF_UNIX}, [128->2]) = 0
geteuid()                               = 1000
sendmsg(3, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0AUTH EXTERNAL 
", iov_len=15}, {iov_base="31303030", iov_len=8}, {iov_base="\r
\nNEGOTIATE_UNIX_FD\r\nBEGIN\r\n", iov_len=28}], msg_iovlen=3, 
msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 51
[...]

BogDan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: strace.log
Type: text/x-log
Size: 22509 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170111/2386c11a/attachment-0001.bin>


More information about the pkg-multimedia-maintainers mailing list