Date: Mon, 16 Jul 2007 22:45:06 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: "Marc G. Fournier" <scrappy@hub.org> Cc: freebsd-stable@freebsd.org Subject: Re: rwhod / ntpdate don't work ... amd64/-STABLE ... Message-ID: <20070717034506.GA14561@dan.emsphone.com> In-Reply-To: <99842A11EEF31151EB40BB5A@ganymede.hub.org> References: <46432F4CBD51E6DD03D59484@ganymede.hub.org> <99842A11EEF31151EB40BB5A@ganymede.hub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 16), Marc G. Fournier said: Figured it out ...
> - --On Monday, July 16, 2007 21:48:15 -0300 "Marc G. Fournier" <scrappy@hub.org>
> > rwhod generates no errors when I try to run it, and truss doesn't
> > show anything since it does a fork:
> >
> > stat("/etc/nsswitch.conf",{mode=-rw-r--r-- ,inode=24857,size=113,blksize=4096}) = 0 (0x0)
> > open("/etc/group",O_RDONLY,0666) = 3 (0x3)
> > fstat(3,{mode=-rw-r--r-- ,inode=24775,size=441,blksize=4096}) = 0 (0x0)
> > lseek(3,0x0,SEEK_CUR) = 0 (0x0)
> > lseek(3,0x0,SEEK_SET) = 0 (0x0)
> > read(3,"# $FreeBSD: src/etc/group,v 1.32"...,4096) = 441 (0x1b9)
> > close(3) = 0 (0x0)
> > sigaction(SIGHUP,{ SIG_IGN 0x0 ss_t },{ SIG_DFL SA_RESTART ss_t }) = 0 (0x0)
> > fork() = 90418 (0x16132)
> > exit(0x0)
> > process exit, rval = 0
>
> not sure *how* it happened, but on my last upgrade, I must have
> somehow screwed up my mergmaster, and actually wiped out
> /etc/services ... just ran mergemaster on a whim, and the file was
> totally recreated, and all services now start up as expected ...
For the archives: truss -f will follow forks.
--
Dan Nelson
dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070717034506.GA14561>
