Hello, (see below for the workaround)
Giovanni Biscuolo <g...@xelera.eu> writes: > I'm trying to setup an LDAP service in Guix System this is my current system: --8<---------------cut here---------------start------------->8--- Generation 71 Feb 14 2025 11:51:55 (current) file name: /var/guix/profiles/system-71-link canonical file name: /gnu/store/8snwl387nmzr85z9m3vfz8rpsnbliniw-system label: GNU with Linux-Libre 6.12.12 bootloader: grub root device: UUID: 77b909d3-6c74-4a7c-8b2e-f0f116b597a4 kernel: /gnu/store/wkl4m6hhkcw2ifj6r2qah9ml98066m4m-linux-libre-6.12.12/bzImage channels: guix: repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 7786b4e477b888cda42cffd764aacea705631dc1 configuration file: /gnu/store/9l1mcydw7j009ywrdfvxgpq9wy64f988-configuration.scm --8<---------------cut here---------------end--------------->8--- [...] After a reboot I got a more informative error log: --8<---------------cut here---------------start------------->8--- [14/Feb/2025:11:56:40.710032844 +0100] - EMERG - main - Unable to access nsslapd-rundir: No such file or directory [14/Feb/2025:11:56:40.734642427 +0100] - EMERG - main - Ensure that user "dirsrv" has read and write permissions on /run/dirsrv [14/Feb/2025:11:56:40.759722308 +0100] - EMERG - main - Shutting down. --8<---------------cut here---------------end--------------->8--- To make a test I just did: --8<---------------cut here---------------start------------->8--- g@pistache ~$ sudo mkdir /run/dirsrv g@pistache ~$ sudo chown dirsrv:dirsrv /run/dirsrv/ --8<---------------cut here---------------end--------------->8--- And restarted the service via "sudo herd start directory-server-localhost": it worked (although the command is slow to complete, more or less 10 seconds). The problem with this workaround is that /run/dirsrv is missing after a reboot, it must be recreated (and chowned). I'm going to file a bug report, thanks for your attention. Happy hacking, Gio' -- Giovanni Biscuolo Xelera IT Infrastructures
signature.asc
Description: PGP signature