[MacPorts] #15701: npre 2.8.1_0 init-script refers to non-existant directory
#15701: npre 2.8.1_0 init-script refers to non-existant directory --------------------------------+------------------------------------------- Reporter: panisset@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: | --------------------------------+------------------------------------------- On a virgin OS X 10.5.2 Server system which has never seen MacPorts before, I first installed MacPorts-1.6.0-10.5-Leopard.dmg, and then I did: /opt/local/bin/port install nrpe to install npre. But the startup script in /opt/local/share/nrpe/init- script refers to a directory which does not exist on my "clean" install: LockFile=/opt/local/var/run/nrpe.lock ... start) touch $LockFile ... stop) rm -f $LockFile I'm guessing that if you have installed other MacPorts subsystems on a machine, at some point /opt/local/var/run got created, but if npre is the first one you install, you run into this problem. Simple workaround is to create the directory manually. -- Ticket URL: <http://trac.macports.org/ticket/15701> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15701: npre 2.8.1_0 init-script refers to non-existant directory ---------------------------------+------------------------------------------ Reporter: panisset@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by panisset@gmail.com): Oops, make that nrpe 2.8.1_0... -- Ticket URL: <http://trac.macports.org/ticket/15701#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15701: npre 2.8.1_0 init-script refers to non-existant directory ---------------------------------+------------------------------------------ Reporter: panisset@gmail.com | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Changes (by jmr@macports.org): * owner: macports-tickets@lists.macosforge.org => markd@macports.org * milestone: => Port Bugs Comment: Assigning to maintainer. This is strange, because the directory is explicitly created in npre's destroot phase: {{{ xinstall -d -m 755 ${destroot}${prefix}/var/run }}} -- Ticket URL: <http://trac.macports.org/ticket/15701#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15701: npre 2.8.1_0 init-script refers to non-existant directory ---------------------------------+------------------------------------------ Reporter: panisset@gmail.com | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by jmr@macports.org): Ah, but of course destroot.keepdirs needs to be specified as well. -- Ticket URL: <http://trac.macports.org/ticket/15701#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15701: npre 2.8.1_0 init-script refers to non-existant directory ---------------------------------+------------------------------------------ Reporter: panisset@gmail.com | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by markd@macports.org): I set the lockfile directory to $[prefix}/var/run/nrpe in revision 1 to the port. Please test it. -- Ticket URL: <http://trac.macports.org/ticket/15701#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15701: npre 2.8.1_0 init-script refers to non-existant directory ---------------------------------+------------------------------------------ Reporter: panisset@gmail.com | Owner: markd@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment (by panisset@gmail.com): Just did a new install on a machine that didn't have MacPorts before, /opt/local/var/run now seems to get created correctly. -- Ticket URL: <http://trac.macports.org/ticket/15701#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15701: npre 2.8.1_0 init-script refers to non-existant directory ---------------------------------+------------------------------------------ Reporter: panisset@gmail.com | Owner: markd@macports.org Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: ---------------------------------+------------------------------------------ Changes (by markd@macports.org): * status: new => closed * resolution: => fixed Comment: Thanks for the feedback. -- Ticket URL: <http://trac.macports.org/ticket/15701#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts