[knot-dns-users] Knot 2.1.0-rc1

Ondřej Surý ondrej.sury at nic.cz
Thu Jan 14 10:40:54 CET 2016


Hi Bastie,

the code to upgrade your KASB DB should be in the postinst script, but could you try manually running:

    /usr/sbin/knotc conf-read | \
        sed -n 's/.*kasp-db = "\(.*\)"/\1/p'

and send the output back?

Then try running full script with debug output, whether this gets executed?

#!/bin/bash -x
    /usr/sbin/knotc conf-read | \
        sed -n 's/.*kasp-db = "\(.*\)"/\1/p' | \
        while read KASPDB; do
            su --shell /bin/bash --command "/usr/sbin/keymgr --dir '$KASPDB' init" knot;
        done


Cheers,
--
 Ondřej Surý -- Technical Fellow
 --------------------------------------------
 CZ.NIC, z.s.p.o.    --     Laboratoře CZ.NIC
 Milesovska 5, 130 00 Praha 3, Czech Republic
 mailto:ondrej.sury at nic.cz    https://nic.cz/
 --------------------------------------------

----- Original Message -----
> From: "Bastien Durel" <bastien at durel.org>
> To: knot-dns-users at lists.nic.cz
> Sent: Thursday, January 14, 2016 10:34:13 AM
> Subject: [knot-dns-users] Knot 2.1.0-rc1

> Hello,
> 
> Knot 2.1.0-rc1 made its way to the debian repository. I installed it as
> part of today's upgrade, but it seems to not like my configuration :
> 
> For each zone I got these messages :
> 
> 2016-01-14T10:07:00 error: [durel.org] DNSSEC, failed to initialize
> (invalid parameter)
> 2016-01-14T10:07:00 error: [durel.org] failed to store changes into
> journal (invalid parameter)
> 2016-01-14T10:07:00 error: [durel.org] zone load failed (invalid
> parameter)
> 
> I log zone events up to notice level.
> 
> my default template is :
> template:
>  - id: "default"
>    storage: "/var/lib/knot/external"
>    ixfr-from-differences: "on"
>    dnssec-signing: "on"
>    kasp-db: "keys"
>    serial-policy: "increment"
> 
> And this zone is defined as :
>  - domain: "durel.org."
>    file: "durel.org"
>    notify: "corrin"
>    acl: "acl_corrin"
> 
> Which is this "invalid parameter ?"
> 
> Thanks,
> 
> --
> Bastien
> 
> 
> _______________________________________________
> knot-dns-users mailing list
> knot-dns-users at lists.nic.cz
> https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users


More information about the knot-dns-users mailing list