Bugs item #993930, was opened at 2004-07-19 09:46 Message generated for change (Comment added) made by bernardli You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109368&aid=993930&group_id=9368
Category: Installation Group: 4.2 Status: Open Resolution: None 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: 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 ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
