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

[Error] Shell with children does not exit with the terminal #786

Closed
sandorex opened this issue Jun 9, 2023 · 4 comments
Closed

[Error] Shell with children does not exit with the terminal #786

sandorex opened this issue Jun 9, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@sandorex
Copy link
Contributor

sandorex commented Jun 9, 2023

Describe the bug
The shell does not always quit and neither do its children

To Reproduce
Steps to reproduce the behavior

  1. Open a terminal
  2. Enter container using distrobox enter
  3. Run a command like sleep 60s
  4. Close the terminal window by pressing the X button or closing the tab in terminal emulator

Expected behavior
The shell should have been terminated with the terminal window, and all their children cleared up

Actual behaviour
Running ps -ef | grep -E 'bash|zsh|fish' returns

% ps -ef | grep -E 'bash|zsh|fish'
sandorex   27723   27570  0 Jun07 tty2     00:00:00 -zsh
sandorex  148704  148701  0 00:26 pts/0    00:00:01 /usr/bin/zsh -l
sandorex  150275  150272  0 00:31 pts/2    00:00:00 /usr/bin/zsh
sandorex  151294  151291  0 00:34 ?        00:00:00 /usr/bin/bash
sandorex  153496  153493  0 00:38 ?        00:00:00 /usr/bin/bash
sandorex  153622  153619  0 00:38 ?        00:00:00 /usr/bin/bash
sandorex  153935  153932  0 00:40 ?        00:00:00 /usr/bin/zsh -l
sandorex  154085  154080  0 00:40 ?        00:00:00 /usr/bin/zsh -l
sandorex  154233  154228  0 00:40 ?        00:00:00 /usr/bin/zsh -l
sandorex  154369  154366  0 00:40 ?        00:00:00 /usr/bin/zsh -l
sandorex  154727  154722  0 00:41 ?        00:00:00 /usr/bin/zsh -l
sandorex  154776  151765  0 00:42 pts/2    00:00:00 /usr/bin/zsh
sandorex  155720  154776  0 00:44 pts/2    00:00:00 grep --color=auto -E bash|zsh|fish

And keeps increasing each time, and wont ever quit because they probably have been stalled and you cannot continue it like a tmux/screen session

Logs
Run the commands with --verbose and post the log here as a file upload
Attach also the output of podman logs or docker logs, possibly with --latest flag

Below is output from podman logs --latest

