Re: [PATCH 16/41] remote: conditionalize systemd socket unit files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2019-07-23 at 17:02 +0100, Daniel P. Berrangé wrote:
[...]
> +++ b/src/remote/Makefile.inc.am
> @@ -292,6 +292,9 @@ endif WITH_SASL
>  
>  LIBVIRTD_UNIT_VARS = \
>  	$(COMMON_UNIT_VARS) \
> +	-e 's|[@]name[@]|Libvirt|g' \
> +	-e 's|[@]service[@]|libvirtd|g' \
> +	-e 's|[@]sockprefix[@]|libvirt|g' \
>  	$(NULL)

Patch 19 contains this hunk:

  @@ -298,13 +369,34 @@ LIBVIRTD_UNIT_VARS = \
          -e 's|[@]name[@]|Libvirt|g' \
          -e 's|[@]service[@]|libvirtd|g' \
          -e 's|[@]sockprefix[@]|libvirt|g' \
  +       -e 's|[@]deps[@]||g' \
  +       $(NULL)

but it should be in this commit instead, since...

[...]
> +++ b/src/remote/libvirtd-admin.socket.in
> @@ -1,14 +1,15 @@
>  [Unit]
> -Description=Libvirt admin socket
> -Before=libvirtd.service
> -BindsTo=libvirtd.socket
> -After=libvirtd.socket
> +Description=@name@ admin socket
> +Before=@service@.service
> +BindsTo=@service@.socket
> +After=@service@.socket
> +@deps@

... you already have @deps@ here, and without the above the
placeholder will show up in the output file.

With that hunk squashed in,

  Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux