Re: My FC33->FC34 bind-chroot upgrade notes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/06/2021 03:54, ToddAndMargo via users wrote:

3) the new version of bind-chroot enables "dns security validation" by default.

   Make sure you do not have two `named.root.key` kicking around.  One in
      /etc/named.root.key
   and one in
      /var/named/chroot/etc/named.root.key

I think you may be missing some key points as to how named-chroot works.

If you look at the named-chroot.service file you'd see.....

Requires=named-chroot-setup.service
Before=nss-lookup.target
After=named-chroot-setup.service

This means that named-chroot-setup.service runs prior to ExecStart in named-chroot.service

named-chroot-setup.service performs a series of bind-mounts (not be confused with bind/named)
You can see the mounts after starting named-chroot.

Thus you'd have.....

[root@f33g ~]# systemctl stop named-chroot
[root@f33g ~]# ll /var/named/chroot/etc/named.root.key /etc/named.root.key
ls: cannot access '/var/named/chroot/etc/named.root.key': No such file or directory
-rw-r--r--. 1 root named 686 Jun  3 22:47 /etc/named.root.key

[root@f33g ~]# systemctl start named-chroot
[root@f33g ~]# ll /var/named/chroot/etc/named.root.key /etc/named.root.key
-rw-r--r--. 1 root named 686 Jun  3 22:47 /etc/named.root.key
-rw-r--r--. 1 root named 686 Jun  3 22:47 /var/named/chroot/etc/named.root.key

To repeat what I've said in another thread.  I've upgraded 2 F33 VMs.  One running named.service
the other named-chroot.service.  Both upgraded without any problems you noted.

--
Remind me to ignore comments which aren't germane to the thread.

_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux