Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Configure Flatpak #115

Open
Mustafa-Agha opened this issue Dec 7, 2023 · 6 comments
Open

[Bug]: Configure Flatpak #115

Mustafa-Agha opened this issue Dec 7, 2023 · 6 comments
Labels
status:awaiting-triage type:bug Something isn't working

Comments

@Mustafa-Agha
Copy link

Mustafa-Agha commented Dec 7, 2023

Describe the Bug

[ /etc/cont-init.d/80-configure_flatpak.sh: executing... ]
**** Configure Flatpak ****
mount: /proc: permission denied.
       dmesg(1) may have more information after failed mount system call.

Steps to Reproduce

Docker Version: 24.0.7

Docker Compose version v2.21.0

1- cp Dockerfile.debian Dockerfile
2- docker build -t 'steam-headless' .
3- docker run <container_id>

Expected Behavior

The expected behavior should run

Version

24.0.7

Platform

Distributor ID: Ubuntu
Description: Ubuntu 20.04.4 LTS
Release: 20.04
Codename: focal

Relevant log output

Build: [2023-12-02 02:37:16] [master] [6cc9f56155f3c7f9fc6bc9c22ef2cbf555029c00] [debian]

[ /etc/cont-init.d/10-setup_user.sh: executing... ]
**** Configure default user ****
  - Setting default user uid=99(default) gid=100(default)
  - Adding default user to any additional required device groups
  - Adding user 'default' to group: 'video'
  - Adding user 'default' to group: 'audio'
  - Adding user 'default' to group: 'input'
  - Adding user 'default' to group: 'pulse'
  - Setting umask to 000
  - Create the user XDG_RUNTIME_DIR path '/tmp/.X11-unix/run'
  - Setting ownership of all log files in '/home/default/.cache/log'
  - Setting root password
  - Setting user password
DONE

[ /etc/cont-init.d/11-setup_sysctl_values.sh: executing... ]
**** Configure some system kernel parameters ****
  - The vm.max_map_count is already greater than '524288'
DONE

[ /etc/cont-init.d/30-configure_dbus.sh: executing... ]
**** Configure container dbus ****
  - Container configured to run its own dbus
DONE

[ /etc/cont-init.d/30-configure_udev.sh: executing... ]
**** Configure udevd ****
  - Disable udevd - /sys is mounted RO
  - Enable dumb-udev service
DONE

[ /etc/cont-init.d/40-setup_locale.sh: executing... ]
**** Configure local ****
  - Locales already set correctly to en_US.UTF-8 UTF-8
DONE

[ /etc/cont-init.d/50-configure_pulseaudio.sh: executing... ]
**** Configure pulseaudio ****
  - Enable pulseaudio service.
  - Configure pulseaudio to pipe audio to a socket
DONE

[ /etc/cont-init.d/60-configure_gpu_driver.sh: executing... ]
**** No Intel device found ****
**** No AMD device found ****
**** No NVIDIA device found ****
DONE

[ /etc/cont-init.d/70-configure_desktop.sh: executing... ]
**** Configure Desktop ****
  - Enable Desktop service.
  - Ensure home directory template is owned by the default user.
  - Installing default home directory template
DONE

[ /etc/cont-init.d/70-configure_xorg.sh: executing... ]
**** Generate default xorg.conf ****
  - Configure Xwrapper.config
  - Configure container as primary the X server
  - Enabling evdev input class on pointers, keyboards, touchpads, touch screens, etc.
DONE

[ /etc/cont-init.d/80-configure_flatpak.sh: executing... ]
**** Configure Flatpak ****
mount: /proc: permission denied.
       dmesg(1) may have more information after failed mount system call.
@Mustafa-Agha Mustafa-Agha added status:awaiting-triage type:bug Something isn't working labels Dec 7, 2023
@dexd85
Copy link

dexd85 commented Dec 17, 2023

I´m heading the same issue and completely stuck...are here any news about it?

Thanks!

@Josh5
Copy link
Collaborator

Josh5 commented Dec 21, 2023

I´m heading the same issue and completely stuck...are here any news about it?

Thanks!

Would you be able to jump on discord and post something there about the issue? This would have to be something to do with the host configuration.

@Renari
Copy link

Renari commented Jan 5, 2024

I was having this issue trying to deploy the container on my TrueNAS system via a TrueCharts customapp, setting the user to run as root and enabling privileged mode got me past this.

@Mustafa-Agha
Copy link
Author

@Renari

I use VPS with root user login. In Ubuntu 20.04 LTS OS

But this is not the problem because the script runs in docker, which uses its own os docker image and its own permissions.

@Renari
Copy link

Renari commented Jan 5, 2024

You misunderstand, I set the docker user to root inside the container.

@Mustafa-Agha
Copy link
Author

@Renari, oh yeah, that will work. Thanks for the help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:awaiting-triage type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants