[Pkg-systemd-maintainers] Bug#739071: Bug#739071: no core dumps and hard to diagnose

Michael Stapelberg stapelberg at debian.org
Mon Feb 17 19:07:13 GMT 2014


Hi Antoine,

Antoine Beaupré <anarcat at debian.org> writes:
> I have tried to set a path for core dumps to make sure they are written:
>
>     sysctl kernel.core_pattern=/var/cache/core/%u-%e-%p-%s-%t.core
>     mkdir /var/cache/core
>     chmod 1777 /var/cache/core
>
> No effect: no core dump is created by tranmission.
You need LimitCORE=infinity in your service file (which does the same as
ulimit -c unlimited in sysv init scripts).

With that setting, getting a core dump works fine on my machine,
i.e. after installing transmission-daemon 2.81-1 and dropping the
following file in
/etc/systemd/system/transmission-daemon.service.d/fixes.conf:

[Service]
LimitCORE=infinity
User=debian-transmission

I get a core dump after running systemctl daemon-reload && systemctl
restart transmission-daemon.service.

Can you confirm that it works for you? Then I’ll close the bug.

-- 
Best regards,
Michael




More information about the Pkg-systemd-maintainers mailing list