mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4851] [MERGED] Keep vglusers group unless no3d is used (virtualgl) #5269
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5269
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/4851
Author: @kmk3
Created: 1/12/2022
Status: ✅ Merged
Merged: 1/16/2022
Merged by: @netblue30
Base:
master← Head:groups-keep-vglusers📝 Commits (1)
f329386Keep vglusers group unless no3d is used (virtualgl)📊 Changes
2 files changed (+8 additions, -1 deletions)
View changed files
📝
src/firejail/main.c(+6 -1)📝
src/firejail/util.c(+2 -0)📄 Description
virtualgl[1] runs
chown root:vgluserson/dev/nvidia*and on devicesusually owned by the "render" group[2]. This makes them unavailable in
the sandbox if
noroot(which causes groups to be dropped) is used.Since firejail classifies all of the aforementioned devices as being
DEV_3Don fs_dev.c (which means that they are controlled byno3d),treat the "vglusers" group the same as the "render" group (by always
keeping "vglusers" unless
no3dis used).See the discussion on #2042 (from this comment[3] onwards).
[1] https://virtualgl.org
[2]
6f0b90be02/server/vglserver_config (L393)[3] https://github.com/netblue30/firejail/issues/2042#issuecomment-1007468715
Reported-by: @JCallicoat
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.