Am Wed, 21 Jul 2021 12:36:40 +0100
schrieb Daniel P. Berrangé <berrange(a)redhat.com>:
If we remove the sysconfig files, we're not expecting users to
modify the .service files. Instead they will be using the systemd
overrides in /etc/systemd/system/libvirtd.service.d/<blah> to
customize.
It seems docs/daemons.rst already states that .service or .socket files can be tweaked,
but it does not say how this needs to be done.
Looking at systemd.socket(8) and ListenStream=: "These options may be specified more
than once, ..." indicates that one may not be able to tweak just one knob with an
override file. Instead the full unit must be provided in /etc/systemd.
In the context of the proposed patch, a specific "Environment=" line will
hopefully be override the system provided line reliably.
I will add an example to this documentation file. The existing wording regarding sysconfig
files can stay as it is.
Olaf