[Bug 1372051] Re: ntp postinst user/group add commands are not idempotent
Ryan Harper
1372051 at bugs.launchpad.net
Tue Aug 4 19:01:30 UTC 2015
I booted a precise server image:
ubuntu at ubuntu:~$ cat /etc/issue
Ubuntu 12.04.5 LTS \n \l
ubuntu at ubuntu:~$ uname -a
Linux ubuntu 3.2.0-88-virtual #126-Ubuntu SMP Mon Jul 6 21:50:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Installed ntp:
% sudo apt-get install ntp
...
http://archive.ubuntu.com/ubuntu/ precise-updates/main ntp amd64 1:4.2.6.p3+dfsg-1ubuntu3.4
ubuntu at ubuntu:~$ grep ntp /etc/group
ntp:x:112:
Then do-release-upgrade to move to 14.04 with no issues.
Examining the postinst scripts in current precise ( ), and various
trusty versions of the ntp package, the script is always idempotent
w.r.t adding the ntp group. It's not clear to me which version of the
ntp package had a post-inst script that wasn't idempotent. Getting a
copy of the ntp.postinst script that is failing would be most useful.
One workaround to the dist-upgrade issue is to apt-get remove --purge
ntp (which will run the postrm hook to remove the ntp group) prior to
upgrading.
** Changed in: ntp (Ubuntu)
Status: New => Incomplete
** Changed in: ntp (Ubuntu)
Assignee: Ryan Harper (raharper) => (unassigned)
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1372051
Title:
ntp postinst user/group add commands are not idempotent
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntp/+bug/1372051/+subscriptions
More information about the Ubuntu-server-bugs
mailing list