Environment
- mgrpxy: 5.2.4 (Master 21fab79)
- proxy-httpd image: 5.2.5 —
registry.opensuse.org/uyuni/proxy-httpd:2026.01.130.10.uyuni5
- disturl:
obs://build.opensuse.org/systemsmanagement:Uyuni:Master/containerfile/960a4d74d0f7880601e96f2880479090-proxy-httpd-image
- Host OS: openSUSE Leap 15.6
- Podman: 4.9.5
Steps to Reproduce
- Fresh openSUSE Leap 15.6 VM
- Install mgrpxy 5.2.4 from
systemsmanagement:/Uyuni:/Stable repo
mgrpxy install podman config.tar.gz
systemctl start uyuni-proxy-pod && systemctl start uyuni-proxy-httpd
Expected
Container starts correctly and writes systemid.
Actual
FileNotFoundError: [Errno 2] No such file or directory: '/etc/sysconfig/rhn/systemid'
File "/usr/bin/uyuni-configure.py", line 90, in
with open("/etc/sysconfig/rhn/systemid", "w", encoding="utf-8") as file:
Root Cause
Two issues:
mgrpxy install generates the service file without -v /etc/sysconfig/rhn:/etc/sysconfig/rhn volume mount
proxy-httpd image does not create /etc/sysconfig/rhn/ before writing systemid
Workaround
mkdir -p /etc/sysconfig/rhn && chmod 755 /etc/sysconfig/rhn
sed -i 's|-v /etc/sysconfig/proxy:/etc/sysconfig/proxy:ro|-v /etc/sysconfig/proxy:/etc/sysconfig/proxy:ro \\\n-v
/etc/sysconfig/rhn:/etc/sysconfig/rhn|' \
/etc/systemd/system/uyuni-proxy-httpd.service
systemctl daemon-reload && systemctl start uyuni-proxy-httpd
Notes
bsc#1246789 and PR #642 claim this is fixed in proxy-httpd-image >= v5.1.9 and uyuni-tools >= v5.1.20/v5.2.1. The fix appears to be
present in the Stable branch but not in the Master branch images served via :latest.
Environment
registry.opensuse.org/uyuni/proxy-httpd:2026.01.130.10.uyuni5obs://build.opensuse.org/systemsmanagement:Uyuni:Master/containerfile/960a4d74d0f7880601e96f2880479090-proxy-httpd-imageSteps to Reproduce
systemsmanagement:/Uyuni:/Stablerepomgrpxy install podman config.tar.gzsystemctl start uyuni-proxy-pod && systemctl start uyuni-proxy-httpdExpected
Container starts correctly and writes systemid.
Actual
FileNotFoundError: [Errno 2] No such file or directory: '/etc/sysconfig/rhn/systemid'
File "/usr/bin/uyuni-configure.py", line 90, in
with open("/etc/sysconfig/rhn/systemid", "w", encoding="utf-8") as file:
Root Cause
Two issues:
mgrpxy installgenerates the service file without-v /etc/sysconfig/rhn:/etc/sysconfig/rhnvolume mountproxy-httpdimage does not create/etc/sysconfig/rhn/before writing systemidWorkaround