From owner-freebsd-questions Thu Dec 17 03:20:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA09687 for freebsd-questions-outgoing; Thu, 17 Dec 1998 03:20:16 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from jmcl.segasoft.com ([192.122.220.71]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA09681 for ; Thu, 17 Dec 1998 03:20:13 -0800 (PST) (envelope-from mclaughj@segasoft.com) Received: from jmcl.segasoft.com (localhost [127.0.0.1]) by jmcl.segasoft.com (8.8.8/8.8.8) with ESMTP id LAA03303; Thu, 17 Dec 1998 11:19:05 GMT (envelope-from mclaughj@jmcl.segasoft.com) Message-Id: <199812171119.LAA03303@jmcl.segasoft.com> To: Justin Cc: questions@FreeBSD.ORG Subject: Re: questions-digest V4 #612 In-reply-to: Your message of "Wed, 16 Dec 1998 10:50:55 PST." <199812161850.KAA24556@hub.freebsd.org> Date: Thu, 17 Dec 1998 11:19:05 +0000 From: John McLaughlin Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Date: Tue, 15 Dec 1998 19:16:58 -0600 > From: Don Read > 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