Kurt Roeckx <k...@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: gtur...@unzane.com JID: gtur...@unzane.com GPG: 0xFA8CD6D5 21D9 B2E8 7FE7 F19E 5F7D 4D0C 3FA0 810F FA8C D6D5
pgpcFKIKZjuk9.pgp
Description: PGP signature