File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -238,9 +238,9 @@ lrwxrwxrwx. 1 root root 0 May 1 04:33 /proc/self/ns/net -> 'net:[4026532287]'
238238## Debugging with podman in QM
239239
240240``` console
241- bash-5.1# podman --root /usr/share /containers/storage pull alpine
242- Error: creating runtime static files directory "/usr/share /containers/storage/libpod":
243- mkdir /usr/share /containers/storage: read-only file system
241+ bash-5.1# podman --root /usr/lib /containers/storage pull alpine
242+ Error: creating runtime static files directory "/usr/lib /containers/storage/libpod":
243+ mkdir /usr/lib /containers/storage: read-only file system
244244```
245245
246246## Debugging with quadlet
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ setup_init() {
4545
4646 STORAGE_CONF_PATHS=(
4747 " ${ROOTFS} /etc/containers/storage.conf"
48+ " ${ROOTFS} /usr/lib/containers/storage.conf"
4849 " ${ROOTFS} /usr/share/containers/storage.conf"
4950 )
5051
@@ -82,8 +83,9 @@ additional_images_storages() {
8283
8384 # Execute the following if we are inside the specified block
8485 if (insideBlock == 1) {
85- # Check if the line contains the specific path "/usr/share/containers/storage"
86- if ($0 ~ /"\/usr\/share\/containers\/storage"/) {
86+ # Check if the line contains the specific path "/usr/lib/containers/storage" or
87+ # /usr/share/containers/storage
88+ if ($0 ~ /"\/usr\/(lib|share)\/containers\/storage"/) {
8789 if ($0 !~ /,$/) { # If the line does not end with a comma
8890 print $0 "," # Print the line with a comma appended
8991 } else {
You can’t perform that action at this time.
0 commit comments