From owner-freebsd-questions Thu Jan 14 00:53:28 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10301 for freebsd-questions-outgoing; Thu, 14 Jan 1999 00:53:28 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alice.gba.oz.au (gba-254.tmx.com.au [203.9.155.254]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id AAA10289 for ; Thu, 14 Jan 1999 00:53:23 -0800 (PST) (envelope-from gjb@acm.org) Received: (qmail 4802 invoked by uid 1001); 14 Jan 1999 08:16:49 -0000 Message-ID: <19990114081649.4801.qmail@alice.gba.oz.au> X-Posted-By: GBA-Post 1.03 20-Sep-1998 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Thu, 14 Jan 1999 18:16:48 +1000 From: Greg Black To: Alan Bawden Cc: freebsd-questions@FreeBSD.ORG Subject: Re: messing with /etc/rc.conf References: <8Jan1999.042549.Alan@LCS.MIT.EDU> <19990108192746.B63511@scientia.demon.co.uk> <9Jan1999.220116.Alan@LCS.MIT.EDU> <19990110041754.A94335@scientia.demon.co.uk> <14Jan1999.003932.Alan@LCS.MIT.EDU> In-reply-to: <14Jan1999.003932.Alan@LCS.MIT.EDU> of Thu, 14 Jan 1999 01:02:50 EST Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > something will occasionally re-write this to read: > > > > > > ntpdate_flags="-bs $(awk '$1 == " > > ... I'm not aware of any other program which parses it. ... > > OK, so I've now established that the first guy to try answering my question > didn't actually know that something other than `sh' occasionally reads and > re-writes the contents of /etc/rc.conf. No, you've established that you asked an ambiguous question. It was not clear in the original that the actual file was modified, rather it seemed that some process that parsed the file was making a mistake -- but since only sh parses the file in normal operation, there was a mystery. You need to be really clear when asking this kind of question if you hope to get useful answers. Had the question been clear, then lots of people would have instantly said: "either some malicious human used an editor on the file or some ill-advised human used some other program that felt it had the right to modify the file -- find out which it was and don't let it happen again." -- Greg Black To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message