Bug 18328 - Wrong grep with ifconfig in Germany
Wrong grep with ifconfig in Germany
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
7.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-10-04 09:54 EDT by Need Real Name
Modified: 2014-03-16 22:16 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-10-04 09:54:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-10-04 09:54:18 EDT
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 11:18:15 EDT
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.