Your message dated Sun, 18 Aug 2019 23:30:29 +0000
with message-id <[email protected]>
and subject line Bug#934027: fixed in dbconfig-common 2.0.12
has caused the Debian Bug report #934027,
regarding dbconfig-common cannot create database when using bash 5 in posix 
mode on debian 10
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.)


-- 
934027: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934027
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dbconfig-common
Version: 2.0.11
Severity: important
Tags: patch

Dear Maintainer,

When using bash as shell (dpkg-reconfigure dash -> answer no), the 
dbconfig-common package cannot create databases for packages like roundcube
The problem only seems to occur when bash is in posix mode and is a version of 
5+ (debian 10). debian 9 and lower do not seem to be affected.

The installer fails with message like this:
creating database roundcube: failed.
error encountered creating database:
mysql said: ERROR 1049 (42000): Unknown database 'roundcube'

The problem seems to be that bash changed posix handling of environment 
variables passed to function calls.

Patch is included here: 
https://salsa.debian.org/debian/dbconfig-common/merge_requests/2
The comments to the mentioned merge request include a sample script to 
reproduce the behaviour.


-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dbconfig-common depends on:
ii  debconf [debconf-2.0]  1.5.71
ii  ucf                    3.0038+nmu1

dbconfig-common recommends no packages.

Versions of packages dbconfig-common suggests:
ii  dbconfig-no-thanks  2.0.11

-- debconf information excluded

--- End Message ---
--- Begin Message ---
Source: dbconfig-common
Source-Version: 2.0.12

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: Sun, 18 Aug 2019 20:36:30 +0200
Source: dbconfig-common
Architecture: source
Version: 2.0.12
Distribution: unstable
Urgency: medium
Maintainer: Paul Gevers <[email protected]>
Changed-By: Paul Gevers <[email protected]>
Closes: 934027
Changes:
 dbconfig-common (2.0.12) unstable; urgency=medium
 .
   [ Rafael David Tinoco ]
   * ALTER + GRANT MySQL commands are now split into CREATE and ALTER
     commands due to MySQL having NO_AUTO_CREATE_USER as default setting
     now.
   * MySQL generated config files cannot have empty port variables now.
     Variable is either $dbc_port or the default "3306" value.
   * MySQL authentication plugin can now be configured through debconf
     variable "mysql/dbc_authplugin" OR by declaring "dbc_authplugin"
     variable before calling dbc_go (to guarantee compatibility with
     packages not using libmysqlclient directly).
 .
   [ Paul Gevers ]
   * Improve new template text, thanks go to Justin B Rye
 .
   [ Marius Burkard ]
   * Fix regression with /bin/sh pointing to bash due to changes in its
     POSIX behaviour (Closes: #934027)
Checksums-Sha1:
 3360ff9a60703c315c65ceefb60feef22448fce1 1966 dbconfig-common_2.0.12.dsc
 69b353da8878384063d384588e2c9e4856d4b37b 219784 dbconfig-common_2.0.12.tar.xz
Checksums-Sha256:
 f4f016c988fbc5c44c3beb9a9b32e856695ab80b5d08620468a2a7b86bd61eed 1966 
dbconfig-common_2.0.12.dsc
 3a409f000a4a3b6724faf19645d147b13417b0f4d218474983042acaab8b9d9b 219784 
dbconfig-common_2.0.12.tar.xz
Files:
 63f36739b2bc622faa82b1fb276a2115 1966 admin optional dbconfig-common_2.0.12.dsc
 81592313ca90f3782c3fd2920c6e7479 219784 admin optional 
dbconfig-common_2.0.12.tar.xz

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAl1ZoCMACgkQnFyZ6wW9
dQqDnwgAy0FcCj0IP5//1ARW+ur9NLjNcMaWlrYiCLrfCmYbPFF3o784UtGReqSX
FLhk0tgbD2vU7LzBqziAAEImaf3l1npyvvLvE5L9EwUruvmVJbI+nMEgeodxutDa
0LjVLVxcyPhevHvrnWMvBFysmjr7OkeDjyEhUMjqJHf4ZnoPZGh/tLI/6/koP2T5
tDul3FSzF7WeHRp2eZZ6+bf6vL3lSMRagHgP1BuaYj5SleW+KFPf31Z0p3/JKdPN
vOz70yEOQYtctgdDD9jzyPydmwZz8EK0pebCCLeK3tCPEC+ruOUKTKUUsD64iUeH
9oNr71j77rSvtt18YinUK2VlYxeZ2w==
=ETkj
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to