Your message dated Wed, 23 Mar 2016 16:21:12 +0000
with message-id <e1ailwy-0007ug...@franck.debian.org>
and subject line Bug#818747: fixed in courier-authlib 0.66.4-7
has caused the Debian Bug report #818747,
regarding courier-authdaemon: init script does not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
818747: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=818747
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: courier-authdaemon
Version: 0.66.4-5
Severity: grave


After a recent upgrade to courier-authdaemon the init scripts have
ceased controlling the daemon processes.

Producing the error :
 Unknown option '-'


NP: this is after the workaround to bug #818744 has been added to let
the init script actually run.


A full trace is included below. The lines producing this output are in
/lib/init/init-d-script:

+ start-stop-daemon --start --quiet --pidfile /run/courier/pid --startas
/usr/sbin/authdaemond --name authdaemond --exec /usr/sbin/authdaemond --test
+ start-stop-daemon --start --quiet --pidfile /run/courier/pid --startas
/usr/sbin/authdaemond --name authdaemond --exec /usr/sbin/authdaemond --
Unknown option '-'
+ return 2


The /usr/sbin/authdaemond script (aka $DAEMON) is expecting to receive
"start" or "stop", etc as its $1 parameter.

For some reason the /etc/init.d/courier-authdaemon script is ignoring
the error result from init-d-script and returning "exit 0" (success) anyway.


Running these commands manually with the extra daemon parameter works fine:

start-stop-daemon --start --quiet --pidfile /run/courier/pid --startas
/usr/sbin/authdaemond --name authdaemond --exec /usr/sbin/authdaemond --
start

start-stop-daemon --start --quiet --pidfile /run/courier/pid --startas
/usr/sbin/authdaemond --name authdaemond --exec /usr/sbin/authdaemond --
stop




The full output of "/etc/init.d/courier-authdaemon start" when -x is
added to its shell call is listed below:


# /etc/init.d/courier-authdaemon start
+ [ true !=  ]
+ set /etc/init.d/courier-authdaemon start
+ INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
+ . /lib/lsb/init-functions
+ run-parts --lsbsysinit --list /lib/lsb/init-functions.d
+ [ -r /lib/lsb/init-functions.d/01-upstart-lsb ]
+ . /lib/lsb/init-functions.d/01-upstart-lsb
+ unset UPSTART_SESSION
+ _RC_SCRIPT=/etc/init.d/courier-authdaemon
+ [ -r /etc/init//etc/init.d/courier-authdaemon.conf ]
+ _UPSTART_JOB=courier-authdaemon
+ [ -r /etc/init/courier-authdaemon.conf ]
+ [ -r /lib/lsb/init-functions.d/20-left-info-blocks ]
+ . /lib/lsb/init-functions.d/20-left-info-blocks
+ FANCYTTY=
+ [ -e /etc/lsb-base-logging.sh ]
+ true
+ PATH=/sbin:/usr/sbin:/bin:/usr/bin
+ export PATH
+ [  = true ]
+ SCRIPTNAME=/etc/init.d/courier-authdaemon
+ basename /etc/init.d/courier-authdaemon
+ scriptbasename=courier-authdaemon
+ [ courier-authdaemon != init-d-script ]
+ script=/etc/init.d/courier-authdaemon
+ shift
+ . /etc/init.d/courier-authdaemon
+ [ true != true ]
+ DAEMON=/usr/sbin/authdaemond
+ DESC=Courier authentication services
+ PIDFILE=/run/courier/pid
+ basename /usr/sbin/authdaemond
+ NAME=authdaemond
+ DESC=Courier authentication services
+ [ none = /run/courier/pid ]
+ [ -z /run/courier/pid ]
+ [ none != /usr/sbin/authdaemond ]
+ [ ! -x /usr/sbin/authdaemond ]
+ [ -r /etc/default/authdaemond ]
+ . /lib/init/vars.sh
+ TMPTIME=0
+ SULOGIN=no
+ DELAYLOGIN=no
+ UTC=yes
+ VERBOSE=no
+ FSCKFIX=no
+ [ -f /etc/default/rcS ]
+ . /etc/default/rcS
+ TMPTIME=0
+ SULOGIN=no
+ DELAYLOGIN=yes
+ VERBOSE=yes
+ FSCKFIX=no
+ unset EDITMOTD
+ unset RAMRUN
+ unset RAMLOCK
+ [ -r /proc/cmdline ]
+ cat /proc/cmdline
+ [  ]
+ [  ]
+ [ -t 0 ]
+ VERBOSE=yes
+ call do_start
+ cmd=do_start
+ shift
+ is_call_implemented do_start_override
+ command -V do_start_override
+ do_start
+ is_call_implemented do_start_prepare
+ command -V do_start_prepare
+ call do_start_prepare
+ cmd=do_start_prepare
+ shift
+ is_call_implemented do_start_prepare_override
+ command -V do_start_prepare_override
+ do_start_prepare
+ do_tmpfiles courier-authdaemon
+ local type path mode user group
+ TMPFILES=/usr/lib/tmpfiles.d/courier-authdaemon.conf
+ [ -r /usr/lib/tmpfiles.d/courier-authdaemon.conf ]
+ echo file: /usr/lib/tmpfiles.d/courier-authdaemon.conf
file: /usr/lib/tmpfiles.d/courier-authdaemon.conf
+ + readcat type path mode user group age arg
 /usr/lib/tmpfiles.d/courier-authdaemon.conf
+ [ #Type = d ]
+ read type path mode user group age arg
+ [ d = d ]
+ mkdir -p /run/courier
+ chmod 0775 /run/courier
+ chown root:courier /run/courier
+ [ -x /sbin/restorecon ]
+ read type path mode user group age arg
+ [ d = d ]
+ mkdir -p /run/courier/authdaemon
+ chmod 0755 /run/courier/authdaemon
+ chown courier:courier /run/courier/authdaemon
+ [ -x /sbin/restorecon ]
+ read type path mode user group age arg
+ [ yes != no ]
+ log_daemon_msg Starting Courier authentication services authdaemond
+ [ -z Starting Courier authentication services ]
+ log_daemon_msg_pre Starting Courier authentication services authdaemond
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z ]
+ FANCYTTY=1
+ true
+ echo -n [....]
[....] + [ -z authdaemond ]
+ echo -n Starting Courier authentication services: authdaemond
Starting Courier authentication services: authdaemond+
log_daemon_msg_post Starting Courier authentication services authdaemond
+ :
+ call do_start_cmd
+ cmd=do_start_cmd
+ shift
+ is_call_implemented do_start_cmd_override
+ command -V do_start_cmd_override
+ do_start_cmd
+ start-stop-daemon --start --quiet --pidfile /run/courier/pid --startas
/usr/sbin/authdaemond --name authdaemond --exec /usr/sbin/authdaemond --test
+ start-stop-daemon --start --quiet --pidfile /run/courier/pid --startas
/usr/sbin/authdaemond --name authdaemond --exec /usr/sbin/authdaemond --
Unknown option '-'
+ return 2
+ [ yes != no ]
+ log_end_msg 1
+ [ -z 1 ]
+ local retval
+ retval=1
+ log_end_msg_pre 1
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z 1 ]
+ true
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput setaf 2
+ GREEN=
+ /usr/bin/tput setaf 3
+ YELLOW=
+ /usr/bin/tput op
+ NORMAL=
+ /usr/bin/tput civis
+ /usr/bin/tput sc
+ /usr/bin/tput hpa 0
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -ne [FAIL
[FAIL+ /usr/bin/tput rc
+ /usr/bin/tput cnorm
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ [ -t 1 ]
+ [ xxterm != x ]
+ [ xxterm != xdumb ]
+ [ -x /usr/bin/tput ]
+ [ -x /usr/bin/expr ]
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ [ -z 1 ]
+ true
+ true
+ /usr/bin/tput setaf 1
+ RED=
+ /usr/bin/tput setaf 3
+ YELLOW=
+ /usr/bin/tput op
+ NORMAL=
+ [ 1 -eq 0 ]
+ [ 1 -eq 255 ]
+ /bin/echo -e  failed!
 failed!
+ log_end_msg_post 1
+ :
+ return 1
+ is_call_implemented do_start_cleanup
+ command -V do_start_cleanup
+ exit 0

--- End Message ---
--- Begin Message ---
Source: courier-authlib
Source-Version: 0.66.4-7

We believe that the bug you reported is fixed in the latest version of
courier-authlib, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 818...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ondřej Surý <ond...@debian.org> (supplier of updated courier-authlib package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Mar 2016 14:38:43 +0100
Source: courier-authlib
Binary: courier-authlib courier-authdaemon courier-authlib-dev 
courier-authlib-userdb courier-authlib-mysql courier-authlib-postgresql 
courier-authlib-ldap courier-authlib-sqlite courier-authlib-pipe
Architecture: source amd64
Version: 0.66.4-7
Distribution: unstable
Urgency: medium
Maintainer: Stefan Hornburg (Racke) <ra...@linuxia.de>
Changed-By: Ondřej Surý <ond...@debian.org>
Description:
 courier-authdaemon - Courier authentication daemon
 courier-authlib - Courier authentication library
 courier-authlib-dev - Development libraries for the Courier authentication 
library
 courier-authlib-ldap - LDAP support for the Courier authentication library
 courier-authlib-mysql - MySQL support for the Courier authentication library
 courier-authlib-pipe - External authentication support for the Courier 
authentication li
 courier-authlib-postgresql - PostgreSQL support for the Courier authentication 
library
 courier-authlib-sqlite - SQLite 3 support for the Courier authentication 
library
 courier-authlib-userdb - userdb support for the Courier authentication library
Closes: 818747
Changes:
 courier-authlib (0.66.4-7) unstable; urgency=medium
 .
   * /usr/sbin/authdaemon is just a shell wrapper we need to call with
     'start' and 'stop' arguments (Closes: #818747)
   * Look at /usr/lib/courier/courier-authlib/authdaemond for
     courier-authdaemon init.d script status call
Checksums-Sha1:
 b7fee3d391d60ca3204eff6b2690e963953581c8 2934 courier-authlib_0.66.4-7.dsc
 17f48001101bf80d63c41c13b19c57d5660f9349 16004 
courier-authlib_0.66.4-7.debian.tar.xz
 592b8c58d06eeca64d14c421928a7d75d6b2dfdb 17006 
courier-authdaemon_0.66.4-7_amd64.deb
 e96278af05bdd6e65ead1325443d63d3b48755e6 174202 
courier-authlib-dbgsym_0.66.4-7_amd64.deb
 91c687c8c709a354c4b8ff13e1bea98a8b67552e 5284 
courier-authlib-dev-dbgsym_0.66.4-7_amd64.deb
 723e6822b3a40bd23cb310c6d2c9d5100b45ec15 111748 
courier-authlib-dev_0.66.4-7_amd64.deb
 8326ea389600125c8bb2d57511e84184c8871703 25224 
courier-authlib-ldap-dbgsym_0.66.4-7_amd64.deb
 1c47bc68912137e7db2eb3b1c9930609af8267ce 30558 
courier-authlib-ldap_0.66.4-7_amd64.deb
 4a4bd44e353a704e8db4e24990af74122d87b35e 20312 
courier-authlib-mysql-dbgsym_0.66.4-7_amd64.deb
 81668857b0ad06c3a83cb377d6d7344bb18a224e 26022 
courier-authlib-mysql_0.66.4-7_amd64.deb
 d8f6105f44ac2c3921e3cca5c47215778a2f5af5 9458 
courier-authlib-pipe-dbgsym_0.66.4-7_amd64.deb
 3f979f4d2ca31859f1d6df06dc752658ba38eb66 17738 
courier-authlib-pipe_0.66.4-7_amd64.deb
 069d7ce0d9f335fd2587e3b68e04cc8f16d88f87 20150 
courier-authlib-postgresql-dbgsym_0.66.4-7_amd64.deb
 c9667740b95aaecf14adc1ce78ff380c19ded2b3 27348 
courier-authlib-postgresql_0.66.4-7_amd64.deb
 c38a3900924f4e7b2bdbd2041da8a2318a30660a 15254 
courier-authlib-sqlite-dbgsym_0.66.4-7_amd64.deb
 6be5c9b84df584efda5879c464fb6c4700cd4c38 24634 
courier-authlib-sqlite_0.66.4-7_amd64.deb
 d8ac19201ada172a5632bf49c4a919886f9610b4 43528 
courier-authlib-userdb-dbgsym_0.66.4-7_amd64.deb
 062bccac59fd027cd20cc5f2235ff20861436f6f 41870 
courier-authlib-userdb_0.66.4-7_amd64.deb
 7796788ce4897c470235798177d1851eaa447660 82804 
courier-authlib_0.66.4-7_amd64.deb
Checksums-Sha256:
 681d1368e9c5977fe9b1732d262c54bb2b0c0bba520b6cc3ac6f6ed2531c37c3 2934 
courier-authlib_0.66.4-7.dsc
 ac4b850eaa79af1c13fcfc72f86498ca208912d3fa9217a7a792c2dfecbbe798 16004 
courier-authlib_0.66.4-7.debian.tar.xz
 28631496d4048f82aae7f061aee7cd53123a1fb2deb80d0a4267ed5132465cb1 17006 
courier-authdaemon_0.66.4-7_amd64.deb
 5d908b326682e7f1be3ac3eac18ed0ad192704275d07c7d5a4bad8d57ec982b2 174202 
courier-authlib-dbgsym_0.66.4-7_amd64.deb
 72ebfbcdce433ff8e26728d173db177dc1671c4a3b22f453c10454d49ee9b402 5284 
courier-authlib-dev-dbgsym_0.66.4-7_amd64.deb
 4131bf4da24eef90abd23c76dee0621eae1a5f6c09926967524f796c458470e5 111748 
courier-authlib-dev_0.66.4-7_amd64.deb
 f4bb163f445282dd82d58d11a9b0696cff80b302713e7315ba6100ba1f8f5285 25224 
courier-authlib-ldap-dbgsym_0.66.4-7_amd64.deb
 e5d730b5f7c23256ec8a43595f1369b4be943a08fba219a4fd177e72c54cfb76 30558 
courier-authlib-ldap_0.66.4-7_amd64.deb
 bf46829c276a1a612d61ee76026bc2c576e07cb21594e3b48805adee55098eb4 20312 
courier-authlib-mysql-dbgsym_0.66.4-7_amd64.deb
 664a80db2109dc81e44569c4ad9e8a7b8b4817100e046ffe5b9b7cf603a62843 26022 
courier-authlib-mysql_0.66.4-7_amd64.deb
 e7de5202b1a979e890cea4f8f2d74f4a30b29dc35f9cfb251d4e3621f133000b 9458 
courier-authlib-pipe-dbgsym_0.66.4-7_amd64.deb
 3bad9c4dd2622bde6e2aa9b1b553c55302a5681707f6ad335cac0d910ed64cc3 17738 
courier-authlib-pipe_0.66.4-7_amd64.deb
 c9fdb1647471315578bbca2f08cdd0ff4ea9338f8e98473c6ac45304ffee9a35 20150 
courier-authlib-postgresql-dbgsym_0.66.4-7_amd64.deb
 78fd77184b443e2908417e697c91c580a4fce592a2a955acf39fca1ff48624fa 27348 
courier-authlib-postgresql_0.66.4-7_amd64.deb
 419fac8e5e02b7a744cfa1b20ff40e4887ddec66daa270d310df3b6cae3bb080 15254 
courier-authlib-sqlite-dbgsym_0.66.4-7_amd64.deb
 ab77e94ecc5be6e875f85437382a8e220ae00299b8d610edf7b210a8022d7b0a 24634 
courier-authlib-sqlite_0.66.4-7_amd64.deb
 bbc48ba71b1267cfc8df52a492d0dacfaf813a83604b9fc2b71dfab6affdd3d7 43528 
courier-authlib-userdb-dbgsym_0.66.4-7_amd64.deb
 de9b39477a12c82c284e539eedaa1cb663e82374ab962f66207cf8cfa8ce83c2 41870 
courier-authlib-userdb_0.66.4-7_amd64.deb
 3144ad62ab90900441d89409981732619a084d0a55e4e9cd4e0590c7ffeaf15d 82804 
courier-authlib_0.66.4-7_amd64.deb
Files:
 3a07d4e78944aed7ea978bf3328ade07 2934 mail optional 
courier-authlib_0.66.4-7.dsc
 e5d610144cd647f85baa5b916df1ffbd 16004 mail optional 
courier-authlib_0.66.4-7.debian.tar.xz
 031326d80f667145f57d0b75262e009e 17006 mail optional 
courier-authdaemon_0.66.4-7_amd64.deb
 2c5b205385fd8b64eb231bacacc11ab3 174202 debug extra 
courier-authlib-dbgsym_0.66.4-7_amd64.deb
 70fe943f7166aee0fa37b5d9bbecf525 5284 debug extra 
courier-authlib-dev-dbgsym_0.66.4-7_amd64.deb
 265e60384271ffe6a95e47e7477faf74 111748 mail optional 
courier-authlib-dev_0.66.4-7_amd64.deb
 aeabf6d1d86a3dabe86feddf6b79b101 25224 debug extra 
courier-authlib-ldap-dbgsym_0.66.4-7_amd64.deb
 0cc49bd945d30c3c9b7520bfb3c1e440 30558 mail optional 
courier-authlib-ldap_0.66.4-7_amd64.deb
 1214e95ab114522815a122d922942467 20312 debug extra 
courier-authlib-mysql-dbgsym_0.66.4-7_amd64.deb
 09f202eeeaa372034f7d8a92b6195deb 26022 mail optional 
courier-authlib-mysql_0.66.4-7_amd64.deb
 21f1fc002968e4a77c6945130a6ca296 9458 debug extra 
courier-authlib-pipe-dbgsym_0.66.4-7_amd64.deb
 8e9dbd925349993f215e598a802aa615 17738 mail optional 
courier-authlib-pipe_0.66.4-7_amd64.deb
 b1732f871d42259010c7835b0193a1d3 20150 debug extra 
courier-authlib-postgresql-dbgsym_0.66.4-7_amd64.deb
 34ce22b96e5eefe794c0ca98278e8a20 27348 mail optional 
courier-authlib-postgresql_0.66.4-7_amd64.deb
 30d0bf32daca34d84da43ca284b4477a 15254 debug extra 
courier-authlib-sqlite-dbgsym_0.66.4-7_amd64.deb
 ae25b149e484081c9c5c3a7d777101ec 24634 mail optional 
courier-authlib-sqlite_0.66.4-7_amd64.deb
 233b747d46a43283340178693d23bc35 43528 debug extra 
courier-authlib-userdb-dbgsym_0.66.4-7_amd64.deb
 77811f2e3d15ac5c474b4abf6c76e6d7 41870 mail optional 
courier-authlib-userdb_0.66.4-7_amd64.deb
 b2fc62a8620d1d68fc710f41c15a3ead 82804 mail optional 
courier-authlib_0.66.4-7_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJW8p35XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsH0ewP/js7B/aKZJw42vKibgIDCsa3
VEJR2nTx2/BU9cEJFZEOeLNG87JIq70ZL48Sh6vxso+ZA6ttFlWuARWqWj11WN8C
OeSO652Wg0cAe77FFFSJueUuUK1pEsw9pD9sfI4moSSJw8oqkynbbDaWPDtuhN80
fkW9vgsq0YZqaG6ZDtK2dTeRqBIxIQ2UCjQN1EfXKUGKHrLa9eAHBWCuosMuX+tB
BjoizHzl4hbVTc+604HMp/DUkvZNx26ByJ84sxIKN3zHdI7vFkNdbWcxmJjksvre
3nmEX3LNStAyHVIv8B16cLnOaTFooZMjtWHVcoj7QBV0L8XAI2Ay5ujcz9Nuc/WZ
FIEs9NrbnkVeWdMvn43T4d+RQToAKT/Watt794VnSOjtrw2zKyGs1Ee/rS/rmCwP
9QNWGb7ygIuvvwnYz5JE9krwTA2eCR8BoMbTLwa9kpAy0owKlrPr2JBEQQYHQ7EU
0qQg95a59MD//O541iWiLSGt9v49SCUBDZhvnbKThIeBroTzAgsfdQwsM7JEZTvP
H1OLo/eUQI5svUqGBAL5cpNfvmaqwKyV8gmtPLNITC4Raf98P0RKDhdjc5dXRVvm
NbtQvBrQ/9IWePPHXSE098w8q8udRIzVn+oE9y/sDmkd9W/LeCypbhmttbcdopx2
tLo0Y7D/NWbQf7CTOReW
=oXhn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to