Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

.service suffix duplicated in D-Bus service file #2781

Open
aklapper opened this issue Apr 23, 2023 · 1 comment
Open

.service suffix duplicated in D-Bus service file #2781

aklapper opened this issue Apr 23, 2023 · 1 comment

Comments

@aklapper
Copy link

Running hexchat-2.16.1-2.fc38 on Fedora 38, journalctl output says:
dbus-broker-launch[1439]: Ignoring duplicate name 'org.hexchat.service' in service file '/usr/share//dbus-1/services/org.hexchat.service.service'

The corresponding upstream file is at https://github.com/hexchat/hexchat/blob/master/src/common/dbus/org.hexchat.service.service.in

Content of the local file /usr/share/dbus-1/services/org.hexchat.service.service in Fedora 38 is:

[D-BUS Service]
Name=org.hexchat.service
Exec=/usr/bin/hexchat

Obviously the filename should not include twice the string .service, and its content should have the line Name=org.hexchat instead.

@TingPing
Copy link
Member

Fedora could define -Ddbus-service-use-appid=true to use a more reasonable service name. It is opt-in because it is a public API break.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants