CentOS-List at jamesplace.net
2006-Mar-01 07:38 UTC
[CentOS] Boat loads of: 'localhost kernel: cdrom: open failed.'
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
Ignacio Vazquez-Abrams
2006-Mar-01 12:06 UTC
[CentOS] Boat loads of: 'localhost kernel: cdrom: open failed.'
On Wed, 2006-03-01 at 01:38 -0600, CentOS-List at jamesplace.net wrote:> 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.Edit /etc/hal/hald.conf and change /haldconfig/storage_media_check to false. -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20060301/97dcb374/attachment.sig>