Bug#979417: systemd-resolved --status not prepared for missing files

積丹尼 Dan Jacobson jidanni at jidanni.org
Wed Jan 6 11:24:58 GMT 2021


Package: systemd
Version: 247.2-4
Severity: minor
File: /usr/bin/systemd-resolve

/usr/bin/systemd-resolve --status expects to always find files that in
fact may not be there and are not errors and should not cause the
program to bomb out early.

# systemctl enable --now systemd-resolved
Created symlink /etc/systemd/system/dbus-org.freedesktop.resolve1.service → /lib/systemd/system/systemd-resolved.service.
Created symlink /etc/systemd/system/multi-user.target.wants/systemd-resolved.service → /lib/systemd/system/systemd-resolved.service.
# /usr/bin/systemd-resolve --status | wc
     11      33     481
# systemctl --now disable systemd-resolved
Removed /etc/systemd/system/multi-user.target.wants/systemd-resolved.service.
Removed /etc/systemd/system/dbus-org.freedesktop.resolve1.service.
# /usr/bin/systemd-resolve --status | wc
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.
      0       0       0



More information about the Pkg-systemd-maintainers mailing list