On 6/29/21 7:00 PM, ToddAndMargo via users wrote:
On 6/29/21 5:07 PM, Ed Greshko wrote:
On 28/06/2021 10:26, ToddAndMargo via users wrote:
On 6/27/21 7:13 PM, Ed Greshko wrote:
On 28/06/2021 10:07, ToddAndMargo via users wrote:
On 6/27/21 6:47 PM, Ed Greshko wrote:
On 28/06/2021 09:44, Ed Greshko wrote:
and....
[root@f33k ~]# ls -i /var/named/chroot/var/named/slaves/
/var/named/slaves/
/var/named/chroot/var/named/slaves/:
2415417 greshko.com.zone
/var/named/slaves/:
2415417 greshko.com.zone
Can I talk you out of a?
# stat /var/named/slaves/ | grep Inode
# stat /var/named/chroot/var/named/slaves/ | grep Inode
[root@f33k ~]# stat /var/named/slaves/ | grep Inode
Device: 20h/32d Inode: 1937752 Links: 1
[root@f33k ~]# stat /var/named/chroot/var/named/slaves/ | grep Inode
Device: 20h/32d Inode: 1937752 Links: 1
Awesome!
So, are we to assume that your issue is resolved?
Not yet. No free time to work on it. I definitely
will get back.
Hi Ed,
Wonderful directions! I got my ass handed to me
at start regular bind. Happy camping has resumed!
-T
I added to your directions:
bind-chroot: how to start over clean:
On 6/27/21 5:34 PM, Ed Greshko wrote (with additions from T):
0) backup your zone tables (3+), named.confg. named.root.key files
1) stop named-chroot,
# systemctl stop named-chroot.service
Verify it is dead:
# systemctl status named-chroot.service
2) start the named server
# systemctl start named.service
make sure it doesn't produced erros. Fix any you do find
To check errors:
# systemctl status named.service
3) If that check ok, then stop named.
# systemctl stop named.service
4) Then do
Remove:
# rpm -e --nodeps bind-chroot
# rm -rf /var/named/chroot
Reinstall:
# dnf install bind-chroot
# systemctl enable named-chroot.service
5) Then, without moving any files or doing anything, start named-chroot
# systemctl start named-chroot.service
6) double check your mount --bind's
# stat /etc/named.root.key | grep Inode | awk '{print $3 " " $4}'
Inode: 60033354
# stat /var/named/chroot/etc/named.root.key | grep Inode | awk
'{print $3 " " $4}'
Inode: 60033354
# stat /etc/named.conf | grep Inode | awk '{print $3 " " $4}'
Inode: 27396278
# stat /var/named/chroot/etc/named.conf | grep Inode | awk
'{print $3 " " $4}'
Inode: 27396278
# stat /var/named/named.local | grep Inode | awk '{print $3 " " $4}'
Inode: 20186605
# stat /var/named/chroot/var/named/named.local | grep Inode | awk
'{print $3 " " $4}'
Inode: 20186605
# stat /var/named/ abc.hosts | grep Inode | awk '{print $3 " " $4}'
Inode: 20186593
# stat /var/named/chroot/var/named/ abc.hosts | grep Inode |
awk '{print $3 " " $4}'
Inode: 20186593
# stat /var/named/ abc.hosts.rev | grep Inode | awk '{print $3
" " $4}'
Inode: 20186599
# stat /var/named/chroot/var/named/ abc.hosts.rev | grep Inode
| awk '{print $3 " " $4}'
Inode: 20186599
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure