[Pkg-pdns-maintainers] Bug#793188: pdns-backend-mysql: Generated pdns.local.gmysql.conf is missing port variable

Koen C. debian-bug-pdns-backend at layer7.be
Wed Jul 22 07:59:36 UTC 2015


Package: pdns-backend-mysql
Version: 3.4.1-4+deb8u2
Severity: important

Dear Maintainer,

* Installing pdns-backend-mysql with dbconfig-common 
* What did I do: Passwords for administrative user and powerdns user are given during setup, installation with 'apt-get install pdns-backend-mysql pdns-server'
* Actual outcome: Configuration fails with messages:

Creating config file /etc/dbconfig-common/config with new version
Setting up libbotan-1.10-0 (1.10.8-2) ...
Setting up libcrypto++9 (5.6.1-6+deb8u1) ...
Setting up libpolarssl7 (1.3.9-2.1) ...
Setting up pdns-server (3.4.1-4+deb8u2) ...
Creating user and group pdns...done

Creating config file /etc/powerdns/pdns.conf with new version

Creating config file /etc/default/pdns with new version

Creating config file /etc/powerdns/pdns.d/pdns.local.conf with new version

Creating config file /etc/powerdns/pdns.d/pdns.simplebind.conf with new version
Setting up pdns-backend-mysql (3.4.1-4+deb8u2) ...
dbconfig-common: writing config to /etc/dbconfig-common/pdns-backend-mysql.conf

Creating config file /etc/dbconfig-common/pdns-backend-mysql.conf with new version

Creating config file /etc/powerdns/pdns.d/pdns.local.gmysql.conf with new version
mysql: [ERROR] mysql: Empty value for 'port' specified.
unable to connect to mysql server.
error encountered creating user:
mysql: [ERROR] mysql: Empty value for 'port' specified
dbconfig-common: pdns-backend-mysql configure: ignoring errors from here forwards
populating database via sql...  done.
dbconfig-common: flushing administrative password
Processing triggers for libc-bin (2.19-18) ...
Processing triggers for systemd (215-17+deb8u1) ...
Processing triggers for pdns-server (3.4.1-4+deb8u2) ...

* Expected outcome: port correctly set or (if applicable/possible) commented in config file


-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages pdns-backend-mysql depends on:
ii  dbconfig-common        1.8.47+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  libc6                  2.19-18
ii  libgcc1                1:4.9.2-10
ii  libmysqlclient18       5.5.44-0+deb8u1
ii  libstdc++6             4.9.2-10
ii  pdns-server            3.4.1-4+deb8u2
ii  ucf                    3.0030
ii  zlib1g                 1:1.2.8.dfsg-2+b1

Versions of packages pdns-backend-mysql recommends:
ii  mysql-client  5.7.7-rc-2debian8

Versions of packages pdns-backend-mysql suggests:
pn  mysql-server  <none>

-- debconf information:
  pdns-backend-mysql/internal/reconfiguring: false
  pdns-backend-mysql/dbconfig-upgrade: true
  pdns-backend-mysql/db/app-user: pdns
  pdns-backend-mysql/remote/newhost:
* pdns-backend-mysql/dbconfig-install: true
  pdns-backend-mysql/missing-db-package-error: abort
  pdns-backend-mysql/remove-error: abort
  pdns-backend-mysql/internal/skip-preseed: false
  pdns-backend-mysql/db/dbname: pdns
  pdns-backend-mysql/passwords-do-not-match:
  pdns-backend-mysql/dbconfig-remove:
  pdns-backend-mysql/purge: false
  pdns-backend-mysql/upgrade-error: abort
  pdns-backend-mysql/database-type: mysql
  pdns-backend-mysql/remote/host:
  pdns-backend-mysql/upgrade-backup: true
  pdns-backend-mysql/mysql/method: unix socket
  pdns-backend-mysql/dbconfig-reinstall: false
* pdns-backend-mysql/install-error: ignore
  pdns-backend-mysql/mysql/admin-user: root
  pdns-backend-mysql/remote/port:



More information about the Pkg-pdns-maintainers mailing list