circular proc symlink #9

Closed
opened 2023-01-29 15:19:56 +00:00 by agriffis · 2 comments

Hi! For some reason this image contains a circular symlink on /proc

[root@scampercore core]# podman image mount 7dfc44074bd7
/var/lib/containers/storage/overlay/97f1796a354d2db94da6ed91fa4aef92d100afddf006c9c033e214970195573c/merged
[root@scampercore core]# ls -l /var/lib/containers/storage/overlay/97f1796a354d2db94da6ed91fa4aef92d100afddf006c9c033e214970195573c/merged
total 20
lrwxrwxrwx. 1 root root    7 Jan 29  2022 bin -> usr/bin
drwxr-xr-x. 2 root root    6 Dec 11  2021 boot
drwxr-xr-x. 4 root root  182 Jan 29  2022 dev
-rwxr-xr-x. 1 root root 1225 Jan  9 14:36 entrypoint.sh
drwxr-xr-x. 1 root root 4096 Jan 29 04:53 etc
drwxr-xr-x. 2 root root    6 Dec 11  2021 home
lrwxrwxrwx. 1 root root    7 Jan 29  2022 lib -> usr/lib
lrwxrwxrwx. 1 root root    9 Jan 29  2022 lib32 -> usr/lib32
lrwxrwxrwx. 1 root root    9 Jan 29  2022 lib64 -> usr/lib64
lrwxrwxrwx. 1 root root   10 Jan 29  2022 libx32 -> usr/libx32
drwxr-xr-x. 2 root root    6 Jan 29  2022 media
drwxr-xr-x. 2 root root    6 Jan 29  2022 mnt
drwxr-xr-x. 2 root root    6 Jan 29  2022 opt
lrwxrwxrwx. 1 root root    5 Jan 29  2022 proc -> /proc
drwx------. 1 root root   37 Jan 29  2022 root
drwxr-xr-x. 1 root root   33 Jan 29  2022 run
lrwxrwxrwx. 1 root root    8 Jan 29  2022 sbin -> usr/sbin
drwxr-xr-x. 2 root root    6 Jan 29  2022 srv
drwxr-xr-x. 2 root root    6 Dec 11  2021 sys
drwxrwxrwt. 1 root root    6 Jan 29 04:53 tmp
drwxr-xr-x. 1 root root   69 Jan 29  2022 usr
drwxr-xr-x. 1 root root   41 Jan 29  2022 var
-rw-r--r--. 1 root root  953 Dec 24 04:46 wait-for-db.php
-rwxr-xr-x. 1 root root  404 Dec 24 04:46 websockets-entrypoint.sh
-rwxr-xr-x. 1 root root  395 Dec 24 04:46 worker-entrypoint.sh

Because of this, it doesn't launch with podman:

podman run docker.io/zknt/pixelfed:latest

Error: OCI runtime error: crun: the target `/proc` is invalid: Not a directory

Do you know where this errant symlink comes from?

Hi! For some reason this image contains a circular symlink on /proc ``` [root@scampercore core]# podman image mount 7dfc44074bd7 /var/lib/containers/storage/overlay/97f1796a354d2db94da6ed91fa4aef92d100afddf006c9c033e214970195573c/merged [root@scampercore core]# ls -l /var/lib/containers/storage/overlay/97f1796a354d2db94da6ed91fa4aef92d100afddf006c9c033e214970195573c/merged total 20 lrwxrwxrwx. 1 root root 7 Jan 29 2022 bin -> usr/bin drwxr-xr-x. 2 root root 6 Dec 11 2021 boot drwxr-xr-x. 4 root root 182 Jan 29 2022 dev -rwxr-xr-x. 1 root root 1225 Jan 9 14:36 entrypoint.sh drwxr-xr-x. 1 root root 4096 Jan 29 04:53 etc drwxr-xr-x. 2 root root 6 Dec 11 2021 home lrwxrwxrwx. 1 root root 7 Jan 29 2022 lib -> usr/lib lrwxrwxrwx. 1 root root 9 Jan 29 2022 lib32 -> usr/lib32 lrwxrwxrwx. 1 root root 9 Jan 29 2022 lib64 -> usr/lib64 lrwxrwxrwx. 1 root root 10 Jan 29 2022 libx32 -> usr/libx32 drwxr-xr-x. 2 root root 6 Jan 29 2022 media drwxr-xr-x. 2 root root 6 Jan 29 2022 mnt drwxr-xr-x. 2 root root 6 Jan 29 2022 opt lrwxrwxrwx. 1 root root 5 Jan 29 2022 proc -> /proc drwx------. 1 root root 37 Jan 29 2022 root drwxr-xr-x. 1 root root 33 Jan 29 2022 run lrwxrwxrwx. 1 root root 8 Jan 29 2022 sbin -> usr/sbin drwxr-xr-x. 2 root root 6 Jan 29 2022 srv drwxr-xr-x. 2 root root 6 Dec 11 2021 sys drwxrwxrwt. 1 root root 6 Jan 29 04:53 tmp drwxr-xr-x. 1 root root 69 Jan 29 2022 usr drwxr-xr-x. 1 root root 41 Jan 29 2022 var -rw-r--r--. 1 root root 953 Dec 24 04:46 wait-for-db.php -rwxr-xr-x. 1 root root 404 Dec 24 04:46 websockets-entrypoint.sh -rwxr-xr-x. 1 root root 395 Dec 24 04:46 worker-entrypoint.sh ``` Because of this, it doesn't launch with podman: ``` podman run docker.io/zknt/pixelfed:latest Error: OCI runtime error: crun: the target `/proc` is invalid: Not a directory ``` Do you know where this errant symlink comes from?
Owner

I'm currently rebuilding the image on a different base layer, which solves this issue.

Currently, the new work is available in branch rebase_on_official and automatically built and tagged as quay.io/zknt/pixelfed:test

I'm currently rebuilding the image on a different base layer, which solves this issue. Currently, the new work is available in branch `rebase_on_official` and automatically built and tagged as quay.io/zknt/pixelfed:test
Owner

From here on out the images are based on php:8.1 and don't have that proc issue anymore

From here on out the images are based on [php:8.1](https://hub.docker.com/_/php) and don't have that proc issue anymore
chris closed this issue 2023-10-08 18:37:48 +00:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: dockers/pixelfed#9
No description provided.