mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6915] swww: Error: "/run/user/1000/wayland-1-swww-daemon..sock" is an invalid filename #3418
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#3418
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 @amano-kenji on GitHub (Sep 29, 2025).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6915
Description
Whitelisting
/run/user/1000/wayland-1-swww-daemon..sockis impossible.Steps to Reproduce
Execute
Expected behavior
No error
Actual behavior
Environment
uname -srm): Linux 6.6.101-gentoo x86_64firejail --version):@JohnyTheCarrot commented on GitHub (Nov 5, 2025):
Same here.
@kmk3 commented on GitHub (Nov 7, 2025):
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See also:
That is a rather unusual filename.
What program creates this file?
As can be seen in #6958, the checks are meant to catch attempts at relative
directory traversal (see CWE-23).
I think it would make more sense to change the relevant program to remove the
extra dot than to increase the risk of a malicious traversal happening.
@amano-kenji commented on GitHub (Nov 7, 2025):
It is created by
swwwwhich is a wayland wallpaper engine. I don't control swww.@kmk3 commented on GitHub (Nov 7, 2025):
Presumably you can report bugs/suggestions and send patches to it, just like in
this thread.
Apparently
swwwhas been renamed toawwwand moved to Codeberg, so theabove would apply to its successor:
@amano-kenji commented on GitHub (Nov 8, 2025):
I created an issue on https://codeberg.org/LGFae/awww/issues/508
But, https://github.com/netblue30/firejail/pull/6958 seems good enough.
@kmk3 commented on GitHub (Nov 11, 2025):
Nice, thanks.
Closing, as it looks like the issue will be fixed directly upstream.
Edit: For future reference, see also:
@amano-kenji commented on GitHub (Nov 11, 2025):
I don't know whether upstream will recognize it as an issue. It's not confirmed, yet.
@amano-kenji commented on GitHub (Nov 12, 2025):
The upstream said it's probably going to remove two consecutive dots in the socket file.