distrobox: Executing pre-init hooks...
+ [ -n hostname thorium.toolbox ]
+ printf distrobox: Executing pre-init hooks...\n
+ eval hostname thorium.toolbox
+ hostname thorium.toolbox
distrobox: Installing basic packages...
+ printf distrobox: Installing basic packages...\n
+ basename /usr/bin/zsh
+ shell_pkg=zsh
+ [ zsh = ash ]
+ [ 0 -ne 0 ]
+ command -v find
/usr/bin/find
+ command -v mount
/usr/bin/mount
+ command -v passwd
/usr/bin/passwd
+ command -v sudo
+ command -v apk
+ command -v apt-get
/usr/bin/apt-get
+ [ 0 -ne 0 ]
+ rm -f /etc/dpkg/dpkg.cfg.d/excludes
+ export DEBIAN_FRONTEND=noninteractive
+ apt-get update
Get:1 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB]
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [456 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [108 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [575 kB]
Get:8 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [36.3 kB]
Get:9 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [928 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [42.2 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [857 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [457 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1176 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [27.0 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [49.4 kB]
Fetched 24.9 MB in 3s (7999 kB/s)
Reading package lists...
+ apt-get install -y zsh
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libgdbm6 zsh-common
Suggested packages:
  gdbm-l10n zsh-doc
The following NEW packages will be installed:
  libgdbm6 zsh zsh-common
0 upgraded, 3 newly installed, 0 to remove and 12 not upgraded.
Need to get 4828 kB of archives.
After this operation, 18.3 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgdbm6 amd64 1.23-1 [33.9 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 zsh-common all 5.8.1-1 [3985 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 zsh amd64 5.8.1-1 [809 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 4828 kB in 1s (6947 kB/s)
Selecting previously unselected package libgdbm6:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 4395 files and directories currently installed.)
Preparing to unpack .../libgdbm6_1.23-1_amd64.deb ...
Unpacking libgdbm6:amd64 (1.23-1) ...
Selecting previously unselected package zsh-common.
Preparing to unpack .../zsh-common_5.8.1-1_all.deb ...
Unpacking zsh-common (5.8.1-1) ...
Selecting previously unselected package zsh.
Preparing to unpack .../archives/zsh_5.8.1-1_amd64.deb ...
Unpacking zsh (5.8.1-1) ...
Setting up zsh-common (5.8.1-1) ...
Setting up zsh (5.8.1-1) ...
Setting up libgdbm6:amd64 (1.23-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
+ apt-get install -y zsh apt-utils bc curl dialog diffutils findutils gnupg2 less libnss-myhostname libvte-2.9[0-9]-common libvte-common lsof ncurses-base passwd pinentry-curses procps sudo time wget util-linux
Reading package lists...
Building dependency tree...
Reading state information...
diffutils is already the newest version (1:3.8-0ubuntu2).
findutils is already the newest version (4.8.0-1ubuntu3).
procps is already the newest version (2:3.3.17-6ubuntu2).
util-linux is already the newest version (2.37.2-4ubuntu3).
zsh is already the newest version (5.8.1-1).
passwd is already the newest version (1:4.8.1-2ubuntu2.1).
The following additional packages will be installed:
  ca-certificates dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent
  gpg-wks-client gpg-wks-server gpgconf gpgsm libassuan0 libbrotli1 libcurl4
  libksba8 libldap-2.5-0 libldap-common libnghttp2-14 libnpth0 libpsl5
  libreadline8 librtmp1 libsasl2-2 libsasl2-modules libsasl2-modules-db
  libsqlite3-0 libssh-4 openssl publicsuffix readline-common
Suggested packages:
  dbus-user-session libpam-systemd pinentry-gnome3 tor parcimonie xloadimage
  scdaemon libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
  libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql perl
  pinentry-doc readline-doc
The following NEW packages will be installed:
  apt-utils bc ca-certificates curl dialog dirmngr gnupg gnupg-l10n
  gnupg-utils gnupg2 gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm
  less libassuan0 libbrotli1 libcurl4 libksba8 libldap-2.5-0 libldap-common
  libnghttp2-14 libnpth0 libnss-myhostname libpsl5 libreadline8 librtmp1
  libsasl2-2 libsasl2-modules libsasl2-modules-db libsqlite3-0 libssh-4
  libvte-2.91-common libvte-common lsof openssl pinentry-curses publicsuffix
  readline-common sudo time wget
The following packages will be upgraded:
  ncurses-base
1 upgraded, 44 newly installed, 0 to remove and 11 not upgraded.
Need to get 8513 kB of archives.
After this operation, 22.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ncurses-base all 6.3-2ubuntu0.1 [20.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 apt-utils amd64 2.4.9 [211 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 openssl amd64 3.0.2-0ubuntu1.10 [1183 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ca-certificates all 20230311ubuntu0.22.04.1 [155 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 less amd64 590-1ubuntu0.22.04.1 [143 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy/main amd64 readline-common all 8.1.2-1 [53.5 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy/main amd64 libreadline8 amd64 8.1.2-1 [153 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsqlite3-0 amd64 3.37.2-2ubuntu0.1 [641 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 sudo amd64 1.9.9-1ubuntu2.4 [821 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 libnghttp2-14 amd64 1.43.0-1build3 [76.3 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpsl5 amd64 0.21.0-1.2build2 [58.4 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 lsof amd64 4.93.2+dfsg-1.1build2 [253 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 publicsuffix all 20211207.1025-1 [129 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy/main amd64 time amd64 1.9-0.1build2 [46.7 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy/main amd64 wget amd64 1.21.2-2ubuntu1 [367 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy/main amd64 bc amd64 1.07.1-3build1 [87.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy/main amd64 libbrotli1 amd64 1.0.9-2build6 [315 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg2-3ubuntu1.2 [20.5 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsasl2-2 amd64 2.1.27+dfsg2-3ubuntu1.2 [53.8 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libldap-2.5-0 amd64 2.5.14+dfsg-0ubuntu0.22.04.2 [183 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2build4 [58.2 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssh-4 amd64 0.9.6-2ubuntu0.22.04.1 [185 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcurl4 amd64 7.81.0-1ubuntu1.10 [290 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.10 [194 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy/universe amd64 dialog amd64 1.3-20211214-1 [303 kB]
Get:26 http://archive.ubuntu.com/ubuntu jammy/main amd64 libassuan0 amd64 2.5.5-1build1 [38.2 kB]
Get:27 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgconf amd64 2.2.27-3ubuntu2.1 [94.2 kB]
Get:28 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libksba8 amd64 1.6.0-2ubuntu0.2 [119 kB]
Get:29 http://archive.ubuntu.com/ubuntu jammy/main amd64 libnpth0 amd64 1.6-3build2 [8664 B]
Get:30 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 dirmngr amd64 2.2.27-3ubuntu2.1 [293 kB]
Get:31 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-l10n all 2.2.27-3ubuntu2.1 [54.4 kB]
Get:32 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg-utils amd64 2.2.27-3ubuntu2.1 [308 kB]
Get:33 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg amd64 2.2.27-3ubuntu2.1 [519 kB]
Get:34 http://archive.ubuntu.com/ubuntu jammy/main amd64 pinentry-curses amd64 1.1.1-1build2 [34.4 kB]
Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-agent amd64 2.2.27-3ubuntu2.1 [209 kB]
Get:36 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-client amd64 2.2.27-3ubuntu2.1 [62.7 kB]
Get:37 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpg-wks-server amd64 2.2.27-3ubuntu2.1 [57.5 kB]
Get:38 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gpgsm amd64 2.2.27-3ubuntu2.1 [197 kB]
Get:39 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 gnupg all 2.2.27-3ubuntu2.1 [315 kB]
Get:40 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libldap-common all 2.5.14+dfsg-0ubuntu0.22.04.2 [15.8 kB]
Get:41 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libsasl2-modules amd64 2.1.27+dfsg2-3ubuntu1.2 [68.8 kB]
Get:42 http://archive.ubuntu.com/ubuntu jammy/main amd64 libvte-2.91-common amd64 0.68.0-1 [9216 B]
Get:43 http://archive.ubuntu.com/ubuntu jammy/universe amd64 libvte-common all 1:0.28.2-6build3 [46.9 kB]
Get:44 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 gnupg2 all 2.2.27-3ubuntu2.1 [5548 B]
Get:45 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libnss-myhostname amd64 249.11-0ubuntu3.9 [53.9 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 8513 kB in 4s (2333 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 5875 files and directories currently installed.)
Preparing to unpack .../ncurses-base_6.3-2ubuntu0.1_all.deb ...
Unpacking ncurses-base (6.3-2ubuntu0.1) over (6.3-2) ...
Setting up ncurses-base (6.3-2ubuntu0.1) ...
Selecting previously unselected package apt-utils.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 5875 files and directories currently installed.)
Preparing to unpack .../00-apt-utils_2.4.9_amd64.deb ...
Unpacking apt-utils (2.4.9) ...
Selecting previously unselected package openssl.
Preparing to unpack .../01-openssl_3.0.2-0ubuntu1.10_amd64.deb ...
Unpacking openssl (3.0.2-0ubuntu1.10) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../02-ca-certificates_20230311ubuntu0.22.04.1_all.deb ...
Unpacking ca-certificates (20230311ubuntu0.22.04.1) ...
Selecting previously unselected package less.
Preparing to unpack .../03-less_590-1ubuntu0.22.04.1_amd64.deb ...
Unpacking less (590-1ubuntu0.22.04.1) ...
Selecting previously unselected package readline-common.
Preparing to unpack .../04-readline-common_8.1.2-1_all.deb ...
Unpacking readline-common (8.1.2-1) ...
Selecting previously unselected package libreadline8:amd64.
Preparing to unpack .../05-libreadline8_8.1.2-1_amd64.deb ...
Unpacking libreadline8:amd64 (8.1.2-1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../06-libsqlite3-0_3.37.2-2ubuntu0.1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.37.2-2ubuntu0.1) ...
Selecting previously unselected package sudo.
Preparing to unpack .../07-sudo_1.9.9-1ubuntu2.4_amd64.deb ...
Unpacking sudo (1.9.9-1ubuntu2.4) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../08-libnghttp2-14_1.43.0-1build3_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.43.0-1build3) ...
Selecting previously unselected package libpsl5:amd64.
Preparing to unpack .../09-libpsl5_0.21.0-1.2build2_amd64.deb ...
Unpacking libpsl5:amd64 (0.21.0-1.2build2) ...
Selecting previously unselected package lsof.
Preparing to unpack .../10-lsof_4.93.2+dfsg-1.1build2_amd64.deb ...
Unpacking lsof (4.93.2+dfsg-1.1build2) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../11-publicsuffix_20211207.1025-1_all.deb ...
Unpacking publicsuffix (20211207.1025-1) ...
Selecting previously unselected package time.
Preparing to unpack .../12-time_1.9-0.1build2_amd64.deb ...
Unpacking time (1.9-0.1build2) ...
Selecting previously unselected package wget.
Preparing to unpack .../13-wget_1.21.2-2ubuntu1_amd64.deb ...
Unpacking wget (1.21.2-2ubuntu1) ...
Selecting previously unselected package bc.
Preparing to unpack .../14-bc_1.07.1-3build1_amd64.deb ...
Unpacking bc (1.07.1-3build1) ...
Selecting previously unselected package libbrotli1:amd64.
Preparing to unpack .../15-libbrotli1_1.0.9-2build6_amd64.deb ...
Unpacking libbrotli1:amd64 (1.0.9-2build6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../16-libsasl2-modules-db_2.1.27+dfsg2-3ubuntu1.2_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg2-3ubuntu1.2) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../17-libsasl2-2_2.1.27+dfsg2-3ubuntu1.2_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg2-3ubuntu1.2) ...
Selecting previously unselected package libldap-2.5-0:amd64.
Preparing to unpack .../18-libldap-2.5-0_2.5.14+dfsg-0ubuntu0.22.04.2_amd64.deb ...
Unpacking libldap-2.5-0:amd64 (2.5.14+dfsg-0ubuntu0.22.04.2) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../19-librtmp1_2.4+20151223.gitfa8646d.1-2build4_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build4) ...
Selecting previously unselected package libssh-4:amd64.
Preparing to unpack .../20-libssh-4_0.9.6-2ubuntu0.22.04.1_amd64.deb ...
Unpacking libssh-4:amd64 (0.9.6-2ubuntu0.22.04.1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../21-libcurl4_7.81.0-1ubuntu1.10_amd64.deb ...
Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.10) ...
Selecting previously unselected package curl.
Preparing to unpack .../22-curl_7.81.0-1ubuntu1.10_amd64.deb ...
Unpacking curl (7.81.0-1ubuntu1.10) ...
Selecting previously unselected package dialog.
Preparing to unpack .../23-dialog_1.3-20211214-1_amd64.deb ...
Unpacking dialog (1.3-20211214-1) ...
Selecting previously unselected package libassuan0:amd64.
Preparing to unpack .../24-libassuan0_2.5.5-1build1_amd64.deb ...
Unpacking libassuan0:amd64 (2.5.5-1build1) ...
Selecting previously unselected package gpgconf.
Preparing to unpack .../25-gpgconf_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgconf (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package libksba8:amd64.
Preparing to unpack .../26-libksba8_1.6.0-2ubuntu0.2_amd64.deb ...
Unpacking libksba8:amd64 (1.6.0-2ubuntu0.2) ...
Selecting previously unselected package libnpth0:amd64.
Preparing to unpack .../27-libnpth0_1.6-3build2_amd64.deb ...
Unpacking libnpth0:amd64 (1.6-3build2) ...
Selecting previously unselected package dirmngr.
Preparing to unpack .../28-dirmngr_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking dirmngr (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gnupg-l10n.
Preparing to unpack .../29-gnupg-l10n_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg-l10n (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gnupg-utils.
Preparing to unpack .../30-gnupg-utils_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gnupg-utils (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpg.
Preparing to unpack .../31-gpg_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package pinentry-curses.
Preparing to unpack .../32-pinentry-curses_1.1.1-1build2_amd64.deb ...
Unpacking pinentry-curses (1.1.1-1build2) ...
Selecting previously unselected package gpg-agent.
Preparing to unpack .../33-gpg-agent_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-agent (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpg-wks-client.
Preparing to unpack .../34-gpg-wks-client_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-wks-client (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpg-wks-server.
Preparing to unpack .../35-gpg-wks-server_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpg-wks-server (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gpgsm.
Preparing to unpack .../36-gpgsm_2.2.27-3ubuntu2.1_amd64.deb ...
Unpacking gpgsm (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package gnupg.
Preparing to unpack .../37-gnupg_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../38-libldap-common_2.5.14+dfsg-0ubuntu0.22.04.2_all.deb ...
Unpacking libldap-common (2.5.14+dfsg-0ubuntu0.22.04.2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../39-libsasl2-modules_2.1.27+dfsg2-3ubuntu1.2_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg2-3ubuntu1.2) ...
Selecting previously unselected package libvte-2.91-common.
Preparing to unpack .../40-libvte-2.91-common_0.68.0-1_amd64.deb ...
Unpacking libvte-2.91-common (0.68.0-1) ...
Selecting previously unselected package libvte-common.
Preparing to unpack .../41-libvte-common_1%3a0.28.2-6build3_all.deb ...
Unpacking libvte-common (1:0.28.2-6build3) ...
Selecting previously unselected package gnupg2.
Preparing to unpack .../42-gnupg2_2.2.27-3ubuntu2.1_all.deb ...
Unpacking gnupg2 (2.2.27-3ubuntu2.1) ...
Selecting previously unselected package libnss-myhostname:amd64.
Preparing to unpack .../43-libnss-myhostname_249.11-0ubuntu3.9_amd64.deb ...
Unpacking libnss-myhostname:amd64 (249.11-0ubuntu3.9) ...
Setting up libksba8:amd64 (1.6.0-2ubuntu0.2) ...
Setting up time (1.9-0.1build2) ...
Setting up libvte-common (1:0.28.2-6build3) ...
Setting up libpsl5:amd64 (0.21.0-1.2build2) ...
Setting up apt-utils (2.4.9) ...
Setting up wget (1.21.2-2ubuntu1) ...
Setting up libvte-2.91-common (0.68.0-1) ...
Setting up libbrotli1:amd64 (1.0.9-2build6) ...
Setting up libsqlite3-0:amd64 (3.37.2-2ubuntu0.1) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg2-3ubuntu1.2) ...
Setting up libnghttp2-14:amd64 (1.43.0-1build3) ...
Setting up less (590-1ubuntu0.22.04.1) ...
Setting up libnpth0:amd64 (1.6-3build2) ...
Setting up libassuan0:amd64 (2.5.5-1build1) ...
Setting up libldap-common (2.5.14+dfsg-0ubuntu0.22.04.2) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg2-3ubuntu1.2) ...
Setting up gnupg-l10n (2.2.27-3ubuntu2.1) ...
Setting up dialog (1.3-20211214-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2build4) ...
Setting up libnss-myhostname:amd64 (249.11-0ubuntu3.9) ...
First installation detected...
Checking NSS setup...
Setting up sudo (1.9.9-1ubuntu2.4) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg2-3ubuntu1.2) ...
Setting up libssh-4:amd64 (0.9.6-2ubuntu0.22.04.1) ...
Setting up lsof (4.93.2+dfsg-1.1build2) ...
Setting up openssl (3.0.2-0ubuntu1.10) ...
Setting up readline-common (8.1.2-1) ...
Setting up publicsuffix (20211207.1025-1) ...
Setting up pinentry-curses (1.1.1-1build2) ...
Setting up libreadline8:amd64 (8.1.2-1) ...
Setting up bc (1.07.1-3build1) ...
Setting up libldap-2.5-0:amd64 (2.5.14+dfsg-0ubuntu0.22.04.2) ...
Setting up ca-certificates (20230311ubuntu0.22.04.1) ...
Updating certificates in /etc/ssl/certs...
137 added, 0 removed; done.
Setting up gpgconf (2.2.27-3ubuntu2.1) ...
Setting up libcurl4:amd64 (7.81.0-1ubuntu1.10) ...
Setting up curl (7.81.0-1ubuntu1.10) ...
Setting up gpg (2.2.27-3ubuntu2.1) ...
Setting up gnupg-utils (2.2.27-3ubuntu2.1) ...
Setting up gpg-agent (2.2.27-3ubuntu2.1) ...
Setting up gpgsm (2.2.27-3ubuntu2.1) ...
Setting up dirmngr (2.2.27-3ubuntu2.1) ...
Setting up gpg-wks-server (2.2.27-3ubuntu2.1) ...
Setting up gpg-wks-client (2.2.27-3ubuntu2.1) ...
Setting up gnupg (2.2.27-3ubuntu2.1) ...
Setting up gnupg2 (2.2.27-3ubuntu2.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
+ apt-get install -y libegl1-mesa libgl1-mesa-glx
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libbsd0 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2
  libdrm-radeon1 libdrm2 libedit2 libegl-mesa0 libegl1 libelf1 libexpat1
  libgbm1 libgl1 libgl1-amber-dri libgl1-mesa-dri libglapi-mesa libglvnd0
  libglx-mesa0 libglx0 libicu70 libllvm15 libmd0 libpciaccess0
  libsensors-config libsensors5 libwayland-client0 libwayland-server0 libx11-6
  libx11-data libx11-xcb1 libxau6 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0
  libxcb-present0 libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxcb1 libxdmcp6
  libxext6 libxfixes3 libxml2 libxshmfence1 libxxf86vm1
Suggested packages:
  pciutils lm-sensors
The following NEW packages will be installed:
  libbsd0 libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2
  libdrm-radeon1 libdrm2 libedit2 libegl-mesa0 libegl1 libegl1-mesa libelf1
  libexpat1 libgbm1 libgl1 libgl1-amber-dri libgl1-mesa-dri libgl1-mesa-glx
  libglapi-mesa libglvnd0 libglx-mesa0 libglx0 libicu70 libllvm15 libmd0
  libpciaccess0 libsensors-config libsensors5 libwayland-client0
  libwayland-server0 libx11-6 libx11-data libx11-xcb1 libxau6 libxcb-dri2-0
  libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-shm0 libxcb-sync1
  libxcb-xfixes0 libxcb1 libxdmcp6 libxext6 libxfixes3 libxml2 libxshmfence1
  libxxf86vm1
0 upgraded, 48 newly installed, 0 to remove and 11 not upgraded.
Need to get 50.9 MB of archives.
After this operation, 206 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmd0 amd64 1.0.4-1build1 [23.0 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy/main amd64 libbsd0 amd64 0.11.5-1 [44.8 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libelf1 amd64 0.186-1build1 [51.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libexpat1 amd64 2.4.7-1ubuntu0.2 [91.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libicu70 amd64 70.1-2 [10.6 MB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libxml2 amd64 2.9.13+dfsg-1ubuntu0.3 [763 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-common all 2.4.113-2~ubuntu0.22.04.1 [5450 B]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm2 amd64 2.4.113-2~ubuntu0.22.04.1 [38.1 kB]
Get:9 http://archive.ubuntu.com/ubuntu jammy/main amd64 libedit2 amd64 3.1-20210910-1build1 [96.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxau6 amd64 1:1.0.9-1build5 [7634 B]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxdmcp6 amd64 1:1.1.3-0ubuntu5 [10.9 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb1 amd64 1.14-3ubuntu3 [49.0 kB]
Get:13 http://archive.ubuntu.com/ubuntu jammy/main amd64 libx11-data all 2:1.7.5-1 [119 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy/main amd64 libx11-6 amd64 2:1.7.5-1 [666 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxext6 amd64 2:1.3.4-1build1 [31.8 kB]
Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-amdgpu1 amd64 2.4.113-2~ubuntu0.22.04.1 [19.9 kB]
Get:17 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpciaccess0 amd64 0.16-3 [19.1 kB]
Get:18 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-intel1 amd64 2.4.113-2~ubuntu0.22.04.1 [66.7 kB]
Get:19 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-nouveau2 amd64 2.4.113-2~ubuntu0.22.04.1 [17.5 kB]
Get:20 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdrm-radeon1 amd64 2.4.113-2~ubuntu0.22.04.1 [21.6 kB]
Get:21 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwayland-server0 amd64 1.20.0-1ubuntu0.1 [34.3 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgbm1 amd64 22.2.5-0ubuntu0.1~22.04.1 [33.0 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglapi-mesa amd64 22.2.5-0ubuntu0.1~22.04.1 [35.3 kB]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libwayland-client0 amd64 1.20.0-1ubuntu0.1 [25.9 kB]
Get:25 http://archive.ubuntu.com/ubuntu jammy/main amd64 libx11-xcb1 amd64 2:1.7.5-1 [7790 B]
Get:26 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-dri2-0 amd64 1.14-3ubuntu3 [7206 B]
Get:27 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-dri3-0 amd64 1.14-3ubuntu3 [6968 B]
Get:28 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-present0 amd64 1.14-3ubuntu3 [5734 B]
Get:29 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-sync1 amd64 1.14-3ubuntu3 [9416 B]
Get:30 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-xfixes0 amd64 1.14-3ubuntu3 [9996 B]
Get:31 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxshmfence1 amd64 1.3-1build4 [5394 B]
Get:32 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libegl-mesa0 amd64 22.2.5-0ubuntu0.1~22.04.1 [111 kB]
Get:33 http://archive.ubuntu.com/ubuntu jammy/main amd64 libglvnd0 amd64 1.4.0-1 [73.6 kB]
Get:34 http://archive.ubuntu.com/ubuntu jammy/main amd64 libegl1 amd64 1.4.0-1 [28.6 kB]
Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libegl1-mesa amd64 22.2.5-0ubuntu0.1~22.04.1 [6586 B]
Get:36 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgl1-amber-dri amd64 21.3.7-0ubuntu1 [4433 kB]
Get:37 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libllvm15 amd64 1:15.0.7-0ubuntu0.22.04.1 [25.4 MB]
Get:38 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsensors-config all 1:3.6.0-7ubuntu1 [5274 B]
Get:39 http://archive.ubuntu.com/ubuntu jammy/main amd64 libsensors5 amd64 1:3.6.0-7ubuntu1 [26.3 kB]
Get:40 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgl1-mesa-dri amd64 22.2.5-0ubuntu0.1~22.04.1 [7511 kB]
Get:41 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-glx0 amd64 1.14-3ubuntu3 [25.9 kB]
Get:42 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-shm0 amd64 1.14-3ubuntu3 [5780 B]
Get:43 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxfixes3 amd64 1:6.0.0-1 [11.7 kB]
Get:44 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxxf86vm1 amd64 1:1.1.4-1build3 [10.4 kB]
Get:45 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libglx-mesa0 amd64 22.2.5-0ubuntu0.1~22.04.1 [158 kB]
Get:46 http://archive.ubuntu.com/ubuntu jammy/main amd64 libglx0 amd64 1.4.0-1 [41.0 kB]
Get:47 http://archive.ubuntu.com/ubuntu jammy/main amd64 libgl1 amd64 1.4.0-1 [110 kB]
Get:48 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libgl1-mesa-glx amd64 22.2.5-0ubuntu0.1~22.04.1 [5466 B]
Fetched 50.9 MB in 9s (5824 kB/s)
Selecting previously unselected package libmd0:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 7259 files and directories currently installed.)
Preparing to unpack .../00-libmd0_1.0.4-1build1_amd64.deb ...
Unpacking libmd0:amd64 (1.0.4-1build1) ...
Selecting previously unselected package libbsd0:amd64.
Preparing to unpack .../01-libbsd0_0.11.5-1_amd64.deb ...
Unpacking libbsd0:amd64 (0.11.5-1) ...
Selecting previously unselected package libelf1:amd64.
Preparing to unpack .../02-libelf1_0.186-1build1_amd64.deb ...
Unpacking libelf1:amd64 (0.186-1build1) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../03-libexpat1_2.4.7-1ubuntu0.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.4.7-1ubuntu0.2) ...
Selecting previously unselected package libicu70:amd64.
Preparing to unpack .../04-libicu70_70.1-2_amd64.deb ...
Unpacking libicu70:amd64 (70.1-2) ...
Selecting previously unselected package libxml2:amd64.
Preparing to unpack .../05-libxml2_2.9.13+dfsg-1ubuntu0.3_amd64.deb ...
Unpacking libxml2:amd64 (2.9.13+dfsg-1ubuntu0.3) ...
Selecting previously unselected package libdrm-common.
Preparing to unpack .../06-libdrm-common_2.4.113-2~ubuntu0.22.04.1_all.deb ...
Unpacking libdrm-common (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libdrm2:amd64.
Preparing to unpack .../07-libdrm2_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libedit2:amd64.
Preparing to unpack .../08-libedit2_3.1-20210910-1build1_amd64.deb ...
Unpacking libedit2:amd64 (3.1-20210910-1build1) ...
Selecting previously unselected package libxau6:amd64.
Preparing to unpack .../09-libxau6_1%3a1.0.9-1build5_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.9-1build5) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../10-libxdmcp6_1%3a1.1.3-0ubuntu5_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.3-0ubuntu5) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../11-libxcb1_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb1:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../12-libx11-data_2%3a1.7.5-1_all.deb ...
Unpacking libx11-data (2:1.7.5-1) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../13-libx11-6_2%3a1.7.5-1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.7.5-1) ...
Selecting previously unselected package libxext6:amd64.
Preparing to unpack .../14-libxext6_2%3a1.3.4-1build1_amd64.deb ...
Unpacking libxext6:amd64 (2:1.3.4-1build1) ...
Selecting previously unselected package libdrm-amdgpu1:amd64.
Preparing to unpack .../15-libdrm-amdgpu1_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../16-libpciaccess0_0.16-3_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.16-3) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../17-libdrm-intel1_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../18-libdrm-nouveau2_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../19-libdrm-radeon1_2.4.113-2~ubuntu0.22.04.1_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Selecting previously unselected package libwayland-server0:amd64.
Preparing to unpack .../20-libwayland-server0_1.20.0-1ubuntu0.1_amd64.deb ...
Unpacking libwayland-server0:amd64 (1.20.0-1ubuntu0.1) ...
Selecting previously unselected package libgbm1:amd64.
Preparing to unpack .../21-libgbm1_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libgbm1:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Selecting previously unselected package libglapi-mesa:amd64.
Preparing to unpack .../22-libglapi-mesa_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libglapi-mesa:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Selecting previously unselected package libwayland-client0:amd64.
Preparing to unpack .../23-libwayland-client0_1.20.0-1ubuntu0.1_amd64.deb ...
Unpacking libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ...
Selecting previously unselected package libx11-xcb1:amd64.
Preparing to unpack .../24-libx11-xcb1_2%3a1.7.5-1_amd64.deb ...
Unpacking libx11-xcb1:amd64 (2:1.7.5-1) ...
Selecting previously unselected package libxcb-dri2-0:amd64.
Preparing to unpack .../25-libxcb-dri2-0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-dri2-0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-dri3-0:amd64.
Preparing to unpack .../26-libxcb-dri3-0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-dri3-0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-present0:amd64.
Preparing to unpack .../27-libxcb-present0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-present0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-sync1:amd64.
Preparing to unpack .../28-libxcb-sync1_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-sync1:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-xfixes0:amd64.
Preparing to unpack .../29-libxcb-xfixes0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-xfixes0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxshmfence1:amd64.
Preparing to unpack .../30-libxshmfence1_1.3-1build4_amd64.deb ...
Unpacking libxshmfence1:amd64 (1.3-1build4) ...
Selecting previously unselected package libegl-mesa0:amd64.
Preparing to unpack .../31-libegl-mesa0_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libegl-mesa0:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Selecting previously unselected package libglvnd0:amd64.
Preparing to unpack .../32-libglvnd0_1.4.0-1_amd64.deb ...
Unpacking libglvnd0:amd64 (1.4.0-1) ...
Selecting previously unselected package libegl1:amd64.
Preparing to unpack .../33-libegl1_1.4.0-1_amd64.deb ...
Unpacking libegl1:amd64 (1.4.0-1) ...
Selecting previously unselected package libegl1-mesa:amd64.
Preparing to unpack .../34-libegl1-mesa_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libegl1-mesa:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Selecting previously unselected package libgl1-amber-dri:amd64.
Preparing to unpack .../35-libgl1-amber-dri_21.3.7-0ubuntu1_amd64.deb ...
Unpacking libgl1-amber-dri:amd64 (21.3.7-0ubuntu1) ...
Selecting previously unselected package libllvm15:amd64.
Preparing to unpack .../36-libllvm15_1%3a15.0.7-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libllvm15:amd64 (1:15.0.7-0ubuntu0.22.04.1) ...
Selecting previously unselected package libsensors-config.
Preparing to unpack .../37-libsensors-config_1%3a3.6.0-7ubuntu1_all.deb ...
Unpacking libsensors-config (1:3.6.0-7ubuntu1) ...
Selecting previously unselected package libsensors5:amd64.
Preparing to unpack .../38-libsensors5_1%3a3.6.0-7ubuntu1_amd64.deb ...
Unpacking libsensors5:amd64 (1:3.6.0-7ubuntu1) ...
Selecting previously unselected package libgl1-mesa-dri:amd64.
Preparing to unpack .../39-libgl1-mesa-dri_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Selecting previously unselected package libxcb-glx0:amd64.
Preparing to unpack .../40-libxcb-glx0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-glx0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxcb-shm0:amd64.
Preparing to unpack .../41-libxcb-shm0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-shm0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package libxfixes3:amd64.
Preparing to unpack .../42-libxfixes3_1%3a6.0.0-1_amd64.deb ...
Unpacking libxfixes3:amd64 (1:6.0.0-1) ...
Selecting previously unselected package libxxf86vm1:amd64.
Preparing to unpack .../43-libxxf86vm1_1%3a1.1.4-1build3_amd64.deb ...
Unpacking libxxf86vm1:amd64 (1:1.1.4-1build3) ...
Selecting previously unselected package libglx-mesa0:amd64.
Preparing to unpack .../44-libglx-mesa0_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Selecting previously unselected package libglx0:amd64.
Preparing to unpack .../45-libglx0_1.4.0-1_amd64.deb ...
Unpacking libglx0:amd64 (1.4.0-1) ...
Selecting previously unselected package libgl1:amd64.
Preparing to unpack .../46-libgl1_1.4.0-1_amd64.deb ...
Unpacking libgl1:amd64 (1.4.0-1) ...
Selecting previously unselected package libgl1-mesa-glx:amd64.
Preparing to unpack .../47-libgl1-mesa-glx_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking libgl1-mesa-glx:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libexpat1:amd64 (2.4.7-1ubuntu0.2) ...
Setting up libwayland-server0:amd64 (1.20.0-1ubuntu0.1) ...
Setting up libpciaccess0:amd64 (0.16-3) ...
Setting up libxau6:amd64 (1:1.0.9-1build5) ...
Setting up libglvnd0:amd64 (1.4.0-1) ...
Setting up libsensors-config (1:3.6.0-7ubuntu1) ...
Setting up libx11-data (2:1.7.5-1) ...
Setting up libsensors5:amd64 (1:3.6.0-7ubuntu1) ...
Setting up libglapi-mesa:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libmd0:amd64 (1.0.4-1build1) ...
Setting up libxshmfence1:amd64 (1.3-1build4) ...
Setting up libbsd0:amd64 (0.11.5-1) ...
Setting up libdrm-common (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libelf1:amd64 (0.186-1build1) ...
Setting up libicu70:amd64 (70.1-2) ...
Setting up libwayland-client0:amd64 (1.20.0-1ubuntu0.1) ...
Setting up libxdmcp6:amd64 (1:1.1.3-0ubuntu5) ...
Setting up libxcb1:amd64 (1.14-3ubuntu3) ...
Setting up libxcb-xfixes0:amd64 (1.14-3ubuntu3) ...
Setting up libxcb-glx0:amd64 (1.14-3ubuntu3) ...
Setting up libedit2:amd64 (3.1-20210910-1build1) ...
Setting up libxcb-shm0:amd64 (1.14-3ubuntu3) ...
Setting up libxcb-present0:amd64 (1.14-3ubuntu3) ...
Setting up libxcb-sync1:amd64 (1.14-3ubuntu3) ...
Setting up libxcb-dri2-0:amd64 (1.14-3ubuntu3) ...
Setting up libdrm2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libx11-6:amd64 (2:1.7.5-1) ...
Setting up libxml2:amd64 (2.9.13+dfsg-1ubuntu0.3) ...
Setting up libdrm-amdgpu1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libxcb-dri3-0:amd64 (1.14-3ubuntu3) ...
Setting up libx11-xcb1:amd64 (2:1.7.5-1) ...
Setting up libdrm-nouveau2:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libgbm1:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libdrm-radeon1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libdrm-intel1:amd64 (2.4.113-2~ubuntu0.22.04.1) ...
Setting up libxext6:amd64 (2:1.3.4-1build1) ...
Setting up libxxf86vm1:amd64 (1:1.1.4-1build3) ...
Setting up libegl-mesa0:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libxfixes3:amd64 (1:6.0.0-1) ...
Setting up libllvm15:amd64 (1:15.0.7-0ubuntu0.22.04.1) ...
Setting up libegl1:amd64 (1.4.0-1) ...
Setting up libgl1-amber-dri:amd64 (21.3.7-0ubuntu1) ...
Setting up libgl1-mesa-dri:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libegl1-mesa:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libglx-mesa0:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libglx0:amd64 (1.4.0-1) ...
Setting up libgl1:amd64 (1.4.0-1) ...
Setting up libgl1-mesa-glx:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
+ apt-cache show libvulkan1
+ apt-get install -y libvulkan1 mesa-vulkan-drivers
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libmpdec3 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib
  libxcb-randr0 media-types python3 python3-minimal python3.10
  python3.10-minimal
Suggested packages:
  python3-doc python3-tk python3-venv python3.10-venv python3.10-doc binutils
  binfmt-support
The following NEW packages will be installed:
  libmpdec3 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib
  libvulkan1 libxcb-randr0 media-types mesa-vulkan-drivers python3
  python3-minimal python3.10 python3.10-minimal
0 upgraded, 12 newly installed, 0 to remove and 11 not upgraded.
Need to get 10.9 MB of archives.
After this operation, 45.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-minimal amd64 3.10.6-1~22.04.2ubuntu1.1 [810 kB]
Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-minimal amd64 3.10.6-1~22.04.2ubuntu1.1 [2262 kB]
Get:3 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-minimal amd64 3.10.6-1~22.04 [24.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 media-types all 7.0.0 [25.5 kB]
Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 libmpdec3 amd64 2.5.1-2build2 [86.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-stdlib amd64 3.10.6-1~22.04.2ubuntu1.1 [1832 kB]
Get:7 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10 amd64 3.10.6-1~22.04.2ubuntu1.1 [497 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3-stdlib amd64 3.10.6-1~22.04 [6910 B]
Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3 amd64 3.10.6-1~22.04 [22.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu jammy/main amd64 libvulkan1 amd64 1.3.204.1-2 [128 kB]
Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 libxcb-randr0 amd64 1.14-3ubuntu3 [18.3 kB]
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 mesa-vulkan-drivers amd64 22.2.5-0ubuntu0.1~22.04.1 [5155 kB]
Fetched 10.9 MB in 2s (6874 kB/s)
Selecting previously unselected package libpython3.10-minimal:amd64.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 7839 files and directories currently installed.)
Preparing to unpack .../libpython3.10-minimal_3.10.6-1~22.04.2ubuntu1.1_amd64.deb ...
Unpacking libpython3.10-minimal:amd64 (3.10.6-1~22.04.2ubuntu1.1) ...
Selecting previously unselected package python3.10-minimal.
Preparing to unpack .../python3.10-minimal_3.10.6-1~22.04.2ubuntu1.1_amd64.deb ...
Unpacking python3.10-minimal (3.10.6-1~22.04.2ubuntu1.1) ...
Setting up libpython3.10-minimal:amd64 (3.10.6-1~22.04.2ubuntu1.1) ...
Setting up python3.10-minimal (3.10.6-1~22.04.2ubuntu1.1) ...
Selecting previously unselected package python3-minimal.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 8133 files and directories currently installed.)
Preparing to unpack .../0-python3-minimal_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-minimal (3.10.6-1~22.04) ...
Selecting previously unselected package media-types.
Preparing to unpack .../1-media-types_7.0.0_all.deb ...
Unpacking media-types (7.0.0) ...
Selecting previously unselected package libmpdec3:amd64.
Preparing to unpack .../2-libmpdec3_2.5.1-2build2_amd64.deb ...
Unpacking libmpdec3:amd64 (2.5.1-2build2) ...
Selecting previously unselected package libpython3.10-stdlib:amd64.
Preparing to unpack .../3-libpython3.10-stdlib_3.10.6-1~22.04.2ubuntu1.1_amd64.deb ...
Unpacking libpython3.10-stdlib:amd64 (3.10.6-1~22.04.2ubuntu1.1) ...
Selecting previously unselected package python3.10.
Preparing to unpack .../4-python3.10_3.10.6-1~22.04.2ubuntu1.1_amd64.deb ...
Unpacking python3.10 (3.10.6-1~22.04.2ubuntu1.1) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../5-libpython3-stdlib_3.10.6-1~22.04_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.10.6-1~22.04) ...
Setting up python3-minimal (3.10.6-1~22.04) ...
Selecting previously unselected package python3.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 8534 files and directories currently installed.)
Preparing to unpack .../python3_3.10.6-1~22.04_amd64.deb ...
Unpacking python3 (3.10.6-1~22.04) ...
Selecting previously unselected package libvulkan1:amd64.
Preparing to unpack .../libvulkan1_1.3.204.1-2_amd64.deb ...
Unpacking libvulkan1:amd64 (1.3.204.1-2) ...
Selecting previously unselected package libxcb-randr0:amd64.
Preparing to unpack .../libxcb-randr0_1.14-3ubuntu3_amd64.deb ...
Unpacking libxcb-randr0:amd64 (1.14-3ubuntu3) ...
Selecting previously unselected package mesa-vulkan-drivers:amd64.
Preparing to unpack .../mesa-vulkan-drivers_22.2.5-0ubuntu0.1~22.04.1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up media-types (7.0.0) ...
Setting up libvulkan1:amd64 (1.3.204.1-2) ...
Setting up libxcb-randr0:amd64 (1.14-3ubuntu3) ...
Setting up libmpdec3:amd64 (2.5.1-2build2) ...
Setting up mesa-vulkan-drivers:amd64 (22.2.5-0ubuntu0.1~22.04.1) ...
Setting up libpython3.10-stdlib:amd64 (3.10.6-1~22.04.2ubuntu1.1) ...
Setting up libpython3-stdlib:amd64 (3.10.6-1~22.04) ...
Setting up python3.10 (3.10.6-1~22.04.2ubuntu1.1) ...
Setting up python3 (3.10.6-1~22.04) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
+ [ zsh = ash ]
+ command -v zsh
+ SHELL=/usr/bin/zsh
distrobox: Setting up read-only mounts...
+ printf distrobox: Setting up read-only mounts...\n
+ HOST_MOUNTS_RO=
	/var/lib/flatpak
	/var/lib/systemd/coredump
	/var/log/journal
+ mount_bind /run/host/var/lib/flatpak /var/lib/flatpak ro
+ source_dir=/run/host/var/lib/flatpak
+ target_dir=/var/lib/flatpak
+ mount_flags=ro
+ [ -d /run/host/var/lib/flatpak ]
+ [ -e /var/lib/flatpak ]
+ [ -d /run/host/var/lib/flatpak ]
+ mkdir -p /var/lib/flatpak
+ [ ro =  ]
+ mount --rbind -o ro /run/host/var/lib/flatpak /var/lib/flatpak
+ return 0
+ mount_bind /run/host/var/lib/systemd/coredump /var/lib/systemd/coredump ro
+ source_dir=/run/host/var/lib/systemd/coredump
+ target_dir=/var/lib/systemd/coredump
+ mount_flags=ro
+ [ -d /run/host/var/lib/systemd/coredump ]
+ [ -e /var/lib/systemd/coredump ]
+ [ -d /run/host/var/lib/systemd/coredump ]
+ mkdir -p /var/lib/systemd/coredump
+ [ ro =  ]
+ mount --rbind -o ro /run/host/var/lib/systemd/coredump /var/lib/systemd/coredump
+ return 0
+ mount_bind /run/host/var/log/journal /var/log/journal ro
+ source_dir=/run/host/var/log/journal
+ target_dir=/var/log/journal
+ mount_flags=ro
+ [ -d /run/host/var/log/journal ]
+ [ -e /var/log/journal ]
+ findmnt /var/log/journal
+ umount /var/log/journal
+ [ -d /run/host/var/log/journal ]
+ mkdir -p /var/log/journal
+ [ ro =  ]
+ mount --rbind -o ro /run/host/var/log/journal /var/log/journal
+ return 0
+ printf distrobox: Setting up read-write mounts...\n
distrobox: Setting up read-write mounts...
+ HOST_MOUNTS=
	/etc/host.conf
	/etc/machine-id
	/media
	/mnt
	/run/libvirt
	/run/media
	/run/systemd/journal
	/run/systemd/seats
	/run/systemd/sessions
	/run/systemd/users
	/run/systemd/resolve/
	/run/netconfig/
	/run/udev
	/srv
	/var/lib/libvirt
	/var/mnt
+ mount_bind /run/host/etc/host.conf /etc/host.conf rw
+ source_dir=/run/host/etc/host.conf
+ target_dir=/etc/host.conf
+ mount_flags=rw
+ [ -d /run/host/etc/host.conf ]
+ [ -f /run/host/etc/host.conf ]
+ [ -e /etc/host.conf ]
+ findmnt /etc/host.conf
+ [ -d /run/host/etc/host.conf ]
+ [ -f /run/host/etc/host.conf ]
+ touch /etc/host.conf
+ [ rw =  ]
+ mount --rbind -o rw /run/host/etc/host.conf /etc/host.conf
+ return 0
+ mount_bind /run/host/etc/machine-id /etc/machine-id rw
+ source_dir=/run/host/etc/machine-id
+ target_dir=/etc/machine-id
+ mount_flags=rw
+ [ -d /run/host/etc/machine-id ]
+ [ -f /run/host/etc/machine-id ]
+ [ -e /etc/machine-id ]
+ findmnt /etc/machine-id
+ [ -d /run/host/etc/machine-id ]
+ [ -f /run/host/etc/machine-id ]
+ touch /etc/machine-id
+ [ rw =  ]
+ mount --rbind -o rw /run/host/etc/machine-id /etc/machine-id
+ return 0
+ mount_bind /run/host/media /media rw
+ source_dir=/run/host/media
+ target_dir=/media
+ mount_flags=rw
+ [ -d /run/host/media ]
+ [ -e /media ]
+ findmnt /media
+ [ -d /run/host/media ]
+ mkdir -p /media
+ [ rw =  ]
+ mount --rbind -o rw /run/host/media /media
+ return 0
+ mount_bind /run/host/mnt /mnt rw
+ source_dir=/run/host/mnt
+ target_dir=/mnt
+ mount_flags=rw
+ [ -d /run/host/mnt ]
+ [ -e /mnt ]
+ findmnt /mnt
+ [ -d /run/host/mnt ]
+ mkdir -p /mnt
+ [ rw =  ]
+ mount --rbind -o rw /run/host/mnt /mnt
+ return 0
+ mount_bind /run/host/run/libvirt /run/libvirt rw
+ source_dir=/run/host/run/libvirt
+ target_dir=/run/libvirt
+ mount_flags=rw
+ [ -d /run/host/run/libvirt ]
+ [ -e /run/libvirt ]
+ [ -d /run/host/run/libvirt ]
+ mkdir -p /run/libvirt
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/libvirt /run/libvirt
+ return 0
+ mount_bind /run/host/run/media /run/media rw
+ source_dir=/run/host/run/media
+ target_dir=/run/media
+ mount_flags=rw
+ [ -d /run/host/run/media ]
+ [ -e /run/media ]
+ [ -d /run/host/run/media ]
+ mkdir -p /run/media
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/media /run/media
+ return 0
+ mount_bind /run/host/run/systemd/journal /run/systemd/journal rw
+ source_dir=/run/host/run/systemd/journal
+ target_dir=/run/systemd/journal
+ mount_flags=rw
+ [ -d /run/host/run/systemd/journal ]
+ [ -e /run/systemd/journal ]
+ [ -d /run/host/run/systemd/journal ]
+ mkdir -p /run/systemd/journal
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/systemd/journal /run/systemd/journal
+ return 0
+ mount_bind /run/host/run/systemd/seats /run/systemd/seats rw
+ source_dir=/run/host/run/systemd/seats
+ target_dir=/run/systemd/seats
+ mount_flags=rw
+ [ -d /run/host/run/systemd/seats ]
+ [ -e /run/systemd/seats ]
+ [ -d /run/host/run/systemd/seats ]
+ mkdir -p /run/systemd/seats
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/systemd/seats /run/systemd/seats
+ return 0
+ mount_bind /run/host/run/systemd/sessions /run/systemd/sessions rw
+ source_dir=/run/host/run/systemd/sessions
+ target_dir=/run/systemd/sessions
+ mount_flags=rw
+ [ -d /run/host/run/systemd/sessions ]
+ [ -e /run/systemd/sessions ]
+ [ -d /run/host/run/systemd/sessions ]
+ mkdir -p /run/systemd/sessions
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/systemd/sessions /run/systemd/sessions
+ return 0
+ mount_bind /run/host/run/systemd/users /run/systemd/users rw
+ source_dir=/run/host/run/systemd/users
+ target_dir=/run/systemd/users
+ mount_flags=rw
+ [ -d /run/host/run/systemd/users ]
+ [ -e /run/systemd/users ]
+ [ -d /run/host/run/systemd/users ]
+ mkdir -p /run/systemd/users
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/systemd/users /run/systemd/users
+ return 0
+ mount_bind /run/host/run/systemd/resolve/ /run/systemd/resolve/ rw
+ source_dir=/run/host/run/systemd/resolve/
+ target_dir=/run/systemd/resolve/
+ mount_flags=rw
+ [ -d /run/host/run/systemd/resolve/ ]
+ [ -e /run/systemd/resolve/ ]
+ [ -d /run/host/run/systemd/resolve/ ]
+ mkdir -p /run/systemd/resolve/
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/systemd/resolve/ /run/systemd/resolve/
+ return 0
+ mount_bind /run/host/run/netconfig/ /run/netconfig/ rw
+ source_dir=/run/host/run/netconfig/
+ target_dir=/run/netconfig/
+ mount_flags=rw
+ [ -d /run/host/run/netconfig/ ]
+ [ -f /run/host/run/netconfig/ ]
+ return 0
+ mount_bind /run/host/run/udev /run/udev rw
+ source_dir=/run/host/run/udev
+ target_dir=/run/udev
+ mount_flags=rw
+ [ -d /run/host/run/udev ]
+ [ -e /run/udev ]
+ [ -d /run/host/run/udev ]
+ mkdir -p /run/udev
+ [ rw =  ]
+ mount --rbind -o rw /run/host/run/udev /run/udev
+ return 0
+ mount_bind /run/host/srv /srv rw
+ source_dir=/run/host/srv
+ target_dir=/srv
+ mount_flags=rw
+ [ -d /run/host/srv ]
+ [ -e /srv ]
+ findmnt /srv
+ [ -d /run/host/srv ]
+ mkdir -p /srv
+ [ rw =  ]
+ mount --rbind -o rw /run/host/srv /srv
+ return 0
+ mount_bind /run/host/var/lib/libvirt /var/lib/libvirt rw
+ source_dir=/run/host/var/lib/libvirt
+ target_dir=/var/lib/libvirt
+ mount_flags=rw
+ [ -d /run/host/var/lib/libvirt ]
+ [ -e /var/lib/libvirt ]
+ [ -d /run/host/var/lib/libvirt ]
+ mkdir -p /var/lib/libvirt
+ [ rw =  ]
+ mount --rbind -o rw /run/host/var/lib/libvirt /var/lib/libvirt
+ return 0
+ mount_bind /run/host/var/mnt /var/mnt rw
+ source_dir=/run/host/var/mnt
+ target_dir=/var/mnt
+ mount_flags=rw
+ [ -d /run/host/var/mnt ]
+ [ -e /var/mnt ]
+ [ -d /run/host/var/mnt ]
+ mkdir -p /var/mnt
+ [ rw =  ]
+ mount --rbind -o rw /run/host/var/mnt /var/mnt
+ return 0
+ HOST_MOUNTS_RO_INIT=
		/etc/localtime
		/run/systemd/journal
		/run/systemd/resolve
		/run/systemd/seats
		/run/systemd/sessions
		/run/systemd/users
		/var/lib/systemd/coredump
		/var/log/journal
+ [ -e /var/home/sandorex ]
+ [ ! -e /home/sandorex ]
+ mount_bind /run/host/var/home/sandorex /home/sandorex rw
+ source_dir=/run/host/var/home/sandorex
+ target_dir=/home/sandorex
+ mount_flags=rw
+ [ -d /run/host/var/home/sandorex ]
+ [ -e /home/sandorex ]
+ [ -d /run/host/var/home/sandorex ]
+ mkdir -p /home/sandorex
+ [ rw =  ]
+ mount --rbind -o rw /run/host/var/home/sandorex /home/sandorex
+ return 0
+ printf distrobox: Setting up host's sockets integration...\n
distrobox: Setting up host's sockets integration...
+ find /run/host/run -name user -prune -o -path /run/host/run/media -prune -o -name nscd -prune -o -name bees -prune -o -name system_bus_socket -prune -o -type s -print
+ :
+ host_sockets=/run/host/run/gssproxy.sock
/run/host/run/gssproxy.default.sock
/run/host/run/libvirt/virtlogd-admin-sock
/run/host/run/libvirt/virtnodedevd-sock-ro
/run/host/run/libvirt/virtnodedevd-admin-sock
/run/host/run/libvirt/virtnetworkd-sock-ro
/run/host/run/libvirt/virtnetworkd-admin-sock
/run/host/run/libvirt/virtstoraged-sock-ro
/run/host/run/libvirt/virtstoraged-admin-sock
/run/host/run/libvirt/virtstoraged-sock
/run/host/run/libvirt/virtsecretd-sock
/run/host/run/libvirt/virtqemud-sock-ro
/run/host/run/libvirt/virtqemud-admin-sock
/run/host/run/libvirt/virtqemud-sock
/run/host/run/libvirt/libvirt-sock
/run/host/run/libvirt/virtnwfilterd-sock
/run/host/run/libvirt/virtnodedevd-sock
/run/host/run/libvirt/virtnetworkd-sock
/run/host/run/libvirt/virtlxcd-sock-ro
/run/host/run/libvirt/virtlxcd-admin-sock
/run/host/run/libvirt/virtlxcd-sock
/run/host/run/libvirt/virtlogd-sock
/run/host/run/libvirt/virtlockd-sock
/run/host/run/libvirt/virtinterfaced-sock
/run/host/run/.heim_org.h5l.kcm-socket
/run/host/run/pcscd/pcscd.comm
/run/host/run/avahi-daemon/socket
/run/host/run/cups/cups.sock
/run/host/run/udev/control
/run/host/run/systemd/resolve/io.systemd.Resolve.Monitor
/run/host/run/systemd/resolve/io.systemd.Resolve
/run/host/run/systemd/coredump
/run/host/run/systemd/private
/run/host/run/systemd/journal/io.systemd.journal
/run/host/run/systemd/journal/stdout
/run/host/run/systemd/journal/socket
/run/host/run/systemd/journal/dev-log
/run/host/run/systemd/io.system.ManagedOOM
/run/host/run/systemd/userdb/io.systemd.Machine
/run/host/run/systemd/userdb/io.systemd.Multiplexer
/run/host/run/systemd/userdb/io.systemd.DynamicUser
/run/host/run/systemd/notify
/run/host/run/systemd/inaccessible/sock
+ printf %s /run/host/run/gssproxy.sock
+ sed s|/run/host||g
+ container_socket=/run/gssproxy.sock
+ [ ! -S /run/gssproxy.sock ]
+ [ ! -L /run/gssproxy.sock ]
+ rm -f /run/gssproxy.sock
+ dirname /run/gssproxy.sock
+ mkdir -p /run
+ ln -s /run/host/run/gssproxy.sock /run/gssproxy.sock
+ printf %s /run/host/run/gssproxy.default.sock
+ sed s|/run/host||g
+ container_socket=/run/gssproxy.default.sock
+ [ ! -S /run/gssproxy.default.sock ]
+ [ ! -L /run/gssproxy.default.sock ]
+ rm -f /run/gssproxy.default.sock
+ dirname /run/gssproxy.default.sock
+ mkdir -p /run
+ ln -s /run/host/run/gssproxy.default.sock /run/gssproxy.default.sock
+ printf %s /run/host/run/libvirt/virtlogd-admin-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtlogd-admin-sock
+ [ ! -S /run/libvirt/virtlogd-admin-sock ]
+ printf %s /run/host/run/libvirt/virtnodedevd-sock-ro
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnodedevd-sock-ro
+ [ ! -S /run/libvirt/virtnodedevd-sock-ro ]
+ printf %s /run/host/run/libvirt/virtnodedevd-admin-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnodedevd-admin-sock
+ [ ! -S /run/libvirt/virtnodedevd-admin-sock ]
+ printf %s /run/host/run/libvirt/virtnetworkd-sock-ro
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnetworkd-sock-ro
+ [ ! -S /run/libvirt/virtnetworkd-sock-ro ]
+ printf %s /run/host/run/libvirt/virtnetworkd-admin-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnetworkd-admin-sock
+ [ ! -S /run/libvirt/virtnetworkd-admin-sock ]
+ printf %s /run/host/run/libvirt/virtstoraged-sock-ro
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtstoraged-sock-ro
+ [ ! -S /run/libvirt/virtstoraged-sock-ro ]
+ printf %s /run/host/run/libvirt/virtstoraged-admin-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtstoraged-admin-sock
+ [ ! -S /run/libvirt/virtstoraged-admin-sock ]
+ printf %s /run/host/run/libvirt/virtstoraged-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtstoraged-sock
+ [ ! -S /run/libvirt/virtstoraged-sock ]
+ printf %s /run/host/run/libvirt/virtsecretd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtsecretd-sock
+ [ ! -S /run/libvirt/virtsecretd-sock ]
+ printf %s /run/host/run/libvirt/virtqemud-sock-ro
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtqemud-sock-ro
+ [ ! -S /run/libvirt/virtqemud-sock-ro ]
+ printf %s /run/host/run/libvirt/virtqemud-admin-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtqemud-admin-sock
+ [ ! -S /run/libvirt/virtqemud-admin-sock ]
+ printf %s /run/host/run/libvirt/virtqemud-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtqemud-sock
+ [ ! -S /run/libvirt/virtqemud-sock ]
+ printf %s /run/host/run/libvirt/libvirt-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/libvirt-sock
+ [ ! -S /run/libvirt/libvirt-sock ]
+ printf %s /run/host/run/libvirt/virtnwfilterd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnwfilterd-sock
+ [ ! -S /run/libvirt/virtnwfilterd-sock ]
+ printf %s /run/host/run/libvirt/virtnodedevd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnodedevd-sock
+ [ ! -S /run/libvirt/virtnodedevd-sock ]
+ printf %s /run/host/run/libvirt/virtnetworkd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtnetworkd-sock
+ [ ! -S /run/libvirt/virtnetworkd-sock ]
+ printf %s /run/host/run/libvirt/virtlxcd-sock-ro
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtlxcd-sock-ro
+ [ ! -S /run/libvirt/virtlxcd-sock-ro ]
+ printf %s /run/host/run/libvirt/virtlxcd-admin-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtlxcd-admin-sock
+ [ ! -S /run/libvirt/virtlxcd-admin-sock ]
+ printf %s /run/host/run/libvirt/virtlxcd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtlxcd-sock
+ [ ! -S /run/libvirt/virtlxcd-sock ]
+ printf %s /run/host/run/libvirt/virtlogd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtlogd-sock
+ [ ! -S /run/libvirt/virtlogd-sock ]
+ printf %s /run/host/run/libvirt/virtlockd-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtlockd-sock
+ [ ! -S /run/libvirt/virtlockd-sock ]
+ printf %s /run/host/run/libvirt/virtinterfaced-sock
+ sed s|/run/host||g
+ container_socket=/run/libvirt/virtinterfaced-sock
+ [ ! -S /run/libvirt/virtinterfaced-sock ]
+ printf %s /run/host/run/.heim_org.h5l.kcm-socket
+ sed s|/run/host||g
+ container_socket=/run/.heim_org.h5l.kcm-socket
+ [ ! -S /run/.heim_org.h5l.kcm-socket ]
+ [ ! -L /run/.heim_org.h5l.kcm-socket ]
+ rm -f /run/.heim_org.h5l.kcm-socket
+ dirname /run/.heim_org.h5l.kcm-socket
+ mkdir -p /run
+ ln -s /run/host/run/.heim_org.h5l.kcm-socket /run/.heim_org.h5l.kcm-socket
+ printf %s /run/host/run/pcscd/pcscd.comm
+ sed s|/run/host||g
+ container_socket=/run/pcscd/pcscd.comm
+ [ ! -S /run/pcscd/pcscd.comm ]
+ [ ! -L /run/pcscd/pcscd.comm ]
+ rm -f /run/pcscd/pcscd.comm
+ dirname /run/pcscd/pcscd.comm
+ mkdir -p /run/pcscd
+ ln -s /run/host/run/pcscd/pcscd.comm /run/pcscd/pcscd.comm
+ printf %s /run/host/run/avahi-daemon/socket
+ sed s|/run/host||g
+ container_socket=/run/avahi-daemon/socket
+ [ ! -S /run/avahi-daemon/socket ]
+ [ ! -L /run/avahi-daemon/socket ]
+ rm -f /run/avahi-daemon/socket
+ dirname /run/avahi-daemon/socket
+ mkdir -p /run/avahi-daemon
+ ln -s /run/host/run/avahi-daemon/socket /run/avahi-daemon/socket
+ printf %s /run/host/run/cups/cups.sock
+ sed s|/run/host||g
+ container_socket=/run/cups/cups.sock
+ [ ! -S /run/cups/cups.sock ]
+ [ ! -L /run/cups/cups.sock ]
+ rm -f /run/cups/cups.sock
+ dirname /run/cups/cups.sock
+ mkdir -p /run/cups
+ ln -s /run/host/run/cups/cups.sock /run/cups/cups.sock
+ printf %s /run/host/run/udev/control
+ sed s|/run/host||g
+ container_socket=/run/udev/control
+ [ ! -S /run/udev/control ]
+ printf %s /run/host/run/systemd/resolve/io.systemd.Resolve.Monitor
+ sed s|/run/host||g
+ container_socket=/run/systemd/resolve/io.systemd.Resolve.Monitor
+ [ ! -S /run/systemd/resolve/io.systemd.Resolve.Monitor ]
+ printf %s /run/host/run/systemd/resolve/io.systemd.Resolve
+ sed s|/run/host||g
+ container_socket=/run/systemd/resolve/io.systemd.Resolve
+ [ ! -S /run/systemd/resolve/io.systemd.Resolve ]
+ printf %s /run/host/run/systemd/coredump
+ sed s|/run/host||g
+ container_socket=/run/systemd/coredump
+ [ ! -S /run/systemd/coredump ]
+ [ ! -L /run/systemd/coredump ]
+ rm -f /run/systemd/coredump
+ dirname /run/systemd/coredump
+ mkdir -p /run/systemd
+ ln -s /run/host/run/systemd/coredump /run/systemd/coredump
+ printf %s /run/host/run/systemd/private
+ sed s|/run/host||g
+ container_socket=/run/systemd/private
+ [ ! -S /run/systemd/private ]
+ [ ! -L /run/systemd/private ]
+ rm -f /run/systemd/private
+ dirname /run/systemd/private
+ mkdir -p /run/systemd
+ ln -s /run/host/run/systemd/private /run/systemd/private
+ printf %s /run/host/run/systemd/journal/io.systemd.journal
+ sed s|/run/host||g
+ container_socket=/run/systemd/journal/io.systemd.journal
+ [ ! -S /run/systemd/journal/io.systemd.journal ]
+ printf %s /run/host/run/systemd/journal/stdout
+ sed s|/run/host||g
+ container_socket=/run/systemd/journal/stdout
+ [ ! -S /run/systemd/journal/stdout ]
+ printf %s /run/host/run/systemd/journal/socket
+ sed s|/run/host||g
+ container_socket=/run/systemd/journal/socket
+ [ ! -S /run/systemd/journal/socket ]
+ printf %s /run/host/run/systemd/journal/dev-log
+ sed s|/run/host||g
+ container_socket=/run/systemd/journal/dev-log
+ [ ! -S /run/systemd/journal/dev-log ]
+ printf %s /run/host/run/systemd/io.system.ManagedOOM
+ sed s|/run/host||g
+ container_socket=/run/systemd/io.system.ManagedOOM
+ [ ! -S /run/systemd/io.system.ManagedOOM ]
+ [ ! -L /run/systemd/io.system.ManagedOOM ]
+ rm -f /run/systemd/io.system.ManagedOOM
+ dirname /run/systemd/io.system.ManagedOOM
+ mkdir -p /run/systemd
+ ln -s /run/host/run/systemd/io.system.ManagedOOM /run/systemd/io.system.ManagedOOM
+ printf %s /run/host/run/systemd/userdb/io.systemd.Machine
+ sed s|/run/host||g
+ container_socket=/run/systemd/userdb/io.systemd.Machine
+ [ ! -S /run/systemd/userdb/io.systemd.Machine ]
+ [ ! -L /run/systemd/userdb/io.systemd.Machine ]
+ rm -f /run/systemd/userdb/io.systemd.Machine
+ dirname /run/systemd/userdb/io.systemd.Machine
+ mkdir -p /run/systemd/userdb
+ ln -s /run/host/run/systemd/userdb/io.systemd.Machine /run/systemd/userdb/io.systemd.Machine
+ printf %s /run/host/run/systemd/userdb/io.systemd.Multiplexer
+ sed s|/run/host||g
+ container_socket=/run/systemd/userdb/io.systemd.Multiplexer
+ [ ! -S /run/systemd/userdb/io.systemd.Multiplexer ]
+ [ ! -L /run/systemd/userdb/io.systemd.Multiplexer ]
+ rm -f /run/systemd/userdb/io.systemd.Multiplexer
+ dirname /run/systemd/userdb/io.systemd.Multiplexer
+ mkdir -p /run/systemd/userdb
+ ln -s /run/host/run/systemd/userdb/io.systemd.Multiplexer /run/systemd/userdb/io.systemd.Multiplexer
+ printf %s /run/host/run/systemd/userdb/io.systemd.DynamicUser
+ sed s|/run/host||g
+ container_socket=/run/systemd/userdb/io.systemd.DynamicUser
+ [ ! -S /run/systemd/userdb/io.systemd.DynamicUser ]
+ [ ! -L /run/systemd/userdb/io.systemd.DynamicUser ]
+ rm -f /run/systemd/userdb/io.systemd.DynamicUser
+ dirname /run/systemd/userdb/io.systemd.DynamicUser
+ mkdir -p /run/systemd/userdb
+ ln -s /run/host/run/systemd/userdb/io.systemd.DynamicUser /run/systemd/userdb/io.systemd.DynamicUser
+ printf %s /run/host/run/systemd/notify
+ sed s|/run/host||g
+ container_socket=/run/systemd/notify
+ [ ! -S /run/systemd/notify ]
+ [ ! -L /run/systemd/notify ]
+ rm -f /run/systemd/notify
+ dirname /run/systemd/notify
+ mkdir -p /run/systemd
+ ln -s /run/host/run/systemd/notify /run/systemd/notify
+ printf %s /run/host/run/systemd/inaccessible/sock
+ sed s|/run/host||g
+ container_socket=/run/systemd/inaccessible/sock
+ [ ! -S /run/systemd/inaccessible/sock ]
+ [ ! -L /run/systemd/inaccessible/sock ]
+ rm -f /run/systemd/inaccessible/sock
+ dirname /run/systemd/inaccessible/sock
+ mkdir -p /run/systemd/inaccessible
+ ln -s /run/host/run/systemd/inaccessible/sock /run/systemd/inaccessible/sock
+ printf distrobox: Integrating host's themes, icons, fonts...\n
distrobox: Integrating host's themes, icons, fonts...
+ mount_bind /run/host/usr/share/themes /usr/local/share/themes rw
+ source_dir=/run/host/usr/share/themes
+ target_dir=/usr/local/share/themes
+ mount_flags=rw
+ [ -d /run/host/usr/share/themes ]
+ [ -e /usr/local/share/themes ]
+ [ -d /run/host/usr/share/themes ]
+ mkdir -p /usr/local/share/themes
+ [ rw =  ]
+ mount --rbind -o rw /run/host/usr/share/themes /usr/local/share/themes
+ return 0
+ mount_bind /run/host/usr/share/icons /usr/local/share/icons rw
+ source_dir=/run/host/usr/share/icons
+ target_dir=/usr/local/share/icons
+ mount_flags=rw
+ [ -d /run/host/usr/share/icons ]
+ [ -e /usr/local/share/icons ]
+ [ -d /run/host/usr/share/icons ]
+ mkdir -p /usr/local/share/icons
+ [ rw =  ]
+ mount --rbind -o rw /run/host/usr/share/icons /usr/local/share/icons
+ return 0
+ mount_bind /run/host/usr/share/fonts /usr/local/share/fonts rw
+ source_dir=/run/host/usr/share/fonts
+ target_dir=/usr/local/share/fonts
+ mount_flags=rw
+ [ -d /run/host/usr/share/fonts ]
+ [ -e /usr/local/share/fonts ]
+ [ -d /run/host/usr/share/fonts ]
+ mkdir -p /usr/local/share/fonts
+ [ rw =  ]
+ mount --rbind -o rw /run/host/usr/share/fonts /usr/local/share/fonts
+ return 0
distrobox: Setting up package manager exceptions...
+ printf distrobox: Setting up package manager exceptions...\n
+ [ -d /usr/lib/rpm/macros.d/ ]
+ [ -d /etc/dpkg/dpkg.cfg.d/ ]
distrobox: Setting up dpkg exceptions...
+ printf distrobox: Setting up dpkg exceptions...\n
+ printf 
+ printf path-exclude %s/*\n /var/lib/flatpak
+ printf path-exclude %s/*\n /var/lib/systemd/coredump
+ printf path-exclude %s/*\n /var/log/journal
+ printf path-exclude %s/*\n /etc/host.conf
+ printf path-exclude %s/*\n /etc/machine-id
+ printf path-exclude %s/*\n /media
+ printf path-exclude %s/*\n /mnt
+ printf path-exclude %s/*\n /run/libvirt
+ printf path-exclude %s/*\n /run/media
+ printf path-exclude %s/*\n /run/systemd/journal
+ printf path-exclude %s/*\n /run/systemd/seats
+ printf path-exclude %s/*\n /run/systemd/sessions
+ printf path-exclude %s/*\n /run/systemd/users
+ printf path-exclude %s/*\n /run/systemd/resolve/
+ printf path-exclude %s/*\n /run/netconfig/
+ printf path-exclude %s/*\n /run/udev
+ printf path-exclude %s/*\n /srv
+ printf path-exclude %s/*\n /var/lib/libvirt
+ printf path-exclude %s/*\n /var/mnt
distrobox: Setting up apt hooks...
+ [ -d /etc/apt/apt.conf.d/ ]
+ printf distrobox: Setting up apt hooks...\n
+ printf 
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /etc/localtime /etc/localtime
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /etc/localtime /etc/localtime /etc/localtime
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /run/systemd/journal /run/systemd/journal
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /run/systemd/journal /run/systemd/journal /run/systemd/journal
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /run/systemd/resolve /run/systemd/resolve
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /run/systemd/resolve /run/systemd/resolve /run/systemd/resolve
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /run/systemd/seats /run/systemd/seats
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /run/systemd/seats /run/systemd/seats /run/systemd/seats
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /run/systemd/sessions /run/systemd/sessions
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /run/systemd/sessions /run/systemd/sessions /run/systemd/sessions
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /run/systemd/users /run/systemd/users
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /run/systemd/users /run/systemd/users /run/systemd/users
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /var/lib/systemd/coredump /var/lib/systemd/coredump
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /var/lib/systemd/coredump /var/lib/systemd/coredump /var/lib/systemd/coredump
+ printf DPkg::Pre-Invoke {"if findmnt %s >/dev/null; then umount %s; fi";};\n /var/log/journal /var/log/journal
+ printf DPkg::Post-Invoke {"if [ -e /run/host/%s ]; then mount --rbind /run/host/%s %s; fi";};\n /var/log/journal /var/log/journal /var/log/journal
+ [ -d /usr/share/libalpm/scripts ]
distrobox: Setting up sudo...
+ printf distrobox: Setting up sudo...\n
+ mkdir -p /etc/sudoers.d
+ grep -q Defaults !fqdn /etc/sudoers.d/sudoers
grep: /etc/sudoers.d/sudoers: No such file or directory
+ printf Defaults !fqdn\n
+ grep -q "sandorex" ALL = (root) NOPASSWD:ALL /etc/sudoers.d/sudoers
+ printf "%s" ALL = (root) NOPASSWD:ALL\n sandorex
distrobox: Setting up groups...
+ printf distrobox: Setting up groups...\n
+ grep -q ^sandorex: /etc/group
distrobox: Setting up users...
+ printf distrobox: Setting up users...\n
+ [ -d /run/host/var/kerberos ]
+ [ -d /etc/krb5.conf.d ]
+ printf %s sandorex
+ tr \\ .
+ grep -q ^sandorex: /etc/passwd
+ [ ! -e /etc/passwd.done ]
+ usermod --home /var/home/sandorex --shell /usr/bin/zsh --uid 1000 --gid 1000 sandorex
+ touch /etc/passwd.done
+ cat /proc/sys/kernel/random/uuid
+ temporary_password=21fd0cd9-bd33-4e61-8e4a-5c4963cd793a
+ printf %s\n%s\n 21fd0cd9-bd33-4e61-8e4a-5c4963cd793a 21fd0cd9-bd33-4e61-8e4a-5c4963cd793a
+ passwd root
New password: Retype new password: passwd: password updated successfully
+ printf %s:%s sandorex 21fd0cd9-bd33-4e61-8e4a-5c4963cd793a
+ chpasswd -e
+ printf %s: root
+ chpasswd -e
+ printf %s: sandorex
+ chpasswd -e
+ mkdir -p /etc/profile.d
+ printf test -z "$USER" && USER="$(id -un 2> /dev/null)"\n
+ printf test -z "$UID"  && readonly  UID="$(id -ur 2> /dev/null)"\n
+ printf test -z "$EUID" && readonly EUID="$(id -u  2> /dev/null)"\n
+ [ -n  ]
distrobox: Executing init hooks...
+ printf distrobox: Executing init hooks...\n
+ eval
+ [ 0 -eq 0 ]
container_setup_done
+ printf container_setup_done\n
+ HOST_WATCH=
		/etc/hosts
		/etc/localtime
		/etc/resolv.conf
	
+ set +x

Desktop (please complete the following information):

  • Are you using podman or docker? podman
  • Which version or podman or docker? podman version 4.5.0
  • Which version of distrobox? distrobox: 1.4.2.1

Additional context
Distribution: Fedora Kinoite 38.20230603.0

Tested using following terminal emulators Konsole, WezTerm
Tested using both bash and zsh
Tested using both login and non login shell

Same happens with toolbox enter

@sandorex sandorex added the bug Something isn't working label Jun 9, 2023
@sandorex sandorex changed the title [Bug] Shell with children does not exit with the terminal [Error] Shell with children does not exit with the terminal Jun 9, 2023
@sandorex
Copy link
Contributor Author

Seems to be same issue as containers/toolbox#1204

@89luca89
Copy link
Owner

Possibly connected to #613

As seen in the issue you also linked there isn't much we can do distrobox side

@sandorex
Copy link
Contributor Author

sandorex commented Jun 11, 2023

As seen in the issue you also linked there isn't much we can do distrobox side

It does not seem like podman will do anything to fix this so i was thinking of ways to solve this outside it, here are some ideas i had

  1. Using a minimal session manager like abduco to manage the shells so they can be killed whenever
  2. Get pid of the conmon process from the container on startup and kill it afterwards if it does not quit (POC code below), this could be made into a flag? I do not know how robust it is also have no idea if it works on docker will have to try it out tommorow

2nd Method

Proof of concept, works fine and i cannot replicate the problem mentioned above when using it

Getting parent PID which in this case is conmon, then replace process with whatever is ran in this case zsh shell

Using PID of the script as name for the PID file as it should always be unique

(I intentionally left the debugging statements)

#!/usr/bin/env sh
#
# distrobox-enter-wrapper - wrapper around distrobox-enter 

if [ -z "$1" ]; then
    echo "Please provide container name"
    exit 1
fi

PIDFILE_DIR="$HOME/.local/state/distrobox"
PIDFILE="$PIDFILE_DIR/$$"

mkdir -p "$PIDFILE_DIR"
touch "$PIDFILE"

nohup sh <<EOF &
echo "background process monitoring started, waiting for $$"

# wait for the main script to end
while ps -p $$ >/dev/null; do
    sleep 1s
done

PID="\$(cat "$PIDFILE")"
rm -f "$PIDFILE"

if ! ps -p "\$PID" >/dev/null; then
    echo "conmon is already dead"
    exit 0
fi

echo "process ended but conmon is alive, killing conmon (\$PID)"

kill -1 "\$PID"

echo "done, quitting"

exit 0
EOF

distrobox enter "$1" -- sh -c "echo \$PPID > $PIDFILE; exec ${2:-$SHELL}"

...

I'd love some feedback

@89luca89
Copy link
Owner

Closing this in favor or #966

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

No branches or pull requests

2 participants