Mantis - cas_usergroup
Viewing Issue Advanced Details
4907 packaging minor always 2012-02-24 10:43 2015-03-21 13:02
sishbi  
 
normal  
new  
open  
none    
none  
0004907: pkgutil -i subversion (with dependency sasl) fails due to reuse of group 100
When trying to install subversion, a dependent package 'sasl' fails because group 100 is already in use
Although there is no local group which uses the groupid of 100 the machine is part of a NIS domain which DOES have a group for 100
It would be better to not specify a group id and let the local system automatically generate one based on availability
Attempting to remove the CSWsasl package fails.
Attempting to install subversion again succeeds as the sasl package was partially installed (but not fully configured).
After the 2nd install attempt, subversion is usable.
Issue History
2012-02-24 10:43 sishbi New Issue
2012-12-31 02:21 maciej Project sasl => subversion
2014-02-22 11:29 dam Project subversion => sasl
2014-02-23 10:07 yann Project sasl => cas_usergroup
2014-02-23 10:12 yann Note Added: 0010731
2014-02-23 10:12 yann Issue Monitored: yann
2015-03-21 13:02 maciej Severity major => minor

Notes
(0010731)
yann   
2014-02-23 10:12   
I am moving this issue in the cas_usergroup package which contains the shared code used to create users/groups for packages.

This code is already supposed to dynamically find an uid based on availability and I don't know why it didn't work in your case. I don't have a nis setup to reproduce the issue.

It use the following command to know the uid used:
 /usr/bin/getent passwd | cut -d: -f3 | sort -n

This command should works the same in a nis configuration.


It could be useful that you reproduce the problem using:
  pkgutil --trace --install subversion

and attach the output to this bug.

This will enable debug mode for script and we will see clearly where the problem lies.