Bug 928372

Summary: Missing dependencies for splice-common package
Product: [Retired] Subscription Asset Manager Reporter: Vitaly Kuznetsov <vkuznets>
Component: SpliceAssignee: John Matthews <jmatthew>
Status: CLOSED ERRATA QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.3CC: cduryee
Target Milestone: rc   
Target Release: 1.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 11:09:12 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:    
Bug Blocks: 833466    

Description Vitaly Kuznetsov 2013-03-27 14:20:38 UTC
Description of problem:
There is no dependency like Requires(pre): httpd for splice-common package. This leads to the following error during package install:

Installing : splice-common-0.104-1.el6.noarch                                                                                                                                                              14/41 
useradd: group 'apache' does not exist
warning: user apache does not exist - using root
warning: user apache does not exist - using root
warning: user apache does not exist - using root
warning: user apache does not exist - using root
warning: user apache does not exist - using root
warning: user apache does not exist - using root
warning: user apache does not exist - using root
chown: invalid user: `apache:splice'
chown: invalid user: `splice:splice'

So the resulting permissions are not good:
# ls -ld /var/log/splice
drwxrwxr-x. 3 root splice 4096 Mar 27 10:12 /var/log/splice

Apache won't be able to write something there.

Version-Release number of selected component (if applicable):
splice-common-0.104-1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. yum install splice-common
  
Actual results:
above

Expected results:
/var/log/splice owned by apache:splice, splice user belonging to splice group

Additional info:

Comment 1 John Matthews 2013-06-10 20:46:11 UTC
Made 2 changes:

1) Added 'httpd' to requires for splice-common
2) Added a workaround to touch shared logging files between SST & splice(mod_wsgi)


Commit:
https://github.com/splice/splice-server/commit/ecacda0d5f125596a9e136ed4b7545c747fc9bc8

Comment 3 mkovacik 2013-06-12 15:44:56 UTC
not seen anymore with SAM-1.3-RHEL-6-20130611.n.0-SAM-x86_64-dvd1.iso

Comment 6 errata-xmlrpc 2013-10-01 11:09:12 UTC
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.

http://rhn.redhat.com/errata/RHEA-2013-1390.html