rwhod / ntpdate don't work ... amd64/-STABLE ...

Dan Nelson dnelson at allantgroup.com
Tue Jul 17 04:02:15 UTC 2007


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 at 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 at allantgroup.com


More information about the freebsd-stable mailing list