[MacPorts] #49326: snort @2.9.7.6: Unknown pidfile style /opt/local/var/run/snort_en1.pid presented to startupitem.pidfile
MacPorts
noreply at macports.org
Fri Oct 16 20:36:38 PDT 2015
#49326: snort @2.9.7.6: Unknown pidfile style /opt/local/var/run/snort_en1.pid
presented to startupitem.pidfile
--------------------------+-----------------------
Reporter: ryandesign@… | Owner: jul_bsd@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: snort
--------------------------+-----------------------
snort uses the `startupitem.pidfile` variable incorrectly:
{{{
---> Computing dependencies for snort
---> Fetching distfiles for snort
---> Attempting to fetch snort-2.9.7.6.tar.gz from
https://www.snort.org/downloads/snort/
---> Verifying checksums for snort
---> Extracting snort
---> Configuring snort
---> Building snort
---> Staging snort into destroot
---> Creating launchd control script
Error: ---> Unknown pidfile style /opt/local/var/run/snort_en1.pid
presented to startupitem.pidfile
###########################################################
# A startup item has been generated that will aid in
# starting snort with launchd. It is disabled
# by default. Execute the following command to start it,
# and to cause it to launch at startup:
#
# sudo port load snort
###########################################################
---> Installing snort @2.9.7.6_0+mysql56+universal
---> Cleaning snort
---> Computing dependencies for snort
---> Deactivating snort @2.9.7.3_0+mysql56+universal
---> Activating snort @2.9.7.6_0+mysql56+universal
---> Cleaning snort
---> Uninstalling snort @2.9.7.3_0+mysql56+universal
}}}
You need to specify who creates the pidfile and who cleans it up. See
https://guide.macports.org/#reference.startupitems.script
Also, does `--create-pidfile` need to be added to
`startupitem.executable`?
--
Ticket URL: <https://trac.macports.org/ticket/49326>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list