Re: [systemd-devel] How to generate core file in system service

2017-09-27 Thread Xin Long
On Mon, Sep 25, 2017 at 2:47 PM, Mantas Mikulėnas wrote: > On Mon, Sep 25, 2017 at 8:59 AM, Xin Long wrote: >> >> Hi, >> >> linux network is using >> systemctl start teamd@team0.service >> to start a teamd service, which will call teamd. >> >> I got a

Re: [systemd-devel] How to generate core file in system service

2017-09-27 Thread Lennart Poettering
On Mi, 27.09.17 01:36, Kai Krakow (hurikha...@gmail.com) wrote: > Am Mon, 25 Sep 2017 10:26:48 +0200 > schrieb Miroslav Suchý : > > > Dne 25.9.2017 v 08:47 Mantas Mikulėnas napsal(a): > > > But when I start the deamon by "teamd" directly, I could get core > > > file. When I

Re: [systemd-devel] How to generate core file in system service

2017-09-26 Thread Kai Krakow
Am Mon, 25 Sep 2017 10:26:48 +0200 schrieb Miroslav Suchý : > Dne 25.9.2017 v 08:47 Mantas Mikulėnas napsal(a): > > But when I start the deamon by "teamd" directly, I could get core > > file. When I start it by systemctl start teamd@team0.service, no > > core file was generate

Re: [systemd-devel] How to generate core file in system service

2017-09-25 Thread Miroslav Suchý
Dne 25.9.2017 v 08:47 Mantas Mikulėnas napsal(a): > But when I start the deamon by "teamd" directly, I could get core file. > When I start it by systemctl start teamd@team0.service, no core file was > generate when it crashed, but only get: >    "systemd: teamd@team0.service: main process exited,

Re: [systemd-devel] How to generate core file in system service

2017-09-25 Thread Mantas Mikulėnas
On Mon, Sep 25, 2017 at 11:26 AM, Miroslav Suchý wrote: > Dne 25.9.2017 v 08:47 Mantas Mikulėnas napsal(a): > > But when I start the deamon by "teamd" directly, I could get core file. > > When I start it by systemctl start teamd@team0.service, no core file was > > generate

Re: [systemd-devel] How to generate core file in system service

2017-09-25 Thread Mantas Mikulėnas
On Mon, Sep 25, 2017 at 8:59 AM, Xin Long wrote: > Hi, > > linux network is using > systemctl start teamd@team0.service > to start a teamd service, which will call teamd. > > I got a teamd issue to debug, I wanted generate core file by adding abort() > in teamd and ulimit