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/`.
Commit here: https://github.com/splice/splice-server/commit/8195b159b7cdaea21c207671d2a3a0ab2ec680d1
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.
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