On Thu, Aug 07, 2014 at 01:23:34PM +0200, Peter Mattern wrote: > If one of these options gets stated more than once the different > instances seem to be linked by a logical AND, too. This prevents > overwriting these options via snippets in /etc, e. g. > systemd-timesyncd.service still won't run in KVM with a snippet > /etc/systemd/system/systemd-timesyncd.service.d/do-run-in-kvm.conf > stating > [Unit] > ConditionVirtualization=kvm
What you could do in a snippet is to cancel the previous assignment and define new value for the key. Following should work [Unit] ConditionVirtualization= ConditionVirtualization=kvm > > Seen on Arch Linux, systemd 215-4, tested > Condition{Architecure,Host,Virtualization}. > > Any thoughts? > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel