Hi Antoine,

Antoine Beaupré <anar...@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


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to