Description of problem: During dnf update of other packages, I get this error message a lot: > /usr/lib/systemd/systemd-update-helper: line 54: unit: unbound variable Version-Release number of selected component (if applicable): systemd-249.4-2.fc35.x86_64 How reproducible: Unclear, but happens more than once Steps to Reproduce: 1. run `dnf upgrade` with some packages to upgrade Actual results: I get the error message above. Expected results: No error message. Additional info: Upstream has already fixed this issue: https://github.com/systemd/systemd/pull/21228
FEDORA-2021-bfbf6cb70b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-bfbf6cb70b
*** Bug 2020374 has been marked as a duplicate of this bug. ***
FEDORA-2021-bfbf6cb70b has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.
Hi, --- The rpm scriptlet now produces a different error: $ sudo dnf reinstall https://kojipkgs.fedoraproject.org//packages/syncthing/1.18.4/1.fc35/x86_64/syncthing-1.18.4-1.fc35.x86_64.rpm [...] Running scriptlet: syncthing-1.18.4-1.fc35.x86_64 2/2 Failed to connect to bus: Invalid argument Failed to connect to bus: Invalid argument Failed to connect to bus: Invalid argument Failed to connect to bus: Invalid argument Failed to connect to bus: Invalid argument [...] --- I initially left this comment on the Bodhi page [1], but I am reproducing it here. [1]: https://bodhi.fedoraproject.org/updates/FEDORA-2021-bfbf6cb70b Thanks, Maxwell
(In reply to Maxwell G from comment #4) > Hi, > > --- > > The rpm scriptlet now produces a different error: > > $ sudo dnf reinstall > https://kojipkgs.fedoraproject.org//packages/syncthing/1.18.4/1.fc35/x86_64/ > syncthing-1.18.4-1.fc35.x86_64.rpm > [...] > Running scriptlet: syncthing-1.18.4-1.fc35.x86_64 > 2/2 > Failed to connect to bus: Invalid argument > > Failed to connect to bus: Invalid argument > Failed to connect to bus: Invalid argument > > Failed to connect to bus: Invalid argument > > Failed to connect to bus: Invalid argument > [...] > > --- > > I initially left this comment on the Bodhi page [1], but I am reproducing it > here. > > [1]: https://bodhi.fedoraproject.org/updates/FEDORA-2021-bfbf6cb70b > > Thanks, > Maxwell The -M option for systemctl wants a user name instead of numeric user id. [root@mybox ~]# sh -x /usr/lib/systemd/systemd-update-helper user-restart + set -eu + set -o pipefail + command=user-restart + shift + command -v systemctl + case "$command" in + '[' -n '' ']' + '[' -d /run/systemd/system ']' ++ systemctl list-units 'user@*' --legend=no ++ sed -n -r 's/.*user@([0-9]+).service.*/\1/p' + users=1000 + [[ user-restart =~ reexec ]] + [[ user-restart =~ reload ]] + [[ user-restart =~ restart ]] + for user in $users + wait + SYSTEMD_BUS_TIMEOUT=15s + systemctl --user -M 1000@ reload-or-restart --marked Failed to connect to bus: Invalid argument [root@mybox ~]#
Can confirm, the "fixed" version is still broken.
I let the update go in because it has other fixes, and doesn't make this bug any worse. I'll fix it separately.
Argh, one patch was not backported.
*** Bug 2020980 has been marked as a duplicate of this bug. ***
Possible duplicate: https://bugzilla.redhat.com/show_bug.cgi?id=2021771
*** Bug 2021771 has been marked as a duplicate of this bug. ***
*** Bug 2022122 has been marked as a duplicate of this bug. ***
FEDORA-2021-a77b44ab13 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a77b44ab13
I also have this error. Is it dangerous?
(In reply to daniil velvet from comment #14) > I also have this error. Is it dangerous? It means that some user services that were supposed to be restarted after a package upgrade were not. It's generally not a big issue, unless you need the restart to fix some bug. You can always log out and back in, it should be enough to restart those services.
same problem here on all our 4 nodes... we noticed also some compilation failing with /usr/bin/ld: ./.libs/libfreeswitch.so: undefined reference to `pthread_mutexattr_setrobust_np
FEDORA-2021-a77b44ab13 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a77b44ab13` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a77b44ab13 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-a77b44ab13 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.