Bug 169423 - initscripts - a typo is really messing up networks
initscripts - a typo is really messing up networks
Status: CLOSED DUPLICATE of bug 169359
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-28 03:14 EDT by Michal Jaegermann
Modified: 2014-03-16 22:56 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-28 13:49:21 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 Michal Jaegermann 2005-09-28 03:14:08 EDT
Description of problem:

An obvious typo in /etc/sysconfig/network-scripts/network-functions (here)

@@ -220,7 +220,7 @@
     hostname $1
     if ! grep search /etc/resolv.conf >/dev/null 2>&1; then
 	domain=`echo $1 | sed 's/^[^\.]*\.//'`
-	if [ -n "$domain" ]; thenb
+	if [ -n "$domain" ]; then
 		rsctmp=`mktemp /tmp/XXXXXX`;
 		cat /etc/resolv.conf > $rsctmp
 		echo "search $domain" >> $rsctmp

really makes a mincemeat from  networking.  On startup, but even worse
on shutdown.

Version-Release number of selected component (if applicable):
initscripts-8.15-1
Comment 1 Bill Nottingham 2005-09-28 13:49:21 EDT

*** This bug has been marked as a duplicate of 169359 ***

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