Package: glusterfs-server Version: 3.1.2-2 Severity: normal
| If the status action is requested, the init script will return the following exit status codes. | | 0 program is running or service is OK | 1 program is dead and /var/run pid file exists | 2 program is dead and /var/lock lock file exists | 3 program is not running | 4 program or service status is unknown -- http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html glusterfs-server:'s init script uses 'exit 0' correctly but doesn't support the other return codes accordingly: # /etc/init.d/glusterfs-server status GlusterFS server is running.. # /etc/init.d/glusterfs-server stop # /etc/init.d/glusterfs-server status GlusterFS server is not running. ... failed! # echo $? 1 whereas this should have returned with 'exit 3'. This means glusterfs-server can't be integrated in cluster setups with its current initscript, see http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/ap-lsb.html Switching to status_of_proc or anything similar from /lib/lsb/init-functions might be a good idea. regards, -mika- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

