Bug 164441
Summary: | mock config allows changing basedir, but it's hardcoded | ||
---|---|---|---|
Product: | [Retired] Fedora Hosted Projects | Reporter: | Jeremy Katz <katzj> |
Component: | mock | Assignee: | Clark Williams <williams> |
Status: | CLOSED CANTFIX | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | dcantrell, katzj |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-08-10 21:16:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeremy Katz
2005-07-27 21:44:36 UTC
I worked around the problem using a symlink, but an interim solution would be to produce a warning to minimize confusion. I'll add a snippet of code to check that configs['basedir'] is still /var/lib/mock in the 0.6 code base. We've looked at this repeatedly and there's just no safe way to change mock-helper. So for now bind-mounts is still the only safe way to change where /var/lib/mock points. Shouldn't be an issue for the 0.7 codebase and up, since we removed mock-helper and the setuid launcher just runs python on /usr/bin/mock.py |