Bug#653598: status_of_proc should handle not-world-readable pid files better

2012-03-07 Thread Didier 'OdyX' Raboud
tags 653598 +pending +patch thanks Hi Peter, and thanks for your bugreport, and patch Le 29.12.2011 19:15, Peter Eisentraut a écrit : When a pid file is specified to status_of_proc with the -p option, but it's not readable, then status_of_proc returns 3 (not running) instead of 4 (unknown).

Bug#653598: status_of_proc should handle not-world-readable pid files better

2012-03-07 Thread Didier 'OdyX' Raboud
Le 07.03.2012 11:37, Didier 'OdyX' Raboud a écrit : Agreed. I committed the attached patch, attributed to you (as it's not 100% the same patch, but equal in functionality and essence). Meh, failed at attaching. From 1a02293da50c624a01c61c6fd4e956215726994a Mon Sep 17 00:00:00 2001 From: Peter

Bug#653598: status_of_proc should handle not-world-readable pid files better

2011-12-29 Thread Peter Eisentraut
Package: lsb-base Version: 3.2-28 Severity: normal When a pid file is specified to status_of_proc with the -p option, but it's not readable, then status_of_proc returns 3 (not running) instead of 4 (unknown). pidofproc handles this specially: if [ $specified ]; then return 3 #