[Bug 1296835] [NEW] status_of_proc lacks a "-p" in /etc/init.d/pptpd
Launchpad Bug Tracker
1296835 at bugs.launchpad.net
Tue Jun 21 20:26:58 UTC 2016
You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):
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
** Affects: pptpd (Ubuntu)
Importance: Medium
Assignee: Wesley Wiedenmeier (wesley-wiedenmeier)
Status: Confirmed
** Tags: bitesize patch
--
status_of_proc lacks a "-p" in /etc/init.d/pptpd
https://bugs.launchpad.net/bugs/1296835
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list