Description of problem: dnf update emits a bunch of Failed to connect to bus: Invalid argument diagnostics when updating packages Version-Release number of selected component (if applicable): systemd-249.6-2.fc35.x86_64 How reproducible: always Steps to Reproduce: 1. ssh into a server, into a user account that has sudo permissions to run dnf 2. do a "dnf update" of some package. 3. Actual results: Several Failed to connect to bus: Invalid argument messages, mixed in with actual output. Expected results: No diagnostics Additional info: strace seems to suggest that this warning comes out of /usr/lib/systemd/systemd-update-helper user-reload which appears to be injected into the upgrade with /usr/lib/rpm/macros.d/macros.systemd
This can be reproduced by executing systemd-update-helper directly, without involving dnf. After ssh-ing into a user account: $ /usr/lib/systemd/systemd-update-helper user-reload Failed to connect to bus: Invalid argument
*** This bug has been marked as a duplicate of bug 2020415 ***