Bug 84635 - RFE: Logging %pre/%post actions
RFE: Logging %pre/%post actions
Product: Red Hat Linux
Classification: Retired
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2003-02-19 15:37 EST by Matthew Galgoci
Modified: 2007-04-18 12:51 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-04 23:05:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Matthew Galgoci 2003-02-19 15:37:45 EST
Description of problem:

currently the commands in the %post section of kickstart are not logged to
anywhere, making debugging kickstarts a royal pain in the ass.

In my kickstarts, I currently do the following to set log the output and also
set up the default environemt as root's environment:


su - root -c "(

foo shell commands as root here....

)" 1>/root/post_install.log 2>&1
Comment 1 Michael Fulbright 2003-02-20 17:59:30 EST
Is this an RFE for logging of what happens in the %post and %pre?
Comment 2 Matthew Galgoci 2003-02-20 18:05:26 EST
Yes, concider this an RFE against loggint what happens in %pre and %post

Defer this as needed, its not critical, but its something that we already do
in most of our kickstarts. Other folks might find it useful too.
Comment 3 Jeremy Katz 2004-10-04 23:05:50 EDT
Added this today.  Add --log to %pre and %post.

Note You need to log in before you can comment on or make changes to this bug.