Bug 9709

Summary: kernel tries to exec zero-length file
Product: [Retired] Red Hat Linux Reporter: Jonathan Kamens <jik>
Component: modutilsAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-14 23:57:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Jonathan Kamens 2000-02-23 12:38:51 UTC
Create a zero-length file.  Make it executable.

Modify /etc/syslog.conf to log *.debug into a file.  Create the empty log
file and send a HUP to syslogd.

Try to execute the zero-length file.  In your debug syslog log file, you'll
see, "modprobe: modprobe: Can't locate module binfmt-0000".

The kernel should not be trying to load a module to execute an empty file.

Comment 1 Alan Cox 2000-09-14 23:57:01 UTC
Its an interesting question since there is no kernel problem with leavign this
allowed. I suspect someone should by default 'alias binfmt-0000 off'

Comment 2 Bill Nottingham 2001-07-06 22:33:54 UTC
will be done in 2.4.6-1.