Project

General

Profile

Actions

Bug #32700

closed

Additional RPMs in /pub directory break latest symlink

Added by Eric Helms over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
Fixed in Releases:
Found in Releases:

Description

Steps to Reproduce:

1. Keep any rpm package in /var/www/html/pub/
2. Run upgrade: satellite-maintain upgrade run --target-version 6.9

Actual results:

2021-05-21 01:41:33 [ERROR ] [configure] /Stage[main]/Foreman_proxy_content::Bootstrap_rpm/Bootstrap_rpm[katello-ca-consumer-satellite.example.com]: Could not evaluate: No such file or directory @ rb_sysopen - /var/www/html/pub/sos-3.9-5.el7_9.4.src.rpm

Expected results:
The installer should not query or check rpms apart from katello-ca-consumer*, if there are any rpm pkg available in /pub

Additional info:

To test I copied the below packages in /pub, change one of the pkg ownership for testing purposes.

# ls -l /var/www/html/pub/
-rw-r--r--. 1 apache apache 460200 May 21 00:24 firewalld-0.6.3-13.el7_9.noarch.rpm
-rw-r--r--. 1 root   root   554188 May 21 00:24 sos-3.9-5.el7_9.4.noarch.rpm
Actions

Also available in: Atom PDF