You are not logged in.

#26 2024-01-26 14:40:14

topasiss
Member
Registered: 2022-08-08
Posts: 50

Re: Dbus-broker prevents the computer powering down properly

How did you find out where this service comes from? (I looked into the PKGBUILD of the dbus-broker-units and found nothing)

[tobiasb@tobias-pc ~]$ cat /usr/share/dbus-1/services/org.jackaudio.service 
[D-BUS Service]
Name=org.jackaudio.service
Exec=/usr/bin/jackdbus auto

Offline

#27 2024-01-26 15:01:20

seth
Member
Registered: 2012-09-03
Posts: 52,118

Re: Dbus-broker prevents the computer powering down properly

Looking at the file list an and knowing how those are generally triggered.
There's no explicit service, eg. org.knopwob.dunst.service has "SystemdService=dunst.service"  for /usr/lib/systemd/user/dunst.service and I suspect the difference is that dbus-broker creates a generic one.

Try to add

SystemdService=/usr/lib/systemd/system/jackaudio.service

And that file w/

[Unit]
Description=You don't know jack
Documentation=Jackyourself

[Service]
Type=dbus
BusName=org.jackaudio.service
ExecStart=/usr/bin/jackdbus auto
KillSignal=SIGKILL

Which will hopefully start that service and use SIGKILL to terminate it.

Offline

#28 2024-01-26 16:18:29

cyberpunkrocker
Member
From: Birckala, Finland
Registered: 2019-09-16
Posts: 30
Website

Re: Dbus-broker prevents the computer powering down properly

Sorry, I've been busy with other things and haven't been able to attend to discussion, but it seems that jack2-dbus has been the source of my issues, too. Killing jackdbus manually just before a reboot/shutdown allows a normal functionality:

# systemctl status | grep jack
             └─1695 /usr/bin/jackdbus auto
# kill -9 1695

This stops the service without any delay.

Offline

#29 2024-01-26 16:21:14

seth
Member
Registered: 2012-09-03
Posts: 52,118

Re: Dbus-broker prevents the computer powering down properly

ffwd to my previous post and add that service, see whether
a) the generic service disappears
b) the system shuts down "properly" (jackdbus not responding to sigterm is a problem in that process) now

Offline

#30 2024-02-20 16:11:10

lula
Member
Registered: 2009-07-16
Posts: 71

Re: Dbus-broker prevents the computer powering down properly

Thanks seth, i had a similar problem, jour suggestion solved it for me

Offline

#31 2024-02-20 21:46:12

seth
Member
Registered: 2012-09-03
Posts: 52,118

Re: Dbus-broker prevents the computer powering down properly

Has anyone filed a bug against jack?

Offline

#32 2024-03-18 19:46:26

topasiss
Member
Registered: 2022-08-08
Posts: 50

Re: Dbus-broker prevents the computer powering down properly

seth wrote:

Has anyone filed a bug against jack?

Not yet, I wasn't sure how to proceed before your last comment.

I verified your suggestions in your comment #27 and it solves the problem on my machine, too.

I'll post the bug report when ready here.

Offline

#33 2024-03-18 20:06:21

topasiss
Member
Registered: 2022-08-08
Posts: 50

Re: Dbus-broker prevents the computer powering down properly

Upstream issue  created

Offline

#34 2024-03-28 15:12:49

udaemon
Member
Registered: 2022-02-10
Posts: 4

Re: Dbus-broker prevents the computer powering down properly

hi, I just found this thread after I ran into my laptop not shutting down or rebooting properly anymore. and I can report: the same problem which you have been discussing was the case here and Seths solution helped – thanks!
the only thing I observe is when I kill jackdbus manually like in #28 my laptop reboots/shuts down instantly while - having the unit created as in #27 - and shutting down/rebooting via my DE's (gnome) default means takes 1 min until the laptop is poperly down.
but let's wait what developers over at jack do. thanks @topasiss for filing the bug!

Offline

Board footer

Powered by FluxBB