Red Hat Bugzilla – Bug 123382
[PATCH] Gnome error when logging in with no CD
Last modified: 2007-11-30 17:07:01 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;
H010818; .NET CLR 1.0.3705)
Description of problem:
If the cd drive is empty, whenever someone logs into Gnome Dekstop,
nautilus adds the message "kernel: cdrom: This disc doesn't have any
tracks I recognize!" to /var/log/messages. Apparently nautilus-volume-
monitor.c code is making ioctl call to find out the type of media
without properly checking to see if there is one present in the
drive..I am attaching a patch that resolves the issue..
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Keep cd drive empty
2.Log into the Gnome Desktop
Actual Results: 1.The message "kernel:cdrom: This disc doesn't have
any tracks I recognize!" is added to /var/log/messages
Expected Results: 1. No such message should be present
Created attachment 100281 [details]
Patch to nautilus-volume-monitor.c to resolve the issue
This patch basically checks the cd drive for the existence of any media before
attempting to query the type of the media...
Created attachment 100282 [details]
Patch to nautilus.spec in order to build the nautilus rpm
This is a patch to nautilus.spec for some one interested in rebuilding the
I fixed this upstream in gnome-vfs (which has the corresponding code
for later versions of gnome). It'll be in the next released version,
going into fc3, and from that into the next rhel release.
This is in rawhide/fc3 now.
Reopening since the issue was originally filed with RHEL3.0. I have
verified that the issue still exists for RHEL3 Update4 beta1.Is there
a plan to incorporate the fix in RHEL3 Updates?
The fix will be in RHEL4, there is currently no plans to incorporate
the fix in a RHEL3 updatate since its quite a minor issue.