bind9 init script status_of_proc() call should use pid

Bug #247084 reported by Dustin Kirkland 
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bind9 (Ubuntu)
Fix Released
Low
LaMont Jones

Bug Description

Binary package hint: bind9

Related to changes from Bug #203169; filing as a new bug because that one is getting too big for its own good.

The bind9 init script's call to status_of_proc() call should pass named's pidfile. Patch attached.

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote :
Changed in bind9:
assignee: nobody → kirkland
importance: Undecided → Low
status: New → In Progress
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hi Lamont-

Debian upstream has accepted the full status_of_proc() function, including pid file support. This simplifies the bind9 status action. It requires lsb-base >= 3.2.14.

I'm dropping this updated patch here for posterity, perhaps you can integrate it into Debian's bind9 in due time, when lsb-base 3.2.14 hits 'testing'.

Thanks,
:-Dustin

Changed in bind9:
status: In Progress → Triaged
LaMont Jones (lamont)
Changed in bind9:
assignee: kirkland → lamont
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package bind9 - 1:9.5.0.dfsg.P2-4

---------------
bind9 (1:9.5.0.dfsg.P2-4) unstable; urgency=low

  * meta: fix typo in Depends: lsb-base. Closes: #501365

bind9 (1:9.5.0.dfsg.P2-3) unstable; urgency=low

  [LaMont Jones]

  * enable largefile support. Closes: #497040

  [localization folks]

  * l10n: Dutch translation. Closes: #499977 (Paul Gevers)
  * l10n: simplified chinese debconf template. Closes: #501103 (LI Daobing)
  * l10n: Update spanish template. Closes: #493775 (Ignacio Mondino)

bind9 (1:9.5.0.dfsg.P2-2) unstable; urgency=low

  [Kees Cook]

  * debian/{control,rules}: enable PIE hardening (from -1ubuntu1)

  [Nicolas Valcárcel]

  * Add ufw integration (from -1ubuntu2)

  [Dustin Kirkland]

  * use pid file in init.d/bind9 status. LP: #247084

  [LaMont Jones]

  * dig: add -DDIG_SIGCHASE to compile options. LP: #257682
  * apparmor profile: add /var/log/named

  [Nikita Ofitserov]

  * ipv6 support requires _GNU_SOURCE definition. LP: #249824

 -- Jamie Strandboge <email address hidden> Mon, 24 Nov 2008 12:41:22 +0000

Changed in bind9:
status: Fix Committed → Fix Released
Revision history for this message
Nicola (nicola) wrote :

bind9 in oneiric still has this problem:

you can reproduce as follow:
- bind not running:

/etc/init.d/bind9 status
echo $?
4

the correct lsb output is 3

same problem amavis and many other scripts, this way you cannot use ubuntu lsb script in cluster products such as pacemaker

Nicola

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.