proftpd does not start with systemd. Error: "mod_delay/0.7: error opening DelayTable '/var/run/proftpd/proftpd.delay': File or directory not found" Looks like /var/run/proftpd directory is not created during start. /var/run points to /run which is a tmpfs. When directory is created by hand it starts
Created attachment 523088 [details] override file for systemd Place this one under /etc/systemd/system/proftpd.service.d The subfolder proftpd.service.d maybe has to be created
The directory is supposed to be created by tmpfiles.d entry: $ cat /usr/lib/tmpfiles.d/proftpd.conf d /var/run/proftpd 0755 root root The problem here is that systemd (or openrc) is not being triggered right after package is installed. I think calling 'tmpfiles_process()' in 'pkg_postinst()' would do it: https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/tmpfiles.eclass#n106 Do you want to give it a try and tweak the ebuild or should I just do it?
Would be great if you could do it. I think I do not have access to the gentoo git.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69971e78ba3a2a72dd54ae8a0eb91f723b5998b0 commit 69971e78ba3a2a72dd54ae8a0eb91f723b5998b0 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2018-03-10 12:09:41 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2018-03-10 12:10:26 +0000 net-ftp/proftpd: create /var/run/proftpd at package install time, bug #650000 The directory is supposed to be created by tmpfiles.d entry: $ cat /usr/lib/tmpfiles.d/proftpd.conf d /var/run/proftpd 0755 root root The problem here is that systemd (or openrc) is not being triggered right after package is installed. Reported-by: tazinblack Closes: https://bugs.gentoo.org/650000 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-ftp/proftpd/proftpd-1.3.6-r1.ebuild | 262 ++++++++++++++++++++++++++++++++ 1 file changed, 262 insertions(+)