[pkg-ntp-maintainers] Bug#655515: Bug#655515: Bug in ntp.postinst
Kurt Roeckx
kurt at roeckx.be
Thu Apr 18 21:41:30 UTC 2013
On Thu, Apr 18, 2013 at 01:26:43PM -0700, Gerald Turner wrote:
> + addgroup --system --quiet ntp
>
> # man addgroup
> ...
> EXIT VALUES
> ...
> 1 Creating the user or group failed because it was already present
> with other UID/GID than specified. The username or groupname was
> rejected because of a mismatch with the configured regular
> expressions, see adduser.conf(5). Adduser has been aborted by a
> signal. Or for many other yet undocumented reasons which are
> printed to console then. You may then consider to remove --quiet to
> make adduser more verbose.
> ...
>
> 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?
Can you run it without the --quiet option?
Kurt
More information about the pkg-ntp-maintainers
mailing list