On 13/03/2023 23:23, Greg Wooledge wrote:
On Tue, Mar 14, 2023 at 07:04:02AM +0800, Jeremy Ardley wrote:
I replicated your test above and it seems your listing has been accidentally
truncated...
Pipe it through cat to avoid the "left/right scrolling" crap.
If you want to do this regularly, you can set SYSTEMD_PAGER=cat

jeremy@testldap:~$ systemctl status systemd-resolved
● systemd-resolved.service - Network Name Resolution
      Loaded: loaded (/lib/systemd/system/systemd-resolved.service; disabled;
vendor preset: enabled)
      Active: inactive (dead)
        Docs: man:systemd-resolved.service(8)
              man:org.freedesktop.resolve1(5)
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients

It would seem the debian default is enabled? See vendor preset below.
I have not to this day figured out what "vendor preset" means here.
It would appear to be https://www.freedesktop.org/software/systemd/man/systemd.preset.html. If I'm reading the introduction correctly, this is systemd's equivalent to Debian's policy-rc.d, inasmuch as it's a place to define whether a service starts (or not) _before_ installing the package.

Mine shows the same as yours -- "disabled; vendor preset: enabled".

All I care about is the part that says "disabled".  That's the actual
state.

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to