Toolbox: νˆ΄λ°•μŠ€ μ§„μž… μ‹€νŒ¨

에 λ§Œλ“  2019λ…„ 05μ›” 21일  Β·  12μ½”λ©˜νŠΈ  Β·  좜처: containers/toolbox

νŽ˜λ„λΌ 30, ν¬λ“œλ§¨ 1.3.1, νˆ΄λ°•μŠ€ 0.0.9-1.
νˆ΄λ°•μŠ€ μ§„μž…μ— μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.

~> toolbox -v enter
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: customized user-specific image is fedora-toolbox-my_name:30
toolbox: container is fedora-toolbox-my_name-30
toolbox: checking if container fedora-toolbox-my_name-30 exists
toolbox: container fedora-toolbox-my_name-30 was created from image localhost/fedora-toolbox-my_name:30
toolbox: checking if image localhost/fedora-toolbox-my_name:30 has volumes for host bind mounts
toolbox: trying to start container fedora-toolbox-my_name-30
toolbox: creating list of environment variables to forward
toolbox: COLORTERM=truecolor
toolbox: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
toolbox: DBUS_SYSTEM_BUS_ADDRESS is unset
toolbox: DESKTOP_SESSION=/usr/share/xsessions/plasma
toolbox: DISPLAY=:0
toolbox: LANG=en_US.UTF-8
toolbox: SHELL=/usr/bin/fish
toolbox: SSH_AUTH_SOCK=/tmp/ssh-C5OHVekHJjzn/agent.1572
toolbox: TERM=xterm-256color
toolbox: TOOLBOX_PATH is unset
toolbox: VTE_VERSION=5603
toolbox: WAYLAND_DISPLAY is unset
toolbox: XDG_CURRENT_DESKTOP=KDE
toolbox: XDG_DATA_DIRS=/usr/share/kde-settings/kde-profile/default/share:/usr/local/share:/usr/share
toolbox: XDG_MENU_PREFIX=kf5-
toolbox: XDG_RUNTIME_DIR=/run/user/1000
toolbox: XDG_SEAT=seat0
toolbox: XDG_SESSION_DESKTOP=KDE
toolbox: XDG_SESSION_ID=3
toolbox: XDG_SESSION_TYPE=x11
toolbox: XDG_VTNR=1
toolbox: created options for environment variables to forward
--env=COLORTERM=truecolor --env=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus --env=DESKTOP_SESSION=/usr/share/xsessions/plasma --env=DISPLAY=:0 --env=LANG=en_US.UTF-8 --env=SHELL=/usr/bin/fish --env=SSH_AUTH_SOCK=/tmp/ssh-C5OHVekHJjzn/agent.1572 --env=TERM=xterm-256color --env=VTE_VERSION=5603 --env=XDG_CURRENT_DESKTOP=KDE --env=XDG_DATA_DIRS=/usr/share/kde-settings/kde-profile/default/share:/usr/local/share:/usr/share --env=XDG_MENU_PREFIX=kf5- --env=XDG_RUNTIME_DIR=/run/user/1000 --env=XDG_SEAT=seat0 --env=XDG_SESSION_DESKTOP=KDE --env=XDG_SESSION_ID=3 --env=XDG_SESSION_TYPE=x11 --env=XDG_VTNR=1
toolbox: looking for /usr/bin/fish in container fedora-toolbox-my_name-30
ERRO[0000] open /home/my_name/.local/share/containers/storage/overlay-containers/b39d66d68134c9cdb561ce2f57266bbe103463e5ad50bf2926151c1cc258c73e/userdata/conmon.pid: permission denied 
toolbox: /usr/bin/fish not found in fedora-toolbox-my_name-30; using /bin/bash instead
toolbox: trying to exec /bin/bash in container fedora-toolbox-my_name-30
ERRO[0000] open /home/my_name/.local/share/containers/storage/overlay-containers/b39d66d68134c9cdb561ce2f57266bbe103463e5ad50bf2926151c1cc258c73e/userdata/conmon.pid: permission denied

// I can't use some podman commands after I failed to enter Toolbar 
~> podman images
ERRO[0000] open /home/clj/.local/share/containers/storage/overlay-containers/b39d66d68134c9cdb561ce2f57266bbe103463e5ad50bf2926151c1cc258c73e/userdata/conmon.pid: permission denied

~> podman system migrate
// now podman images command works but I still fail to enter Toolbox

이 λ¬Έμ œκ°€ https://github.com/containers/libpod/issues/2935 와 κ΄€λ ¨λœ 것인지 ν™•μ‹€ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

μš°λ¦¬λŠ” 이 λ¬Έμ œμ™€ 관련이 μ—†λŠ” λ§Žμ€ Podman 버그λ₯Ό ν†΅ν•©ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. 이듀 쀑 μ–΄λŠ 것도 도ꡬ μƒμž 문제둜 μ‹€ν–‰ν•  수 μ—†μœΌλ©° μ§€κΈˆκΉŒμ§€ podman-1.3.1 λ¦΄λ¦¬μŠ€κ°€ νšŒκ·€μ˜ κ³΅μ •ν•œ λͺ« 이상을 가지고 있음이 μž…μ¦λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

μƒˆλ‘œμš΄ Podman λ¦΄λ¦¬μŠ€κ°€ λ‚˜μ˜¬ λ•ŒκΉŒμ§€ κΈ°λ‹€λ Έλ‹€κ°€ 상황을 μ‚΄νŽ΄λ³΄κ² μŠ΅λ‹ˆλ‹€. κ·Έλ™μ•ˆ podman-1.2.0 둜 λ‹€μš΄κ·Έλ ˆμ΄λ“œν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€.

λͺ¨λ“  12 λŒ“κΈ€

PR #166λΆ€ν„° toolbox μŠ€ν¬λ¦½νŠΈλŠ” μžλ™μœΌλ‘œ μ»¨ν…Œμ΄λ„ˆλ₯Ό λ§ˆμ΄κ·Έλ ˆμ΄μ…˜ν•©λ‹ˆλ‹€. 이것은 toolbox-0.0.10 의 일뢀가 λ©λ‹ˆλ‹€.

κ·ΈλŸ¬λ‚˜ λ§ˆμ΄κ·Έλ ˆμ΄μ…˜μ€ λͺ¨λ“  μ»¨ν…Œμ΄λ„ˆκ°€ μ€‘μ§€λœ κ²½μš°μ—λ§Œ λ°œμƒν•©λ‹ˆλ‹€. 예: μ‹œμŠ€ν…œ λΆ€νŒ… 직후. κ·€ν•˜μ˜ 경우 μ»¨ν…Œμ΄λ„ˆκ°€ 이미 μ‹œμž‘λ˜μ—ˆμŠ΅λ‹ˆλ‹€(예: podman start κ°€ 이미 ν˜ΈμΆœλ˜μ—ˆμŠ΅λ‹ˆλ‹€). podman stop --all 을(λ₯Ό) μ‹œλ„ν•˜μ‹­μ‹œμ˜€.

연락해 μ£Όμ…”μ„œ κ°μ‚¬ν•©λ‹ˆλ‹€. 폐쇄.

@debarshiray 이 같은 μƒνƒœμ— κ°‡ν˜€ μžˆλŠ” 것 κ°™μ§€λ§Œ Silverblue 30μ—μ„œ 도ꡬ μƒμžλ₯Ό μ‚¬μš©ν•˜μ—¬ μƒˆλ‘œ λ§Œλ“  μ»¨ν…Œμ΄λ„ˆλ₯Ό μ‚¬μš©ν•˜λ©΄ λ‹€μŒκ³Ό κ°™μŠ΅λ‹ˆλ‹€.

[my_user<strong i="7">@my_pc</strong> toolbox]$ sudo rm -rf ~/.local/share/containers

[my_user<strong i="8">@my_pc</strong> toolbox]$ ./toolbox -v create -c testing00
toolbox: resolved absolute path for ./toolbox to /var/home/my_user/testing/toolbox/toolbox
toolbox: TOOLBOX_PATH is /var/home/my_user/testing/toolbox/toolbox
toolbox: checking if 'podman system migrate' exists
toolbox: migration not needed: 1.3.1 is unchanged
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: container is testing00
toolbox: checking value /var/run/.heim_org.h5l.kcm-socket (Stream) of property Listen in sssd-kcm.socket
toolbox: parsing value /var/run/.heim_org.h5l.kcm-socket (Stream) of property Listen in sssd-kcm.socket
toolbox: checking if 'podman create' supports --dns=none and --no-hosts
toolbox: 'podman create' supports --dns=none and --no-hosts
toolbox: looking for image localhost/fedora-toolbox:30
toolbox: looking for image registry.fedoraproject.org/f30/fedora-toolbox:30
Image required to create toolbox container.
Download registry.fedoraproject.org/f30/fedora-toolbox:30 (500MB)? [y/N]: y
toolbox: pulling image registry.fedoraproject.org/f30/fedora-toolbox:30
Trying to pull registry.fedoraproject.org/f30/fedora-toolbox:30...Getting image source signatures
Copying blob 4c4fc0337a75 done
Copying blob eb96ef222807 done
Copying config 42cdab313e done
Writing manifest to image destination
Storing signatures
toolbox: base image fedora-toolbox:30 resolved to registry.fedoraproject.org/f30/fedora-toolbox:30
toolbox: checking if container testing00 already exists
toolbox: trying to create container testing00
Created container: testing00
Enter with: toolbox enter --container testing00


[my_user<strong i="9">@my_pc</strong> toolbox]$ ./toolbox -v enter -c testing00
toolbox: resolved absolute path for ./toolbox to /var/home/my_user/testing/toolbox/toolbox
toolbox: TOOLBOX_PATH is /var/home/my_user/testing/toolbox/toolbox
toolbox: checking if 'podman system migrate' exists
toolbox: migration not needed: 1.3.1 is unchanged
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: container is testing00
toolbox: checking if container testing00 exists
toolbox: trying to start container testing00
toolbox: looking for /etc/profile.d/toolbox.sh in container testing00
ERRO[0000] open /var/home/my_user/.local/share/containers/storage/overlay-containers/e301702200509ebec9c24f8daced60e745c5561af9b8c339215c94df4447c91d/userdata/conmon.pid: permission denied 
toolbox: copying /etc/profile.d/toolbox.sh to container testing00
ERRO[0000] open /var/home/my_user/.local/share/containers/storage/overlay-containers/e301702200509ebec9c24f8daced60e745c5561af9b8c339215c94df4447c91d/userdata/conmon.pid: permission denied 
toolbox: unable to copy /etc/profile.d/toolbox.sh to container testing00


[my_user<strong i="10">@my_pc</strong> toolbox]$ sudo ls -la /var/home/my_user/.local/share/containers/storage/overlay-containers/e301702200509ebec9c24f8daced60e745c5561af9b8c339215c94df4447c91d/userdata/
total 28
drwx------. 3  100000  100000 4096 May 21 23:18 .
drwx--x--x. 3 my_user my_group 4096 May 21 23:18 ..
drwxr-xr-x. 2 my_user my_group 4096 May 21 23:18 artifacts
srwx------. 1 my_user my_group    0 May 21 23:18 attach
-rw-r--r--. 1 my_user my_group 7509 May 21 23:18 config.json
-rw-r--r--. 1 my_user my_group    4 May 21 23:18 conmon.pid
prw-r--r--. 1 my_user my_group    0 May 21 23:18 ctl
-rw-------. 1 my_user my_group  515 May 21 23:18 ctr.log


[my_user<strong i="11">@my_pc</strong> ~]$ rpm-ostree status
State: idle
AutomaticUpdates: disabled
Deployments:
● ostree://fedora-workstation:fedora/30/x86_64/silverblue
                   Version: 30.20190521.0 (2019-05-21T00:41:04Z)
                BaseCommit: c77995efc63ab7063d227468c614add3ad901ab98caa26ce4ae36925d2f7a6a0
              GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9
           LayeredPackages: chromium dmidecode gnome-tweaks htop tilix tilix-nautilus tmux

  ostree://fedora-workstation:fedora/30/x86_64/silverblue
                   Version: 30.20190520.0 (2019-05-20T00:34:36Z)
                BaseCommit: 7059cc8508f5d9a00374f43667a4934ab26f001e930c8b7f71e2f309cd8f1ea4
              GPGSignature: Valid signature by F1D8EC98F241AAF20DF69420EF3C111FCFC659B9
           LayeredPackages: chromium dmidecode gnome-tweaks htop tilix tilix-nautilus tmux


[my_user<strong i="12">@my_pc</strong> ~]$ rpm -q podman
podman-1.3.1-1.git7210727.fc30.x86_64
[my_user<strong i="13">@my_pc</strong> ~]$ 

μ‹€μ œλ‘œ 이전 Toolbox λ²„μ „μ—μ„œ podman system migrate λ₯Ό μ‚¬μš©ν•œ ν›„ Toolbox에 듀어가지 λͺ»ν–ˆμŠ΅λ‹ˆλ‹€(처음으둜 λ‚΄ 둜그의 λ§ˆμ§€λ§‰ μ€„μ—μ„œ 이것을 λ§ν–ˆμ§€λ§Œ 이 λ™μž‘μ„ κ°•μ‘°ν•˜λ €λ©΄ ν•΄λ‹Ή 쀄을 ꡡ게 ν‘œμ‹œν•΄μ•Ό ν•  것 κ°™μŠ΅λ‹ˆλ‹€).
μƒˆ Toolbox 버전과 μ—¬μ „νžˆ λ™μΌν•˜μ§€λ§Œ 더 λ‚˜μ©λ‹ˆλ‹€.

~> rpm -q podman
podman-1.3.1-1.git7210727.fc30.x86_64
~> rpm -q toolbox
toolbox-0.0.10-1.fc30.noarch
~> toolbox -v enter
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: checking if 'podman system migrate' exists
toolbox: migration not needed: 1.3.1 is unchanged
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: container is fedora-toolbox-30
toolbox: checking if container fedora-toolbox-30 exists
toolbox: trying to start container fedora-toolbox-30
toolbox: looking for /etc/profile.d/toolbox.sh in container fedora-toolbox-30
ERRO[0000] open /home/my_name/.local/share/containers/storage/overlay-containers/a33655212b94c4b5eb9b59feec317f89dbc9771d2e0a3c51b573cccce4b1f68d/userdata/conmon.pid: permission denied 
toolbox: copying /etc/profile.d/toolbox.sh to container fedora-toolbox-30
ERRO[0000] open /home/my_name/.local/share/containers/storage/overlay-containers/a33655212b94c4b5eb9b59feec317f89dbc9771d2e0a3c51b573cccce4b1f68d/userdata/conmon.pid: permission denied 
toolbox: unable to copy /etc/profile.d/toolbox.sh to container fedora-toolbox-30

~> podman system migrate
container_linux.go:388: signaling init process caused "operation not permitted"
ERRO[0000] Error removing store for partially-created runtime: A layer is mounted: layer is in use by a container 
Error: error migrating containers: cannot stop container a33655212b94c4b5eb9b59feec317f89dbc9771d2e0a3c51b573cccce4b1f68d: operation not permitted

~> podman stop --all
ERRO[0000] open /home/my_name/.local/share/containers/storage/overlay-containers/a33655212b94c4b5eb9b59feec317f89dbc9771d2e0a3c51b573cccce4b1f68d/userdata/conmon.pid: permission denied 

podman system migrate λŠ” μ§€κΈˆ λ‚΄ podman을 κ³ μΉ  수 μ—†μŠ΅λ‹ˆλ‹€(이전 λ²„μ „μ—μ„œ μž‘λ™ν•¨).

Fedora Silverblue 30μ—μ„œ 도ꡬ μƒμžλ‘œ μƒˆ μ»¨ν…Œμ΄λ„ˆλ₯Ό λ§Œλ“  ν›„ "도ꡬ μƒμž μž…λ ₯" 쀑에 λ™μΌν•œ 문제λ₯Ό κ΄€μ°°ν–ˆμŠ΅λ‹ˆλ‹€.

podman system migrate λŠ” μ»¨ν…Œμ΄λ„ˆ 쀑 ν•˜λ‚˜κ°€ 이미 μ‹€ν–‰ 쀑일 λ•Œ μž‘λ™ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

μ–΄λŠ μͺ½μ΄λ“ , λ‚˜λŠ” unable to copy 였λ₯˜λ₯Ό 직접 λ³΄μ•˜κ³  후속 μ‹œλ„μ—μ„œ μ‚¬λΌμ§‘λ‹ˆλ‹€. Podman 버그일 κ°€λŠ₯성이 ν½λ‹ˆλ‹€.

podman system migrate λŠ” μ»¨ν…Œμ΄λ„ˆ 쀑 ν•˜λ‚˜κ°€ 이미 μ‹€ν–‰ 쀑일 λ•Œ μž‘λ™ν•˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€.

μ–΄λŠ μͺ½μ΄λ“ , λ‚˜λŠ” unable to copy 였λ₯˜λ₯Ό 직접 λ³΄μ•˜κ³  후속 μ‹œλ„μ—μ„œ μ‚¬λΌμ§‘λ‹ˆλ‹€. Podman 버그일 κ°€λŠ₯성이 ν½λ‹ˆλ‹€.

λ‚΄κ°€ μ˜¬λ°”λ₯΄κ²Œ κΈ°μ–΅ν•œλ‹€λ©΄ λ§ˆμ§€λ§‰ λ‘œκ·Έμ— ν‘œμ‹œλ˜λŠ” λͺ¨λ“  λͺ…λ Ή 전에 podman stop --all λ₯Ό μ‹€ν–‰ν–ˆμŠ΅λ‹ˆλ‹€. 내일 λ‹€μ‹œ μ‹œλ„ν•˜κ² μŠ΅λ‹ˆλ‹€.
λ‚˜λŠ” 이것이 podman의 버그일 κ°€λŠ₯성이 μžˆλ‹€λŠ” 데 λ™μ˜ν•©λ‹ˆλ‹€.

νŽΈμ§‘: 였늘 μ‹œλ„ν•œ 것과 λ™μΌν•œ κ²°κ³Όμž…λ‹ˆλ‹€.

μ˜λ„ν•œ λŒ€λ‘œ μž‘λ™ν•˜λŠ” μ»¨ν…Œμ΄λ„ˆμ— λŒ€ν•œ userdata λ””λ ‰ν† λ¦¬μ˜ μ†Œμœ κΆŒμ€ λ¬΄μ—‡μž…λ‹ˆκΉŒ?
${HOME}/.local/share/containers/storage/overlay-containers/<HASH>/userdata
이것이 생성 λ¬Έμ œμΈμ§€ μ‹€ν–‰/μž…λ ₯ λ¬Έμ œμΈμ§€ μ΄ν•΄ν•˜λ €κ³  ν•©λ‹ˆλ‹€. 이 문제λ₯Ό ν•΄κ²°ν•  수 μžˆλŠ” μΆ”κ°€ 방법을 μ°ΎκΈ°λ₯Ό λ°”λžλ‹ˆλ‹€.

@debarshiray 제 κ²½μš°μ—λŠ” 이것은 podman의 λ§ˆμ΄κ·Έλ ˆμ΄μ…˜ κΈ°λŠ₯/κΈ°λŠ₯κ³Ό 아무 관련이 μ—†μŠ΅λ‹ˆλ‹€. μƒˆλ‘œμš΄ μ»¨ν…Œμ΄λ„ˆμ—μ„œ λ°œμƒν•©λ‹ˆλ‹€.

