/etc/security/limits.d/25-pw-rlimits.conf has confusing comment
Hi,
I see my Linux distro has shipped the following content in /etc/security/limits.d/25-pw-rlimits.conf
:
# This file was installed by PipeWire project for its libpipewire-module-rt.so
# It's believed to be acceptable to have match rules that will never be true
# i.e. a group that does not exist.
#
@pipewire - rtprio 95
@pipewire - nice -19
@pipewire - memlock 4194304
Which is derived from https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/0fd058251429514c7e93ea0f1bf8fc6ca4fcc1ab/src/modules/module-rt/25-pw-rlimits.conf.in.
The comment "It's believed to be acceptable to have match rules that will never be true i.e. a group that does not exist" is confusing to me, because my system does have a pipewire
group:
https://sources.debian.org/src/pipewire/1.0.0-1/debian/pipewire.README.Debian/#L99
The "pipewire" package creates a system group called "pipewire".
If this is the intended usage, could the comment in 25-pw-rlimits.conf
be clarified? Or is automatically creating the pipewire
group a downstream "extra" and distros should also patch the comment themselves?
Thanks!