Page MenuHomeVyOS Platform

FRR systemd logs unknow key LimitNOFILESoft
Closed, ResolvedPublicBUG

Description

There is entry in journalctl

Mar 16 12:14:10 r14 systemd[1]: /etc/systemd/system/frr.service.d/override.conf:7: Unknown key name 'LimitNOFILESoft' in section 'Service', ignoring.

it was implemented for T5045
https://github.com/vyos/vyos-1x/commit/cb872efb5b8dac9c9095502bbb14e858d07dfef3

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.4-rolling-202303120743
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

vyos@r14# cat /etc/systemd/system/frr.service.d/override.conf
[Unit]
Before=
Before=vyos-router.service

[Service]
LimitNOFILE=4096
LimitNOFILESoft=4096
ExecStartPre=/bin/bash -c 'mkdir -p /run/frr/config; \
             echo "log syslog" > /run/frr/config/frr.conf; \
             echo "log facility local7" >> /run/frr/config/frr.conf; \
             chown frr:frr /run/frr/config/frr.conf; \
             chmod 664 /run/frr/config/frr.conf; \
             mount --bind /run/frr/config/frr.conf /etc/frr/frr.conf'
[edit]
vyos@r14#