Bug 1480452 - apache group not created if USERGROUPS_ENAB is 'no'
Summary: apache group not created if USERGROUPS_ENAB is 'no'
Keywords:
Status: CLOSED DUPLICATE of bug 1487164
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: httpd24
Version: httpd24
Hardware: x86_64
OS: Linux
medium
low
Target Milestone: ---
: 2.4
Assignee: Luboš Uhliarik
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 1288757
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-11 07:22 UTC by Jan Houska
Modified: 2021-01-14 09:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1288757
Environment:
Last Closed: 2017-09-04 08:32:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.