[arch-general] git update groupadd failure: Invalid configuration: SYS_GID_MIN (101), GID_MIN (100), SYS_GID_MAX (99)

David C. Rankin drankinatty at suddenlinkmail.com
Tue Sep 4 10:27:51 EDT 2012


On 09/04/2012 09:14 AM, Allan McRae wrote:
> On 05/09/12 00:03, David C. Rankin wrote:
>> All,
>>
>>   pacman -Syu this morning and groupadd failed while installing git with the
>> following message:
>>
>> ( 28/115) upgrading git
>> [###########################] 100%
>> groupadd: Invalid configuration: SYS_GID_MIN (101), GID_MIN (100), SYS_GID_MAX (99)
>> useradd: group 'git' does not exist
>> error: command failed to execute correctly
>>
>>   It appears to see a min of 100 and a max of 99. That doesn't appear to ever work.
>>
>> [confused construction worker] "I've cut it twice and it's still too short?"
>>
> 
> This is the default in /etc/login.defs :
> 
> #
> # Min/max values for automatic gid selection in groupadd
> #
> GID_MIN			 1000
> GID_MAX			60000
> # System accounts
> SYS_GID_MIN		  500
> SYS_GID_MAX		  999
> 
> 
> 
> Is yours changed?
> 
> 

Not since May 31, 2009 :)

  Looking at it, there are no entries for SYS_GID_MIN or SYS_GID_MAX. This box
was originally installed somewhere around April 2009 and has been updated at
least weekly since then. So it looks like this file may need to be updated on
Arch's end if there are needed changes that are not in this one. I've never
touched it.

09:24 supersff:~> l /etc/login.defs
-rw-r--r-- 1 root root 6238 May 31  2009 /etc/login.defs

09:24 supersff:~> noc /etc/login.defs
FAIL_DELAY              3
LOG_UNKFAIL_ENAB        no
LOG_OK_LOGINS           no
SYSLOG_SU_ENAB          yes
SYSLOG_SG_ENAB          yes
CONSOLE         /etc/securetty
SU_NAME         su
MAIL_DIR        /var/spool/mail
HUSHLOGIN_FILE  .hushlogin
ENV_SUPATH      PATH=/sbin:/bin:/usr/sbin:/usr/bin
ENV_PATH        PATH=/bin:/usr/bin
TTYGROUP        tty
TTYPERM         0600
ERASECHAR       0177
KILLCHAR        025
UMASK           077
PASS_MAX_DAYS   99999
PASS_MIN_DAYS   0
PASS_WARN_AGE   7
UID_MIN                  1000
UID_MAX                 60000
GID_MIN                   100
GID_MAX                 60000
LOGIN_RETRIES           5
LOGIN_TIMEOUT           60
CHFN_RESTRICT           rwh
DEFAULT_HOME    yes
USERGROUPS_ENAB yes


-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list