Bug#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-03-17 Thread Marc Haber
retitle #701798 please make it possible to run PowerDNS without bind backend
tags #701798 wontfix upstream
thanks

On Mon, Mar 04, 2013 at 10:49:41AM +0400, Nikolay Shaplov wrote:
 More correct answer is bind plugin will fail if there is no libsqlite3-0 lib.

The bind backend is not a plugin. It is always compiled in and cannot
be turned off. If you want that to happen, you'll need to file a
ticket upstream, and I have already been told by upstream that the
answer will be please send working, tested and documented code. I am
therefore tagging this Debian bug wontfix upstream.

 Right now I have a custom build of pdns 3.1 without any backends exept
 gpgsql

and bind. Try it.

 I think it is a bad idea to include bind plugin in base package, because 
 there 
 is no way to throw it out when it is not used.

Right. There currently is no way to throw the bind backend from any
PowerDNS installation.
 
 Moreover, when I updated pdns 3.0 with normal pdns 3.1 everything
 stopped working because installer brought bind plugin configuration
 that overrided my own pgsql configuration...

Did you read NEWS.Debian? You should.

The change was necessary to make PowerDNS run directly after
installation at the cost of breaking existing installations. A tough
decision, but I had to take it.

 1. Move bind plugin into separate package

Not possible. The bind backend is not a plugin.

Greetings
Marc


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



Bug#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-03-03 Thread Marc Haber
On Wed, Feb 27, 2013 at 11:01:51AM +0100, Peter van Dijk wrote:
 The bindbackend, which is part of pdns-server 3.1, uses sqlite3 for
 key storage.

So a system running without libsqlite3-0 with bind backend won't be
able to do DNSSEC? Would it fail gracefully or fatally in that
situation?

If PowerDNS handles this issue clearly, the dependency could be
relaxed to a Recommends, but I'm not going to do that if the bind
backend dies in that situation without clearly saying that sqlite3 is
needed.

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#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-03-03 Thread Peter van Dijk
Hi,

On Mar 3, 2013, at 17:44 , Marc Haber wrote:

 On Wed, Feb 27, 2013 at 11:01:51AM +0100, Peter van Dijk wrote:
 The bindbackend, which is part of pdns-server 3.1, uses sqlite3 for
 key storage.
 
 So a system running without libsqlite3-0 with bind backend won't be
 able to do DNSSEC? Would it fail gracefully or fatally in that
 situation?


I'm pretty sure the answer is 'fatally'.

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#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-03-03 Thread Marc Haber
On Sun, Mar 03, 2013 at 07:55:55PM +0100, Peter van Dijk wrote:
 On Mar 3, 2013, at 17:44 , Marc Haber wrote:
  On Wed, Feb 27, 2013 at 11:01:51AM +0100, Peter van Dijk wrote:
  The bindbackend, which is part of pdns-server 3.1, uses sqlite3 for
  key storage.
  
  So a system running without libsqlite3-0 with bind backend won't be
  able to do DNSSEC? Would it fail gracefully or fatally in that
  situation?
 
 
 I'm pretty sure the answer is 'fatally'.

Too bad. So the dependency has to stay. I'll close this bug in a week
if no other arguments surface.

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#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-03-03 Thread Nikolay Shaplov
  The bindbackend, which is part of pdns-server 3.1, uses sqlite3 for
  key storage.
  
  So a system running without libsqlite3-0 with bind backend won't be
  able to do DNSSEC? Would it fail gracefully or fatally in that
  situation?
 I'm pretty sure the answer is 'fatally'.
More correct answer is bind plugin will fail if there is no libsqlite3-0 lib.

Right now I have a custom build of pdns 3.1 without any backends exept gpgsql

When it is configured to work with gpgslq everything works well.

I think it is a bad idea to include bind plugin in base package, because there 
is no way to throw it out when it is not used.

Moreover, when I updated pdns 3.0 with normal pdns 3.1 everything stopped 
working because installer brought bind plugin configuration that overrided my 
own pgsql configuration...

I think that wise edition would be following:

1. Move bind plugin into separate package
2. Create meta-package pdns-backends, that represents any possible backend. If 
no particular backend were specified during installation or were not installed 
before. 

