[Adduser-devel] Bug#351480: exim4-base fails to install with
debootstrap
Marc Haber
mh+debian-packages at zugschlus.de
Sun Feb 5 09:34:23 UTC 2006
tags #351480 confirmed patch moreinfo
reassign #351480 adduser
thanks
On Sun, Feb 05, 2006 at 03:16:27PM +0900, Junichi Uekawa wrote:
> I guess it's a adduser bug;
It is.
> adduser --system --group --home /var/spool/exim4 --no-create-home \
> --disabled-login --force-badname Debian-exim > /dev/null
>
> is failing due to new adduser.
Looks like adduser 3.81 does falsely assume that uid and gid can be
equal.
Can you try the following patch?
--- adduser (revision 458)
+++ adduser (working copy)
@@ -331,7 +331,7 @@
printf STDERR gtx("No UID/GID pair is available in the range %d-%d (FIRST_SYS_UID - LAST_SYS_UID).\n"),$config{"first_system_uid"},$config{"last_system_uid"};
dief (gtx("The user %s' was not created.\n"),$new_name);
}
- $new_gid = $new_uid;
+ $new_gid = &first_avail_gid($config{"first_system_gid"},$config{"last_system_gid"});
$ingroup_name = $new_name;
}
elsif (!defined($new_uid) && !$make_group_also) {
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835
More information about the Adduser-devel
mailing list