[Pkg-virtualbox-devel] Bug#873263: Bug#812522: Disable systemd-timesyncd in VirtualBox guests

Michael Biebl biebl at debian.org
Fri Aug 25 21:25:23 UTC 2017


On Sun, 24 Jan 2016 19:40:57 +0100 Michael Biebl <biebl at debian.org> wrote:
> Am 24.01.2016 um 17:19 schrieb Sam Morris:
> > Package: systemd
> > Version: 228-4
> > Severity: wishlist
> > File: /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
> > 
> > The 'virtualbox-guest-utils' service provides time synchronization with
> > the host when run inside VirtualBox. It might be worth adding
> > ConditionFileIsExecutable=!/usr/sbin/VBoxService to
> > disable-with-time-daemon.conf.
> > 
> 
> I'd like to see
> /lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf
> go away, once chrony, opentpd and ntp ship proper native .service files.
> So I'd rather not see more stuff added there.
> 
> I think this should either be added to systemd upstream to have
> ConditionVirtualization=!oracle
> 
> But I running under VBox virtualization does not necessarily mean, the
> VboxService is running inside the host.
> 
> So I would really like to see this fixed properly instead, by having
> virtualbox ship a native service file which has a
> Conflicts=systemd-timesyncd.service
> 
> We won't get there by adding more workarounds to the systemd package.

chrony, ntp and openntpd have all been fixed to ship native service
files which have Conflicts=systemd-timesyncd.service

I plan to drop
/lib/systemd/system/systemd-timesyncd.service.d/disable-with-time-daemon.conf,
so I'll leave it up to virtualbox-guest-utils to add a proper native
service file.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20170825/a357e31a/attachment-0001.sig>


More information about the Pkg-virtualbox-devel mailing list