Your message dated Tue, 26 Jan 2016 21:50:22 +0000 with message-id <[email protected]> and subject line Bug#810846: fixed in dbconfig-common 2.0.1 has caused the Debian Bug report #810846, regarding dbconfig-common: /usr/share/dbconfig-common/dpkg/common: bashism 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.) -- 810846: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810846 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: dbconfig-common Version: 2.0.0 Severity: serious Justification: Policy 10.4 The construct `…` for pre-POSIX style command substitutions is unportable when double quotes are used both inside and outside the substitution. There has recently been an issue raised with POSIX about the interpretation of the standard regarding this issue, as the POSIX standard per se *is* clear on this, but the current interpretation, which is shared by the yash developers, does not match current shell practice. This only affects constructs like: echo "`echo \"foo\"`" which shows foo in almost all current and some historic shells, and "foo" in mksh’s POSIX mode, yash, and some other historic shells. Your script relies on one interpretation of this unportability (and the one which doesn’t match current POSIX at that): tglase@tglase:~ $ grep -r '".*`.*".*`.*"' /usr/share/dbconfig-common /usr/share/dbconfig-common/internal/mysql: dbc_error="mysql said: `cat \"$l_errfile\"`" /usr/share/dbconfig-common/dpkg/common: mkdir -p "`dirname \"$dbc_packageconfig\"`" The effect of this is that, when any package using dbconfig-common is configured while lksh (from the mksh package) or yash is /bin/sh a directory called ‘"’ is created under the current working directory. The fix is trivial: use the modern and recommended (since the 1980s or so) form of command substitution: mkdir -p "$(dirname "$dbc_packageconfig")" Further readings: – GNU autoconf texinfo documentation, section *Portable Shell:: – http://austingroupbugs.net/view.php?id=1015 in which I ask POSIX to standardise on current practice (which would make your script in theory valid, but still unportable; funnily, since people nowadays only ever use ‘`’ to be m̲o̲r̲e̲ portable). -- System Information: Debian Release: stretch/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable') Architecture: x32 (x86_64) Foreign Architectures: i386, amd64 Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/lksh Init: sysvinit (via /sbin/init) Versions of packages dbconfig-common depends on: ii debconf [debconf-2.0] 1.5.58 ii ucf 3.0031 dbconfig-common recommends no packages. Versions of packages dbconfig-common suggests: pn dbconfig-mysql | dbconfig-pgsql | dbconfig-sqlite | dbconfig-sqlite <none> -- debconf information: dbconfig-common/mysql/method: Unix socket * dbconfig-common/remote-questions-default: false dbconfig-common/pgsql/method: TCP/IP dbconfig-common/dbconfig-remove: true dbconfig-common/missing-db-package-error: abort dbconfig-common/db/basepath: dbconfig-common/pgsql/revertconf: false dbconfig-common/pgsql/no-user-choose-other-method: dbconfig-common/pgsql/authmethod-user: password dbconfig-common/database-type: dbconfig-common/pgsql/authmethod-admin: ident dbconfig-common/mysql/admin-user: root dbconfig-common/remote/newhost: dbconfig-common/pgsql/manualconf: dbconfig-common/purge: false dbconfig-common/db/app-user: dbconfig-common/internal/reconfiguring: false dbconfig-common/passwords-do-not-match: dbconfig-common/remote/port: dbconfig-common/remove-error: abort dbconfig-common/dbconfig-install: true dbconfig-common/upgrade-backup: true dbconfig-common/pgsql/changeconf: false dbconfig-common/pgsql/no-empty-passwords: dbconfig-common/dbconfig-upgrade: true dbconfig-common/dbconfig-reinstall: false dbconfig-common/install-error: abort dbconfig-common/pgsql/admin-user: postgres * dbconfig-common/remember-admin-pass: true dbconfig-common/upgrade-error: abort dbconfig-common/remote/host: dbconfig-common/internal/skip-preseed: false dbconfig-common/db/dbname:
--- End Message ---
--- Begin Message ---Source: dbconfig-common Source-Version: 2.0.1 We believe that the bug you reported is fixed in the latest version of dbconfig-common, 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. Paul Gevers <[email protected]> (supplier of updated dbconfig-common 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: SHA256 Format: 1.8 Date: Tue, 26 Jan 2016 21:08:24 +0100 Source: dbconfig-common Binary: dbconfig-common dbconfig-mysql dbconfig-pgsql dbconfig-sqlite dbconfig-sqlite3 dbconfig-no-thanks Architecture: source all Version: 2.0.1 Distribution: unstable Urgency: medium Maintainer: Paul Gevers <[email protected]> Changed-By: Paul Gevers <[email protected]> Description: dbconfig-common - framework that helps packages to manage databases dbconfig-mysql - dbconfig-common MySQL/MariaDB support dbconfig-no-thanks - dbconfig-common bypass dbconfig-pgsql - dbconfig-common PostgreSQL support dbconfig-sqlite - dbconfig-common SQLite support dbconfig-sqlite3 - dbconfig-common SQLite3 support Closes: 556174 809486 810846 Changes: dbconfig-common (2.0.1) unstable; urgency=medium . * Use debian-sys-maint as default admin for MySQL when on localhost and try to retrieve password from /etc/mysql/debian.cnf (Closes: #556174) * Convert of `` to $() (Closes: #810846) * Tests now include posh and lksh as /bin/sh (not yash as that doesn't respect local variables) * Fix internal/pgsql for leaving cruft behind * Add dh-exec to requirements for autopkg-testing to fix current failures * Fix typo in warning message (original report in #812156) * Update Basque translation (Closes: #809486) (Thanks Dooteo) Checksums-Sha1: 2d2cbdd1a9bd117bf19ffcd758ad386c0161a664 1693 dbconfig-common_2.0.1.dsc e54ed44395dc07750e56fcd8bd3926fbbe667901 209600 dbconfig-common_2.0.1.tar.xz ea69de29b851a0ae55e2e0994ee133b6bf134bd1 591860 dbconfig-common_2.0.1_all.deb 9d2d6515d8bac0abf6fbc4d6c5c732ca66d5514c 986 dbconfig-mysql_2.0.1_all.deb 621562c7270dfe48a226314bd1449794dc4ea9d0 1268 dbconfig-no-thanks_2.0.1_all.deb 079934b17ededc36b9ef1a9f097cec46c75e7599 958 dbconfig-pgsql_2.0.1_all.deb 0d36eaad25113fa2b3a91b2c7aa5c3bb37ad8d51 948 dbconfig-sqlite3_2.0.1_all.deb a3608828b0e4e825266748b7f96646a139c6f853 940 dbconfig-sqlite_2.0.1_all.deb Checksums-Sha256: 693af1e4c7248b3e48fd67da192c18aa49279ff3ce3db17edf8303aad533a4a6 1693 dbconfig-common_2.0.1.dsc b36457e7b4461bcdc64dfe45d1e2b3294dcbfd6cbe3e3f8d230dc673b5b67bdf 209600 dbconfig-common_2.0.1.tar.xz 3a0e02b2e9d523beb8946ff448cda2dc351363eb99cf95ae7f124d5c15714f77 591860 dbconfig-common_2.0.1_all.deb a2eb2e4c056c2cef3a8bb09554d6222069fe04a3fab9c3231214a4cba6437522 986 dbconfig-mysql_2.0.1_all.deb 0b77667c5f3660386c2960abee1e5e3ec6efbb3c5de28c143e21c29a31de9225 1268 dbconfig-no-thanks_2.0.1_all.deb e5681effe40e269b0f6180532dad8e4e78f1371d010185036448a9afe46ca5b7 958 dbconfig-pgsql_2.0.1_all.deb 25bd819eb6334e9b9f950e5aec09d2cd40f2d6236a844614e8262ae3f6c69e04 948 dbconfig-sqlite3_2.0.1_all.deb 5c08d62d4a68406cde3f90e42820f06407c047e9a9e8b6a584a166cc79ba8df8 940 dbconfig-sqlite_2.0.1_all.deb Files: f06e42ccf93a584aefdfd0f3d4fb942f 1693 admin optional dbconfig-common_2.0.1.dsc a3725a36637f79aa713f1a1a853481ce 209600 admin optional dbconfig-common_2.0.1.tar.xz 21cef80d1a51dd2fab7705507e8ca4d9 591860 admin optional dbconfig-common_2.0.1_all.deb 2ebee537549f69b98a5d02975c742cd0 986 admin optional dbconfig-mysql_2.0.1_all.deb 0396d9e4606a7f9c5007ac5df82ad2b4 1268 admin optional dbconfig-no-thanks_2.0.1_all.deb 0ed0aeb3a482a2eb7c48c78dd45162cc 958 admin optional dbconfig-pgsql_2.0.1_all.deb 93e948f30cc65011fda81676da0df163 948 admin optional dbconfig-sqlite3_2.0.1_all.deb d728c99e539e52b693d90dd76c30f4f9 940 admin optional dbconfig-sqlite_2.0.1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJWp+VJAAoJEJxcmesFvXUKMp0H/iH9mjO0ZbQ4VG/4mq0vY8QS aoVNj/+HYUcu5Of08Jq1L2/EGzMUq7DjygEKEScZlx/4VldfC9Piyjmb7rjGgu5L FfwZDYXxUSk1opA/yaKmJhurayYcCYhPJ/vNXWE0vEnUBRTBvpS44YMf0bfuIg8t ER2EXy1OucL4w39TJsU8SlPtnd8joFU7XQ5lNlhFyCeL9wDC2ssj+0K4pMm/8Hwp 5Nk6ZddsTpXHdTW5OTh2J2FDc6lxg88n/u6Zrx2cP6xBnIMXEVZYtmA2itszFPIj iHjNy5u3XYb27ZNm+aMKUx/yvUoTRNw7BVZ02B+VIKUf4sj/9HmCHR1s2wtsvlg= =EjLV -----END PGP SIGNATURE-----
--- End Message ---

