New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31931 (closed defect: fixed)

Opened 19 months ago

Last modified 11 months ago

dnsmasq @2.59 PID file not removed on unload

Reported by: m@… Owned by: snc@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: dnsmasq

Description

The package dnsmasq provides the possibility to load and unload dnsmasq. When running port load dnsmasq, file /opt/local/var/run/dnsmasq.pid will be created.

However, when running port unload dnsmasq, that file will not be removed.

Change History

comment:1 Changed 19 months ago by m@…

  • Cc m@… added

Cc Me!

comment:2 Changed 19 months ago by snc@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to snc@…
  • Cc snc@…, m@… removed

comment:3 Changed 19 months ago by ryandesign@…

  • Cc openmaintainer@… removed
  • Status changed from assigned to new

comment:4 Changed 19 months ago by snc@…

  • Status changed from new to assigned

comment:5 Changed 19 months ago by snc@…

Permissions on the PID file prevent removal of the PID file. The default location needs to be inside a directory that the process can own.

comment:6 Changed 19 months ago by snc@…

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

I put the PID inside a fully-writable directory, r86875.

comment:7 Changed 11 months ago by m@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

There seems to be a regression as file /opt/local/var/run/dnsmasq.pid is created again (instead of var/run/dnsmasq/dnsmasq.pid).

comment:8 Changed 11 months ago by snc@…

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

Thanks for catching that: fixed again in r94554.

Note: See TracTickets for help on using tickets.