FS#42984 - [powerdns] 3.4 problems: incorrect library dir + missing schema update notification

Attached to Project: Community Packages
Opened by ... (spider007) - Tuesday, 02 December 2014, 09:35 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 09 March 2015, 12:34 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The current powerdns has 2 major issues; a database upgrade is required but the package doesn't notify about that http://doc.powerdns.com/md/authoritative/upgrading/

Second; the path to the libraries is incorrect:

pdns[2214]: Loading '/usr/lib/pdns/libgsqlite3backend.so'
Unable to load module '/usr/lib/pdns/libgsqlite3backend.so': /usr/lib/pdns/libgsqlite3backend.so: cannot open shared object file: No such file or directory
dnsbackend unable to load module in gsqlite3
Our pdns instance exited with code 1

The package puts these files in /usr/lib/powerdns/ (not pdns/ )
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 09 March 2015, 12:34 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 03 December 2014, 10:16 GMT
Hi,

Thanks for reporting, I will fix this. Another bug report recently asked for /usr/lib/pdns to be moved to /usr/lib/powerdns.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 03 December 2014, 10:16 GMT
How can I test this, so that I am sure that the fix will be correct. Do you have "steps to reproduce"?
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 03 December 2014, 10:21 GMT
I think this may be a configuration issue. If you set module-dir in pdns.conf to /usr/lib/powerdns, does it then work as expected?

I'll look into the database upgrade.
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 03 December 2014, 12:30 GMT
Adding a message at upgrade time that informs about both the schema upgrade and the location of the modules.

The updated package will appear in [community] shortly.
Comment by ... (spider007) - Monday, 02 March 2015, 15:55 GMT
  • Field changed: Percent Complete (100% → 0%)
This fix works; but please fix the instructions to:

module-dir=/usr/lib/pdns
Comment by Alexander F. Rødseth (xyproto) - Monday, 09 March 2015, 12:34 GMT
The library files are installed to: /usr/lib/powerdns, not /usr/lib/pdns. Closing this one. Please re-open if I have misunderstood something.

Loading...