Re: Impossible to activate logging

2018-01-18 Thread Pierre Couderc
On 01/18/2018 01:01 PM, Anand Buddhdev wrote: I don't know what the function "isc_file_isplainfile" checks for, but perhaps the executable bits on the file are causing the failure. Log files shouldn't be executable, so you normally need mode 0644 for them. Try changing the mode, and seeing if

Re: Impossible to activate logging

2018-01-18 Thread Anand Buddhdev
On 18/01/2018 11:36, Pierre Couderc wrote: Hi Pierre, > under systemd, and under a lxd stretch container in a minimal stretch host. > > I get : > > Jan 18 10:21:13 bind named[893]: command channel listening on ::1#953 > Jan 18 10:21:13 bind named[893]: isc_file_isplainfile > '/var/log/bind/bind

Impossible to activate logging

2018-01-18 Thread Pierre Couderc
under systemd, and under a lxd stretch container in a minimal stretch host. I get : Jan 18 10:21:13 bind named[893]: command channel listening on ::1#953 Jan 18 10:21:13 bind named[893]: isc_file_isplainfile '/var/log/bind/bind.log' failed: permission denied Jan 18 10:21:13 bind named[893]: co