You are not logged in.

#1 2020-07-15 17:11:39

The_archer_666
Member
Registered: 2019-07-03
Posts: 2

Problem with systemd services (/run/dir not created)

I have a server running arch and noticed that lately services failed to start after a reboot (experienced with mariadb and slapd).
The issue is, that the directories for the pid files aren't created under /run and need to be created manually, i.e. mkdir /run/openldap && chown ldap:ldap /run/openldap.
Anyone else experiencing this issue?

uname -r
5.7.8-arch1-1

systemd 245 (245.6-8-arch)

Offline

#2 2020-07-15 18:27:21

loqs
Member
Registered: 2014-03-06
Posts: 19,048

Re: Problem with systemd services (/run/dir not created)

What is the output of

# journalctl -b -u systemd-tmpfiles-setup.service

Offline

#3 2020-07-23 15:36:58

The_archer_666
Member
Registered: 2019-07-03
Posts: 2

Re: Problem with systemd services (/run/dir not created)

Hi,
I am having issues with VirtualBox, so unfortunately I can't test it at the moment.


But honestly I had forgotten about that service.
Might be that it wasn't enabled.

EDIT:
Indeed the service wasn't running.
Enalbed it, solved the issue.
Marking it as Solved

Last edited by The_archer_666 (2020-07-24 14:28:50)

Offline

Board footer

Powered by FluxBB