From mheon at redhat.com Fri Sep 27 13:32:14 2019 Content-Type: multipart/mixed; boundary="===============0493068511167662327==" MIME-Version: 1.0 From: Matt Heon To: podman at lists.podman.io Subject: [Podman] Re: GraphRoot Date: Fri, 27 Sep 2019 09:32:05 -0400 Message-ID: <20190927133205.gkrtdt24fmtuunvr@Agincourt.redhat.com> In-Reply-To: CA+W_RZi5Zb6Vdqpm0j_5tQP0PJ0W9VNtsg0NS8FDcSatXHB2Vw@mail.gmail.com --===============0493068511167662327== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 2019-09-27 08:15, Lou DeGenaro wrote: >I've started fresh. Below is my console. Please advise. Thx! > >Lou. > >=3D=3D=3D=3D=3D > >[root(a)degenaro-podman-centos etc]# cat /etc/os-release >NAME=3D"CentOS Linux" >VERSION=3D"7 (Core)" >ID=3D"centos" >ID_LIKE=3D"rhel fedora" >VERSION_ID=3D"7" >PRETTY_NAME=3D"CentOS Linux 7 (Core)" >ANSI_COLOR=3D"0;31" >CPE_NAME=3D"cpe:/o:centos:centos:7" >HOME_URL=3D"https://www.centos.org/" >BUG_REPORT_URL=3D"https://bugs.centos.org/" > >CENTOS_MANTISBT_PROJECT=3D"CentOS-7" >CENTOS_MANTISBT_PROJECT_VERSION=3D"7" >REDHAT_SUPPORT_PRODUCT=3D"centos" >REDHAT_SUPPORT_PRODUCT_VERSION=3D"7" > >[root(a)degenaro-podman-centos etc]# podman --version >podman version 1.4.4 >[root(a)degenaro-podman-centos etc]# podman run -it --rm busybox echo hello >hello >[root(a)degenaro-podman-centos etc]# cat /etc/subuid >podman4u:100000:65536 >[root(a)degenaro-podman-centos etc]# cat /etc/subgid >podman4u:100000:65536 >[root(a)degenaro-podman-centos etc]# sysctl -p /etc/sysctl.d/userns.conf >user.max_user_namespaces =3D 65534 >[root(a)degenaro-podman-centos etc]# su - podman4u I think this might be part of the problem right here. Rootless Podman relies on some environment variables and other configuration that are not done when a session is logged into via `su` or `sudo` (I believe that systemd doesn't recognize sessions where one user becomes another which causes it to not configure `/run/user/$UID` for example). Thanks, Matt Heon >Last login: Fri Sep 27 07:00:57 CDT 2019 from 9.74.15.59 on pts/1 >[podman4u(a)degenaro-podman-centos ~]$ podman run -it --rm busybox echo he= llo >Trying to pull registry.access.redhat.com/busybox...ERRO[0000] Error >pulling image ref //registry.access.redhat.com/busybox:latest: Error >initializing source docker://registry.access.redhat.com/busybox:latest: >Error reading manifest latest in registry.access.redhat.com/busybox: name >unknown: Repo not found >Failed >Trying to pull docker.io/library/busybox...Getting image source signatures >Copying blob 7c9d20b9b6cd done >Copying config 19485c79a9 done >Writing manifest to image destination >Storing signatures >ERRO[0004] Error while applying layer: ApplyLayer exit status 1 stdout: > stderr: there might not be enough IDs available in the namespace >(requested 65534:65534 for /home): lchown /home: invalid argument >ERRO[0004] Error pulling image ref //busybox:latest: Error committing the >finished image: error adding layer with blob >"sha256:7c9d20b9b6cda1c58bc4f9d6c401386786f584437abbe87e58910f8a9a15386b": >ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs >available in the namespace (requested 65534:65534 for /home): lchown /home: >invalid argument >Failed >Trying to pull registry.fedoraproject.org/busybox...ERRO[0005] Error >pulling image ref //registry.fedoraproject.org/busybox:latest: Error >initializing source docker://registry.fedoraproject.org/busybox:latest: >Error reading manifest latest in registry.fedoraproject.org/busybox: >manifest unknown: manifest unknown >Failed >Trying to pull quay.io/busybox...ERRO[0006] Error pulling image ref // >quay.io/busybox:latest: Error initializing source docker:// >quay.io/busybox:latest: Error reading manifest latest in quay.io/busybox: >error parsing HTTP 404 response body: invalid character '<' looking for >beginning of value: "Final//EN\">\n404 Not Found\n

Not Found

\n

The >requested URL was not found on the server. If you entered the URL manually >please check your spelling and try again.

\n" >Failed >Trying to pull registry.centos.org/busybox...ERRO[0007] Error pulling image >ref //registry.centos.org/busybox:latest: Error initializing source >docker://registry.centos.org/busybox:latest: Error reading manifest latest >in registry.centos.org/busybox: manifest unknown: manifest unknown >Failed >Error: unable to pull busybox: 5 errors occurred: >* Error initializing source docker:// >registry.access.redhat.com/busybox:latest: Error reading manifest latest in >registry.access.redhat.com/busybox: name unknown: Repo not found >* Error committing the finished image: error adding layer with blob >"sha256:7c9d20b9b6cda1c58bc4f9d6c401386786f584437abbe87e58910f8a9a15386b": >ApplyLayer exit status 1 stdout: stderr: there might not be enough IDs >available in the namespace (requested 65534:65534 for /home): lchown /home: >invalid argument >* Error initializing source docker:// >registry.fedoraproject.org/busybox:latest: Error reading manifest latest in >registry.fedoraproject.org/busybox: manifest unknown: manifest unknown >* Error initializing source docker://quay.io/busybox:latest: Error reading >manifest latest in quay.io/busybox: error parsing HTTP 404 response body: >invalid character '<' looking for beginning of value: "PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n404 Not >Found\n

Not Found

\n

The requested URL was not found on >the server. If you entered the URL manually please check your spelling and >try again.

\n" >* Error initializing source docker://registry.centos.org/busybox:latest: >Error reading manifest latest in registry.centos.org/busybox: manifest >unknown: manifest unknown > > > > > >On Wed, Sep 25, 2019 at 4:30 PM Matt Heon wrote: > >> On 2019-09-25 15:25, Lou DeGenaro wrote: >> >I made a change to storage.conf as follows: >> >graphroot =3D "/tmp/degenaro/.local/share/containers/storage" >> > >> >Yet, when I run podman info: >> >GraphRoot: /tmp/podman/degenaro/.local/share/containers/storage >> > >> >Why does the string /podman still appear in GraphRoot? >> > >> >Thanks. >> > >> >Lou. >> >> Can you provide the full output of `podman info --log-level=3Ddebug`? >> >> Thanks, >> Matt Heon >> >> >_______________________________________________ >> >Podman mailing list -- podman(a)lists.podman.io >> >To unsubscribe send an email to podman-leave(a)lists.podman.io >> --===============0493068511167662327== Content-Type: application/pgp-signature MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KCmlRSXpCQUFCQ1FBZEZpRUU1eG9UdlpBZ1JP R1hBMzNiV2c5Zm9jNzF5SFFG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