Date: Mon, 26 Jan 1998 09:29:40 -0800 From: tom@sdf.com To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: bin/5571: /var/yp/Makefile bug Message-ID: <E0xwsLs-0006jg-00@misery.sdf.com>
next in thread | raw e-mail | index | archive | help
>Number: 5571 >Category: bin >Synopsis: /var/yp/Makefile does not use temporary files properly >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 26 09:50:01 PST 1998 >Last-Modified: >Originator: Tom >Organization: SDF Systems >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD 2.2.5-STABLE i386 >Description: /var/yp/Makefile goes through great lengths to use unique temporary filenames, except for one: /tmp/ypmake Two invocations of make will stomp on /tmp/ypmake. One will exit with a file not found error, and the other will install a truncated master.passwd.byname, and all the sudden mail starts to bounce as 75% of the users disappear... >How-To-Repeat: Change your password on a yp client (which invokes rpc.yppassdd) at the same time will an admin is doing a "make" to update the maps. >Fix: /var/yp/Makefile needs to postfix some unique info on /tmp/ypmake >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E0xwsLs-0006jg-00>