Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1480452

Summary: apache group not created if USERGROUPS_ENAB is 'no'
Product: Red Hat Software Collections Reporter: Jan Houska <jhouska>
Component: httpd24Assignee: Luboš Uhliarik <luhliari>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: medium    
Version: httpd24CC: isenfeld, jayabharat, jkaluza, jorton, martin, mfrodl, rbost
Target Milestone: ---   
Target Release: 2.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1288757 Environment:
Last Closed: 2017-09-04 08:32:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1288757    
Bug Blocks:    

Comment 2 Jan Houska 2017-08-11 07:31:38 UTC
The bug is detected for collection packages versions
 httpd24-httpd-2.4.25-9.el6.1.x86_64, httpd24-httpd-2.4.25-9.el7.1.x86_64 and older.


Adding an example of failing test output (version httpd-2.4.6-40.el7.x86_64):


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Installing httpd :: actually running 'yum -y install httpd'
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package httpd.x86_64 0:2.4.6-40.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                     Arch                                         Version                                            Repository                                  Size
==============================================================================================================================================================================================
Installing:
 httpd                                       x86_64                                       2.4.6-40.el7                                       rhel                                       1.2 M

Transaction Summary
==============================================================================================================================================================================================
Install  1 Package

Total download size: 1.2 M
Installed size: 3.7 M
Downloading packages:
httpd-2.4.6-40.el7.x86_64.rpm                                                                                                                                          | 1.2 MB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
** Found 3 pre-existing rpmdb problem(s), 'yum check' output follows:
httpd-CoreOS-httpd-Library-http-1.0-43.noarch has missing requires of httpd
1:mod_ssl-2.4.6-40.el7.x86_64 has missing requires of httpd = ('0', '2.4.6', '40.el7')
1:mod_ssl-2.4.6-40.el7.x86_64 has missing requires of httpd-mmn = ('0', '20120211x8664', None)
  Installing : httpd-2.4.6-40.el7.x86_64                                                                                                                                                  1/1 
warning: group apache does not exist - using root
warning: group apache does not exist - using root
warning: group apache does not exist - using root
warning: group apache does not exist - using root
warning: group apache does not exist - using root
warning: group apache does not exist - using root
  Verifying  : httpd-2.4.6-40.el7.x86_64                                                                                                                                                  1/1 

Installed:
  httpd.x86_64 0:2.4.6-40.el7                                                                                                                                                                 

Complete!
:: [   PASS   ] :: Installing httpd (Expected 0, got 0)
:: [  BEGIN   ] :: apache user should be created :: actually running 'getent passwd apache'
apache:x:48:100:Apache:/usr/share/httpd:/sbin/nologin
:: [   PASS   ] :: apache user should be created (Expected 0, got 0)
:: [  BEGIN   ] :: apache group should be created :: actually running 'getent group apache'
:: [   FAIL   ] :: apache group should be created (Expected 0, got 2)

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Comment 3 Luboš Uhliarik 2017-09-04 08:32:48 UTC

*** This bug has been marked as a duplicate of bug 1487164 ***