[xiphos-devel] windows build

Karl Kleinpaste karl at kleinpaste.org
Fri Apr 24 08:01:10 MST 2020


On 4/24/20 9:40 AM, Dominique Corbex wrote:
> After having run toolbox reset, is there still a .local/share/containers/ ?

No, there is not.

$ toolbox reset
All existing podman (and toolbox) containers and images will be removed.
Continue? [y/N]: y
$ echo ~/.local/share/cont*
/home/karl/.local/share/cont*
$ toolbox list
$ toolbox create --container xiphos-win --image fedora-toolbox:30
Image required to create toolbox container.
Download registry.fedoraproject.org/f30/fedora-toolbox:30 (500MB)? [y/N]: y
Created container: xiphos-win
Enter with: toolbox enter --container xiphos-win
$ toolbox -vv enter --container xiphos-win
toolbox: running as real user ID 5271
toolbox: resolved absolute path for /usr/bin/toolbox to /usr/bin/toolbox
toolbox: checking if /etc/subgid and /etc/subuid have entries for user karl
toolbox: TOOLBOX_PATH is /usr/bin/toolbox
toolbox: running on a cgroups v2 host
DEBU[0000] Using conmon: "/usr/bin/conmon"             
DEBU[0000] Initializing boltdb state at
/home/karl/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay                  
DEBU[0000] Using graph root /home/karl/.local/share/containers/storage
DEBU[0000] Using run root /run/user/5271/containers    
DEBU[0000] Using static dir
/home/karl/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/5271/libpod/tmp     
DEBU[0000] Using volume path
/home/karl/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""                  
DEBU[0000] No store required. Not opening container store.
DEBU[0000] Initializing event backend journald         
DEBU[0000] using runtime "/usr/bin/runc"               
DEBU[0000] using runtime "/usr/bin/crun"               
*WARN[0000] Error initializing configured OCI runtime kata: no valid
executable found for OCI runtime kata: invalid argument *
DEBU[0000] using runtime "/usr/bin/crun"               
INFO[0000] running as rootless                         
toolbox: current Podman version is 1.9.0
toolbox: migration not needed: Podman version 1.9.0 is unchanged
toolbox: Fedora generational core is f31
toolbox: base image is fedora-toolbox:31
toolbox: container is xiphos-win
toolbox: checking if container xiphos-win exists
DEBU[0000] Using conmon: "/usr/bin/conmon"             
DEBU[0000] Initializing boltdb state at
/home/karl/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay                  
DEBU[0000] Using graph root /home/karl/.local/share/containers/storage
DEBU[0000] Using run root /run/user/5271/containers    
DEBU[0000] Using static dir
/home/karl/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/5271/libpod/tmp     
DEBU[0000] Using volume path
/home/karl/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""                  
DEBU[0000] No store required. Not opening container store.
DEBU[0000] Initializing event backend journald         
DEBU[0000] using runtime "/usr/bin/crun"               
*WARN[0000] Error initializing configured OCI runtime kata: no valid
executable found for OCI runtime kata: invalid argument *
DEBU[0000] using runtime "/usr/bin/runc"               
DEBU[0000] using runtime "/usr/bin/crun"               
INFO[0000] running as rootless                         
DEBU[0000] Using conmon: "/usr/bin/conmon"             
DEBU[0000] Initializing boltdb state at
/home/karl/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay                  
DEBU[0000] Using graph root /home/karl/.local/share/containers/storage
DEBU[0000] Using run root /run/user/5271/containers    
DEBU[0000] Using static dir
/home/karl/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/5271/libpod/tmp     
DEBU[0000] Using volume path
/home/karl/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""                  
DEBU[0000] No store required. Not opening container store.
DEBU[0000] Initializing event backend journald         
DEBU[0000] using runtime "/usr/bin/crun"               
*WARN[0000] Error initializing configured OCI runtime kata: no valid
executable found for OCI runtime kata: invalid argument *
DEBU[0000] using runtime "/usr/bin/runc"               
DEBU[0000] using runtime "/usr/bin/crun"               
toolbox: calling org.freedesktop.Flatpak.SessionHelper.RequestSession
toolbox: starting container xiphos-win
DEBU[0000] Using conmon: "/usr/bin/conmon"             
DEBU[0000] Initializing boltdb state at
/home/karl/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay                  
DEBU[0000] Using graph root /home/karl/.local/share/containers/storage
DEBU[0000] Using run root /run/user/5271/containers    
DEBU[0000] Using static dir
/home/karl/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/5271/libpod/tmp     
DEBU[0000] Using volume path
/home/karl/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""                  
DEBU[0000] No store required. Not opening container store.
DEBU[0000] Initializing event backend journald         
DEBU[0000] using runtime "/usr/bin/crun"               
*WARN[0000] Error initializing configured OCI runtime kata: no valid
executable found for OCI runtime kata: invalid argument *
DEBU[0000] using runtime "/usr/bin/runc"               
DEBU[0000] using runtime "/usr/bin/crun"               
INFO[0000] running as rootless                         
DEBU[0000] Using conmon: "/usr/bin/conmon"             
DEBU[0000] Initializing boltdb state at
/home/karl/.local/share/containers/storage/libpod/bolt_state.db
DEBU[0000] Using graph driver overlay                  
DEBU[0000] Using graph root /home/karl/.local/share/containers/storage
DEBU[0000] Using run root /run/user/5271/containers    
DEBU[0000] Using static dir
/home/karl/.local/share/containers/storage/libpod
DEBU[0000] Using tmp dir /run/user/5271/libpod/tmp     
DEBU[0000] Using volume path
/home/karl/.local/share/containers/storage/volumes
DEBU[0000] Set libpod namespace to ""                  
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: mount_program=/usr/bin/fuse-overlayfs
DEBU[0000] backingFs=extfs, projectQuotaSupported=false,
useNativeDiff=false, usingMetacopy=false
DEBU[0000] Initializing event backend journald         
DEBU[0000] using runtime "/usr/bin/runc"               
DEBU[0000] using runtime "/usr/bin/crun"               
*WARN[0000] Error initializing configured OCI runtime kata: no valid
executable found for OCI runtime kata: invalid argument *
DEBU[0000] using runtime "/usr/bin/crun"               
toolbox: /etc/profile.d/toolbox.sh already mounted in container xiphos-win
time="2020-04-24T10:51:44-04:00" level=debug msg="Using conmon:
\"/usr/bin/conmon\""
time="2020-04-24T10:51:44-04:00" level=debug msg="Initializing boltdb
state at /home/karl/.local/share/containers/storage/libpod/bolt_state.db"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using graph driver
overlay"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using graph root
/home/karl/.local/share/containers/storage"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using run root
/run/user/5271/containers"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using static dir
/home/karl/.local/share/containers/storage/libpod"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using tmp dir
/run/user/5271/libpod/tmp"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using volume path
/home/karl/.local/share/containers/storage/volumes"
time="2020-04-24T10:51:44-04:00" level=debug msg="Set libpod namespace
to \"\""
time="2020-04-24T10:51:44-04:00" level=debug msg="No store required. Not
opening container store."
time="2020-04-24T10:51:44-04:00" level=debug msg="Initializing event
backend journald"
time="2020-04-24T10:51:44-04:00" level=debug msg="using runtime
\"/usr/bin/runc\""
time="2020-04-24T10:51:44-04:00" level=debug msg="using runtime
\"/usr/bin/crun\""
time="2020-04-24T10:51:44-04:00" level=warning msg="Error initializing
configured OCI runtime kata: no valid executable found for OCI runtime
kata: invalid argument"
time="2020-04-24T10:51:44-04:00" level=debug msg="using runtime
\"/usr/bin/crun\""
time="2020-04-24T10:51:44-04:00" level=info msg="running as rootless"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using conmon:
\"/usr/bin/conmon\""
time="2020-04-24T10:51:44-04:00" level=debug msg="Initializing boltdb
state at /home/karl/.local/share/containers/storage/libpod/bolt_state.db"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using graph driver
overlay"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using graph root
/home/karl/.local/share/containers/storage"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using run root
/run/user/5271/containers"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using static dir
/home/karl/.local/share/containers/storage/libpod"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using tmp dir
/run/user/5271/libpod/tmp"
time="2020-04-24T10:51:44-04:00" level=debug msg="Using volume path
/home/karl/.local/share/containers/storage/volumes"
time="2020-04-24T10:51:44-04:00" level=debug msg="Set libpod namespace
to \"\""
time="2020-04-24T10:51:44-04:00" level=debug msg="[graphdriver] trying
provided driver \"overlay\""
time="2020-04-24T10:51:44-04:00" level=debug msg="overlay:
mount_program=/usr/bin/fuse-overlayfs"
time="2020-04-24T10:51:44-04:00" level=debug msg="backingFs=extfs,
projectQuotaSupported=false, useNativeDiff=false, usingMetacopy=false"
time="2020-04-24T10:51:44-04:00" level=debug msg="Initializing event
backend journald"
time="2020-04-24T10:51:44-04:00" level=debug msg="using runtime
\"/usr/bin/runc\""
time="2020-04-24T10:51:44-04:00" level=debug msg="using runtime
\"/usr/bin/crun\""
*time="2020-04-24T10:51:44-04:00" level=warning msg="Error initializing
configured OCI runtime kata: no valid executable found for OCI runtime
kata: invalid argument"*
time="2020-04-24T10:51:44-04:00" level=debug msg="using runtime
\"/usr/bin/crun\""
time="2020-04-24T10:51:44-04:00" level=debug msg="overlay:
mount_data=lowerdir=/home/karl/.local/share/containers/storage/overlay/l/QZKJU77FRYG3SL6MPYXBLPXHNM:/home/karl/.local/share/containers/storage/overlay/l/RDZXOJJOBEMT2LK7L4ON4H6RD3,upperdir=/home/karl/.local/share/containers/storage/overlay/0001751cf9ec287ff352e6a06a1c4bb2b656bbcb75663f5d36c8c9aed53e9b0a/diff,workdir=/home/karl/.local/share/containers/storage/overlay/0001751cf9ec287ff352e6a06a1c4bb2b656bbcb75663f5d36c8c9aed53e9b0a/work"
time="2020-04-24T10:51:44-04:00" level=debug msg="mounted container
\"f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27\" at
\"/home/karl/.local/share/containers/storage/overlay/0001751cf9ec287ff352e6a06a1c4bb2b656bbcb75663f5d36c8c9aed53e9b0a/merged\""
time="2020-04-24T10:51:44-04:00" level=debug msg="Created root
filesystem for container
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27 at
/home/karl/.local/share/containers/storage/overlay/0001751cf9ec287ff352e6a06a1c4bb2b656bbcb75663f5d36c8c9aed53e9b0a/merged"
time="2020-04-24T10:51:44-04:00" level=debug msg="/etc/system-fips does
not exist on host, not mounting FIPS mode secret"
time="2020-04-24T10:51:44-04:00" level=debug msg="Setting CGroups for
container
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27 to
user.slice:libpod:f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27"
time="2020-04-24T10:51:44-04:00" level=debug msg="set root propagation
to \"rslave\""
time="2020-04-24T10:51:44-04:00" level=debug msg="reading hooks from
/usr/share/containers/oci/hooks.d"
time="2020-04-24T10:51:44-04:00" level=debug msg="added hook
/usr/share/containers/oci/hooks.d/oci-register-machine.json"
time="2020-04-24T10:51:44-04:00" level=debug msg="added hook
/usr/share/containers/oci/hooks.d/oci-systemd-hook.json"
time="2020-04-24T10:51:44-04:00" level=debug msg="added hook
/usr/share/containers/oci/hooks.d/oci-umount.json"
time="2020-04-24T10:51:44-04:00" level=debug msg="hook
oci-register-machine.json did not match"
time="2020-04-24T10:51:44-04:00" level=debug msg="hook
oci-systemd-hook.json did not match"
time="2020-04-24T10:51:44-04:00" level=debug msg="hook oci-umount.json
matched; adding to stages [prestart]"
time="2020-04-24T10:51:44-04:00" level=debug msg="Created OCI spec for
container
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27 at
/home/karl/.local/share/containers/storage/overlay-containers/f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27/userdata/config.json"
time="2020-04-24T10:51:44-04:00" level=debug msg="/usr/bin/conmon
messages will be logged to syslog"
time="2020-04-24T10:51:44-04:00" level=debug msg="running conmon:
/usr/bin/conmon" args="[--api-version 1 -s -c
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27 -u
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27 -r
/usr/bin/crun -b
/home/karl/.local/share/containers/storage/overlay-containers/f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27/userdata
-p
/run/user/5271/containers/overlay-containers/f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27/userdata/pidfile
-l
k8s-file:/home/karl/.local/share/containers/storage/overlay-containers/f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27/userdata/ctr.log
--exit-dir /run/user/5271/libpod/tmp/exits --socket-dir-path
/run/user/5271/libpod/tmp/socket --log-level debug --syslog
--conmon-pidfile
/run/user/5271/containers/overlay-containers/f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27/userdata/conmon.pid
--exit-command /usr/bin/podman --exit-command-arg --root
--exit-command-arg /home/karl/.local/share/containers/storage
--exit-command-arg --runroot --exit-command-arg
/run/user/5271/containers --exit-command-arg --log-level
--exit-command-arg error --exit-command-arg --cgroup-manager
--exit-command-arg systemd --exit-command-arg --tmpdir
--exit-command-arg /run/user/5271/libpod/tmp --exit-command-arg
--runtime --exit-command-arg /usr/bin/crun --exit-command-arg
--storage-driver --exit-command-arg overlay --exit-command-arg
--storage-opt --exit-command-arg
overlay.mount_program=/usr/bin/fuse-overlayfs --exit-command-arg
--events-backend --exit-command-arg journald --exit-command-arg
container --exit-command-arg cleanup --exit-command-arg
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27]"
time="2020-04-24T10:51:44-04:00" level=info msg="Running conmon under
slice user.slice and unitName
libpod-conmon-f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27.scope"
*[conmon:d]: failed to write to /proc/self/oom_score_adj: Permission denied*
time="2020-04-24T10:51:44-04:00" level=debug msg="Received: -1"
time="2020-04-24T10:51:44-04:00" level=debug msg="Cleaning up container
f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27"
time="2020-04-24T10:51:44-04:00" level=debug msg="Network is already
cleaned up, skipping..."
time="2020-04-24T10:51:44-04:00" level=debug msg="unmounted container
\"f6d89ebf5dda38d47726d44dd206ec12df5485c6e2249d8e5325cdb090fe4a27\""
*time="2020-04-24T10:51:44-04:00" level=error msg="unable to start
container \"xiphos-win\": make
`/home/karl/.local/share/containers/storage/overlay/0001751cf9ec287ff352e6a06a1c4bb2b656bbcb75663f5d36c8c9aed53e9b0a/merged`
private: Permission denied: OCI runtime permission denied error"*
toolbox: failed to start container xiphos-win

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/xiphos-devel/attachments/20200424/d822626a/attachment-0001.html>


More information about the xiphos-devel mailing list