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

Bogdan Vatra bogdan.vatra at kdab.com
Wed Jan 11 16:49:20 UTC 2017


On miercuri, 11 ianuarie 2017 13:11:07 EET Felipe Sateler wrote:
> On 11 January 2017 at 13:05, Bogdan Vatra <bogdan.vatra at kdab.com> wrote:
> > On miercuri, 11 ianuarie 2017 12:40:23 EET Felipe Sateler wrote:
> >> On 11 January 2017 at 12:37, Bogdan Vatra <bogdan.vatra at kdab.com> wrote:
> >> > On miercuri, 11 ianuarie 2017 10:12:00 EET Felipe Sateler wrote:
> >> >> Control: tags -1 moreinfo unreproducible
> >> >> 
> >> >> On 11 January 2017 at 04:59, Bogdan Vatra <bogdan.vatra at kdab.com> 
wrote:
> >> >> > 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".
> >> >> 
> >> >> Weird. Could you repeat the same with the daemon as started by
> >> >> systemd?
> >> >> 
> >> >> Use `systemctl edit --full rtkit-daemon` to edit the ExecStart line.
> >> > 
> >> > It is the same thing ... :
> >> > [...]
> >> > ExecStart=/usr/lib/rtkit/rtkit-daemon
> >> > [...]
> >> > Actually I was inspired from that file to exec
> >> > "/usr/lib/rtkit/rtkit-daemon" manually :).
> >> 
> >> Sorry, I was not clear. I meant stracing the daemon.
> > 
> > Attached the log.
> 
> Hmm. I guess it's not my day, I can't explain myself :(
> 
> Please run the rtkit-daemon under strace, with systemd: edit the
> systemd service like so:
> 
> ExecStart=/usr/bin/strace -o /tmp/strace.log -ff /usr/lib/rtkit/rtkit-daemon
> 
> then do a `systemctl daemon-reload` and a restart of the rtkit-daemon.
> Then please attach the /tmp/strace.log.$PID file.

Ah, sorry probably is me not you.
I edit as you requested but there is not /tmp/strace.log file, this is the 
commands I used:

bogdan at zmeu:~$ sudo systemctl daemon-reload     
bogdan at zmeu:~$ sudo systemctl start rtkit-daemon
Job for rtkit-daemon.service failed because the control process exited with 
error code.
See "systemctl status rtkit-daemon.service" and "journalctl -xe" for details.
bogdan at zmeu:~$ systemctl status rtkit-daemon.service
● rtkit-daemon.service - RealtimeKit Scheduling Policy Service
   Loaded: loaded (/etc/systemd/system/rtkit-daemon.service; disabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-01-11 18:42:42 EET; 6s 
ago
  Process: 26573 ExecStart=/usr/bin/strace -o /tmp/strace.log -ff /usr/lib/
rtkit/rtkit-daemon (code=exited, status=1/FAILURE)
 Main PID: 26573 (code=exited, status=1/FAILURE)



What "Loaded: loaded (/etc/systemd/system/rtkit-daemon.service; disabled; 
vendor preset: enabled)" *disabled means in the log?

BogDan.



More information about the pkg-multimedia-maintainers mailing list