El mi?, 23-10-2019 a las 21:59 -0300, Jos? Luis Artuch escribi?:> Am 23.10.19 um 21:25 schrieb Jos? Luis Artuch: > > Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] > nsd[2401]: > > error: Cannot open /var/log/nsd/nsd.log for appending (Read-only > > file > > system)$ > > I would appreciate help on this topic. > > 2 things coming to my mind: > - chroot enabled? -> nsd-checkconf -o chroot /path/to/nsd.conf > - systemd is doint unexpected stuff > > Andreas >Thanks Andreas, The output of /usr/sbin/nsd-checkconf -o chroot /etc/nsd/nsd.conf is empty. I don't know what tests to do with systemd. Jos? Luis
Hi Jos?, What are the permissions of the /var/log/nsd.log directory and what user are you executing nsd as? Might be wise to check if the systemd unit has the same user configured. Default unit file for nsd is located at /lib/systemd/system/nsd.service on Debian. Another question: did you upgrade the Debian 9 machine to Debian 10 or did you do a fresh install and copy the configuration file? Maybe the uid of the user on the Debian 9 machine doesn't match the nsd user on the Debian 10 machine? Best regards, Jeroen On Wed, 2019-10-23 at 22:26 -0300, Jos? Luis Artuch wrote:> El mi?, 23-10-2019 a las 21:59 -0300, Jos? Luis Artuch escribi?: > > Am 23.10.19 um 21:25 schrieb Jos? Luis Artuch: > > > Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] > > nsd[2401]: > > > error: Cannot open /var/log/nsd/nsd.log for appending (Read-only > > > file > > > system)$ > > > I would appreciate help on this topic. > > > > 2 things coming to my mind: > > - chroot enabled? -> nsd-checkconf -o chroot /path/to/nsd.conf > > - systemd is doint unexpected stuff > > > > Andreas > > > > Thanks Andreas, > The output of > /usr/sbin/nsd-checkconf -o chroot /etc/nsd/nsd.conf > is empty. > I don't know what tests to do with systemd. > Jos? Luis > > _______________________________________________ > nsd-users mailing list > nsd-users at NLnetLabs.nl > https://open.nlnetlabs.nl/mailman/listinfo/nsd-users
On 2019-10-23 9:26 p.m., Jos? Luis Artuch wrote:> El mi?, 23-10-2019 a las 21:59 -0300, Jos? Luis Artuch escribi?: >> Am 23.10.19 um 21:25 schrieb Jos? Luis Artuch: >>> Oct 23 15:46:13 dhcppc1 nsd[2401]: [2019-10-23 15:46:13.514] >> nsd[2401]: >>> error: Cannot open /var/log/nsd/nsd.log for appending (Read-only >>> file >>> system)$ >>> I would appreciate help on this topic. >> >> 2 things coming to my mind: >> - chroot enabled? -> nsd-checkconf -o chroot /path/to/nsd.conf >> - systemd is doint unexpected stuff >> >> Andreas >> > > Thanks Andreas, > The output of > /usr/sbin/nsd-checkconf -o chroot /etc/nsd/nsd.conf > is empty. > I don't know what tests to do with systemd.Could you provide the output of this: systemctl cat nsd A read only file system sounds like "ProtectSystem=strict" or some other protection. Simon