when I try to add two new module files ( for cdr and printer ), I have error messages after a update-modules command ( it used to work before ) : cdr file : options ide-cd ignore=hdd # tell the ide-cd module to ignore hdb alias scd0 sr_mod # load sr_mod upon access of scd0 pre-install sg modprobe ide-scsi # load ide-scsi before sg pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod pre-install ide-scsi modprobe ide-cd # load ide-cd before ide-scsi error messsage : /etc/modules.d/cdr: options: command not found /etc/modules.d/cdr: alias: `scd0' not found /etc/modules.d/cdr: alias: `sr_mod' not found /etc/modules.d/cdr: pre-install: command not found /etc/modules.d/cdr: pre-install: command not found /etc/modules.d/cdr: pre-install: command not found printer file : alias /dev/printers lp alias /dev/lp* lp error message : /etc/modules.d/printer: alias: `/dev/printers' not found /etc/modules.d/printer: alias: `lp' not found /etc/modules.d/printer: alias: `/dev/lp0' not found /etc/modules.d/printer: alias: `lp' not found
Hmm .. weird. # egrep -r modules\.d /etc/* And paste output ?
wow, that syntax seems wrong to me... the printers one should be alias printers lp NOT alias /dev/printers lp The other errors, I bet are caused by the X bit being set on your other config files, please chmod -x /etc/modules.d/lp /etc/modules.d/cdr and tehn try it again. It is possible for modules configuration files to be scripts (for better automation) in which case the update modules script executes them and uses the ouput to generate modules.conf. That should fix you up, if not, re-open the bug.