Bug 230724 - raw confusing when users try to bind /dev/raw/raw0
Summary: raw confusing when users try to bind /dev/raw/raw0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: util-linux
Version: 4.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Karel Zak
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-02 14:58 UTC by Bryn M. Reeves
Modified: 2007-11-17 01:14 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0785
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 16:06:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
trivial patch to give an error when binding raw0 (421 bytes, patch)
2007-03-02 14:58 UTC, Bryn M. Reeves
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0785 0 normal SHIPPED_LIVE util-linux bug fix and enhancement update. 2007-11-14 18:35:14 UTC

Description Bryn M. Reeves 2007-03-02 14:58:42 UTC
Description of problem:
/dev/raw/raw0 is char device major 162, minor 0, i.e. /dev/rawctl.

If a user attempts to bind this device udev will notice the new device & set up
a node for it. It also deletes /dev/rawctl at this point.

This is confusing for users. An error message indicating that raw0 should not be
bound is preferable.

Version-Release number of selected component (if applicable):
util-linux-2.12a-16.EL4.20

How reproducible:
100%

Steps to Reproduce:
1. raw /dev/raw/raw0 /dev/<something>
2. ls -l /dev/rawctl

  
Actual results:
ls: /dev/rawctl: No such file or directory

Expected results:
/dev/rawctl still exists or the user gets a warning/error

Additional info:

Comment 1 Bryn M. Reeves 2007-03-02 14:58:43 UTC
Created attachment 149121 [details]
trivial patch to give an error when binding raw0

Comment 4 Karel Zak 2007-04-06 10:09:02 UTC
Yeah, this is already known issue (that has been fixed in RHEL5).

Comment 5 Bryn M. Reeves 2007-04-06 10:11:35 UTC
And this is a RHEL4 bug - changing flags

Comment 6 RHEL Program Management 2007-05-09 07:01:13 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 10 Bryn M. Reeves 2007-06-26 10:25:48 UTC
Seems like bug 218315 has addressed this at the kernel level (2.6.9-55.2).

Comment 11 Karel Zak 2007-07-31 09:54:10 UTC
Well, the bug has been fixed in kernel and also in raw(8).

Comment 15 errata-xmlrpc 2007-11-15 16:06:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2007-0785.html



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