[PATCH v1] remove sysconfig files

Olaf Hering olaf at aepfle.de
Thu Jul 22 11:42:43 UTC 2021


Am Wed, 21 Jul 2021 12:36:40 +0100
schrieb Daniel P. Berrangé <berrange at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210722/2b63ac20/attachment-0001.sig>


More information about the libvir-list mailing list