Bug 232529
Summary: | In anaconda kickstart environment, printf does not pad output correctly | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Darren Patterson <darrenp1> | ||||
Component: | anaconda | Assignee: | Chris Lumens <clumens> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.4 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-05-29 20:19:21 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: | |||||||
Attachments: |
|
Description
Darren Patterson
2007-03-15 23:58:19 UTC
The printf being used in %pre scripts is the busybox printf, while one being used on the running system or in %post scripts is the real GNU one. I'm not sure I know what is the problem - I just test the command /sbin/busybox.anaconda printf "%02X" 11 with busybox-anaconda-1.2.0-3 and the result is right "0B". Please what version of busybox do you have? I'm sorry I mess the version number. In rhel4 version of busybox there is not implemented printf command. Darren - A quick test here showed that it works fine for me. Could you please post your complete kickstart file so I can try a better test? You can delete passwords and other sensitive information, of course. Created attachment 153226 [details]
Example kickstart
I'm still unable to reproduce this problem with RHEL4u4. Can you think of any additional information that might help to diagnose what's going on? I don't use this functionality in my kickstarts any more after I ran into this problem (I use a cgi to handle kickstart templating for %pre/%post scripts now). Testing in vmware with U3 and U4 under VMware, and I don't have a free box to PXE boot for testing this. My apologies since I can't reproduce the problem. Closing this bug as WORKSFORME since I was unable to reproduce the problem and hardware is no longer available for testing. If you are able to reproduce it again at a later date, feel free to reopen this bug report. Thanks for your time. |