[pkg-ntp-maintainers] Bug#655515: Bug#655515: Bug in ntp.postinst
Gerald Turner
gturner at unzane.com
Thu Apr 18 22:24:24 UTC 2013
Kurt Roeckx <kurt at roeckx.be> writes:
> On Thu, Apr 18, 2013 at 01:26:43PM -0700, Gerald Turner wrote:
>> I hacked around the problem by appending '|| true' expressions to the
>> postinst addgroup/adduser commands.
>
> Since we don't say which gid to use, that can't be a reason to fail.
> It also never failed here ...
>
> Maybe it's not a system group for you? What does "getent group ntp"
> return?
# getent group ntp
ntp:x:107:
> Can you run it without the --quiet option?
# addgroup --system ntp ; echo $?
addgroup: The group `ntp' already exists and is not a system group. Exiting.
1
Hmmm...
# grep '^FIRST_SYSTEM' /etc/adduser.conf
FIRST_SYSTEM_UID=123
FIRST_SYSTEM_GID=123
Sorry I forgot about that, a few years ago I was juggling a bunch of Xen
guests, trying to keep system passwd and group entries in sync for a
handful of common daemons and manually bumping adduser.conf.
Perhaps I need to restore those to 100 in order to avoid this type of
"bug" with other postinst scripts.
--
Gerald Turner Email: gturner at unzane.com JID: gturner at unzane.com
GPG: 0xFA8CD6D5 21D9 B2E8 7FE7 F19E 5F7D 4D0C 3FA0 810F FA8C D6D5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ntp-maintainers/attachments/20130418/f11523ef/attachment.pgp>
More information about the pkg-ntp-maintainers
mailing list