toolbox: checking if 'podman system migrate' exists
toolbox: migration not needed: 1.3.1 is unchanged

λΉ„μŠ·ν•œ λ¬Έμ œκ°€ μžˆμŠ΅λ‹ˆλ‹€. 이것은 μƒˆλ‘œ μ„€μΉ˜λœ fedora silverblue 30μ—μ„œ μˆ˜ν–‰λ˜μ—ˆμŠ΅λ‹ˆλ‹€. 이 전에 μ‹œμŠ€ν…œμ—μ„œ μˆ˜ν–‰ν•œ μž‘μ—…μ€ _rpm-ostree upgrade_, μž¬λΆ€νŒ… 및 _toolbox create_λΏμ΄μ—ˆμŠ΅λ‹ˆλ‹€.

[myname<strong i="6">@thinkpad</strong> ~]$ toolbox -v enter
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: Fedora generational core is f30
toolbox: base image is fedora-toolbox:30
toolbox: customized user-specific image is fedora-toolbox-myname:30
toolbox: container is fedora-toolbox-myname-30
toolbox: checking if container fedora-toolbox-myname-30 exists
toolbox: container fedora-toolbox-myname-30 was created from image localhost/fedora-toolbox-myname:30
toolbox: checking if image localhost/fedora-toolbox-myname:30 has volumes for host bind mounts
toolbox: trying to start container fedora-toolbox-myname-30
toolbox: creating list of environment variables to forward
toolbox: COLORTERM=truecolor
toolbox: DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
toolbox: DBUS_SYSTEM_BUS_ADDRESS is unset
toolbox: DESKTOP_SESSION=gnome
toolbox: DISPLAY=:0
toolbox: LANG=en_US.UTF-8
toolbox: SHELL=/bin/bash
toolbox: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
toolbox: TERM=xterm-256color
toolbox: TOOLBOX_PATH is unset
toolbox: VTE_VERSION=5603
toolbox: WAYLAND_DISPLAY=wayland-0
toolbox: XDG_CURRENT_DESKTOP=GNOME
toolbox: XDG_DATA_DIRS=/home/myname/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
toolbox: XDG_MENU_PREFIX=gnome-
toolbox: XDG_RUNTIME_DIR=/run/user/1000
toolbox: XDG_SEAT=seat0
toolbox: XDG_SESSION_DESKTOP=gnome
toolbox: XDG_SESSION_ID=2
toolbox: XDG_SESSION_TYPE=wayland
toolbox: XDG_VTNR=2
toolbox: created options for environment variables to forward
--env=COLORTERM=truecolor --env=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus --env=DESKTOP_SESSION=gnome --env=DISPLAY=:0 --env=LANG=en_US.UTF-8 --env=SHELL=/bin/bash --env=SSH_AUTH_SOCK=/run/user/1000/keyring/ssh --env=TERM=xterm-256color --env=VTE_VERSION=5603 --env=WAYLAND_DISPLAY=wayland-0 --env=XDG_CURRENT_DESKTOP=GNOME --env=XDG_DATA_DIRS=/home/myname/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/ --env=XDG_MENU_PREFIX=gnome- --env=XDG_RUNTIME_DIR=/run/user/1000 --env=XDG_SEAT=seat0 --env=XDG_SESSION_DESKTOP=gnome --env=XDG_SESSION_ID=2 --env=XDG_SESSION_TYPE=wayland --env=XDG_VTNR=2
toolbox: looking for /bin/bash in container fedora-toolbox-myname-30
ERRO[0000] open /var/home/myname/.local/share/containers/storage/overlay-containers/2753373c5df60c4f03f395ce7e7512522bd5f7f7d01068f4af39b0dd40cfb0cc/userdata/conmon.pid: permission denied 
toolbox: /bin/bash not found in fedora-toolbox-myname-30; using /bin/bash instead
toolbox: trying to exec /bin/bash in container fedora-toolbox-myname-30
ERRO[0000] open /var/home/myname/.local/share/containers/storage/overlay-containers/2753373c5df60c4f03f395ce7e7512522bd5f7f7d01068f4af39b0dd40cfb0cc/userdata/conmon.pid: permission denied 

