From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 14 May 2010 10:52:21 +0200 From: frank@inua.be To: 9fans@9fans.net Message-ID: <20100514085221.GA16263@chiron.galaxy> References: <20100513210936.GB8132@chiron.galaxy> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Subject: Re: [9fans] ntp Topicbox-Message-UUID: 21695424-ead6-11e9-9d60-3106f5b1d025 On Thu, May 13, 2010 at 11:58:18PM -0300, Iruata Souza wrote: > On Thu, May 13, 2010 at 6:09 PM, wrote: > > Hello, > > > > I want to let a freshly installed Plan 9 box use NTP but can't get it > > to work. > > > > I used the explanation under "SETTING UP CORRECT TIMEZONE" from > > http://plan9.bell-labs.com/wiki/plan9/installation_instructions/ but > > noticed some things: > > > > - User adm cannot edit /rc/bin/termrc because it is owned by user sys > > =A0and group sys and user adm isn't a member of the sys group. I could > > =A0make user adm a member of the sys group but this is probably not the > > =A0way to go. > > > > - User glenda is a member of the sys group and can edit > > =A0/rc/bin/termrc, so I changed the TIMESYNCARGS variable, saved, quit > > =A0sam and checked with p /rc/bin/termrc. However, after rebooting, the > > =A0change is lost (in outer space?). I also noticed that the copy of > > =A0the termrc file I made before making the change, was gone. > > > > I checked the manpages for boot, booting, root, namespace... but > > didn't really find the exact reason. I think it has to do with the > > fact that the directory I see as user glenda, is a union directory > > which only allows me to change the file in the current namespace. If > > that's the case, it's probably not the intention that I change it as > > user glenda either. > > > > What am I missing here? > > >=20 > assuming you are running the file server on this very machine, did you > run fshalt before rebooting? No I hadn't... I thought that fshalt was only necessary when you want to turn off the box and that a reboot would first sync the filesystem. I just read the "SHUT DOWN" section from the installation instructions again. The sentence "Then turn off the computer or type Ctl-Alt-Del or "^t ^t r" to reboot" indeed implies that you have to run fshalt before rebooting (in case the system runs a fileserver). Thanks for your help. Kind regards, --=20 Frank Lenaerts ---------------------------------------- frank@inua.be