On Sat, Dec 31, 2016 at 04:41:04AM +0500, Andrey Rahmatullin wrote: > Control: tags -1 + help > > On Fri, Dec 30, 2016 at 11:43:50PM +0100, Laurent Bigonville wrote: > > The upstream tarball contains a systemd .service file, but that file is > > not installed in the package. > > > > Could you please have a look at this? > The main problem with this is the current setup: the package supports two > modes of operation, switched with RUN_MODE in /etc/default/mcelog. As I > didn't implement this, I hesitate to make any changes. I will gladly > accept anything improving the systemd support for this package from > someone who understands these matters better. > > -- > WBR, wRAR
Forwarding transcript from #debian-mentors: 17:58 < sten0> wRAR: change of topic, Re: #849781 I think the systemd unit could use a wrapper script that sources DAEMON_OPTS from /etc/default, and uses systemd's daemonisation mechanism instead of explicit --daemon, but the part that I'm unclear about is how logging will be handled when run under systemd. I'm particularly concerned with the issue of journald log persistence if mcelog is logged in this way, 17:58 < sten0> but I think the workaround is probably to add --logfile=/var/log/mcelog to the wrapper script, or alternatively to add --syslog, so long as running under systemd doesn't redirect syslog to journald
signature.asc
Description: PGP signature