Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-10-02 Thread Marc Haber
retitle #681248 does not gracefully handle multiple launch statements
thanks


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-04-30 Thread David Mohr

I just wanted to chime in with my 2c:

It is terrible to intentionally break a configuration on upgrade!

When I do a fresh install, then it is common to do work to get the 
package running (nicely, or at all). I expect some degree of manual 
intervention.


But on upgrade, when there aren't any significant upstream changes (not 
sure if that's entirely true for pdns squeeze-wheezy, but this change 
isn't dependent on upstream anyway) I _do_not_ expect to have to touch 
the configuration. I am always very grateful for Debian providing such 
great upgrade compatibility.


That's why I agree with juha that this is a bad change. It will make 
many people unhappy when they upgrade pdns.


Isn't there a way to conditionally include a conffile? The reference to 
the debian manual sounded like no though. If that really is the case, I 
could possibly write a patch for postinst, if there's a change to get it 
included.


~David


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-01-29 Thread Josip Rodin
On Wed, Jan 23, 2013 at 04:55:34PM +0100, Marc Haber wrote:
 On Tue, Jan 22, 2013 at 11:19:41AM +0100, Josip Rodin wrote:
  On Mon, Jan 21, 2013 at 08:49:13AM +0100, Marc Haber wrote:
   On Thu, Jan 17, 2013 at 01:28:30PM +0100, Josip Rodin wrote:
/etc/powerdns/pdns.d/pdns.simplebind should be shipped in
/usr/share/doc/pdns-server and the postinst should copy it into
the live location when $1 is configure and there is no $2.
   
   Unfortunately, the solution is not _that_ easy since with this
   solution, pdns.simplebind will not become a dpkg conffile, making tens
   of lines of fragile code necessary to handle the file in the
   maintainer scripts.
  
  But do you really need the file to be a conffile? You didn't have it
  *at all* up to its sudden inclusion, and it wasn't a major problem,
  so how would it not being a conffile suddenly become a problem?
 
 Before its addition, PowerDNS did not run after installation and
 needed manual configuration. It will probably be changed in every
 installation, so it is adviseable to have it as a conffile.

But if you're adding something so bare/fragile/whatever that everyone
will probably modify it, what is the purpose of adding conffile handling?
If you already know that the file will probably be modified, then you
already know that it's not supposed to be a conffile.

Please read
http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.3

  [...] a conffile [...] is appropriate only if it is possible to distribute
  a default version that will work for most installations [...]

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-01-23 Thread Marc Haber
On Tue, Jan 22, 2013 at 11:19:41AM +0100, Josip Rodin wrote:
 On Mon, Jan 21, 2013 at 08:49:13AM +0100, Marc Haber wrote:
  On Thu, Jan 17, 2013 at 01:28:30PM +0100, Josip Rodin wrote:
   /etc/powerdns/pdns.d/pdns.simplebind should be shipped in
   /usr/share/doc/pdns-server and the postinst should copy it into
   the live location when $1 is configure and there is no $2.
  
  Unfortunately, the solution is not _that_ easy since with this
  solution, pdns.simplebind will not become a dpkg conffile, making tens
  of lines of fragile code necessary to handle the file in the
  maintainer scripts.
 
 But do you really need the file to be a conffile? You didn't have it
 *at all* up to its sudden inclusion, and it wasn't a major problem,
 so how would it not being a conffile suddenly become a problem?

Before its addition, PowerDNS did not run after installation and
needed manual configuration. It will probably be changed in every
installation, so it is adviseable to have it as a conffile.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-01-22 Thread Josip Rodin
On Mon, Jan 21, 2013 at 08:49:13AM +0100, Marc Haber wrote:
 On Thu, Jan 17, 2013 at 01:28:30PM +0100, Josip Rodin wrote:
  /etc/powerdns/pdns.d/pdns.simplebind should be shipped in
  /usr/share/doc/pdns-server and the postinst should copy it into
  the live location when $1 is configure and there is no $2.
 
 Unfortunately, the solution is not _that_ easy since with this
 solution, pdns.simplebind will not become a dpkg conffile, making tens
 of lines of fragile code necessary to handle the file in the
 maintainer scripts.

But do you really need the file to be a conffile? You didn't have it
*at all* up to its sudden inclusion, and it wasn't a major problem,
so how would it not being a conffile suddenly become a problem?

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-01-20 Thread Marc Haber
On Thu, Jan 17, 2013 at 01:28:30PM +0100, Josip Rodin wrote:
 /etc/powerdns/pdns.d/pdns.simplebind should be shipped in
 /usr/share/doc/pdns-server and the postinst should copy it into
 the live location when $1 is configure and there is no $2.

Unfortunately, the solution is not _that_ easy since with this
solution, pdns.simplebind will not become a dpkg conffile, making tens
of lines of fragile code necessary to handle the file in the
maintainer scripts.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2013-01-17 Thread Josip Rodin
Hi,

Please don't risk breaking working systems.
/etc/powerdns/pdns.d/pdns.simplebind should be shipped in
/usr/share/doc/pdns-server and the postinst should copy it into
the live location when $1 is configure and there is no $2.
The postinst script in this package already has other checks over $2.

-- 
 2. That which causes joy or happiness.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2012-07-12 Thread Marc Haber
