• LeLutin's avatar
    init.d: match on pidfile only prevents service stop (closes: #922395) · 69a94513
    LeLutin authored
    dpkg 1.19.3 introduced a new verification that prevents the service to
    stop using the init script (and incidentally to run reconfigure
    correctly): the pidfile is not owned by root:root, so s-s-d is wary of
    relying only on this information to run a command as root with the
    information within the file.
    
    By matching the service more precisely, that is with pidfile and exec
    name, start-stop-daemon is more at ease and performs service stop
    action.
    
    While changing that command, I also saw that the init script was not
    reusing the $PIDFILE variable for the stop command. This could have
    been a source of mistake if we ever had to change where the pidfile is
    placed on the filesystem.
    69a94513
Name
Last commit
Last update
bin Loading commit data...
conftools Loading commit data...
debian Loading commit data...
doc Loading commit data...
etc Loading commit data...
htdocs Loading commit data...
lib Loading commit data...
thirdparty Loading commit data...
CHANGES Loading commit data...
CONTRIBUTORS Loading commit data...
COPYRIGHT Loading commit data...
LICENSE Loading commit data...
Makefile.am Loading commit data...
Makefile.in Loading commit data...
PERL_MODULES Loading commit data...
README Loading commit data...
TODO Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...