Opened 9 years ago

Last modified 8 years ago

#49326 new defect

snort @2.9.7.6: Unknown pidfile style /opt/local/var/run/snort_en1.pid presented to startupitem.pidfile

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: snort

Description

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?

Change History (1)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Owner: changed from jul_bsd@… to macports-tickets@…

See #52039.

Note: See TracTickets for help on using tickets.