Open kreutzi opened 7 months ago
Have you tried rebooting to see if the error persists?
I don't think those errors are too much of a concern. Seems just like the error says duplicated names in the service files, which is more of a warning than an error.
You might open one of the service files and look if there are actually duplicated names inside.
I don't think those errors are too much of a concern. Seems just like the error says duplicated names in the service files, which is more of a warning than an error.
You might open one of the service files and look if there are actually duplicated names inside.
Apr 10 13:03:34 nixos dbus-broker-launch[1445]: Ignoring duplicate name 'org.freedesktop.systemd1' in service file '/nix/store/kn72wm4pw2997yxpdvys2z1hvs4msa7p-system-path/share/dbus-1/services/org.freedesktop.systemd1.service'
file content
# SPDX-License-Identifier: LGPL-2.1-or-later
#
# This file is part of systemd.
#
# systemd is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[D-BUS Service]
Name=org.freedesktop.systemd1
Exec=/nix/store/ifzwv2xqwdnv1gz87rxkizi67py5p3vj-coreutils-9.4/bin/false
User=root
@peterhoeg maybe you know what's going on? It seems weird to me since there is no obvious reason why the error appears.
Also maybe this is related https://github.com/bus1/dbus-broker/issues/339
Another thing is that this issue seems to existed when using dbus demon too, just it doesn't check for duplicates so no one noticed.
Its weird doesn't happen on a fresh install though
@LDprg i investigated more into this and i keep finding weird errors this is a portion of the output for journalctl -u dbus-broker having invalid username for pulse and no entry for nm-openconnect and invalid configs
- Boot 515786cc9ee846049e2a3413f71989e1 --
Apr 10 21:42:33 nixos systemd[1]: Starting D-Bus System Message Bus...
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Looking up NSS user entry for 'nm-openconnect'...
Apr 10 21:42:33 nixos dbus-broker-launch[954]: NSS returned no entry for 'nm-openconnect'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Invalid user-name in /nix/store/khyv34c7rdrw34cfkq44cqlly6gfja3v-system-path/share/dbus-1/system.d/nm-openconnect-service.conf +9: user="nm-openconnect"
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Looking up NSS user entry for 'pulse'...
Apr 10 21:42:33 nixos dbus-broker-launch[954]: NSS returned no entry for 'pulse'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Invalid user-name in /nix/store/khyv34c7rdrw34cfkq44cqlly6gfja3v-system-path/share/dbus-1/system.d/pulseaudio-system.conf +27: user="pulse"
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Invalid user-name in /nix/store/c469rx36lmx81mgpnhc5wa23pmmr8wcx-NetworkManager-openconnect-1.2.10/share/dbus-1/system.d/nm-openconnect-service.conf +9: user="nm-openconnect"
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.opensuse.CupsPkHelper.Mechanism' in service file '/nix/store/c8s741qsm277h12zmln6qdrcaqf24y1d-cups-pk-helper-0.2.6/share/dbus-1/system-services/org.opensuse.Cu>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.ModemManager1' in service file '/nix/store/9xjzisxj6qzz537bjw9i5m923cnbvmha-modemmanager-1.22.0/share/dbus-1/system-services/org.freedesktop.ModemM>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.nm_dispatcher' in service file '/nix/store/p7m9nbg1f13kqvafahpl3q2fbfa3j6hw-networkmanager-1.46.0/share/dbus-1/system-services/org.freedesktop.nm_d>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.nm_priv_helper' in service file '/nix/store/p7m9nbg1f13kqvafahpl3q2fbfa3j6hw-networkmanager-1.46.0/share/dbus-1/system-services/org.freedesktop.nm_>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'fi.w1.wpa_supplicant1' in service file '/nix/store/c0cv1yk1gmqwf89sz3y5cahw5v5h6xhz-wpa_supplicant-2.10/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.UPower' in service file '/nix/store/2lrhi78qfg2036mivcwzy91g1l85jyab-upower-1.90.2/share/dbus-1/system-services/org.freedesktop.UPower.service'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.UDisks2' in service file '/nix/store/p1kcwvyxwhsb6cl9vz1npgwmaf9l99rq-udisks-2.10.1/share/dbus-1/system-services/org.freedesktop.UDisks2.service'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'net.hadess.PowerProfiles' in service file '/nix/store/zgzhcpywdy7rfjwi97xrv4mismn2cqsc-power-profiles-daemon-0.20/share/dbus-1/system-services/net.hadess.PowerProf>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.UPower.PowerProfiles' in service file '/nix/store/zgzhcpywdy7rfjwi97xrv4mismn2cqsc-power-profiles-daemon-0.20/share/dbus-1/system-services/org.free>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.bluez.mesh' in service file '/nix/store/468hykzb473ascad7pkcdfi6sg2i73kz-bluez-5.72/share/dbus-1/system-services/org.bluez.mesh.service'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.bluez' in service file '/nix/store/468hykzb473ascad7pkcdfi6sg2i73kz-bluez-5.72/share/dbus-1/system-services/org.bluez.service'
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.Accounts' in service file '/nix/store/371pd4m7h5y93687ifz4mvh3rkb3x72a-accountsservice-23.13.9/share/dbus-1/system-services/org.freedesktop.Account>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.RealtimeKit1' in service file '/nix/store/w55j5y4wa9dk1sqwh0vziadb0inyxqh2-rtkit-0.13/share/dbus-1/system-services/org.freedesktop.RealtimeKit1.ser>
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ignoring duplicate name 'org.freedesktop.PolicyKit1' in service file '/nix/store/zrvqzsn2q0101i395igwcxqk9413r0dh-polkit-123/share/dbus-1/system-services/org.freedesktop.PolicyKit1.service'
Apr 10 21:42:33 nixos systemd[1]: Started D-Bus System Message Bus.
Apr 10 21:42:33 nixos dbus-broker-launch[954]: Ready
Apr 10 21:45:58 nixos dbus-broker-launch[954]: Activation request for 'org.freedesktop.resolve1' failed: The systemd unit 'dbus-org.freedesktop.resolve1.service' could not be found.
@kreutzi did you only experience the errors or are there any other problems (like package not working as intended)?
@kreutzi did you only experience the errors or are there any other problems (like package not working as intended)?
haven't used this system for that long only 2 days but everything is working i will keep you updated
@LDprg @Aleksanaa got some graphical bugs with kde randomly invalidating program executables then i investigated some more but pinpointed at kde
found out two dbus services with the same exec but different names
org.kde.kwalletd5 [D-BUS Service] Name=org.kde.kwalletd5 Exec=/nix/store/18n78qdjgylsz65jv8dp250y6hjcvbp6-kwallet-6.0.0/bin/kwalletd6
org.kde.kwalletd6 [D-BUS Service] Name=org.kde.kwalletd6 Exec=/nix/store/18n78qdjgylsz65jv8dp250y6hjcvbp6-kwallet-6.0.0/bin/kwalletd6
i would guess there are similar examples to this but should this cause the errors i am seeing ?
I think the reason for this is that the kde6 modules are not handled correctly, and some packages from kde5 are mixed in it
I think the reason for this is that the kde6 modules are not handled correctly, and some packages from kde5 are mixed in it
Yeah i switched desktops to test and the errors lessened to about 30 errors only about some remaining org.freedesktop packages
@K900 can you take a look at this seems like an error with kde 6 packages. Likely some old kde 5 packages get included along with the kde 6 ones.
@kreutzi The freedesktop ones are very likely just stuff like multiple file explorers that are installed on the system.
I have been using the dbus-broker
for around half a year, with both gnome and kde plasma. Although I consistently encounter this error message on every boot, my experience suggests that it's more like a warning. Nevertheless, having this warning message mixed with the log output is quite annoying.
Yeah, those are just warnings. The old dbus just silently ignored it. Has anyone ask idea how we can work around this?
I think the reason for this is that the kde6 modules are not handled correctly, and some packages from kde5 are mixed in it
This issue predates the inclusion of plasma6. It's a warning as others have pointed out but it really should be fixed.
Yeah, those are just warnings. The old dbus just silently ignored it. Has anyone ask idea how we can work around this?
I came to the same conclusion dbus-broker seems more verbose than the old dbus-daemon.
As @peterhoeg mentioned:
This issue predates the inclusion of plasma6
This is beyond my expertise, even after extensive debugging. Perhaps we could involve some KDE developers?
This is an explanation for said errors
Subject: Invalid service file ░░ Defined-By: dbus-broker ░░ Support: https://groups.google.com/forum/#!forum/bus1-devel ░░ ░░ A service file is a ini-type configuration file. ░░ ░░ It has one required section ░░ named [D-BUS Service]. The section contains the required key 'Name', which ░░ must be a valid D-Bus name that is unique across all service files. It also ░░ contains at least one of the two optional keys 'SystemdService' and 'Exec', ░░ as well as optionally the key 'User'. Exec must be a valid shell command and ░░ User must be a valid user on the system. ░░ ░░ A service file should be named after the D-Bus name it configures. That is ░░ a file containing Name=org.foo.bar1 should be named org.foo.bar1.service. ░░ For backwards compatibility, we only warn when files do not follow this ░░ convention when run as a user bus. The system bus considers this an error ░░ and ignores the service file.
Describe the bug
journalctl -x -b -p 3 output gives dbus-broker-launch ignoring duplicate name errors example error: Apr 10 12:14:13 nixos dbus-broker-launch[1434]: Ignoring duplicate name 'org.kde.kscreen.osdService' in service file '/nix/store/kn72wm>
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
no dbus-broker errors
Screenshots
Notify maintainers
@LDprg
Metadata