Bug 18328 - Wrong grep with ifconfig in Germany
Summary: Wrong grep with ifconfig in Germany
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-04 13:54 UTC by Need Real Name
Modified: 2014-03-17 02:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-10-04 13:54:20 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-10-04 13:54:18 UTC
There is a small Problem with the checking of the down-state of
network-interfaces.
in /etc/rc.d/init.d/network and
/etc/sysconfig/network-scripts/network-functions
you do ifconfig... | grep UP  to see if an interface is down. (also 6.x)
This normally works fine, except in Germany (German language) when using
Point-To-Point Connections. There the pointopoint output gets translated to
PUNKTZUPUNKT where UP is contained. So a grep for "UP " or a better
Solution
without grep should be used.

Comment 1 Bill Nottingham 2000-10-04 15:18:15 UTC
Oops. Changed to 'LANG=C grep " UP "', to hit both cases.
This will be in 5.50 when it gets released.


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