Re: [PATCH V2] libvirt-guests: run after time-sync.target

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

 



On 09/23/2014 11:53 AM, Jim Fehlig wrote:
> When libvirt-guests is configured to start guests on host
> boot, it is possible for guests start and read the host
> clock before it is synchronized.  Services such as
> libvirt-guests that require correct time should use the
> Special Passive System Unit time-sync.target
> 
> http://www.freedesktop.org/software/systemd/man/systemd.special.html#time-sync.target
> Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
> ---
> 
> V2 of
> 
> https://www.redhat.com/archives/libvir-list/2014-September/msg00426.html
> 
> In V2: Use time-sync.target instead of ntp-wait.service

ACK

> 
>  tools/libvirt-guests.service.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
> index d8d7adf..cc04b6d 100644
> --- a/tools/libvirt-guests.service.in
> +++ b/tools/libvirt-guests.service.in
> @@ -1,6 +1,6 @@
>  [Unit]
>  Description=Suspend Active Libvirt Guests
> -After=network.target libvirtd.service
> +After=network.target libvirtd.service time-sync.target
>  Documentation=man:libvirtd(8)
>  Documentation=http://libvirt.org
>  
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]