status_of_proc lacks a "-p" in /etc/init.d/pptpd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pptpd (Debian) |
Fix Released
|
Unknown
|
|||
pptpd (Ubuntu) |
Fix Released
|
Medium
|
Wesley Wiedenmeier | ||
Trusty |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
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/
The version tested is 1.3.4+27+
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
Changed in pptpd (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: bitesize |
Changed in pptpd (Debian): | |
status: | Unknown → Fix Released |
Changed in pptpd (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in pptpd (Ubuntu Xenial): | |
importance: | Undecided → Medium |
tags: |
added: verification-done removed: verification-needed |
Status changed to 'Confirmed' because the bug affects multiple users.