Bugs item #993930, was opened at 2004-07-19 09:46
Message generated for change (Settings changed) made by dnl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=993930&group_id=9368

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: 4.2
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Thomas Naughton (naughtont)
Assigned to: David N. Lombard (dnl)
Summary: edit of /etc/hosts not handle line comments

Initial Comment:
On a test today, I noticed that our edits to the
'/etc/hosts' file for headnode aliases break when you
have end of line comments.  We cat onto the end of the
line, and HOSTS(5) states that "Text from a '#'
character until the end of the line is a comment, and
is ignored."

Example:
 [Before]
192.168.1.253   headnode.testcluster  headnode  #
Headnode (private)

 [After]
192.168.1.253   headnode.testcluster  headnode  #
Headnode (private)  oscar_server nfs_oscar pbs_oscar

----------------------------------------------------------------------

Comment By: David N. Lombard (dnl)
Date: 2005-08-10 11:15

Message:
Logged In: YES 
user_id=27334

Fix is unit tested; checkin tonight

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2005-05-01 17:08

Message:
Logged In: YES 
user_id=879102

- assigning to Dave as per teleconference notes

----------------------------------------------------------------------

Comment By: John (muglerj)
Date: 2005-02-22 11:49

Message:
Logged In: YES 
user_id=505737

Assigning this to 4.2. Could we get someone to review how we
set up the /etc/hosts file. We seem to have several issues
that might be caught with some error checking in addtion to
this specific problem.

----------------------------------------------------------------------

Comment By: Thomas Naughton (naughtont)
Date: 2004-11-24 12:55

Message:
Logged In: YES 
user_id=288102

Not going to make it into 4.0, move to 4.1.

----------------------------------------------------------------------

Comment By: Thomas Naughton (naughtont)
Date: 2004-07-19 09:51

Message:
Logged In: YES 
user_id=288102

Note, in the SIS hosts file,
/var/lib/systemimager/scripts/hosts', the editing is
different but still wrong.  

Example:
 
[EMAIL PROTECTED] root]# grep 192.168.1.9 /etc/hosts
192.168.1.92    garfield-head.homenet  garfield-head  
192.168.1.98    lj.homenet  lj                     # HP LJ
1200 printer
192.168.1.90    eeyore.homenet  eeyore             # Compaq
Presario (700Mhz P3)
192.168.1.91    tigger.homenet  tigger             # KC
Computer (1.3Ghz P4)
[EMAIL PROTECTED] root]# grep 192.168.1.9
/var/lib/systemimager/scripts/hosts
192.168.1.92     (external)
192.168.1.98     printer
192.168.1.90     P3)
192.168.1.91     P4)


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=993930&group_id=9368


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to