[VERIFICATION FOCAL]

In focal, systemd is shipped as follow:

ls -altr /usr/bin/systemd-resolve 
lrwxrwxrwx 1 root root 10 Jan  6 20:47 /usr/bin/systemd-resolve -> resolvectl

With the proposed package of sosreport, the systemd plugin prefer
'resolvectl' over 'systemd-resolve' as it should.

# sos.log
2021-02-18 14:21:53,815 INFO: [plugin:systemd] added cmd output 'resolvectl 
status'
2021-02-18 14:21:53,815 INFO: [plugin:systemd] added cmd output 'resolvectl 
statistics'
2021-02-18 14:21:56,377 INFO: [plugin:systemd] collecting output of 'resolvectl 
status'
2021-02-18 14:21:56,391 INFO: [plugin:systemd] collecting output of 'resolvectl 
statistics'

ls -altr sos_commands/systemd/resolvectl_stat*
-rw-r--r-- 1 root root 1806 Feb 18 14:21 sos_commands/systemd/resolvectl_status
-rw-r--r-- 1 root root  391 Feb 18 14:21 
sos_commands/systemd/resolvectl_statistics

Each command run well and collected the desired output.


If I intentionally remove of the equation and make 'resolvectl' no longer 
exist. The plugin is taking 'systemd-resolve' as fallback.

# sos.log 
2021-02-18 14:25:30,816 INFO: [plugin:systemd] collecting output of 
'systemd-resolve --status'
2021-02-18 14:25:30,830 INFO: [plugin:systemd] collecting output of 
'systemd-resolve --statistics'


** Tags removed: verification-needed-focal
** Tags added: verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913581

Title:
  [plugin][systemd] prefer resolvectl over systemd-resolve

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sosreport/+bug/1913581/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to