Your message dated Tue, 08 Mar 2016 04:33:59 +0000 with message-id <[email protected]> and subject line Bug#801976: fixed in samba 2:4.3.5+dfsg-3 has caused the Debian Bug report #801976, regarding samba-common: dhclient hook fails if samba not installed 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 [email protected] immediately.) -- 801976: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801976 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: samba-common Version: 2:4.1.17+dfsg-4 Severity: normal Tags: patch Dear Maintainer, On interface changes, I'm getting the following syslog message: | $DATE $HOSTNAME root: /etc/dhcp/dhclient-enter-hooks.d/samba returned non-zero exit status 1 It seems #414841 wasn't fixed properly: the hook script ends with | # reload the samba server | # We don't necessarily have the samba package installed. #414841 | [ -x /etc/init.d/smbd ] && /usr/sbin/invoke-rc.d smbd reload , but this compound statement and thus the whole script will still *fail* if /etc/init.d/smbd is not executable (i.e. samba is not installed), because the exit code of the failed test propagates. You want | [ ! -x /etc/init.d/smbd ] || /usr/sbin/invoke-rc.d smbd reload instead. Patch attached. This bug was until recently shadowed by #692846, which pevented isc-dhcp-client < 4.3.3-5 from noticing the exit code. It now emits the message and stops processing further hooks if one of them fails[1]. I'm reporting against testing's samba-common installed here, but verified manually that experimental's 2:4.3.0+dfsg-2 still contains the same code. Thanks for maintaining samba. Jan [1] According to the changelog; I didn't test the second part, and I don't see how that's useful behaviour, tbh. In fact this is why I'm reporting this as "normal" severity, for possibly preventing other hooks from running, instead of barely minor for the error message. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (800, 'testing'), (550, 'unstable'), (10, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages samba-common depends on: ii debconf [debconf-2.0] 1.5.57 ii dpkg 1.18.3 ii ucf 3.0030 Versions of packages samba-common recommends: pn samba-common-bin <none> samba-common suggests no packages. -- debconf information: samba-common/encrypt_passwords: true samba-common/dhcp: false samba-common/workgroup: WORKGROUP samba-common/title: samba-common/do_debconf: true--- debian/samba-common.dhcp.orig 2015-09-26 21:36:02.000000000 +0200 +++ debian/samba-common.dhcp 2015-10-16 16:41:39.674299756 +0200 @@ -68,7 +68,7 @@ # reload the samba server # We don't necessarily have the samba package installed. #414841 - [ -x /etc/init.d/smbd ] && /usr/sbin/invoke-rc.d smbd reload + [ ! -x /etc/init.d/smbd ] || /usr/sbin/invoke-rc.d smbd reload }
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---Source: samba Source-Version: 2:4.3.5+dfsg-3 We believe that the bug you reported is fixed in the latest version of samba, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Jelmer Vernooij <[email protected]> (supplier of updated samba 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 08 Mar 2016 00:24:10 +0000 Source: samba Binary: samba samba-libs samba-common samba-common-bin smbclient samba-testsuite registry-tools libparse-pidl-perl samba-dev python-samba samba-dsdb-modules samba-vfs-modules libsmbclient libsmbclient-dev winbind libpam-winbind libnss-winbind samba-dbg libwbclient0 libwbclient-dev ctdb Architecture: source amd64 all Version: 2:4.3.5+dfsg-3 Distribution: unstable Urgency: medium Maintainer: Debian Samba Maintainers <[email protected]> Changed-By: Jelmer Vernooij <[email protected]> Description: ctdb - clustered database to store temporary data libnss-winbind - Samba nameservice integration plugins libpam-winbind - Windows domain authentication integration plugin libparse-pidl-perl - IDL compiler written in Perl libsmbclient - shared library for communication with SMB/CIFS servers libsmbclient-dev - development files for libsmbclient libwbclient-dev - Samba winbind client library - development files libwbclient0 - Samba winbind client library python-samba - Python bindings for Samba registry-tools - tools for viewing and manipulating the Windows registry samba - SMB/CIFS file, print, and login server for Unix samba-common - common files used by both the Samba server and client samba-common-bin - Samba common files used by both the server and the client samba-dbg - Samba debugging symbols samba-dev - tools for extending Samba samba-dsdb-modules - Samba Directory Services Database samba-libs - Samba core libraries samba-testsuite - test suite from Samba samba-vfs-modules - Samba Virtual FileSystem plugins smbclient - command-line SMB/CIFS clients for Unix winbind - service to resolve user and group information from Windows NT ser Closes: 801976 817036 Changes: samba (2:4.3.5+dfsg-3) unstable; urgency=medium . * Fix dhclient hook if samba is not installed. Thanks, Jan Braun. Closes: #801976 * Rebuild against current version of ldb in the archive. Closes: #817036 Checksums-Sha1: 515737f53cb64cb9c76378c0798d960464a590f2 3961 samba_4.3.5+dfsg-3.dsc 750f82fb0f5db1bf0c91f84963a596aefb03ef2b 222368 samba_4.3.5+dfsg-3.debian.tar.xz f9a79b31077c7b3b472b0f9af6c8fe7a7d0aa3c1 519940 ctdb_4.3.5+dfsg-3_amd64.deb 10c2df48b6880081d52a1ff6bc2c1bd19b2853f1 103322 libnss-winbind_4.3.5+dfsg-3_amd64.deb 5f961193cfedb1f35102cc1cb533b2ba8521a067 119318 libpam-winbind_4.3.5+dfsg-3_amd64.deb 7b433f56205693065f0cd8c8a42dc5677b3bff68 182714 libparse-pidl-perl_4.3.5+dfsg-3_amd64.deb b27e02cd1067fa0e357cc4e83272d410ef1265ac 131100 libsmbclient-dev_4.3.5+dfsg-3_amd64.deb 99f825fe9e962078cee3206b8a100c200348021a 144720 libsmbclient_4.3.5+dfsg-3_amd64.deb 0dc553ed50cbbda2a7a6fe7c6adc4922a3a27d2f 103408 libwbclient-dev_4.3.5+dfsg-3_amd64.deb 944122349495b7c339d5ac9ede23002a7b5fd9c3 117344 libwbclient0_4.3.5+dfsg-3_amd64.deb 919c4a823e72d7c36bb373c99c4780e3d5087698 1145406 python-samba_4.3.5+dfsg-3_amd64.deb 46dfa05e501f47dbceaff4226ad83ef3a534e3ca 119112 registry-tools_4.3.5+dfsg-3_amd64.deb f42cc678f847cacd481b28aaaa90339b5b1c2013 592338 samba-common-bin_4.3.5+dfsg-3_amd64.deb f26bbd906c0ea2101d56a79caaa8fc971ae728a1 160642 samba-common_4.3.5+dfsg-3_all.deb 60ff0d937a695bd52aa075ccc3679fd8d4501575 34100562 samba-dbg_4.3.5+dfsg-3_amd64.deb f41336bcec81a6c589baaab03d5f4994ce745113 370542 samba-dev_4.3.5+dfsg-3_amd64.deb ece4ace77b0829c8342ba9c2c818b2dd2dffdff0 305592 samba-dsdb-modules_4.3.5+dfsg-3_amd64.deb 09448ce268d973ccc37ec9d6cd1480fb23bc66cc 5285212 samba-libs_4.3.5+dfsg-3_amd64.deb 079ec0588743d50723fae9d6c111a91509e8cf6c 1712040 samba-testsuite_4.3.5+dfsg-3_amd64.deb b431af5632fede700b3b8d8ff9948cd5eb73349c 356752 samba-vfs-modules_4.3.5+dfsg-3_amd64.deb 59682303dc44505c75c36401e93dad675265b276 987616 samba_4.3.5+dfsg-3_amd64.deb 529ff5a6f77367a24c378618790217c3b985d98b 399578 smbclient_4.3.5+dfsg-3_amd64.deb 9bf0444ceedd94651dac98d7d9ac614ee27bb4ff 502746 winbind_4.3.5+dfsg-3_amd64.deb Checksums-Sha256: b57e1000dc8fce31398afedf3249c74fdea2bcf6018c17677e46e09a8257cf8f 3961 samba_4.3.5+dfsg-3.dsc 087748230fd28df922131ce4ec3c2500b5c0f8df1a3d24286130259fbb98e293 222368 samba_4.3.5+dfsg-3.debian.tar.xz c210b2235a4fdeb445cfdc0a4c3eee7a9241d12d3b64ed070c29d89bfbb2004f 519940 ctdb_4.3.5+dfsg-3_amd64.deb 91f2d8981077533bd9a6ef2f10e6de0fa8de2ed86c9917f640d9737305caffc1 103322 libnss-winbind_4.3.5+dfsg-3_amd64.deb f9ec803b215c862c3b991cd6ac7ee1968078ff85fc2a8f92f6bbdfc73b2a566f 119318 libpam-winbind_4.3.5+dfsg-3_amd64.deb ce6a2e87d3af7919ddc02ff0d8e6cbc7e75f326d7ed89d669525942836e90e70 182714 libparse-pidl-perl_4.3.5+dfsg-3_amd64.deb dac8820c1dc12755dec92aa8284d955393da8923cab1083385c484b80744daf8 131100 libsmbclient-dev_4.3.5+dfsg-3_amd64.deb 16e0f26a125978496c4f442ab6fce0f4eefea99a755640949c1681bb1c21c321 144720 libsmbclient_4.3.5+dfsg-3_amd64.deb b2bf20980538c7b1f3c15eb79afa9e8105a7d05207864bb580bee4c5dbec73a7 103408 libwbclient-dev_4.3.5+dfsg-3_amd64.deb 6bcefd25da51c6f16fe4a97b000bab294451f256c8b524ee8235679775fc1e5b 117344 libwbclient0_4.3.5+dfsg-3_amd64.deb 047b3a115b1e1abe8576516ccbe17c760f3fd777f22fb5b4d0c97dc4d2f35f84 1145406 python-samba_4.3.5+dfsg-3_amd64.deb db82b5d71b4117f75c904a14f2da2de33e4d98ee85abac69139cc81dd6d59e33 119112 registry-tools_4.3.5+dfsg-3_amd64.deb 47b2a0770a16c1847c968156932fe8eef2f18e72ad75ac6764d92f17293e7915 592338 samba-common-bin_4.3.5+dfsg-3_amd64.deb 9279a1138a81c25fb9333c7a686e8b818010df098a57b624864634ff867bebcf 160642 samba-common_4.3.5+dfsg-3_all.deb 7a6b0391c2bea912388bb2665f157ccaf925a10e2721def7fd1eb6f54e83e678 34100562 samba-dbg_4.3.5+dfsg-3_amd64.deb e9b8c3a82240937685095a53af7c8d81216b5e26d0d456890d7c34d738bcf461 370542 samba-dev_4.3.5+dfsg-3_amd64.deb b2a7587c3cc6fb4858095eb381d72a7a5c8be4b5c705498dd5dc685dbb8fd8a7 305592 samba-dsdb-modules_4.3.5+dfsg-3_amd64.deb 8e9e969f4e345fc741263d7be476791d005270f330d8c80f433e0ad08ab3ca17 5285212 samba-libs_4.3.5+dfsg-3_amd64.deb 87fcbd3a6a574b8819722a3308aa278c6f2b36bbaddf2093b76c8dce1cf161e2 1712040 samba-testsuite_4.3.5+dfsg-3_amd64.deb d7595c1dba67871fb82179335cca9d86b4e2d07b8ffaab9935f6bbc3c4d0bd22 356752 samba-vfs-modules_4.3.5+dfsg-3_amd64.deb 09ba4ec26c55aaa17f346d0c984421421df077286e57a5b2ffcc52b4eef5c507 987616 samba_4.3.5+dfsg-3_amd64.deb f9ac10a0154945facf1abc1fc6efde3c052912b69db2871105ca7867676f1d3b 399578 smbclient_4.3.5+dfsg-3_amd64.deb bf3856e5079690cf328594b8c6a940098564a2f2ab6a6de233b0c62570a836e7 502746 winbind_4.3.5+dfsg-3_amd64.deb Files: 930c2688471be87b65c65cf0f30cdb9c 3961 net optional samba_4.3.5+dfsg-3.dsc ec3e9579ce9d5c1aec262da2b398cd6e 222368 net optional samba_4.3.5+dfsg-3.debian.tar.xz d03534368d6503d93b475eab4325a3da 519940 net optional ctdb_4.3.5+dfsg-3_amd64.deb eb20e0c9fda2c227d8d4f4fe69e2f441 103322 net optional libnss-winbind_4.3.5+dfsg-3_amd64.deb 317a778e8a5536943ff630f6c94774b5 119318 net optional libpam-winbind_4.3.5+dfsg-3_amd64.deb 9a12daeffdd11fd386a8b0d620560cd2 182714 perl optional libparse-pidl-perl_4.3.5+dfsg-3_amd64.deb fdbd0706fe88fcf9df6bbaff99b0b7ab 131100 libdevel extra libsmbclient-dev_4.3.5+dfsg-3_amd64.deb abae520b0c36f61ff57734e3d0c91d11 144720 libs optional libsmbclient_4.3.5+dfsg-3_amd64.deb 8dc1dbc6dfd966728b0dd52ebee19ff0 103408 libdevel optional libwbclient-dev_4.3.5+dfsg-3_amd64.deb f97d0cf3dcbaa3e1417f880f46917184 117344 libs optional libwbclient0_4.3.5+dfsg-3_amd64.deb 5c5ba6040d52fe7bbf893bc8be211172 1145406 python optional python-samba_4.3.5+dfsg-3_amd64.deb f778d77c2b3ac863fa0c5a440a32eae3 119112 net optional registry-tools_4.3.5+dfsg-3_amd64.deb 7c046676b55cde8dd8d39f72bc31b56a 592338 net optional samba-common-bin_4.3.5+dfsg-3_amd64.deb 225ab8a9db698aa62e10188720eb42bc 160642 net optional samba-common_4.3.5+dfsg-3_all.deb ad9a830c01d1435af7e4e131912e8ca9 34100562 debug extra samba-dbg_4.3.5+dfsg-3_amd64.deb f3bd73054e6fb46f74117b25449b51aa 370542 devel optional samba-dev_4.3.5+dfsg-3_amd64.deb 4492201ce7d5fa8b18fa9c05fca33524 305592 libs optional samba-dsdb-modules_4.3.5+dfsg-3_amd64.deb 5513c0f9244b3258158e0ecc9c838fa5 5285212 libs optional samba-libs_4.3.5+dfsg-3_amd64.deb 196f5626a49da3e28fd1728d3d8ec948 1712040 net optional samba-testsuite_4.3.5+dfsg-3_amd64.deb 9d4bd6145ac51a572bdf6a9426d9e730 356752 net optional samba-vfs-modules_4.3.5+dfsg-3_amd64.deb 22ac0566d9378005478659ac73e32e28 987616 net optional samba_4.3.5+dfsg-3_amd64.deb d2d4dd35077ddeaf2413a226f6d39966 399578 net optional smbclient_4.3.5+dfsg-3_amd64.deb f24692187dab2d148ef4e608c14b7430 502746 net optional winbind_4.3.5+dfsg-3_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJW3jvPAAoJEACAbyvXKaRXlPEP/ArUaHZD/aiaDqPvO4J8MWIW vLmyoP+5nM9LSbk2Jo12s7r82bYQTVBrE/6x4zAHVOILjaOTXu4LHQD9xSlZWRl0 DFeDerRDjLuAKbJHBQJL0OL86lR3P2r1mNs7LjVKYcBZshOOwcfEfh3H9aETxSWx Np4i4QcsVd/zXN0ObJ21Vk4uXPIxNW1s4Bq0fZJkFmA7qgpwyOlofp7WUwAboPLU MUGu36iLUhggqD4DOWggTU2zuazUYhL3NenXh7IVEmZgkmc0iXXTWAzR+mDPL/Si O0xrFj6uxJxchxTRKUPkd2DL9vOKGmAcrJ81fgip5wgznj90w1tCIVh33OMDZYgt oJwHBbCZMs8Id5OgF3wP4T9fO5v1+La92zuuX0RXOop03OWsBljTJ9GTIbIRo1dE XMlCz+09fNcEEgQP0jmtMggzrjrM4oTYxj+iz2B8jFeVeB8rFRZ81jrOCucjEM+X iahNV/BlyDtlaLlqdX+DVd4Z84VzsjkbJrRp6lieJIVa+VZYaom5xIThNocTRBmZ 0Xlvl77mYO33AuaShDH9woyGRdpo8G6JqrozWzO3gFFkgy3y7oLBIsHwVVAUXRAO xbd1Gg7wxCA54YDU7AUXfPzQbwt8cCi7rMg1+FmoD00NgErtH0vRR1G3tSfb+zL+ 8cKw6P1VPeKO9eS5eGeb =chGc -----END PGP SIGNATURE-----
--- End Message ---

