Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208677
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: bind gets permission errors in buster--systemd-related? |
| Date | 2019-05-15 19:40 +0200 |
| Message-ID | <xY62J-8fO-7@gated-at.bofh.it> (permalink) |
| References | <xXUkV-1ki-3@gated-at.bofh.it> <xY4tX-7dR-1@gated-at.bofh.it> <xY5q2-7ME-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2019-05-15 09:33 -0700, Ross Boylan wrote:
> Sven, thanks for the tip about AppArmor. Yet another presumably
> complicated system I've avoided learning about til now. I guess it's
> time.
>
> As to why bind is trying to open /run/named/named.resolvers: that is a
> customized integration with resolvconf. It is not the default, but it
> is something I want to work. Or I need an alternate way to achieve
> the same functionality, which is that when resolvconf gets info on
> nameservers it passes that on to bind.
I am not really familiar with apparmor or resolvconf, but in
/etc/apparmor.d/usr.sbin.named I found the following:
,----
| # support for resolvconf
| /{,var/}run/named/named.options r,
`----
which suggests that the standard way would be to use
/run/named/named.options rather than /run/named/named.resolvers.
Alternatively, you may put the following line into
/etc/apparmor.d/local/usr.sbin.named:
/{,var/}run/named/named.resolvers r,
Cheers,
Sven
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
bind gets permission errors in buster--systemd-related? Ross Boylan <rossboylan@stanfordalumni.org> - 2019-05-15 07:10 +0200
Re: bind gets permission errors in buster--systemd-related? Sven Joachim <svenjoac@gmx.de> - 2019-05-15 18:00 +0200
Re: bind gets permission errors in buster--systemd-related? Ross Boylan <rossboylan@stanfordalumni.org> - 2019-05-15 19:00 +0200
Re: bind gets permission errors in buster--systemd-related? Sven Joachim <svenjoac@gmx.de> - 2019-05-15 19:40 +0200
Re: bind gets permission errors in buster--systemd-related? Ross Boylan <rossboylan@stanfordalumni.org> - 2019-05-15 20:30 +0200
Re: bind gets permission errors in buster--systemd-related? Lee <ler762@gmail.com> - 2019-05-15 18:40 +0200
Re: bind gets permission errors in buster--systemd-related? Greg Wooledge <wooledg@eeg.ccf.org> - 2019-05-15 19:10 +0200
Re: bind gets permission errors in buster--systemd-related? Bob Weber <bobrweber@gmail.com> - 2019-05-15 20:30 +0200
csiph-web