Description of problem: Via https://bugzilla.redhat.com/show_bug.cgi?id=1784012 , what we actually delivered is following. Earlier ~~ %post --log=/root/install.post.log ~~ Used to be, ~~ %post --log=/mnt/sysimage//root/install.post.log ~~ But when I look into https://projects.theforeman.org/issues/28521 , that includes the fix for following section as well which never made into Satellite 6.8 or above. ~~ if test -f /tmp/foreman_built; then echo "calling home: build is done!" <%= indent(2, skip1: true) { snippet('built', :variables => { :endpoint => 'built', :method => 'POST', :body_file => '/mnt/sysimage/root/install.post.log' }) } -%> else echo "calling home: build failed!" <%= indent(2, skip1: true) { snippet('built', :variables => { :endpoint => 'failed', :method => 'POST', :body_file => '/mnt/sysimage/root/install.post.log' }) } -%> fi ~~ Version-Release number of selected component (if applicable): Satellite 6.8 and above How reproducible: Always Steps to Reproduce: 1. Build a system from Red Hat Satelite 6.8 or above 2. SSh to the built system and check for /mnt/sysimage/root/install.post.log and /root/install.post.log Actual results: Both /mnt/sysimage/root/install.post.log and /root/install.post.log are present Expected results: Only /root/install.post.log should be present Additional info: This seems to be a minor fix at downstream. So if possible please deliver a hotfix for Satellite 6.8.6 and consider the permanent fix for 6.9.z
Upstream bug assigned to lzap
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/28521 has been resolved.
VERIFIED Satellite 6.10.0 snap 10 Respective logs are now placed in the correct path.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Satellite 6.10 Release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4702