Bug 928372 - Missing dependencies for splice-common package
Summary: Missing dependencies for splice-common package
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: Splice
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 1.3
Assignee: John Matthews
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2013-03-27 14:20 UTC by Vitaly Kuznetsov
Modified: 2013-10-01 11:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-01 11:09:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1390 0 normal SHIPPED_LIVE Release 1.3 of Subscription Asset Manager 2013-10-01 14:43:14 UTC

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


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