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

Michael Biebl biebl at debian.org
Sat Apr 11 21:20:32 BST 2015


Control: tags -1 pending

Am 11.04.2015 um 16:44 schrieb Christian Seiler:
> On 04/11/2015 03:28 PM, Michael Biebl wrote:
>> 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.
> 
> Attached.

Thanks, applied as c22859a6897e9d6e5483bd0164b687875442f10a


-- 
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/9512264c/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list