저도 같은 상황인데 κΆŒν•œ 문제인 것 κ°™μŠ΅λ‹ˆλ‹€. ~/.local/share/containers/storage/overlay-containers/<container-id> μ—μ„œ μƒˆλ‘œ μƒμ„±λœ μ»¨ν…Œμ΄λ„ˆλ₯Ό κ°„λ‹¨νžˆ μ‚΄νŽ΄λ³΄λ©΄ λ‹€μŒμ„ μ•Œ 수 μžˆμŠ΅λ‹ˆλ‹€.

drwx------. 3 100000 100000 100 May 23 12:19 userdata
drwx--x--x. 3 <myUser>    <myUser>     22 May 23 12:19 .
drwx--x--x. 3 <myUser>    <myUser>    124 May 23 12:19 ..

ν…ŒμŠ€νŠΈ λͺ©μ μœΌλ‘œ 만 ν•΄λ‹Ή 디렉토리(예: chown -R myUser:myUser ~/.local/share/containers/storage/overlay-containers )λ₯Ό μž¬κ·€μ μœΌλ‘œ chownν•©λ‹ˆλ‹€.

이제 도ꡬ μƒμž μ»¨ν…Œμ΄λ„ˆμ— μ„±κ³΅μ μœΌλ‘œ λ“€μ–΄κ°ˆ 수 μžˆμ§€λ§Œ μ΄λ ‡κ²Œ ν•˜λ©΄ κ½€ λ§Žμ€ 일을 망칠 수 μžˆμŠ΅λ‹ˆλ‹€.

λ‚˜λŠ” 이것을 더 이상 디버깅할 수 μžˆλŠ” 도ꡬ μƒμž, ν¬λ“œλ§¨μ— μ΅μˆ™ν•˜μ§€ μ•Šμ§€λ§Œ 둜그 등에 λŒ€ν•΄ 도움이 될 수 μžˆλŠ”μ§€ λ¬Όμ–΄λ³΄μ‹­μ‹œμ˜€.

저도 같은 였λ₯˜μ˜ 영ν–₯을 λ°›μŠ΅λ‹ˆλ‹€.

λ‚˜λŠ” podman git을 μ‘°νšŒν•˜κ³  이것이 #3187 κ³Ό 관련이 μžˆλ‹€κ³  μƒκ°ν•©λ‹ˆλ‹€.

μš°λ¦¬λŠ” 이 λ¬Έμ œμ™€ 관련이 μ—†λŠ” λ§Žμ€ Podman 버그λ₯Ό ν†΅ν•©ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€. 이듀 쀑 μ–΄λŠ 것도 도ꡬ μƒμž 문제둜 μ‹€ν–‰ν•  수 μ—†μœΌλ©° μ§€κΈˆκΉŒμ§€ podman-1.3.1 λ¦΄λ¦¬μŠ€κ°€ νšŒκ·€μ˜ κ³΅μ •ν•œ λͺ« 이상을 가지고 있음이 μž…μ¦λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

μƒˆλ‘œμš΄ Podman λ¦΄λ¦¬μŠ€κ°€ λ‚˜μ˜¬ λ•ŒκΉŒμ§€ κΈ°λ‹€λ Έλ‹€κ°€ 상황을 μ‚΄νŽ΄λ³΄κ² μŠ΅λ‹ˆλ‹€. κ·Έλ™μ•ˆ podman-1.2.0 둜 λ‹€μš΄κ·Έλ ˆμ΄λ“œν•˜λŠ” 것이 μ’‹μŠ΅λ‹ˆλ‹€.

이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