Regarding named related issue observed with bind 9.11.5-P4 version

Chandra Rao chandraraomaradana at gmail.com
Thu Apr 11 05:18:01 UTC 2019


Hi  Karl,

No.We are not running bind on Linux box with apparmor.


Thanks & Regards,
Chandra M

On Wed, Apr 10, 2019 at 8:40 PM Karl Lovink via bind-users <
bind-users at lists.isc.org> wrote:

> Alan,
>
> Are you running bind on a Linux box with apparmor. Check your apparmor
> configuration: /etc/apparmor.d/usr.sbin.named.
>
> Cheers,
> Karl
>
> > On 10 Apr 2019, at 16:31, Alan Clegg <alan at clegg.com> wrote:
> >
> >> On 4/10/19 10:19 AM, Alan Clegg wrote:
> >>> On 4/3/19 5:26 AM, Chandra Rao wrote:
> >>> While launching the named service coming from the latest bind as
> >>> mentioned below, We have observed that it's is not able to create
> >>> "/var/run/named" directory with the named user in the cluster. Due to
> >>> this we are not able to store the files "named.pid" and "session.key".
> >>
> >> named does not create the directory structure.  You will need to do that
> >> yourself.
> >
> > Correcting myself before others do (sigh):
> >
> > You've not shown how much of the /var/run directory structure exists.
> > Does /var/run exist?  What are the permissions on it?
> >
> > I've just now looked at the only instance of the "couldn't mkdir"
> > message in the BIND source code:
> >
> >        if (mkdir(filename, mode) == -1) {
> >            strerror_r(errno, strbuf, sizeof(strbuf));
> >            (*report)("couldn't mkdir '%s': %s", filename,
> >                  strbuf);
> >            goto error;
> >        }
> >
> > (my original comment was based on logging directory structure, not that
> > used by session information).
> >
> > AlanC
> > _______________________________________________
> > Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
> >
> > bind-users mailing list
> > bind-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/bind-users
>
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20190411/f7c6678e/attachment.html>


More information about the bind-users mailing list