Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[defect]: systemd service using deprecated MemoryLimit directive #5439

Open
ablanken opened this issue Sep 22, 2024 · 0 comments
Open

[defect]: systemd service using deprecated MemoryLimit directive #5439

ablanken opened this issue Sep 22, 2024 · 0 comments
Labels
defect category: a defect or misbehaviour

Comments

@ablanken
Copy link

What type of defect/bug is this?

Unexpected behaviour (obvious or verified by project member)

How can the issue be reproduced?

The MemoryLimit directive (referenced below) has been deprecated on systems running systemd starting from version 228 (e.g. RHEL8+, Debian 9+).

On these systems, it's recommended to use MemoryMax instead. This isn't a priority as MemoryLimit is still functional on modern systems but worth noting as it may stop being effective at some point.

Unfortunately, the recommended directive isn't available on older operating systems. Potential solutions could include replacing the config line as appropriate during installation or maintaining separate service files for each OS version.

ref:
https://github.com/FreeRADIUS/freeradius-server/blob/master/redhat/radiusd.service
https://github.com/FreeRADIUS/freeradius-server/blob/master/debian/freeradius.service

Screenshot 2024-09-23 090107

Log output from the FreeRADIUS daemon

n/a

Relevant log output from client utilities

No response

Backtrace from LLDB or GDB

No response

@ablanken ablanken added the defect category: a defect or misbehaviour label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect category: a defect or misbehaviour
Projects
None yet
Development

No branches or pull requests

1 participant