Re: unbound and fetchmail (was: Re: Remove route '169.254.0.0/16 dev ovs-system')
- To: debian-user@lists.debian.org
- Subject: Re: unbound and fetchmail (was: Re: Remove route '169.254.0.0/16 dev ovs-system')
- From: Max Nikulin <manikulin@gmail.com>
- Date: Thu, 2 Mar 2023 21:26:33 +0700
- Message-id: <[🔎] ttqbmr$8iv$1@ciao.gmane.io>
- In-reply-to: <Y/3WrZXSZfWYQI1o@lenovo.local>
- References: <CAH8yC8knXL5nB_xUDksM-FMdDsmZtP8fhRoqu_zL8cyQDpp7=Q@mail.gmail.com> <Y/UMwjDivF44MC6t@lenovo.local> <tt5c4c$rpo$1@ciao.gmane.io> <Y/ZGtAl5H+dWT5V+@lenovo.local> <ttajvf$15vu$1@ciao.gmane.io> <Y/kE1hxSqskDLpRx@lenovo.local> <Y/oD1IuJ/cnKr0f5@lenovo.local> <ttfu40$p1p$1@ciao.gmane.io> <Y/ugASRTzBjspwN7@lenovo.local> <Y/uxI04jxBRepFQ3@axis.corp> <Y/3WrZXSZfWYQI1o@lenovo.local>
On 28/02/2023 17:25, Christoph Brinkhaus wrote:
I will just inform about the status. Everything is fine now. A word
about systemd-networkd-wait-online: With this service running there
has been even a delay of 1-2 seconds when switching from one console
to a different one (the consoles when X is not running). I have no
idea about that side effect.
Does it happen each time or it is getty startup time? In the latter case
you may try (for various console numbers)
systemd-analyze critical-chain getty@tty1.service
Now I have disabled systemd-networkd-wait-online and I have add a
comment in the last line of /usr/lib/systemd/system//systemd-networkd.service
which is now
# 28.2.2023 Also=systemd-networkd-wait-online.service
Ideally the root cause of strange behavior should be debugged. Perhaps
some dependency should be removed from e.g. multi-user.target or
network-online.target. Probably "systemd-analyze critical-chain" may
give some hints.
Any case I would not touch files in /usr/lib/systemd. It should confuse
tools like systemd-delta. It is possible to override specific properties
by creating of drop-in snippets in
/etc/systemd/system/systemd-networkd.service.d/. See systemd.unit(5),
e.g. run
systemctl edit systemd-networkd.service
[Install]
# Clear
Also=
# Add other values from the original file
Also=systemd-networkd.socket
Check result
systemd-analyze verify systemd-networkd.service
I hope, it is a better way to apply your workaround. I can not suggest a
better solution for tty delay issue, but I think it exists. "Also="
should affect "systemctl enable systemd-networkd.service" and "disable"
commands, so I puzzled why it helps at all.
Reply to: