Re: Can't load library libatomic.so.1
Huy Bui <[email protected]>
| Newsgroups | gmane.linux.leaf.user |
|---|---|
| Message-ID | <CACwdKQPvm4W0E6wCj7HQKdY9ZUQx4mTQy7iiE6DJc79aq_-P0A@mail.gmail.com> |
Hi Erich, The 2 files are /var/named/managed-keys.bind and /var/named/managed-keys.bind.jnl I will look into creating these files before running the daemon. Thank you for your suggestion. Will report back the result. Huy On Thu, 20 Aug 2020 at 07:43, Erich Titl <[email protected]> wrote: > Hi > > Am 20.08.2020 um 00:59 schrieb Huy Bui: > > Thank you for your suggestion.I finally fixed the problem by doing the > > following: > > load libattomic.lrp with named.lrp > > edit the Daemon init script of the named package > > 1. remove the -r /dev/urandom option from rndc-confgen in the > > function check_config() > > 2. Add chown root:named /var/named and chmod g+w /var/named > > because it's look like named want to write 2 files here (I edit the > script > > becuase I don't know how to make the permission survive a reboot) > > saved the configuration. > > I had a quick look into the configuration and the default for > directories appear to be root:root and 0x755 This of course would not > allow the user 'named' to write a new file into /var/named and > /var/named is not explicitly defined. > > There are a few ways I can see to solve this > > - create the respective files with reasonable permissions at > installation of named.lrp > - change the permission of /var/named with (to me) unknown consequences > > - Do you know which files are affected? > - Could you try to create these files _before_ loading named.lrp to see > if it can be solved using method1 above? > > cheers > > ET > > -- > Diese E-Mail wurde von AVG auf Viren geprüft. > http://www.avg.com > > > > ------------------------------------------------------------------------ > leaf-user mailing list: [email protected] > https://lists.sourceforge.net/lists/listinfo/leaf-user > Support Request -- http://leaf-project.org/ > ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/