Document URL: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/transition_guide/chap-red_hat_satellite-transition_guide-transitioning_from_satellite_5_to_6#sect-Red_Hat_Satellite-Transition_Guide-Migrating_a_System_Using_The_Bootstrap_Script Section Number and Name: 3.6.10. Migrating Existing Systems Using The Bootstrap Script Describe the issue: When downloading the bootstrap.py script, the docs currently suggest: As root, change to a directory suitable for scripts. For example: # cd /usr/bin/ IMHO the documentation should never suggest to add non-packaged files to /usr/bin (or any other folder in /usr, that is not /usr/local/*). Suggestions for improvement: Change /usr/bin to /usr/local/bin (or /usr/local/sbin, as bootstrap.py is not usable by non-root). Additional information: Technically, you don't need to place the script in $PATH at all. It will be called *once* per machine and can be removed after that. If doing so, the check step "Change back to the root directory and confirm the script can be run without "./"" should be dropped too.
Thank you for raising this bug If it will only be used once, and then deleted, then I guess just putting it in root is OK I can say, "As the script is only required one, and only for the root user, you can place it in /root and remove it after use or place it in /usr/local/sbin. Sounds good?
Yes, when doing migrations at customers I usually placed it in /root (not /tmp or /var/tmp as those often have no exec-perms!) ACK on your wording.
(In reply to Evgeni Golov from comment #2) > Yes, when doing migrations at customers I usually placed it in /root (not > /tmp or /var/tmp as those often have no exec-perms!) > Interesting, I can see I lack practical knowledge. What about the use of wget? Is that annoying as it is not installed by default? Should be change to `curl -O` ? Thank you
(In reply to Stephen Wadeley from comment #4) > (In reply to Evgeni Golov from comment #2) > > Yes, when doing migrations at customers I usually placed it in /root (not > > /tmp or /var/tmp as those often have no exec-perms!) > > > Interesting, I can see I lack practical knowledge. pre-SELinux "security" features that are still widely used in corps. > What about the use of wget? Is that annoying as it is not installed by > default? Should be change to `curl -O` ? I would certainly not object to changing wget to curl -O, but I guess we probably just should go and do that over all our docs in one run?
(In reply to Evgeni Golov from comment #5) > (In reply to Stephen Wadeley from comment #4) > > (In reply to Evgeni Golov from comment #2) > > > What about the use of wget? Is that annoying as it is not installed by > > default? Should be change to `curl -O` ? > > I would certainly not object to changing wget to curl -O, but I guess we > probably just should go and do that over all our docs in one run? OK, leave it for another bug and another day Thank you
Hello These changes are now live on the customer portal: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/transition_guide/chap-red_hat_satellite-transition_guide-transitioning_from_satellite_5_to_6#sect-Red_Hat_Satellite-Transition_Guide-Migrating_a_System_Using_The_Bootstrap_Script Thank you
Bug 1480093 - Fix bootstrap section to match Transition Guide's section