Bug 123382 - [PATCH] Gnome error when logging in with no CD
Summary: [PATCH] Gnome error when logging in with no CD
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: nautilus
Version: 3.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-17 20:20 UTC by Rezwanul Kabir
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-11 13:41:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to nautilus-volume-monitor.c to resolve the issue (656 bytes, patch)
2004-05-17 20:26 UTC, Rezwanul Kabir
no flags Details | Diff
Patch to nautilus.spec in order to build the nautilus rpm (611 bytes, patch)
2004-05-17 20:28 UTC, Rezwanul Kabir
no flags Details | Diff

Description Rezwanul Kabir 2004-05-17 20:20:08 UTC
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):
nautilus-2.2.4-4.E

How reproducible:
Always

Steps to Reproduce:
1.Keep cd drive empty
2.Log into the Gnome Desktop
3.    

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

Additional info:

Comment 1 Rezwanul Kabir 2004-05-17 20:26:12 UTC
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...

Comment 2 Rezwanul Kabir 2004-05-17 20:28:35 UTC
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
rpm..

Comment 3 Alexander Larsson 2004-08-26 13:32:22 UTC
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.

Comment 4 Alexander Larsson 2004-10-05 12:06:31 UTC
This is in rawhide/fc3 now.

Comment 5 Rezwanul Kabir 2004-11-16 22:04:56 UTC
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? 

Comment 6 Alexander Larsson 2005-01-11 13:41:13 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.