New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22829 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

denyhosts-2.6_2 spuriously leaves stale PID file & fails to start

Reported by: razzfazz@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: denyhosts

Description

On several occasions, I've had denyhosts fail to start after a reboot because the /opt/local/var/run/denyhosts.pid file was not properly removed when the host was shut down.

It seems this should be easily avoidable by adding the following line to the Portfile:

startupitem.pidfile clean ${prefix}/var/run/${name}.pid

Change History

comment:1 Changed 5 years ago by jmr@…

  • Owner changed from macports-tickets@… to snc@…

comment:2 Changed 4 years ago by snc@…

  • Status changed from new to closed
  • Resolution set to fixed

PID handled in r63867.

Note: See TracTickets for help on using tickets.