Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #208679
| From | Bob Weber <bobrweber@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: bind gets permission errors in buster--systemd-related? |
| Date | 2019-05-15 20:30 +0200 |
| Message-ID | <xY6P7-ko-3@gated-at.bofh.it> (permalink) |
| References | <xXUkV-1ki-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
I also have a similar problem accessing /run/named. bind can't create the directory or any files in it. The error messages: couldn't mkdir '//run/named': Permission denied could not create //run/named/session.key Apparmor problems can be fixed by running aa-logprof and selecting the best "fix" for your system. I have done that if needed over the months since apparmor was installed. The other problem is that /run is a type tmpfs so it is created after each boot so any manual fixes are lost after a reboot. I also have the same problem for the apt-cacher-ng program. Since this machine is my router for my home network it is rarely rebooted so I have a temporary fix by running the following script manually: cd /run mkdir named chown bind.bind named systemctl restart bind9 mkdir apt-cacher-ng chown apt-cacher-ng.apt-cacher-ng apt-cacher-ng systemctl restart apt-cacher-ng My /etc/bind config directory has no reference to /run. I do see a /run/resolvconf directory which has resolv.conf in it pointing to localhost and search domain. This seems correct since bind is listening on localhost and you want to actually use bind to get and cache dns requests. My bind is version 9.11.5.P4+dfsg-5. -- *...Bob*
Back to linux.debian.user | Previous | Next — Previous 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