Date: Sat, 23 Jul 2005 23:38:35 GMT From: Alexander Botero-Lowry <drax@stampede.org> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/83969: /etc/rc.d/cleartmp pollutes non-run functions Message-ID: <200507232338.j6NNcZMC003814@www.freebsd.org> Resent-Message-ID: <200507232340.j6NNeEB4076796@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83969 >Category: misc >Synopsis: /etc/rc.d/cleartmp pollutes non-run functions >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jul 23 23:40:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Alexander Botero-Lowry >Release: 5.4-RELEASE >Organization: >Environment: FreeBSD Kroeber.freebsd.box 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: /etc/rc.d/cleartmp pollutes output of all calls to it. For example calling /etc/rc.d/cleartmp rcvar will delete the temporary X11 files because that part of the rc script is not kept inside of the start function. This is problematic because administrative tools that rely on rcvar can potentially cause damage to the systems working enviornment. >How-To-Repeat: /etc/rc.d/cleartmp rcvar >Fix: http://www.stampede.org/~drax/freebsd-rc.d.patch includes a new rc script clearx11tmp and changes to /etc/defaults/rc.conf to make sure that it is executed. These patches are against 5.4-RELEASE; though it seems from CVSWeb there haven't been many/any changes since 5.4-RELEASE to rc.d >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507232338.j6NNcZMC003814>