Uploaded image for project: 'OpenDNSSEC TRAC Import'
  1. OpenDNSSEC TRAC Import
  2. ODSTRACIMPORT-176

Error in /etc/init.d/opendnssec-signer on ubuntu

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: None
    • Component/s: Unknown
    • Labels:
      None

      Description

      service opendnssec-signer status always returns "not running". The problem occurs because the pid file is stored in /var/run/opendnssec,rather than /var/run.

      Easiest way to fix it seems to be to change the call to status_of_proc in the status) case from
      status_of_proc "$DAEMON" "$NAME" && exit 0 | exit $?
      to
      status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 | exit $?

      A similar fix should be applied to /etc/init.d/opendnssec-enforcer, althohg it manages to work in spite of the pid file not being found, because the named $DAEMON is still running when the status check is made. This is not the case for the singer.

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Bellgrim
            Reporter:
            pbw@pbw.id.au pbw
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: