Your message dated Tue, 22 Mar 2016 11:34:41 +0000
with message-id <e1aika9-0005hh...@franck.debian.org>
and subject line Bug#818747: fixed in courier-authlib 0.66.4-6
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-6

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: Tue, 22 Mar 2016 12:11:51 +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-6
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: 810601 818744 818747
Changes:
 courier-authlib (0.66.4-6) unstable; urgency=medium
 .
   * Fix the TMPFILES loop in init script (Closes: #818744)
   * Add "start" as default DAEMON_ARGS to launch courier-authdaemon
     (Closes: #818747)
   * Fix courier-authlib-sqlite description (Closes: #810601)
Checksums-Sha1:
 7ff70c427162b4c35bd67a2fe96aef47c83f82bb 2934 courier-authlib_0.66.4-6.dsc
 967fd823a65d45ffa923edaa39163880b524169b 15876 
courier-authlib_0.66.4-6.debian.tar.xz
 10e129e5a39911ad6a1e530fcf17a0ced94adcd7 16860 
courier-authdaemon_0.66.4-6_amd64.deb
 851a82301fc8c367fed78a3dcadee20cfbe02204 174216 
courier-authlib-dbgsym_0.66.4-6_amd64.deb
 964b2ae893d54e7636a33fba003ec32f818fad6e 5284 
courier-authlib-dev-dbgsym_0.66.4-6_amd64.deb
 9acaf1aaafbf689655f0738982f434bf17b4b83a 111642 
courier-authlib-dev_0.66.4-6_amd64.deb
 9ea63d1fbf887c11035087eab47aaf825c99d573 25220 
courier-authlib-ldap-dbgsym_0.66.4-6_amd64.deb
 a3f8bab4b643041a432a1d4b7eea1603497eef68 30428 
courier-authlib-ldap_0.66.4-6_amd64.deb
 9301e3a8d3247fc23f99ba657f8fdfb0508a4b92 20318 
courier-authlib-mysql-dbgsym_0.66.4-6_amd64.deb
 408d4c829b5e4f29ff3e9678a71bd42abdb2ae2f 25930 
courier-authlib-mysql_0.66.4-6_amd64.deb
 3631b553006188a3ebd7dabce42e08be16196a28 9452 
courier-authlib-pipe-dbgsym_0.66.4-6_amd64.deb
 0d65157920eeb3a02ef929d936109ec99c0410c4 17630 
courier-authlib-pipe_0.66.4-6_amd64.deb
 5b6ed4a83adfa18d164477cdfb5fdae88fea1f3d 20152 
courier-authlib-postgresql-dbgsym_0.66.4-6_amd64.deb
 1ef878fca8db2ed1a0131fef6f98a1b4e195b902 27254 
courier-authlib-postgresql_0.66.4-6_amd64.deb
 7cea32958fdb42731dad0c38c710f2ebe40221ce 15246 
courier-authlib-sqlite-dbgsym_0.66.4-6_amd64.deb
 5b9a3cbe799425782fb1257e14f62711c54783d6 24520 
courier-authlib-sqlite_0.66.4-6_amd64.deb
 1cecf7dc10b48e1f407023d151ec9e24f5e3a3a8 43528 
courier-authlib-userdb-dbgsym_0.66.4-6_amd64.deb
 a27839b701462b75033182fbc52a82de0f79755b 41788 
courier-authlib-userdb_0.66.4-6_amd64.deb
 e58cf7106ece322f19cdd8e2b52b95f83df30d3e 82712 
courier-authlib_0.66.4-6_amd64.deb
Checksums-Sha256:
 4f40203fa68739512c42a9b77e951c77651e6ccfb5f9ee5230e4cbbddf2478b6 2934 
courier-authlib_0.66.4-6.dsc
 c6123d35623978c510105e2f443940ed61b70fd4bcd36c566cdc06a92ec62b69 15876 
courier-authlib_0.66.4-6.debian.tar.xz
 21725727e234d60c60ef4916a0dd3d3372c4373351a20107de63e2536705efcf 16860 
courier-authdaemon_0.66.4-6_amd64.deb
 551c8f146c5af1a9ba88a70099d8c788e4cf24d2ebb0f1b4bc19bb1660ebb1f7 174216 
courier-authlib-dbgsym_0.66.4-6_amd64.deb
 32b12449c53ba394e62a0415aa80b48d533a140722eaccbe732db30e7507390f 5284 
courier-authlib-dev-dbgsym_0.66.4-6_amd64.deb
 84943cad9bbc8d7de6a29fed888968abb0611bf75b2192657edfb3a5edbe5823 111642 
courier-authlib-dev_0.66.4-6_amd64.deb
 321fbab6e74e85123f53eeb9260e214c8666a89ca18d1c712dcb73c9a7a0dbd8 25220 
courier-authlib-ldap-dbgsym_0.66.4-6_amd64.deb
 bc6f31deb8f34abe8a4079bfb13ef14e53d8ec981e1cbf247273b4fdea94e043 30428 
courier-authlib-ldap_0.66.4-6_amd64.deb
 47c60323ee3673a2c33ffd9201278f7c1600da8a4887555789a58bf71a4b1a49 20318 
courier-authlib-mysql-dbgsym_0.66.4-6_amd64.deb
 aa2bf4855359cdf11bc2beee42e23ede1e658e8af052dd6288435ecf10ed74f9 25930 
courier-authlib-mysql_0.66.4-6_amd64.deb
 92e07d8d76c1d3aed512e2ac3dd3be9cb309611ab4fe495437adbf975c8bb40f 9452 
courier-authlib-pipe-dbgsym_0.66.4-6_amd64.deb
 4e1e9d548f07e97e730581791807e8d1c6383a6bd5ed442837ee34d1549a22e5 17630 
courier-authlib-pipe_0.66.4-6_amd64.deb
 48d422e50a1301ae14e8dc42ee366d5f0359404cad97005969e1b38779cfe4cb 20152 
courier-authlib-postgresql-dbgsym_0.66.4-6_amd64.deb
 68d8fcc6296729c9b8f16bef9af12aeaf32ff030e030422be3f72a208ac15dd9 27254 
courier-authlib-postgresql_0.66.4-6_amd64.deb
 ba4331d411b7b76228b6f45d4bba0c04687cb270b2cc5df1963ddb06e60cd8c2 15246 
courier-authlib-sqlite-dbgsym_0.66.4-6_amd64.deb
 683b7c6d200593a3b66446516143915f2f758b52e30d89cccdab660a30155153 24520 
courier-authlib-sqlite_0.66.4-6_amd64.deb
 62ad5a2c2b2cbd6652f7495adf8c81d216b33c8b03d36ee5f1d0f724d2a6fa71 43528 
courier-authlib-userdb-dbgsym_0.66.4-6_amd64.deb
 0d961c0515f0625b902aa7e8ed22744e5f1aac0fcd1fc92c96b834ab1521fc80 41788 
courier-authlib-userdb_0.66.4-6_amd64.deb
 a27e3a89a03b51a21058f52d25e19e8e50e810f33efb3710606c089d5def3f56 82712 
courier-authlib_0.66.4-6_amd64.deb
Files:
 2d8cd550516fa991e7a42bafc50b3701 2934 mail optional 
courier-authlib_0.66.4-6.dsc
 8f714501c877ea4e7ee350d90759d1da 15876 mail optional 
courier-authlib_0.66.4-6.debian.tar.xz
 14bea2a9234a8d2971743b73e6b0e48e 16860 mail optional 
courier-authdaemon_0.66.4-6_amd64.deb
 0df2f278e48e190422c69d05649071de 174216 debug extra 
courier-authlib-dbgsym_0.66.4-6_amd64.deb
 0921a871be959b58b6f6cc29cb664e6a 5284 debug extra 
courier-authlib-dev-dbgsym_0.66.4-6_amd64.deb
 fd6b3be8507bd3c410ae932f4a075339 111642 mail optional 
courier-authlib-dev_0.66.4-6_amd64.deb
 dabfc59f6c5235296d9740153852e4a9 25220 debug extra 
courier-authlib-ldap-dbgsym_0.66.4-6_amd64.deb
 a1ddb4a89c81c6b88644ebc070338359 30428 mail optional 
courier-authlib-ldap_0.66.4-6_amd64.deb
 f7cf32c85dd7a30864078123b8df9d04 20318 debug extra 
courier-authlib-mysql-dbgsym_0.66.4-6_amd64.deb
 0004e8839bd3391199ffdce3029929e7 25930 mail optional 
courier-authlib-mysql_0.66.4-6_amd64.deb
 ccf5fbe954a707c33cf0ec618918cf58 9452 debug extra 
courier-authlib-pipe-dbgsym_0.66.4-6_amd64.deb
 5345eaffa42c61d10e79ca93154c00a0 17630 mail optional 
courier-authlib-pipe_0.66.4-6_amd64.deb
 f06dd68a463e70795e7aad86116e38ca 20152 debug extra 
courier-authlib-postgresql-dbgsym_0.66.4-6_amd64.deb
 6494498f68c64e578ce299e0c278383e 27254 mail optional 
courier-authlib-postgresql_0.66.4-6_amd64.deb
 b36a6208d8bea98436def6a94c241433 15246 debug extra 
courier-authlib-sqlite-dbgsym_0.66.4-6_amd64.deb
 c97a9e7ee9ca5c7e5f434832126eea42 24520 mail optional 
courier-authlib-sqlite_0.66.4-6_amd64.deb
 8be2be9d703c07285d95b7e49166a856 43528 debug extra 
courier-authlib-userdb-dbgsym_0.66.4-6_amd64.deb
 12012c935bbca1072380627612c0d775 41788 mail optional 
courier-authlib-userdb_0.66.4-6_amd64.deb
 2d01ac952ef6e18997f06196b3977555 82712 mail optional 
courier-authlib_0.66.4-6_amd64.deb

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

iQJ8BAEBCgBmBQJW8Sn7XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMEI5MzNEODBGQ0UzRDk4MUEyRDM4RkIw
Qzk5QjcwRUY0RkNCQjA3AAoJEAyZtw70/LsH2F4QAL/hmWyWC1hTJMa8YNFnNKUY
qOxnIBQ3N2vsY6U0ZEVRpYuwV8YXKExUwDJzyPNRNv5LunGVy+X9uAoWo6x0Jrsi
P5TdsQFQKq8gxmaOaNRsu1grEan5+x4w96AsSOwmRb0r8mggrqvEUx+VaxYXcGLj
cJwneVddWZMcmBle4ob2Z0cyWurp/ZSajcMy0JearNt8CA4sx7lKInZ9n36Yze5G
ExhAJVn09JAP7pEwcJ5sdEfsE3y6NxKQFES3XPoRhLRJd8C6QOVuGJdyH0VEZndr
CizBfzCTUPcU/z9o6mK+L8yJh0Xs7yfR4uyC13tC9xeTlgYeeBE0exxKjIxa2rhY
43aliSwN/Tv3FO1J0Ebb8PG604SEjmBTnp2mNvcszWhWohAC18NXWkgIkI+2h4/M
L+1u8QB1dTSQM8MV4ksefccVU/2XhGZUT7jRB/nt1lX9PMMP763AQ7KavfeDbOuX
oJnquBx6/OE5I52J6SjvKIYYPX82jVMh97n1CheIzSRz63+JDkjKmSLvTMYQzCNP
/dniMxgLb59fQSv6rvWDy9Vp+zbjEyJfgSIivI128ko5Mppk8iGP2FEkcJg9O4n1
UL2/tfDvMBTT2T9OMSt9aY1LRUErY6KIxyHDkkoDpszvPNyomcuFPADbedvLBPow
/GSbrwSCcYp2APZQJdPZ
=7Hya
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to