Summary: | net-ftp/proftpd-1.3.5e: does not start under systemd | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tazinblack <verbeamt> |
Component: | Current packages | Assignee: | Sergei Trofimovich (RETIRED) <slyfox> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | override file for systemd |
Description
tazinblack
2018-03-09 12:38:28 UTC
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(+) |