You are not logged in.

#1 2024-01-10 07:47:54

hully
Member
Registered: 2022-11-14
Posts: 164

Cannot enable dbus-broker

I followed the wiki instructions to install dbus-broker.

But with

sudo systemctl enable dbus-broker.service

I get:

The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,
Also=, or Alias= settings in the [Install] section, and DefaultInstance= for
template units). This means they are not meant to be enabled or disabled using systemctl.
 
Possible reasons for having these kinds of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/, .requires/, or .upholds/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

Offline

#2 2024-01-10 07:54:15

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: Cannot enable dbus-broker

The new unit files on Arch are setup as a static unit that is autostarted when something requests dbus, you shouldn't need to do anything and if you run

systemctl status dbus

you will see that it's likely started already

https://gitlab.archlinux.org/archlinux/ … 75fad8b9fa

Last edited by V1del (2024-01-10 08:03:21)

Online

#3 2024-01-10 08:08:55

icar
Member
Registered: 2020-07-31
Posts: 562

Re: Cannot enable dbus-broker

https://wiki.archlinux.org/title/D-Bus

Wiki states you are to enable the service.

Offline

#4 2024-01-10 08:17:32

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,232

Re: Cannot enable dbus-broker

Do you see the "out of date" and "expansion" warning boxes? That's precisely the information that's currently out of date and will likely get adjusted in time.

Online

#5 2024-01-10 14:12:57

icar
Member
Registered: 2020-07-31
Posts: 562

Re: Cannot enable dbus-broker

Well, I did not see that :-)

Offline

#6 2024-01-10 16:19:16

hully
Member
Registered: 2022-11-14
Posts: 164

Re: Cannot enable dbus-broker

V1del wrote:

The new unit files on Arch are setup as a static unit that is autostarted when something requests dbus, you shouldn't need to do anything and if you run

systemctl status dbus

you will see that it's likely started already

https://gitlab.archlinux.org/archlinux/ … 75fad8b9fa

Yes it says dbus-broker. Thanks

Offline

Board footer

Powered by FluxBB