Bug 9122

Summary: Files may be accidentaly deleted when NIS domain name is set to an invalid value
Product: [Retired] Red Hat Linux Reporter: Marius Larsen Jxhndal <mlj>
Component: ypbindAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-04 16:16:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marius Larsen Jxhndal 2000-02-04 15:39:13 UTC
This is more a user error than it is a bug, but it still made me wipe all
of /etc/rc.d/init.d/ by accident on my company's NIS server. When stopping
ypbind, the command

  rm -f /var/yp/binding/$(domainname)*

is executed. Imagine what happened when I made the incredibly stupid
mistake of setting the NIS domain name to " " (that is one single
space)...

Comment 1 Nalin Dahyabhai 2000-02-04 16:16:59 UTC
This should be fixed in ypbind-3.3-26 and later.  Thanks for the suggestion.