This will allow to create workable instance during first install, remove 
libsqlite3-0 when it is not needed, and be sure that other updates will not 
bring bind backend and it's configuration on future updates.

So please do not close this bug. This bug seems to be more important then I 
think when I reported it :-)


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



Bug#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-02-27 Thread Nikolay Shaplov
Package: pdns-server
Version: 3.1-4
Severity: normal

pnds-server package depends on libsqlite3-0 for no practical reason.

If I manually remove gsqlite3 backend from building and packaging, and 
uninstall libsqlite3-dev
and try to build pdns package manually, pdns-sever and all other backends 
builds successfully and 
all packages creates properly. And in this case pdsn-server does not depends on 
libsqlite3-0. 
So it is not source code, it might be some building options or something...

It it not a very good idea to bring libsqlite3-0 on servers where it is not 
really used...


-- System Information:
Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
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.112+nmu2   add and remove users and groups
ii  debconf [debconf-2.0]   1.5.36.1 Debian configuration management sy
ii  libboost-program-option 1.42.0-4 program options library for C++
ii  libboost-serialization1 1.42.0-4 serialization library for C++
ii  libc6   2.11.3-4 Embedded GNU C Library: Shared lib
ii  libcrypto++85.6.0-6  General purpose cryptographic libr
ii  libgcc1 1:4.4.5-8GCC support library
ii  liblua5.1-0 5.1.4-5  Simple, extensible, embeddable pro
ii  libsqlite3-03.7.3-1  SQLite 3 shared library
ii  libstdc++6  4.4.5-8  The GNU Standard C++ Library v3
ii  ucf 3.0025+nmu1  Update Configuration File: preserv
ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime

pdns-server recommends no packages.

Versions of packages pdns-server suggests:
ii  pdns-backend-pgsql [pdns-back 3.1-4  generic PostgreSQL backend for Pow
pn  pdns-recursor none (no description available)

-- Configuration Files:
/etc/powerdns/pdns.d/pdns.simplebind [Errno 2] No such file or directory: 
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#701798: pdns-server package depends on libsqlite3-0 for no practical reason

2013-02-27 Thread Peter van Dijk
The bindbackend, which is part of pdns-server 3.1, uses sqlite3 for key storage.

On Feb 27, 2013, at 10:16 , Nikolay Shaplov wrote:

 Package: pdns-server
 Version: 3.1-4
 Severity: normal
 
 pnds-server package depends on libsqlite3-0 for no practical reason.
 
 If I manually remove gsqlite3 backend from building and packaging, and 
 uninstall libsqlite3-dev
 and try to build pdns package manually, pdns-sever and all other backends 
 builds successfully and 
 all packages creates properly. And in this case pdsn-server does not depends 
 on libsqlite3-0. 
 So it is not source code, it might be some building options or something...
 
 It it not a very good idea to bring libsqlite3-0 on servers where it is not 
 really used...
 
 
 -- System Information:
 Debian Release: 6.0.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
 Architecture: i386 (i686)
 
 Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
 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.112+nmu2   add and remove users and groups
 ii  debconf [debconf-2.0]   1.5.36.1 Debian configuration management 
 sy
 ii  libboost-program-option 1.42.0-4 program options library for C++
 ii  libboost-serialization1 1.42.0-4 serialization library for C++
 ii  libc6   2.11.3-4 Embedded GNU C Library: Shared 
 lib
 ii  libcrypto++85.6.0-6  General purpose cryptographic 
 libr
 ii  libgcc1 1:4.4.5-8GCC support library
 ii  liblua5.1-0 5.1.4-5  Simple, extensible, embeddable 
 pro
 ii  libsqlite3-03.7.3-1  SQLite 3 shared library
 ii  libstdc++6  4.4.5-8  The GNU Standard C++ Library v3
 ii  ucf 3.0025+nmu1  Update Configuration File: 
 preserv
 ii  zlib1g  1:1.2.3.4.dfsg-3 compression library - runtime
 
 pdns-server recommends no packages.
 
 Versions of packages pdns-server suggests:
 ii  pdns-backend-pgsql [pdns-back 3.1-4  generic PostgreSQL backend for 
 Pow
 pn  pdns-recursor none (no description available)
 
 -- Configuration Files:
 /etc/powerdns/pdns.d/pdns.simplebind [Errno 2] No such file or directory: 
 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
 

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