Bug 205707 - commands in install directive in modprobe.conf are not executed
Summary: commands in install directive in modprobe.conf are not executed
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: module-init-tools
Version: 5
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jon Masters
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-08 01:59 UTC by Demosthenes T. Mateo Jr.
Modified: 2008-04-03 06:58 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-03 06:58:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Demosthenes T. Mateo Jr. 2006-09-08 01:59:04 UTC
Description of problem:

I have the following lines in /etc/modprobe.conf:

install modulename /sbin/modprobe modulename; /bin/touch /root/testfile

During bootup, modulename gets loaded but /root/testfile is not created. This
works with RHEL4.

Version-Release number of selected component (if applicable):
module-init-tools-3.2.2-0.FC5.3

How reproducible:
Always

Steps to Reproduce:
1. echo 'install modulename /sbin/modprobe modulename; /bin/touch
/root/testfile' >> /etc/modprobe.conf
2. reboot
3. lsmod|grep modulename 
4. ls /root/testfile
 
Actual results:
modulename gets loaded but /root/testfile is not created

Expected results:
modulename should have been loaded AND /root/testfile should have been created

Additional info:

Works with RHEL4 U3

Comment 1 Jon Masters 2006-11-30 21:19:22 UTC
Do you know if this is still happening on FC6?


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