Bug#801389: Disabling timedatectl/NTP across package upgrades

Michael Biebl biebl at debian.org
Fri Oct 9 14:24:50 BST 2015


Control: tags -1 moreinfo unreproducible

Am 09.10.2015 um 15:11 schrieb Yuri D'Elia:
> Package: systemd
> Version: 227-1
> Severity: normal
> 
> I'm trying to disable time syncronization, but I've found two issues happening
> during upgrades:
> 
> - Disabling systemd-timesyncd.service is not enough.
>   systemd-timesyncd.service gets automatically re-enabled on upgrade.
> 
>   Is this intended? I would argue that a disabled service should stay disabled
>   on upgrades.

No, this is not intended.
I can not reproduce the problem:

> root at pluto:/# systemctl is-enabled systemd-timesyncd
> enabled
> root at pluto:/# systemctl disable systemd-timesyncd
> Removed symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service.
> root at pluto:/# systemctl is-enabled systemd-timesyncd
> disabled
> root at pluto:/# apt-get install --reinstall systemd
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
> Need to get 0 B/3500 kB of archives.
> After this operation, 0 B of additional disk space will be used.
> debconf: delaying package configuration, since apt-utils is not installed
> (Reading database ... 12074 files and directories currently installed.)
> Preparing to unpack .../systemd_227-1_amd64.deb ...
> Unpacking systemd (227-1) over (227-1) ...
> Setting up systemd (227-1) ...
> addgroup: The group `systemd-journal' already exists as a system group. Exiting.
> root at pluto:/# systemctl is-enabled systemd-timesyncd
> disabled

What commands did you use exactly to disable the service?

Do you have a /run/systemd/was-enabled file?
Could you attach that, please.

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/20151009/dc2cafb3/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list