Merge ~lvoytek/ubuntu/+source/bind9:revert-inline-signing-enforcement-jammy into ubuntu/+source/bind9:ubuntu/jammy-devel
Status: | Work in progress |
---|---|
Proposed branch: | ~lvoytek/ubuntu/+source/bind9:revert-inline-signing-enforcement-jammy |
Merge into: | ubuntu/+source/bind9:ubuntu/jammy-devel |
Diff against target: |
354 lines (+290/-3) 6 files modified
debian/README.Debian (+14/-1) debian/changelog (+12/-0) debian/control (+5/-1) debian/patches/lp2015793-revert-inline-signing-enforcement.patch (+253/-0) debian/patches/series (+1/-0) debian/rules (+5/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email:
|
Description of the change
Reverted the inline-signing line requirement added in the MRE.
PPA: https:/
Tests to confirm
Install from scratch:
# lxc launch images:ubuntu/jammy test-bind9
# lxc exec test-bind9 bash
# apt update && apt dist-upgrade -y
# apt install bind9 software-
# add-apt-repository ppa:lvoytek/
# apt update && apt upgrade -y
# cat <<EOF >/etc/bind/
options { directory "/var/cache/bind"; listen-on port 53 { 127.0.0.1; }; allow-query { any; }; recursion yes; };
EOF
# cat <<EOF >/etc/bind/
zone "localdomain.test" { type master; file "/etc/bind/
EOF
# mkdir -p /etc/bind/zones/
# cat <<EOF >/etc/bind/
\$TTL 604800
@ IN SOA localdomain.test. root.localdomai
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.localdomain.
ns IN A 127.0.0.1
EOF
# systemctl restart bind9
> no output
Update from broken:
# lxc launch images:ubuntu/jammy test-bind9
# lxc exec test-bind9 bash
# apt update && apt dist-upgrade -y
# apt install bind9 -y
# cat <<EOF >/etc/bind/
options { directory "/var/cache/bind"; listen-on port 53 { 127.0.0.1; }; allow-query { any; }; recursion yes; };
EOF
# cat <<EOF >/etc/bind/
zone "localdomain.test" { type master; file "/etc/bind/
EOF
# mkdir -p /etc/bind/zones/
# cat <<EOF >/etc/bind/
\$TTL 604800
@ IN SOA localdomain.test. root.localdomai
2 ; Serial
604800 ; Refresh
86400 ; Retry
2419200 ; Expire
604800 ) ; Negative Cache TTL
;
@ IN NS ns.localdomain.
ns IN A 127.0.0.1
EOF
# systemctl restart bind9
Job for named.service failed because the control process exited with error code.
See "systemctl status named.service" and "journalctl -xeu named.service" for details.
# apt install software-
# add-apt-repository ppa:lvoytek/
# apt update && apt upgrade -y
# systemctl restart bind9
> no output
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Did you confirm that named-checkzone (as is, from upstream), actually checked for this misconfiguration? We saw yesterday that it did in your lxd, so I must have done something wrong on my test, or in focal (which is what I used), it really didn't do that check.