Bug#782377: systemd: hwclock-save.service should not be run inside containers

Michael Biebl biebl at debian.org
Sat Apr 11 14:28:12 BST 2015


Am 11.04.2015 um 12:14 schrieb Christian Seiler:
> Package: systemd
> Version: 215-15
> Severity: minor
> Tags: patch
> 
> Dear Maintainers,
> 
> with 215-13, hwclock-save.service was added to sync the system clock
> with the hardware clock on shutdown. This will fail in containers which
> don't have the appropriate privileges (which is annoying, but not
> really problematic, since shutdown proceeds anyway), and in privileged
> containers this will needlessly sync the clock on container shutdown
> (although that is probably harmless).
> 
> Please add
> ConditionVirtualization=!container
> to the unit file to disable the service in containers.

Makes sense.

Please consider sending a proper git formatted patch, so the change is
properly credited to you.

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: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150411/52ebb249/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list