Ignore:
Timestamp:
Feb 17, 2011, 10:48:51 PM (14 years ago)
Author:
geofft
Message:
Don't log harmless modprobe requests for invalid ELF binaries
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/fedora/config/etc/scripts/modprobe

    r1717 r1781  
    11#!/bin/sh
     2case "$*" in
     3  *binfmt-464c*) # 464c are the second two bytes of the ELF magic.
     4                 # This module doesn't exist; being called for it
     5                 # indicates the in-kernel binfmt_elf decided to
     6                 # return ENOEXEC for this ELF file for some reason.
     7                 exit 1 ;;
     8esac
    29(
    310    echo "Ignoring request from kernel: modprobe $*"
Note: See TracChangeset for help on using the changeset viewer.