Bugzilla – Bug 1045521
Unknown services fail restart during installation via zypper
Last modified: 2023-04-06 08:55:44 UTC
Two unknown services with a restart being attempted, all works okay though (41/90) Installing: systemd-233-1.1.x86_64 ............................................................................................................ [done] Additional rpm output: Failed to try-restart systemd-resolved.service: Unit systemd- Resolved.service not found. 48/48) Installing: cups-2.2.3-211.1.x86_64 ............................................................................................................ [done] Additional rpm output: Failed to try-restart cups-lpd@.service: Unit name cups-lpd@.service is missing the instance name. See system logs and 'systemctl status cups-lpd@.service' for details. # systemctl status cups-lpd@.service Failed to get properties: Unit name cups-lpd@.service is missing the instance name.
zypp is only the messenger - systemd's package is the one trying to restart a servfice it does not ship
Seems a bug in packaging: Either we provide systemd-resolved.service, either we drop it (but for which reason) rpm -ql system | grep resolv /usr/lib/systemd/resolv.conf /usr/share/man/man1/systemd-resolve.1.gz Seems also that resolv.conf goes to /usr/lib/systemd/ when all our standard configuration goes to /etc/systemd/ I'm not sure to understand systemd-resolve and nss-resolve
(In reply to Ian Powell from comment #0) > (41/90) Installing: systemd-233-1.1.x86_64 > ............................................................................. > ............................... > [done] > Additional rpm output: > Failed to try-restart systemd-resolved.service: Unit systemd- > Resolved.service > not found. I'll fix this one and the warning above is harmless.
(In reply to Franck Bui from comment #3) > (In reply to Ian Powell from comment #0) > > (41/90) Installing: systemd-233-1.1.x86_64 > > ............................................................................. > > ............................... > > [done] > > Additional rpm output: > > Failed to try-restart systemd-resolved.service: Unit systemd- > > Resolved.service > > not found. > > I'll fix this one and the warning above is harmless. Thanks. Just thought i'd report it to make the installs look tidier even though it didn't cause any problems.
You did well to report those warnings, thanks.
This one still exists.. install 07 July 2017 ( 49/104) Installing: cups-2.2.3-211.3.x86_64 ..........................................................................................................[done] Additional rpm output: Failed to try-restart cups-lpd@.service: Unit name cups-lpd@.service is missing the instance name. See system logs and 'systemctl status cups-lpd@.service' for details.
The cups-lpd@.service issue was fixed via https://bugzilla.suse.com/show_bug.cgi?id=1050845#c4 *** This bug has been marked as a duplicate of bug 1050845 ***