← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1296835] Re: status_of_proc lacks a "-p" in /etc/init.d/pptpd

 

This bug was fixed in the package pptpd - 1.3.4+27+gddb30f8-1ubuntu1.1

---------------
pptpd (1.3.4+27+gddb30f8-1ubuntu1.1) trusty; urgency=medium

  * Fix status check in debian/pptpd.init (LP: #1296835):
    - Fix was added at debian version 1.4.0-3 (Closes: #747146)

 -- Wesley Wiedenmeier <wesley.wiedenmeier@xxxxxxxxx>  Tue, 21 Jun 2016
12:31:10 -0500

** Changed in: pptpd (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1296835

Title:
  status_of_proc lacks a "-p" in /etc/init.d/pptpd

Status in pptpd package in Ubuntu:
  Fix Released
Status in pptpd source package in Trusty:
  Fix Released
Status in pptpd source package in Xenial:
  Fix Released
Status in pptpd package in Debian:
  Fix Released

Bug description:
  The "status" target in /etc/init.d/pptpd doesn't work, because the
  call to status_of_proc lacks a "-p" before "$PIDFILE". Example:

  # /etc/init.d/pptpd start
   * Starting PoPToP Point to Point Tunneling Server pptpd                                                                                                                                                    [ OK ] 
  # ps aux | grep pptpd
  root     16211  0.0  0.0  10684   680 ?        Ss   17:51   0:00 /usr/sbin/pptpd
  root     16305  0.0  0.0  18236   904 pts/0    S+   17:51   0:00 grep --color=auto pptpd
  # /etc/init.d/pptpd status
   * /usr/sbin/pptpd is not running

  This happens because status_of_proc takes $PIDFILE as $DAEMON, and
  tries to use the file "/var/run/pptpd.pid.pid" as source for the PID
  of the program. Adding "-p" solves the problem.

  The version tested is 1.3.4+27+gddb30f8-1ubuntu1. Output of lsb_release -rd is:
  Description:    Ubuntu Trusty Tahr (development branch)
  Release:        14.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pptpd/+bug/1296835/+subscriptions