Bug 2020415
Summary: | Error in /usr/lib/systemd/systemd-update-helper: undefined variable "unit" | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christian Stadelmann <fedora> |
Component: | systemd | Assignee: | systemd-maint |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 35 | CC: | admin, amessina, bsdprg, david.halpern, decathorpe, dilanilka42, dimitris.on.linux, dominik, fedora, fedoraproject, filbranden, flepied, jjb, john.kissane, jose.p.oliveira.oss, larouxn, lnykryn, mailings, maxwell, me, michael.scheiffler, mrsam, msekleta, ppywlkiqletw, ryncsn, samuel-rhbugs, ssahani, s, systemd-maint, yuwatana, zbyszek |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | systemd-249.6-2.fc35 systemd-249.7-2.fc35 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-18 01:14:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2023332 | ||
Bug Blocks: |
Description
Christian Stadelmann
2021-11-04 19:27:57 UTC
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 submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-a77b44ab13 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. |