[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/latest] libvirt-daemon-system: Make default files functionally empty

Andrea Bolognani (@abologna) gitlab at salsa.debian.org
Sat Jan 7 14:26:47 GMT 2023



Andrea Bolognani pushed to branch debian/latest at Libvirt Packaging Team / libvirt


Commits:
45d077a2 by Andrea Bolognani at 2023-01-07T13:44:42+00:00
libvirt-daemon-system: Make default files functionally empty

Until 8.1.0, default command line options passed to daemons lived
in these files. Since upstream stopped shipping them, however, the
defaults have now been moved to the respective unit files.

This means that, if we don't define LIBVIRTD_ARGS in the default
file at all, the default in the libvirtd.service unit file will
be used and we will get a behavior matching upstream, that is,
libvirtd will automatically shut down after it's been sitting idle
for 120 seconds.

Since the default now lives in the systemd unit file, we no longer
have to worry about it affecting sysv init. In that case, libvirtd
will never automatically shut down.

The ARGS variables defined in other default files are also
commented out for consistency. They were always empty anyway, both
upstream and in Debian, so there's no change in behavior.

- - - - -


3 changed files:

- debian/libvirt-daemon-system.libvirtd.default
- debian/libvirt-daemon-system.virtlockd.default
- debian/libvirt-daemon-system.virtlogd.default


Changes:

=====================================
debian/libvirt-daemon-system.libvirtd.default
=====================================
@@ -1,13 +1,10 @@
 # Customizations for the libvirtd.service systemd unit
 
-LIBVIRTD_ARGS=""
-
-# The default upstream behavior is for libvirtd.service to
-# start on boot, perform VM autostart and shutdown again if
-# nothing was started; later on, systemd socket activation
-# is used to start it again when some client app connects.
-#
-# The following can be used to enable this behavior
+# Default behaviour is for libvirtd.service to start on boot
+# so that VM autostart can be performed. We then want it to
+# shutdown again if nothing was started and rely on systemd
+# socket activation to start it again when some client app
+# connects.
 #LIBVIRTD_ARGS="--timeout 120"
 
 # If systemd socket activation is disabled, then the following


=====================================
debian/libvirt-daemon-system.virtlockd.default
=====================================
@@ -1,3 +1,3 @@
 # Customizations for the virtlockd.service systemd unit
 
-VIRTLOCKD_ARGS=""
+#VIRTLOCKD_ARGS=""


=====================================
debian/libvirt-daemon-system.virtlogd.default
=====================================
@@ -1,3 +1,3 @@
 # Customizations for the virtlogd.service systemd unit
 
-VIRTLOGD_ARGS=""
+#VIRTLOGD_ARGS=""



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/45d077a29b177d3139b3f3a49dff364ad5bae30e

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/-/commit/45d077a29b177d3139b3f3a49dff364ad5bae30e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20230107/df7d3ade/attachment-0001.htm>


More information about the Pkg-libvirt-commits mailing list