[cas_usergroup 0004907]: pkgutil -i subversion (with dependency sasl) fails due to reuse of group 100

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Sat Mar 21 13:02:58 CET 2015


The following issue has been UPDATED. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4907 
====================================================================== 
Reported By:                sishbi
Assigned To:                
====================================================================== 
Project:                    cas_usergroup
Issue ID:                   4907
Category:                   packaging
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-24 10:43 CET
Last Modified:              2015-03-21 13:02 CET
====================================================================== 
Summary:                    pkgutil -i subversion (with dependency sasl) fails
due to reuse of group 100
Description: 
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.
====================================================================== 

---------------------------------------------------------------------- 
 (0010731) yann (developer) - 2014-02-23 10:12
 https://www.opencsw.org/mantis/view.php?id=4907#c10731 
---------------------------------------------------------------------- 
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.



More information about the bug-notifications mailing list