[CentOS] Boat loads of: 'localhost kernel: cdrom: open failed.'

CentOS-List at jamesplace.net CentOS-List at jamesplace.net
Wed Mar 1 07:38:18 UTC 2006


Another question: 
How can a supress these messages from filling up my syslog file?

Mar  1 01:31:26 localhost kernel: cdrom: open failed.
Mar  1 01:31:57 localhost last message repeated 15 times
Mar  1 01:31:59 localhost kernel: cdrom: open failed.
Mar  1 01:32:01 localhost kernel: cdrom: open failed.
                                                           
I've got 'noauto' in /etc/fstab.
I've also shut down 'autofs'

So far the only way I can stop them is to put a cd in the drive. 
I'd prefer not not have any kind of auto mount system running if that helps. 

Thanks again.

My fstab entries:
/dev/hdc                /media/cdrom            auto    
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

/dev/scd0               /media/cdrecorder       auto    
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

/dev/scd1               /media/zip              auto    
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0



More information about the CentOS mailing list