[prev in list] [next in list] [prev in thread] [next in thread]
List: bird-users
Subject: Re: BIRD Crashes
From: Inrin <inrin () jikken ! de>
Date: 2022-08-23 16:21:54
Message-ID: 20220823162154.g3tjb6avduxztmg7 () ws-win-00167 ! for-the-inter ! net
[Download RAW message or body]
Hi Ian,
On Fri, Aug 19, 2022 at 09:26:16AM +0100, Ian Chilton wrote:
> We do use systemd to manage the bird processes. Do you have it successfully \
> creating core dumps on crashes with systemd? - would you mind sharing your unit \
> file?
You have to set ``LimitCORE=unlimited'' (or similar value).
Tested it with ``pkill -11 bird'' and got a coredump:
TIME PID UID GID SIG COREFILE EXE SIZE
Tue 2022-08-23 18:15:47 CEST 85265 976 976 SIGSEGV present /usr/bin/bird 429.9K
The config I'm currently using is: (I only changed the '-R' and added the LimitCORE \
for this test here)
-----------------------------------------------------------------------
# /etc/systemd/system/bird.service
[Unit]
Description=BIRD routing daemon
After=network.target
[Service]
Type=forking
LimitCORE=unlimited
ExecStart=/usr/bin/bird -R
ExecReload=/usr/bin/birdc configure
ExecStop=/usr/bin/birdc down
RuntimeDirectory=bird
RuntimeDirectoryMode=0750
DynamicUser=true
User=bird
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectControlGroups=true
PrivateTmp=true
PrivateDevices=true
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
[Install]
WantedBy=multi-user.target
-----------------------------------------------------------------------
Greetings
Inrin
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic