Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661148 - mail-filter/rspamd: Logrotate doesn't work because of missing PID
Summary: mail-filter/rspamd: Logrotate doesn't work because of missing PID
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal major (vote)
Assignee: Christian Roessner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-14 15:59 UTC by Emil Petrakov
Modified: 2019-01-16 12:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Petrakov 2018-07-14 15:59:20 UTC
Logrotate doesn't work if we do not add "Type=forking" to the systemd .service fie.
Comment 1 Emil Petrakov 2018-07-26 19:34:57 UTC
Hey, "maintainers", where are you?
Comment 2 Jonas Stein gentoo-dev 2018-07-26 19:39:08 UTC
This package is maintained in spare time. If you need a very fast solution and are willing to pay for it, have a look at this list: 
https://wiki.gentoo.org/wiki/Foundation:Consultants
Comment 3 Emil Petrakov 2018-07-26 19:50:26 UTC
You have no time to fix this bug but have it to explain to me why you didn't fix it.

Great.
Comment 4 Mike Gilbert gentoo-dev 2018-07-27 16:10:44 UTC
It would probably make more sense to modify the logrotate entry to call systemctl or rc-service as appropriate.

However, I wonder how this unit file works at all; it refers to a user called "_rspamd", but the ebuild creates a user called "rspamd".
Comment 5 Emil Petrakov 2018-07-27 17:56:55 UTC
(In reply to Mike Gilbert from comment #4)
> It would probably make more sense to modify the logrotate entry to call
> systemctl or rc-service as appropriate.
> 
> However, I wonder how this unit file works at all; it refers to a user
> called "_rspamd", but the ebuild creates a user called "rspamd".

I also created a request about that, look at https://bugs.gentoo.org/661146.
Comment 6 Thomas Deutschmann (RETIRED) gentoo-dev 2019-01-16 12:43:36 UTC
I think I addressed all reported problems in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c334938edc52f23ed95834e3b8a658f2e76c53cb