Date: Thu, 17 Dec 1998 11:19:05 +0000 From: John McLaughlin <mclaughj@segasoft.com> To: Justin <marcus@sensation.net.au> Cc: questions@FreeBSD.ORG Subject: Re: questions-digest V4 #612 Message-ID: <199812171119.LAA03303@jmcl.segasoft.com> In-Reply-To: Your message of "Wed, 16 Dec 1998 10:50:55 PST." <199812161850.KAA24556@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Tue, 15 Dec 1998 19:16:58 -0600 > From: Don Read <sysop@calcasieu.com> > Subject: Re: wall > > At 11:40 AM 12/16/98 +1100, Justin wrote: > >heya > >i no this isnt exactly a minor thing but anyways :) > >when i do like 'wall file' or shutdown -r now > >i get something like > >wall: tempory file not found ??? > >can someone please assist me so i can get it working again ? > >Thanks > > > > Your /tmp directory is missing or read only. It's not actually (well probably not anyway). I got the same having CVSUPed a few days ago (RELENG_2_2). From the source code (wall.c) it appears that these lines in makemsg(): char *p, *whom, hostname[MAXHOSTNAMELEN], lbuf[256], tmpname[64]; printf(tmpname, sizeof(tmpname), "%s/wall.XXXXXX", _PATH_TMP); Should actually be: char *p, *whom, hostname[MAXHOSTNAMELEN], lbuf[256], tmpname[64]; snprintf(tmpname, sizeof(tmpname), "%s/wall.XXXXXX", _PATH_TMP); ^^^^^^^^ According to the CVS logs this was fixed on Dec 15th, so grab the new version, recompile and install wall, and it should be fine. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812171119.LAA03303>