On Thu, Jul 12, 2012 at 08:29:55AM +0300, Juha Heinanen wrote:
 Marc Haber writes:
  Does your package contain a NEWS.Debian file in /usr/share/doc/pdns?
  You should read it.
 
 ok, i read it, but i do not like at all the decision to include bind
 backend in every debian pdns-server installation.  perhaps it could be
 done in fresh powerdns installation, but NOT in case of upgrade.  it is
 bad and user unfriendly idea to break working setups during upgrade.

Please send a working and tested patch. This is decidedly non-trivial.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2012-07-11 Thread Juha Heinanen
Package: pdns-server
Version: 3.1-4
Severity: normal

Dear Maintainer,

After I did yesterday 'apt-get dist-upgrade' of my debian wheezy host, pdns
server started to repeatedly write to syslog these messages:

Jul 11 07:28:15 siika pdns[3366]: Our pdns instance exited with code 1
Jul 11 07:28:15 siika pdns[3366]: Respawning
Jul 11 07:28:16 siika pdns[4916]: Guardian is launching an instance
Jul 11 07:28:16 siika pdns[4916]: Reading random entropy from '/dev/urandom'
Jul 11 07:28:16 siika pdns[4916]: This is a guarded instance of pdns
Jul 11 07:28:16 siika pdns[4916]: Fatal error: Trying to set unexisting
parameter 'gmysql-host'

Before this dist-upgrade pdns had worked fine in my wheezy host.



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages pdns-server depends on:
ii  adduser 3.113+nmu3
ii  debconf [debconf-2.0]   1.5.44
ii  libboost-program-options1.49.0  1.49.0-3.1
ii  libboost-serialization1.49.01.49.0-3.1
ii  libc6   2.13-33
ii  libcrypto++95.6.1-6
ii  libgcc1 1:4.7.1-2
ii  liblua5.1-0 5.1.5-2
ii  libpolarssl01.1.4-1
ii  libsqlite3-03.7.13-1
ii  libstdc++6  4.7.1-2
ii  ucf 3.0025+nmu3
ii  zlib1g  1:1.2.7.dfsg-13

pdns-server recommends no packages.

Versions of packages pdns-server suggests:
ii  pdns-backend-mysql [pdns-backend]  3.1-4
ii  pdns-recursor  3.3-3

-- Configuration Files:
/etc/powerdns/pdns.d/pdns.simplebind [Errno 13] Permission denied: 
u'/etc/powerdns/pdns.d/pdns.simplebind'

-- debconf information:
* pdns-server/localaddress: 0.0.0.0
* pdns-server/allowrecursion: 127.0.0.1
* pdns-server/autostart: true



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2012-07-11 Thread Peter van Dijk
Hello,

On Jul 11, 2012, at 19:13 , Juha Heinanen wrote:

 After I did yesterday 'apt-get dist-upgrade' of my debian wheezy host, pdns
 server started to repeatedly write to syslog these messages:
 
 Jul 11 07:28:15 siika pdns[3366]: Our pdns instance exited with code 1
 Jul 11 07:28:15 siika pdns[3366]: Respawning
 Jul 11 07:28:16 siika pdns[4916]: Guardian is launching an instance
 Jul 11 07:28:16 siika pdns[4916]: Reading random entropy from '/dev/urandom'
 Jul 11 07:28:16 siika pdns[4916]: This is a guarded instance of pdns
 Jul 11 07:28:16 siika pdns[4916]: Fatal error: Trying to set unexisting
 parameter 'gmysql-host'
 
 Before this dist-upgrade pdns had worked fine in my wheezy host.


This happens when you have multiple launch= lines (possibly spread over 
different config files). Perhaps the dist-upgrade added a bind config file in 
/etc/powerdns/pdns.d?

Kind regards,
-- 
Peter van Dijk
Netherlabs Computer Consulting BV - http://www.netherlabs.nl/




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2012-07-11 Thread Juha Heinanen
Peter van Dijk writes:

 This happens when you have multiple launch= lines (possibly spread
 over different config files). Perhaps the dist-upgrade added a bind
 config file in /etc/powerdns/pdns.d?

Peter,

Thanks for your response.  Based on date, looks like this is new file in
/etc/powerdns/pdns.d:

4 -rw-r--r-- 1 root root  55 Jun 29 00:00 pdns.simplebind

The error messages disappeared after I deleted this file.  Does deleting
it break something else?

-- Juha



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2012-07-11 Thread Marc Haber
On Wed, Jul 11, 2012 at 08:13:52PM +0300, Juha Heinanen wrote:
 After I did yesterday 'apt-get dist-upgrade' of my debian wheezy host, pdns
 server started to repeatedly write to syslog these messages:

Does your package contain a NEWS.Debian file in /usr/share/doc/pdns?
You should read it.

Greetings
Marc

-- 
-
Marc Haber | I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things.Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 31958062



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#681248: pdns-server: Fatal error: Trying to set unexisting parameter 'gmysql-host'

2012-07-11 Thread Juha Heinanen
Marc Haber writes:

 Does your package contain a NEWS.Debian file in /usr/share/doc/pdns?
 You should read it.

ok, i read it, but i do not like at all the decision to include bind
backend in every debian pdns-server installation.  perhaps it could be
done in fresh powerdns installation, but NOT in case of upgrade.  it is
bad and user unfriendly idea to break working setups during upgrade.

-- juha



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org