Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 750603 - dracut --install isn't copying script to the target
Summary: dracut --install isn't copying script to the target
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: 16
Hardware: All
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F16Blocker, F16FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2011-11-01 18:10 UTC by Brian Lane
Modified: 2011-11-02 18:19 UTC (History)
3 users (show)

Fixed In Version: dracut-013-18.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-02 18:19:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Trimmed down log of it not installing the script (deleted)
2011-11-01 18:16 UTC, Brian Lane
no flags Details
Trimmed down log of it installing the script working (deleted)
2011-11-01 18:53 UTC, Brian Lane
no flags Details
Patch to fix --install of scripts (deleted)
2011-11-01 19:16 UTC, Brian Lane
no flags Details | Diff

Description Brian Lane 2011-11-01 18:10:02 UTC
lorax uses dracut --install to include a script to copy kickstarts over to sysroot. This seems to have been broken in 013-16, if I copy over dracut & dracut-functions to my test system from -15 it installs the script when I run:

/sbin/dracut --debug --include /tmp/bcl-hook.sh /lib/dracut/hooks/pre-pivot/ -f /tmp/initramfs-3.1.0-5.fc16.x86_64.img 3.1.0-5.fc16.x86_64 2> dracut.log

/tmp/bcl-hook.sh is a simple shell script with 0755 set on it.

Comment 1 Brian Lane 2011-11-01 18:16:13 UTC
Created attachment 531170 [details]
Trimmed down log of it not installing the script

Comment 2 Brian Lane 2011-11-01 18:53:09 UTC
Created attachment 531182 [details]
Trimmed down log of it installing the script working

The main difference seems to start at the point where inst_script calls inst_simple -- in the broken case it is calling inst_binary

Comment 3 Brian Lane 2011-11-01 19:16:02 UTC
Created attachment 531185 [details]
Patch to fix --install of scripts

Comment 4 Fedora Update System 2011-11-01 19:57:37 UTC
dracut-013-18.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/dracut-013-18.fc16

Comment 5 Fedora Update System 2011-11-02 18:19:19 UTC
dracut-013-18.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


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