mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6006] xauth command is hardcoded to /usr/bin/xauth #3154
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#3154
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?
Originally created by @hashelq on GitHub (Sep 15, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6006
Description
eb5c97197b/src/firejail/x11.c (L1180-L1186)Expected behavior
To find the executable in the path, or, at least, have an option to override the path to the binary.
Actual behavior
unix-way
Additional context
Despite the fact in most environments you can find binaries in /usr/bin, there are cases in which you cannot, like in NixOS, containers, small os images, etc.
Environment
NixOS (/usr/bin, as well as /bin are not used for apps like xauth)
Checklist
@ghost commented on GitHub (Sep 16, 2023):
Thank you for reporting this. Similar hardcoded reference to /usr/bin/xauth:
eb5c97197b/src/firejail/fs_lib2.c (L168-L170)@netblue30 @smitsohu Can you have a look at this please?