Bug 451721
Summary: | rhnpush fails if /var/satellite doesnot exist | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Partha Aji <paji> |
Component: | Installer | Assignee: | Jan Pazdziora <jpazdziora> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jeff Browning <jbrownin> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | cperry, dmach, jmatthew, jpazdziora, psklenar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | sat530 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-09-10 20:25:49 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: | |||
Bug Depends On: | |||
Bug Blocks: | 456985 |
Description
Partha Aji
2008-06-16 21:32:42 UTC
WORKAROUND: mkdir /var/satellite chown apache:root /var/satellite Then try rhnpush again. Sounds like the installer should address this issue and not depend on python code for sat sync running as root needing to create the location correctly. Cliff *** Bug 436097 has been marked as a duplicate of this bug. *** The problem is in: _verifyPkgRepMountPoint in /usr/share/rhn/satellite_tools/satsync.py (or equivalent in Spacewalk) I think that if the directory doesn't exist, the mkdir should be in the spec for rhns-satellite-tools (or equivalent in Spacewalk). Should _verifyPkgRepMountPoint create that directory at all? Shouldn't the code which puts the directory to /etc/rhn/rhn.conf also create that directory? I do not like it in the .spec either because you could change it in the answer file. I'm taking this bugzilla. My plan is to create the directory in spacewalk-setup / install/stage2.pl, not in the satellite-sync. This bugzilla was addressed in upstream (Spacewalk), in bugzilla 474146. With Satellite-5.3.0-RHEL5-re20081223.1 and Satellite-5.3.0-RHEL4-re20081223.2 composes available, moving ON_QA. Verified fixed in Sat 530 Latest stage iso, after fresh installation: # ls -dl /var/satellite drwxr-xr-x 3 apache root 4096 Sep 2 13:15 /var/satellite RELEASE_PENDING An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html |