Your message dated Sat, 15 Sep 2012 21:19:45 +0000 with message-id <[email protected]> and subject line Bug#684332: fixed in tango 7.2.6+dfsg-14 has caused the Debian Bug report #684332, regarding dpkg: [start-sop-daemon] problem with --chuid 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.) -- 684332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684332 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dpkg Version: 1.16.8 Severity: normal Dear Maintainer, I try to understant I problem I have with one of my package tango-db this package provide a service started with the start-stop-daemon command start-stop-daemon --start --quiet --chuid tango:tango --background\ --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_ARGS \ || return 2 as you can see I change the user and the group before launching it with --chuid my daemon then connect to a mysql database where it can access a tango table. no when I do a invoke-rc.d tango-db start, I got this error message (I removed the --bacground for this purpose, but the result is the same with) root@mordor:/etc/init.d# invoke-rc.d tango-db start main(): arrived Received a CORBA::Exception Tango exception Severity = ERROR Error reason = CANNOT_CONNECT_MYSQL Desc : Failed to connect to TANGO database (error = Access denied for user 'picca'@'localhost' (using password: NO)) Origin : DataBase::init_device() Exiting as you can see the user is picca@localhost instead of tango@localhost (I became root using the su command to invoke the init script) now If I log on a tty as root and type invoke-rc.d tango-db start everythings went fine (I check that this time that my daemon is connecting with the write tango@localhost) So my question is why this wrong user logging, start-stop-daemon was supposed to change it for the tango user. ??? the only difference I see is this su logging. thanks for your help Frederic -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-486 Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg depends on: ii libbz2-1.0 1.0.6-4 ii libc6 2.13-35 ii liblzma5 5.1.1alpha+20120614-1 ii libselinux1 2.1.9-5 ii tar 1.26-4 ii zlib1g 1:1.2.7.dfsg-13 dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.9.7.4 -- no debconf information
--- End Message ---
--- Begin Message ---Source: tango Source-Version: 7.2.6+dfsg-14 We believe that the bug you reported is fixed in the latest version of tango, 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. Picca Frédéric-Emmanuel <[email protected]> (supplier of updated tango 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: Sat, 15 Sep 2012 08:31:51 +0200 Source: tango Binary: liblog4tango4 liblog4tango4-dev liblog4tango4-dbg liblog4tango4-doc libtango7 libtango7-dev libtango7-dbg libtango7-doc libtango-tools tango-common tango-db tango-db-dbg tango-starter tango-starter-dbg tango-accesscontrol tango-accesscontrol-dbg tango-test tango-test-dbg Architecture: source i386 all Version: 7.2.6+dfsg-14 Distribution: unstable Urgency: low Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Picca Frédéric-Emmanuel <[email protected]> Description: liblog4tango4 - logging for TANGO - shared library liblog4tango4-dbg - logging for TANGO - debug library liblog4tango4-dev - logging for TANGO - development library liblog4tango4-doc - logging for TANGO - documentation libtango-tools - TANGO distributed control system - common executable files libtango7 - TANGO distributed control system - shared library libtango7-dbg - TANGO distributed control system - debug library libtango7-dev - TANGO distributed control system - development library libtango7-doc - TANGO distributed control system - documentation tango-accesscontrol - TANGO distributed control system - accesscontrol server tango-accesscontrol-dbg - TANGO distributed control system - accesscontrol server tango-common - TANGO distributed control system - common files tango-db - TANGO distributed control system - database server tango-db-dbg - TANGO distributed control system - database server tango-starter - TANGO distributed control system - control server tango-starter-dbg - TANGO distributed control system - control server tango-test - TANGO distributed control system - test device tango-test-dbg - TANGO distributed control system - test device Closes: 684332 Changes: tango (7.2.6+dfsg-14) unstable; urgency=low . * debian/patch - 0002-debian-my.cnf.in.patch (updated) (Closes: #684332) put the right user in my.cnf using dbconfig-common template engine Checksums-Sha1: 5d18219d5b9c88e92f39d03c2f993946a1f13453 2247 tango_7.2.6+dfsg-14.dsc 9dc923638ab87d397bc0dc98f5e743f30852989a 49789 tango_7.2.6+dfsg-14.debian.tar.gz 231a261b92e6f3a891082cf6c1c8577376c81457 49276 liblog4tango4_7.2.6+dfsg-14_i386.deb 01bc1826b3ad685e5759185ecd841fbd727d9bdb 22194 liblog4tango4-dev_7.2.6+dfsg-14_i386.deb 9989b73b55879ee9daa5d622f31e168d3fb9e025 256490 liblog4tango4-dbg_7.2.6+dfsg-14_i386.deb 702563abf3d1364e0dd517d37935d50383f6c2da 227982 liblog4tango4-doc_7.2.6+dfsg-14_all.deb 5f1c8b164f7c58d1cbb823402bc7e4ab92f86f21 1329328 libtango7_7.2.6+dfsg-14_i386.deb d75f6e5fff67681315cc0e64275099d7ce6f9c9c 226536 libtango7-dev_7.2.6+dfsg-14_i386.deb 34c3fc282c50ccd5afd593a055e6d0c340b67132 11067856 libtango7-dbg_7.2.6+dfsg-14_i386.deb 933b87e9883df53b189197c3f4142c88a1283d00 4559366 libtango7-doc_7.2.6+dfsg-14_all.deb 7d8f4897c391273a975e9b8d5c38c5234c24c81f 27308 libtango-tools_7.2.6+dfsg-14_i386.deb 02b52beb8540ac651ab74ff9e46c78e01d08d64f 6084 tango-common_7.2.6+dfsg-14_all.deb d92cf0eec2d8fedf04eb030e1a77480909576e41 199484 tango-db_7.2.6+dfsg-14_i386.deb b1cc816bf81b3ed33dbb1fab3fcd7f315dc824a6 1125012 tango-db-dbg_7.2.6+dfsg-14_i386.deb 2e33083dc8dae5383d7229d50a86ef63db4c150c 115716 tango-starter_7.2.6+dfsg-14_i386.deb d078fdb581c81caf20ce3d0fb7cb30c166a31fb6 1262414 tango-starter-dbg_7.2.6+dfsg-14_i386.deb abd3d246f67c7a2a6d8d92df133c4210e593b811 77194 tango-accesscontrol_7.2.6+dfsg-14_i386.deb 3606f1bb06b6672ba670156265240d5bca4f16a2 957194 tango-accesscontrol-dbg_7.2.6+dfsg-14_i386.deb ee1996489661df76184bf6a7e6255dae9fcf7847 75952 tango-test_7.2.6+dfsg-14_i386.deb 47bbc389e5c4479ab80e3c413485245e85f7b24c 704280 tango-test-dbg_7.2.6+dfsg-14_i386.deb Checksums-Sha256: db919f7519eb5c6170ecedecdf7f910e68296ee06e73c9024ad68f75f13b4e55 2247 tango_7.2.6+dfsg-14.dsc 0dfc790d0eeb62650241806eb1c5ae4fcc3819a2025101b235092da223a98d6b 49789 tango_7.2.6+dfsg-14.debian.tar.gz 5b374788c8418864dc72f8778ebcdbef8876e5b336d237870aa940f12c2b5b87 49276 liblog4tango4_7.2.6+dfsg-14_i386.deb ab14863b8a58944dee83919ba0429f1b8c893c4536ca9211ed3574b0c728b59c 22194 liblog4tango4-dev_7.2.6+dfsg-14_i386.deb 497f815374b80385ff53db322dda59a3c36b346ad76ae6757cb5424c6c02afcc 256490 liblog4tango4-dbg_7.2.6+dfsg-14_i386.deb 6ddb343b5f8e84e16f83955953c2934d2697423b47e746eded3a9f8a46004199 227982 liblog4tango4-doc_7.2.6+dfsg-14_all.deb a80fad90cac860a706b9bf9c7c5c4b35b94e57722db93e1d70cbf5555796417e 1329328 libtango7_7.2.6+dfsg-14_i386.deb c9414ba46e7dfef2565747c2a19165d3b65f334ab8bf63221218c73694d49762 226536 libtango7-dev_7.2.6+dfsg-14_i386.deb 1aa5a2fa323597f55c7cd0cb676654bf463afd562f970cc30e43c50f07c72484 11067856 libtango7-dbg_7.2.6+dfsg-14_i386.deb 97f3ff3aaae594b2383f5978224e541070f807211e9fe30e1f13fb075e56ee87 4559366 libtango7-doc_7.2.6+dfsg-14_all.deb 1433453ce899ffec895dc9331225fc070bb636245e390d786ba1df4c46af78d1 27308 libtango-tools_7.2.6+dfsg-14_i386.deb cbf720bd1edd1727dc959b35d8e2da51f9ff9f170b38f67d8046c590a4d58a15 6084 tango-common_7.2.6+dfsg-14_all.deb 743e894c0f1818845a68833902296ad410c254302d09c5e7f62876a9ea452d40 199484 tango-db_7.2.6+dfsg-14_i386.deb 6914f066e2640aca0d5cc200196a496829213192369b656fc6438003995d2740 1125012 tango-db-dbg_7.2.6+dfsg-14_i386.deb 29f173ddbb5fcf4e3bbe7772e0eee173d0790a978c7505dbc0998660f53963bf 115716 tango-starter_7.2.6+dfsg-14_i386.deb 29538f259f35f5013b2cb7f84d242938ee2ccca2fbf531c3a994e1c67519e7b0 1262414 tango-starter-dbg_7.2.6+dfsg-14_i386.deb beac045f705f68506b992e9d71a674935eb0d8b67231ad8fff2357f1498a5420 77194 tango-accesscontrol_7.2.6+dfsg-14_i386.deb 74c74b447af6071732d914edbf58b0378ebf55a78aec48018c837dd3491807a6 957194 tango-accesscontrol-dbg_7.2.6+dfsg-14_i386.deb b4de5cd9a8bf9382958dd553cc5df54dde193c0fd9acfadec96488cfdaf16ad4 75952 tango-test_7.2.6+dfsg-14_i386.deb bd359b2eb09edf61eb42a0647ade00b58bcf1f831b739a8563fad6d92b9e7b19 704280 tango-test-dbg_7.2.6+dfsg-14_i386.deb Files: af0398794161926c6bc55bd7625e1ba0 2247 science extra tango_7.2.6+dfsg-14.dsc 16f2b3d5ac3556cd0aca868e8d78db93 49789 science extra tango_7.2.6+dfsg-14.debian.tar.gz c83519edf3991b2418f1b6a0cb74c7ba 49276 libs extra liblog4tango4_7.2.6+dfsg-14_i386.deb 746c900c6aed1da66483c0bd7b7894cd 22194 libdevel extra liblog4tango4-dev_7.2.6+dfsg-14_i386.deb 0251d64575aaaa9f4df5124e7377ccaa 256490 debug extra liblog4tango4-dbg_7.2.6+dfsg-14_i386.deb 4a10eeef8448b1f270de10189dd7a581 227982 doc extra liblog4tango4-doc_7.2.6+dfsg-14_all.deb e23118939866084c9ce4f3c6a557d18a 1329328 libs extra libtango7_7.2.6+dfsg-14_i386.deb ad34c67c2d511cbd0f6ef35f9729b93f 226536 libdevel extra libtango7-dev_7.2.6+dfsg-14_i386.deb 2fcae181e898d3b4b379eada36ade94b 11067856 debug extra libtango7-dbg_7.2.6+dfsg-14_i386.deb 40573f99f6133dfd6b3668b5b6e2258c 4559366 doc extra libtango7-doc_7.2.6+dfsg-14_all.deb b02f0063dc2e3c410e1bd778d01cde0f 27308 net extra libtango-tools_7.2.6+dfsg-14_i386.deb 333bb7aa04685ca6689f85b8dfe7ddcb 6084 net extra tango-common_7.2.6+dfsg-14_all.deb c9612b99e3e3f57bc53384eb90e2a43f 199484 net extra tango-db_7.2.6+dfsg-14_i386.deb 5995ea236eb83ea4d907e66fb148771c 1125012 debug extra tango-db-dbg_7.2.6+dfsg-14_i386.deb 713e149de2fa3f3c9feb4bae038189b9 115716 net extra tango-starter_7.2.6+dfsg-14_i386.deb ba2343512ecc7044c0fa10fb3d3d01e1 1262414 debug extra tango-starter-dbg_7.2.6+dfsg-14_i386.deb ac25629b407fd5032d7295bdae0f2c19 77194 net extra tango-accesscontrol_7.2.6+dfsg-14_i386.deb 68ec4b351f616073e5af94ac61e4180b 957194 debug extra tango-accesscontrol-dbg_7.2.6+dfsg-14_i386.deb 9e912cdec6340175035f88bfec2bb68d 75952 net extra tango-test_7.2.6+dfsg-14_i386.deb 877b50f2fbe54fef469cbaf6994a78d4 704280 debug extra tango-test-dbg_7.2.6+dfsg-14_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlBU2KEACgkQtqm6aqWbEXHKhwCglUJsu/r6IrgdAHbZNKYP6BZ2 9ukAnjW3kY/vfGf4wwMZOAs9dhrIlQI6 =wS0m -----END PGP SIGNATURE-----
--- End Message ---

