Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2004 22:55:05 GMT
From:      "J. Kanowitz" <jkanowitz@snet.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/72409: daemontools 0.76_9 install path(s) appear ridiculous
Message-ID:  <200410062255.i96Mt5mE000561@www.freebsd.org>
Resent-Message-ID: <200410062300.i96N0h1Z016652@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72409
>Category:       ports
>Synopsis:       daemontools 0.76_9 install path(s) appear ridiculous
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 06 23:00:42 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     J. Kanowitz
>Release:        5.3-BETA4
>Organization:
>Environment:
FreeBSD mustelid 5.3-BETA4 FreeBSD 5.3-BETA4 #0: Sun Sep 12 21:41:44 EDT 2004     floid@mustelid:/usr/obj/usr/src/sys/MUSTELID  i386

>Description:
At some point after 0.76_3, daemontools would appear to have begun installing into a mini "/usr/local" hierarchy below /usr/local/etc/rc.d/svscan.sh/ by default.  Strangely, the rc script itself (/usr/local/etc/rc.d/svscan.sh/etc/rc.d/svscan.sh) seems to be rewritten to be aware of this, though the extra level of obfuscation makes it even harder to determine if everything works, short of rebooting.

Is this intentional, and justified for reasons I'm not aware of?  If not, I'll be trying to assemble a patch after submitting, but it might be easier for someone familiar with the Makefile.
>How-To-Repeat:
portupgrade daemontools

/usr/local/etc/rc.d 0$ ls -l svscan.sh/
total 22
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 bin
drwxr-xr-x   4 root  wheel  512 Oct  6 16:35 etc
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 include
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 info
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 lib
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 libdata
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 libexec
drwxr-xr-x  28 root  wheel  512 Oct  6 16:35 man
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 sbin
drwxr-xr-x  14 root  wheel  512 Oct  6 16:35 share
drwxr-xr-x   2 root  wheel  512 Oct  6 16:35 www

/usr/local/etc/rc.d 0$ ls -l svscan.sh/bin/
total 208
-r-xr-xr-x  1 root  wheel  15124 Oct  6 16:35 envdir
-r-xr-xr-x  1 root  wheel  14980 Oct  6 16:35 envuidgid
-r-xr-xr-x  1 root  wheel  11608 Oct  6 16:35 fghack
[etc...]

/usr/local/etc/rc.d 0$ ls -l svscan.sh/etc/rc.d/
total 4
-r-xr-xr-x  1 root  wheel  2364 Oct  6 16:35 svscan.sh

>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410062255.i96Mt5mE000561>