Package: nslcd
Version: 0.9.12-8
Hi all,
I just created an Incus container with Debian trixie and installed
nslcd. Sadly the default systemd service failed to start with the
following log:
mkdir: cannot create directory ‘/run/nslcd’: Read-only file system
chown: cannot access '/run/nslcd': No such file or directory
cannot create pid file (/var/run/nslcd/nslcd.pid): No such file or directory
As far as I can tell, this is because the packaged systemd service sets
"ProtectSystem=strict", which remounts everything read-only, including
the PID file directory. I fixed this by setting "ProtectSystem=full";
"ReadWritePaths=/run" also works.
By the way, why does nslcd.service run the daemon by calling a SysV init
shell script? This wouldn't be a problem if it was just a Type=simple
service.
David Koňařík