Red Hat Bugzilla – Bug 1024115
`buildr candlepin:apicrawl` requires write access to /var/log
Last modified: 2016-07-22 10:39:38 EDT
Created attachment 816930 [details]
Excerpt of output from failed command
Description of problem:
As of tag `candlepin-0.8.30-1`, the "buildr candlepin:apicrawl" command fails if the user does not have write access to /var/log.
Version-Release number of selected component (if applicable):
https://github.com/candlepin/candlepin.git tag 0.8.30-1
HEAD is now at f42cf8e... Automatic commit of package [candlepin] release [0.8.30-1].
Steps to Reproduce:
1. Clone the repository.
2. Check out tag candlepin-0.8.30-1
3. Run `buildr candlepin:apicrawl` as a non-root user with no write access to /var/log and no /var/log/candlepin directory.
This regression was introduced with candlepin-0.8.30-1; candlepin-0.8.29-1 gets crawled with no problem.
The development structure has *NO BUSINESS* pointing a log4j output at a system directory.
Notice also that the BZ versions for this component don't go past 0.6.
Author: Bryan Kearney <firstname.lastname@example.org>
Date: Fri Nov 1 15:23:34 2013 -0400
1024115: Apicrawl should use the test log4j configuration
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see email@example.com with any questions
Moving to closed per the updated candlepin process for bugs that have been merged or have been taken care of.