misc/83969: /etc/rc.d/cleartmp pollutes non-run functions

Alexander Botero-Lowry drax at stampede.org
Sat Jul 23 23:40:22 GMT 2005


>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 at 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:


More information about the freebsd-bugs mailing list