Bug 90602 - Using Neat with tokenring results in hang on shutdown
Summary: Using Neat with tokenring results in hang on shutdown
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts   
(Show other bugs)
Version: 8.0
Hardware: i386 Linux
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2003-05-10 13:07 UTC by Martijn Lievaart
Modified: 2014-03-17 02:36 UTC (History)
1 user (show)

Fixed In Version: 7.85-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-27 20:09:17 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Martijn Lievaart 2003-05-10 13:07:27 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211

Description of problem:
Neat inserts the HWADDR in the ifcfg file, but /sbin/if(up|down) cannot handle
tokenring correctly.

This would not be a big deal (workaround, remove HWADDR line from ifcfg file),
if it did not hang the machine on shutdown.

Version-Release number of selected component (if applicable):

How reproducible:
Didn't try

Steps to Reproduce:
Note: I have had this problem more often, but have currently no access to a
token ring network.
1. Use neat to configure your tokenring card
2. shutdown


Actual Results:  Hang on the shutdown of the network

Expected Results:  Machine should have gone down.

Additional info:

From /sbin/ifdown (also in ifup)

if [ -n "${HWADDR}" ]; then
    FOUNDMACADDR=`LC_ALL= LANG= ip -o link show ${REALDEVICE} | \
        sed 's/.*link\/ether \([[:alnum:]:]*\).*/\1/'`
    if [ "${FOUNDMACADDR}" != "${HWADDR}" ]; then

The problem is that neat inserts your HWADDR in the ifcfg-tr0. The above line
only searches for ethernet hardware addresses. The result is that shutdown
hangs. (I have no clue how NEAT can get the device up in the first place).

Solution would be to replace 'ether' with something like '[^ ]*'

Comment 1 Bill Nottingham 2004-09-27 20:09:17 UTC
Fixed, will be in 7.85-1.

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