Summary: | media-video/pipewire-0.3.* installs 40-pipewire.conf with memlock limit 256K | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Gubarkov <anton.gubarkov> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | asturm, ionen, sam, whissi |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/20454 https://github.com/gentoo/gentoo/pull/20707 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anton Gubarkov
2021-04-26 06:10:47 UTC
I'm sorry to hear about that. In my testing the sys-auth/realtime-base seemed to take precedence, so I assumed it will be okay. I will be retesting this once more but in the meantime you can either set INSTALL_MASK="/etc/security/limits.d/40-pipewire.conf" in make.conf or use package.env to set INSTALL_MASK="/etc/security/limits.d" on specifically media-video/pipewire. Turns out I was probably using the realtime early on, and by the time the limits.d/ file was made things were pretty hectic, so it might have slipped my mind to double check if @realtime can still override it. Turns out - UID range is probably stronger match than any @<group> and will take precedence disregarding the lexicographical order of limits.d/ files. As such this is the best solution, I could come up with (i.e. replace 1000:6000 UID range with * for default marker, which can be overridden by @realtime): * - memlock 256 If no one voices any objections in this bug, I'll try to get that included in one of the future ebuilds. Seems to work fine for me The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=274f08964197fac2907863311e36c0afbb58d381 commit 274f08964197fac2907863311e36c0afbb58d381 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-05-08 14:07:53 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-05-08 18:27:45 +0000 media-video/pipewire: raise RLIMIT_MEMLOCK to 256 by default for audio group Closes: https://bugs.gentoo.org/785778 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> media-video/pipewire/pipewire-9999.ebuild | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) |