Red Hat Bugzilla – Bug 1014380
setup-ds.pl doesn't lookup the "root" group correctly
Last modified: 2015-03-05 04:31:09 EST
This bug is created as a clone of upstream ticket: https://fedorahosted.org/389/ticket/47473 Silent install will fail, if you set the "SuiteSpotUserID" to root, but do not set "SuiteSpotGroup". Error: could not determine the current group ID: at /usr/lib64/dirsrv/perl/DSUtil.pm line 186 DSUtil::getGroup('root') called at /usr/lib64/dirsrv/perl/DSCreate.pm line 822 DSCreate::setDefaults('Inf=HASH(0x21bff90)') called at /usr/lib64/dirsrv/perl/DSCreate.pm line 1175 DSCreate::createDSInstance('Inf=HASH(0x21bff90)') called at /usr/sbin/setup-ds.pl line 83
[root@dhcp201-126 export]# cat sample.inf [General] SuiteSpotUserID = root FullMachineName = dhcp201-126.englab.pnq.redhat.com [slapd] InstallLdifFile = suggest ServerIdentifier = dhcp201-126 ServerPort = 1289 AddOrgEntries = Yes RootDN = cn=Directory Manager RootDNPwd = Secret123 Suffix = dc=example,dc=com AddSampleEntries = No [root@dhcp201-126 export]# setup-ds.pl --silent --file /export/sample.inf Warning: using root as the server user id. You are strongly encouraged to use a non-root user. Your new DS instance 'dhcp201-126' was successfully created. Exiting . . . Log file is '/tmp/setupZvg2lJ.log Hence VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-0416.html