Bug#589757: xrdp: Xrdp init.d script does not follow policy and is not lsb-compliant

2010-07-20 Thread Javier Fernández-Sanguino Peña
On Tue, Jul 20, 2010 at 09:49:38PM +0200, Vincent Bernat wrote: > Looking at other init.d scripts, I see they use pidofproc which is > defined in /lib/lsb/init-functions. Yes, I guess it could be used. I was not aware of this function and have not used myself in my init.d scripts (might have

Bug#589757: xrdp: Xrdp init.d script does not follow policy and is not lsb-compliant

2010-07-20 Thread Vincent Bernat
OoO Pendant le journal télévisé du mardi 20 juillet 2010, vers 20:49, Javier Fernández-Sanguino Peña disait : > running_pid() { > # Check if a given process pid's cmdline matches a given name > pid=$1 > name=$2 > [ -z "$pid" ] && return 1 > [ ! -d /proc/$pid ] && return 1 >

Bug#589757: xrdp: Xrdp init.d script does not follow policy and is not lsb-compliant

2010-07-20 Thread Javier Fernández-Sanguino Peña
Package: xrdp Priority: important Justification: Policy section 9.3.2 Tags: patch The init.d script provided in the package for Xrdp does not comply with Debian policy as it does not provide the force-reload action (see policy section 9.3.2) even though it's 'usage' line claims to Additionally: