[GH-ISSUE #6335] wine: chdir error in bazzite linux (ostree) #3246

Closed
opened 2026-05-05 09:51:11 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Insem on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6335

Description

I try to launch some games via firejail. It pretty works when I do
firejail --net=none --read-write=$HOME --noprofile wine "$EXENAME"

But if i remove --noprofile flag and run
firejail --net=none --read-write=$HOME wine "$EXENAME

firejail throws

No full support for symbolic links in path of user directory.
Please provide resolved path in password database (/etc/passwd).

Reading profile /etc/firejail/wine.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 22908, child pid 22909
Warning: cannot open source file /usr/lib64/firejail/seccomp.debug32, file not copied
Warning: cannot clean /home directory
Warning: not mounting tmpfs on /home/petr/.config/pulse
Child process initialized in 111.63 ms
wine: chdir to /home/petr/.wine : No such file or directory

Parent is shutting down, bye...

Steps to Reproduce

Steps to reproduce the behavior

  1. Run wine via firejail I guess

Environment

$ fastfetch
                                            petr@fedora
     %%%%%%====%%%%%%%%%%                
   %%%%%%%%    %%%%%%%%%%%%%%             󱋩  bazzite-deck:stable 
  %%%%%%%%%    %%%%%%%%%%%%%%%%           󰣛  Fedora Linux 40 (Kinoite) x86_64
  %%%%%%%%%    %%%%%%%%%%%%%%%###           Linux 6.8.9-301.fsync.fc40.x86_64
  %%%%%%%%%    %%%%%%%%%%%%%######        󰅐  3 hours, 20 mins
  ==                  =======######      
  ==                  =========#####      󰾰  To Be Filled By O.E.M.
  %%%%%%%%%    %%%%%%%####======#####     󰻠  AMD Ryzen 5 5600G (12) @ 4,46 GHz
  %%%%%%%%%    %%%%%#######=====#####     󰍛  AMD Radeon RX 6600 XT
  %%%%%%%%%    %%%#########=====#####       6,67 GiB / 31,21 GiB (21%)
  %%%%%%%%%    %%##########=====#####       434,00 KiB / 98,42 MiB (0%) - vfat
  %%%%%%%%%====###########=====######       28,74 GiB / 236,89 GiB (12%) - btrfs [Read-only]
   %%%%%%%%====#########======######      󰍹  3440x1440 @ 50Hz (as 1720x720)
    %%%%%%%=====#####========######       󰖺  ASRock LED Controller
     %%%%###===============#######       
      %#######==========#########         󰕮  KDE Plasma 6.0.4
        #######################             KWin (Wayland)
          ###################               bash 5.2.26
              ###########                   ptyxis-agent
                                          󰏖  2598 (rpm), 46 (flatpak-system), 1 (flatpak-user)
$ firejail --version
No full support for symbolic links in path of user directory.
Please provide resolved path in password database (/etc/passwd).

firejail version 0.9.72

Compile time support:
	- always force nonewprivs support is disabled
	- AppArmor support is disabled
	- AppImage support is enabled
	- chroot support is enabled
	- D-BUS proxy support is enabled
	- file transfer support is enabled
	- firetunnel support is disabled
	- IDS support is disabled
	- networking support is enabled
	- output logging is enabled
	- overlayfs support is disabled
	- private-home support is enabled
	- private-cache and tmpfs as user enabled
	- SELinux support is enabled
	- user namespace support is enabled
	- X11 sandboxing support is enabled

Originally created by @Insem on GitHub (May 12, 2024). Original GitHub issue: https://github.com/netblue30/firejail/issues/6335 <!-- See the following links for help with formatting: https://guides.github.com/features/mastering-markdown/ https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax --> ### Description I try to launch some games via firejail. It pretty works when I do `firejail --net=none --read-write=$HOME --noprofile wine "$EXENAME"` But if i remove --noprofile flag and run `firejail --net=none --read-write=$HOME wine "$EXENAME` firejail throws ``` No full support for symbolic links in path of user directory. Please provide resolved path in password database (/etc/passwd). Reading profile /etc/firejail/wine.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-var-common.inc Parent pid 22908, child pid 22909 Warning: cannot open source file /usr/lib64/firejail/seccomp.debug32, file not copied Warning: cannot clean /home directory Warning: not mounting tmpfs on /home/petr/.config/pulse Child process initialized in 111.63 ms wine: chdir to /home/petr/.wine : No such file or directory Parent is shutting down, bye... ``` ### Steps to Reproduce _Steps to reproduce the behavior_ 1. Run wine via firejail I guess ### Environment ``` $ fastfetch   petr@fedora %%%%%%====%%%%%%%%%% %%%%%%%% %%%%%%%%%%%%%% 󱋩  bazzite-deck:stable  %%%%%%%%% %%%%%%%%%%%%%%%% 󰣛  Fedora Linux 40 (Kinoite) x86_64 %%%%%%%%% %%%%%%%%%%%%%%%###   Linux 6.8.9-301.fsync.fc40.x86_64 %%%%%%%%% %%%%%%%%%%%%%###### 󰅐  3 hours, 20 mins == =======###### == =========##### 󰾰  To Be Filled By O.E.M. %%%%%%%%% %%%%%%%####======##### 󰻠  AMD Ryzen 5 5600G (12) @ 4,46 GHz %%%%%%%%% %%%%%#######=====##### 󰍛  AMD Radeon RX 6600 XT %%%%%%%%% %%%#########=====#####   6,67 GiB / 31,21 GiB (21%) %%%%%%%%% %%##########=====#####   434,00 KiB / 98,42 MiB (0%) - vfat %%%%%%%%%====###########=====######   28,74 GiB / 236,89 GiB (12%) - btrfs [Read-only] %%%%%%%%====#########======###### 󰍹  3440x1440 @ 50Hz (as 1720x720) %%%%%%%=====#####========###### 󰖺  ASRock LED Controller %%%%###===============####### %#######==========######### 󰕮  KDE Plasma 6.0.4 #######################   KWin (Wayland) ###################   bash 5.2.26 ###########   ptyxis-agent 󰏖  2598 (rpm), 46 (flatpak-system), 1 (flatpak-user) ``` ``` $ firejail --version No full support for symbolic links in path of user directory. Please provide resolved path in password database (/etc/passwd). firejail version 0.9.72 Compile time support: - always force nonewprivs support is disabled - AppArmor support is disabled - AppImage support is enabled - chroot support is enabled - D-BUS proxy support is enabled - file transfer support is enabled - firetunnel support is disabled - IDS support is disabled - networking support is enabled - output logging is enabled - overlayfs support is disabled - private-home support is enabled - private-cache and tmpfs as user enabled - SELinux support is enabled - user namespace support is enabled - X11 sandboxing support is enabled ```
gitea-mirror 2026-05-05 09:51:11 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@rusty-snake commented on GitHub (May 12, 2024):

Fedora Linux 40 (Kinoite)

Unsupported OS.

https://github.com/netblue30/firejail/issues?q=is%3Aissue+silverblue+is%3Aclosed

<!-- gh-comment-id:2106206915 --> @rusty-snake commented on GitHub (May 12, 2024): > Fedora Linux 40 (**Kinoite**) Unsupported OS. https://github.com/netblue30/firejail/issues?q=is%3Aissue+silverblue+is%3Aclosed
Author
Owner

@Insem commented on GitHub (May 14, 2024):

Fedora Linux 40 (Kinoite)

Unsupported OS.

https://github.com/netblue30/firejail/issues?q=is%3Aissue+silverblue+is%3Aclosed

Thank you for soon answer. I'll keep it on mind. Could you tell me please is it a good idea to launch wine games throw firejail or it's potentially unstable? Maybe I need to use other sandboxes?

<!-- gh-comment-id:2110063618 --> @Insem commented on GitHub (May 14, 2024): > > Fedora Linux 40 (**Kinoite**) > > Unsupported OS. > > https://github.com/netblue30/firejail/issues?q=is%3Aissue+silverblue+is%3Aclosed Thank you for soon answer. I'll keep it on mind. Could you tell me please is it a good idea to launch wine games throw firejail or it's potentially unstable? Maybe I need to use other sandboxes?
Author
Owner

@rusty-snake commented on GitHub (May 16, 2024):

My experience is that package-manager + wine (+ firejail) is less stable than flatpak + bottles (graphical wine wrapper).

<!-- gh-comment-id:2114061580 --> @rusty-snake commented on GitHub (May 16, 2024): My experience is that package-manager + wine (+ firejail) is less stable than flatpak + bottles (graphical wine wrapper).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#3246
No description provided.