Bug 72436
Summary: | Unable to rhnpush source rpms | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Matt Jamison <jamisonm> |
Component: | Server | Assignee: | Mihai Ibanescu <mihai.ibanescu> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fanny Augustin <fmoquete> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | alikins, bretm, cturner, gafton, mihai.ibanescu, robin.norwood, taw |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-08-27 21:34:47 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
Josef Komenda
2002-08-23 18:55:45 UTC
Trying to push for these to get closed asap, so bumping to high priority. Permissions problem? Can you give me a ls -l on /var/satellite please? There is no /var/satellite/ in fact, there is no /satellite directory: [root@sat-inst root]# locate /satellite /var/www/html/network/system/satellite.pxt /var/www/html/network/systemlist/satellite_list.pxt /var/www/html/rpc/satellite.pxt /var/www/html/newlogin/satellite_finished.pxt /var/www/rhns/satellite_tools /var/www/rhns/satellite_tools/__init__.pyc /var/www/rhns/satellite_tools/__init__.py /var/www/rhns/satellite_tools/diskImportLib.py /var/www/rhns/satellite_tools/diskImportLib.pyc /var/www/rhns/satellite_tools/export.py /var/www/rhns/satellite_tools/export.pyc /var/www/rhns/satellite_tools/import_metadata.py /var/www/rhns/satellite_tools/import_metadata.pyc /var/www/rhns/satellite_tools/populate.py /var/www/rhns/satellite_tools/populate.pyc /var/www/rhns/satellite_tools/progress_bar.py /var/www/rhns/satellite_tools/progress_bar.pyc /var/www/rhns/satellite_tools/satsync.py /var/www/rhns/satellite_tools/satsync.pyc /var/www/rhns/satellite_tools/syncLib.py /var/www/rhns/satellite_tools/syncLib.pyc /var/www/rhns/satellite_tools/xmlDiskSource.py /var/www/rhns/satellite_tools/xmlDiskSource.pyc /var/www/rhns/satellite_tools/xmlImporter.py /var/www/rhns/satellite_tools/xmlImporter.pyc /var/www/rhns/satellite_tools/xmlSource.py /var/www/rhns/satellite_tools/xmlSource.pyc /var/www/rhns/satellite_tools/xmlWireSource.py /var/www/rhns/satellite_tools/xmlWireSource.pyc /etc/sysconfig/rhn-satellite-prep/satellite-rules.conf /usr/bin/satellite-debug /usr/bin/satellite-import /usr/bin/satellite-sync /usr/share/man/man8/satellite-import.8.gz /usr/share/man/man8/satellite-sync.8.gz /root/satellite-1.0.99.iso Again, who was supposed to create /var/satellite? Isn't the installer supposed to do that? This is the directory where the import AND rhnpush will put packages; somebody has to create it first 'cause rhnpush can't (since it runs as apache). I know satellite-sync does, but I thought we said the satellite installer is gonna create it instead. [root@sat-inst root]# mkdir /var/satellite [root@sat-inst root]# chown apache.apache /var/satellite/ [root@sat-inst root]# rhnpush -v --server=http://sat-inst.webdev-colo.redhat.com/APP -u sat-inst -c channel1 /etc/sysconfig/rhn/rhns-ca-cert-1.0-1.* Channels: channel1 Red Hat Network password: Connecting to http://sat-inst.webdev-colo.redhat.com/APP Uploading package /etc/sysconfig/rhn/rhns-ca-cert-1.0-1.noarch.rpm Uploading package /etc/sysconfig/rhn/rhns-ca-cert-1.0-1.src.rpm Internal Server Error Despite the 'Internal Server Error', it works - I can upload the package. perhaps rhnpush should make the /var/satellite directory... rhnpush can't, because it talks to an Apache service, which runs (of course) as apache.apache. Ok, which package should handle this? Who should decide? Fixed - just make sure you load a channel first, or else: mkdir /var/satellite chown apache.apache /var/satellite |