| Summary: | Condor's tmpfiles.d entry fails to create a directory for local locks. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Bert DeKnuydt <Bert.Deknuydt> |
| Component: | condor | Assignee: | Timothy St. Clair <tstclair> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | bbockelm, matt, tomspur, tstclair |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | condor-7.7.5-0.2.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-16 21:19:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This is a fairly old version of condor, is this still valid? Currently 7.7.3 is available. It indeed is still valid. The error in the logfile moved however from the SchedLog to TOOLLog: E.g. with condor-7.7.3-0.2.fc16.x86_64 (Fedora 15's version does exactly the same) 12/04/11 13:06:29 STARTING: condor_preen 12/04/11 13:06:29 ******************************** 12/04/11 13:06:29 Can't open directory "/var/lock/condor/local//" as PRIV_UNKNOWN, errno: 2 (No such file or directory) 12/04/11 13:06:29 ******************************** 12/04/11 13:06:29 ENDING: condor_preen Condor 'survives' this error, but places it's locks somewhere else then (/tmp/condorLocks). I will plan to spin in mod in the 7.7.4 cycle. condor-7.7.5-0.2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/condor-7.7.5-0.2.fc15 condor-7.7.5-0.2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/condor-7.7.5-0.2.fc16 condor-7.7.5-0.2.fc17.2 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/condor-7.7.5-0.2.fc17.2 Package condor-7.7.5-0.2.fc17.2: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing condor-7.7.5-0.2.fc17.2' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-3263/condor-7.7.5-0.2.fc17.2 then log in and leave karma (feedback). condor-7.7.5-0.2.fc17.2 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. condor-7.7.5-0.2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. condor-7.7.5-0.2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: Condor's SchedLog is full of: directory_util::rec_touch_file: Directory /var/lock/condor/local cannot be created (Permission denied) Version-Release number of selected component (if applicable): condor-7.7.0-0.7.fc15 How reproducible: Always Steps to Reproduce: 1. Start Condor 2. Submit a job 3. Actual results: Errors in SchedLog Expected results: No errors in Schedlog Additional info: The lock directory is determined though config variable LOCAL_DISK_LOCK_DIR, which defaults to /var/lock/condor/local. However, this directory is not created. Condor nags about this (and falls back to using /tmp/condorLocks) Suggested solution: Adapt /etc/tmpfiles.d/condor.conf to contain extra lines: # Condor needs a /tmp-like dir on a local FS, see LOCAL_DISK_LOCK_DIR d /var/lock/condor/local 1777 condor condor - Actually, the tmpfiles.d manual asks packages _not_ to use /etc/tmpfiles.d/*, but /usr/lib/tmpfiles.d/*: "Packages should install their configuration files in /usr/lib/, files in /etc/ are reserved for the local administration, which possibly decides to overwrite the configurations installed from packages." Any hope this can be in 7.7.1, which is out now?