Bug 1003574 - after clean installation spacewalk-splice-checkin complains about /var/log/splice/general.log
Summary: after clean installation spacewalk-splice-checkin complains about /var/log/sp...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: Splice
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Splice Developers
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2013-09-02 12:03 UTC by Jan Hutař
Modified: 2013-10-01 11:23 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-01 11:23:13 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 Jan Hutař 2013-09-02 12:03:44 UTC
Description of problem:
After clean installation, when you run spacewalk-splice-checkin under splice user, it complains about permission errors on log file.


Version-Release number of selected component (if applicable):
spacewalk-splice-tool-0.40-1.el6sam.noarch


How reproducible:
always


Steps to Reproduce:
1. Install SAM+Splice using documentation
2. # su - splice -s /bin/bash
3. $ spacewalk-splice-checkin


Actual results:
$ spacewalk-splice-checkin 
[Errno 13] Permission denied: '/var/log/splice/general.log'
Unable to initialize logging config with: /etc/splice/logging/basic.cfg
[...]


Expected results:
That error should not be there and the tool should be able to write to /var/log/splice/general.log


Additional info:
mkovacik fixed this to me with `chcon -R splice:splice /var/log/splice/`.

Comment 3 Vitaly Kuznetsov 2013-09-13 11:02:41 UTC
Verified with Snapshot 6:

# ls -la /var/log/splice/general.log 
-rw-rw-r--. 1 apache splice 0 Sep 13 07:01 /var/log/splice/general.log
# ls -ld /var/log/splice
drwxrwxr-x. 3 apache splice 4096 Sep 11 12:49 /var/log/splice

SST run succeeds.

Comment 5 errata-xmlrpc 2013-10-01 11:23:13 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.