Skip to content

Make services dbus activable#259

Merged
bilelmoussaoui merged 8 commits intomainfrom
dbus-activable
Jun 12, 2025
Merged

Make services dbus activable#259
bilelmoussaoui merged 8 commits intomainfrom
dbus-activable

Conversation

@A6GibKm
Copy link
Collaborator

@A6GibKm A6GibKm commented Jun 3, 2025

They were before, but simply by running the binaries. This makes it so that they start the service instead. The /usr/bin/false comes from:

$ cat /usr/share/dbus-1/system-services/org.freedesktop.hostname1.service
[D-BUS Service]
Name=org.freedesktop.hostname1
Exec=/bin/false
User=root
SystemdService=dbus-org.freedesktop.hostname1.service

this needs testing.

@A6GibKm A6GibKm marked this pull request as ready for review June 4, 2025 06:46
@bilelmoussaoui
Copy link
Collaborator

Not everything under /usr/share/dbus-1/system-services uses /bin/false, why?

@A6GibKm
Copy link
Collaborator Author

A6GibKm commented Jun 4, 2025

Not everything under /usr/share/dbus-1/system-services uses /bin/false, why?

To be researched. It is very odd that both the DBus service and the Service which is being activated both have an Exec line. I would prefer if we don't exec anything on the DBus activatable and just leave that to the service.

@bilelmoussaoui
Copy link
Collaborator

The first two commits are doing too many things at once. Can you split the renaming bits into a separate commit? maybe

@A6GibKm
Copy link
Collaborator Author

A6GibKm commented Jun 5, 2025

The first two commits are doing too many things at once. Can you split the renaming bits into a separate commit? maybe

Yeah, I was also hoping in separating into parts which I already know that work.

@A6GibKm
Copy link
Collaborator Author

A6GibKm commented Jun 5, 2025

Done.

@bilelmoussaoui bilelmoussaoui merged commit c8f2ef6 into main Jun 12, 2025
7 checks passed
@bilelmoussaoui bilelmoussaoui deleted the dbus-activable branch June 12, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants