Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when 9p mount type is selected on openSUSE Leap #4943

Closed
adamkpickering opened this issue Jun 12, 2023 · 3 comments · Fixed by #6592
Closed

Error when 9p mount type is selected on openSUSE Leap #4943

adamkpickering opened this issue Jun 12, 2023 · 3 comments · Fixed by #6592
Labels
kind/bug Something isn't working platform/linux qase Issue is related to manual test in Qase release-note
Milestone

Comments

@adamkpickering
Copy link
Member

adamkpickering commented Jun 12, 2023

Actual Behavior

An error popup appears when the 9p mount type is selected and Apply is clicked.

Steps to Reproduce

  1. Factory reset.
  2. Start Rancher Desktop. Wait for it to finish starting up.
  3. Select the experimental 9p mount type under Preferences > Virtual Machine > Volumes > Mount Type
  4. Click Apply

Result

An error popup appears:

image

Expected Behavior

Rancher Desktop should restart without errors.

Additional Information

logs.zip

/home/adam> rdctl shell mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,noexec,relatime,size=10240k,nr_inodes=758407,mode=755,inode64)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,inode64)
/dev/sr0 on /media/sr0 type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)
tmpfs on / type tmpfs (rw,relatime,mode=755,inode64)
tmpfs on /run type tmpfs (rw,nosuid,nodev,size=1216172k,nr_inodes=819200,mode=755,inode64)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
/dev/loop0 on /.modloop type squashfs (ro,relatime,errors=continue)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/disk/by-label/cidata on /mnt/lima-cidata type iso9660 (ro,relatime,nojoliet,overriderockperm,check=s,map=n,blocksize=2048,uid=0,dmode=700,fmode=700,iocharset=utf8)
mount0 on /home/adam type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
mount1 on /tmp/rancher-desktop type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
mount2 on /opt/rancher-desktop/resources/resources type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
/dev/disk/by-label/data-volume on /mnt/data type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /etc type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /home type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /root type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /tmp type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /usr/local type ext4 (rw,relatime)
/dev/disk/by-label/data-volume on /var/lib type ext4 (rw,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755,inode64)
openrc on /sys/fs/cgroup/openrc type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/rc/sh/cgroup-release-agent.sh,name=openrc)
none on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
net_prio on /sys/fs/cgroup/net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_prio)
hugetlb on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
pids on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
/dev/disk/by-label/data-volume on /root type ext4 (rw,relatime)
bpffs on /sys/fs/bpf type bpf (rw,relatime)
rancher-desktop/> rdctl shell cat /var/log/lima-init.log
ash: cd: line 0: can't cd to /home/adam/dev/rancher-desktop: No such file or directory
+ export 'LIMA_CIDATA_MNT=/mnt/lima-cidata'
+ '[' --local '!=' --local ]
+ ln -s /var/log/lima-init.log /var/log/cloud-init-output.log
+ LIMA_CIDATA_DEV=/dev/disk/by-label/cidata
+ mkdir -p -m 700 /mnt/lima-cidata
+ mount -o 'ro,mode=0700,dmode=0700,overriderockperm,exec,uid=0' /dev/disk/by-label/cidata /mnt/lima-cidata
+ read -r line
+ export 'LIMA_CIDATA_NAME=0'
+ read -r line
+ export 'LIMA_CIDATA_USER=adam'
+ read -r line
+ export 'LIMA_CIDATA_UID=1000'
+ read -r line
+ export 'LIMA_CIDATA_HOSTHOME_MOUNTPOINT=/home/adam'
+ read -r line
+ export 'LIMA_CIDATA_MOUNTS=3'
+ read -r line
+ export 'LIMA_CIDATA_MOUNTS_0_MOUNTPOINT=/home/adam'
+ read -r line
+ export 'LIMA_CIDATA_MOUNTS_1_MOUNTPOINT=/tmp/rancher-desktop'
+ read -r line
+ export 'LIMA_CIDATA_MOUNTS_2_MOUNTPOINT=/opt/rancher-desktop/resources/resources'
+ read -r line
+ export 'LIMA_CIDATA_MOUNTTYPE=9p'
+ read -r line
+ export 'LIMA_CIDATA_DISKS=0'
+ read -r line
+ export 'LIMA_CIDATA_CONTAINERD_USER='
+ read -r line
+ export 'LIMA_CIDATA_CONTAINERD_SYSTEM='
+ read -r line
+ export 'LIMA_CIDATA_SLIRP_DNS=192.168.5.3'
+ read -r line
+ export 'LIMA_CIDATA_SLIRP_GATEWAY=192.168.5.2'
+ read -r line
+ export 'LIMA_CIDATA_SLIRP_IP_ADDRESS=192.168.5.15'
+ read -r line
+ export 'LIMA_CIDATA_UDP_DNS_LOCAL_PORT=54864'
+ read -r line
+ export 'LIMA_CIDATA_TCP_DNS_LOCAL_PORT=34231'
+ read -r line
+ export 'LIMA_CIDATA_ROSETTA_ENABLED=false'
+ read -r line
+ export 'LIMA_CIDATA_ROSETTA_BINFMT=false'
+ read -r line
+ export 'LIMA_CIDATA_SKIP_DEFAULT_DEPENDENCY_RESOLUTION='
+ read -r line
+ awk '/^local-hostname:/ {print $2}' /mnt/lima-cidata/meta-data
+ LIMA_CIDATA_HOSTNAME=lima-0
+ hostname lima-0
+ LIMA_CIDATA_HOMEDIR=/home/adam.linux
+ useradd --home-dir /home/adam.linux --create-home --uid 1000 adam
+ echo 'adam ALL=(ALL) NOPASSWD:ALL'
+ LIMA_CIDATA_SSHDIR=/home/adam.linux/.ssh
+ mkdir -p -m 700 /home/adam.linux/.ssh
+ awk '/ssh-authorized-keys/ {flag=1; next} /^ *$/ {flag=0} flag {sub(/^ +- /, ""); gsub("\"", ""); print $0}' /mnt/lima-cidata/user-data
+ id -g adam
+ LIMA_CIDATA_GID=1000
+ chown -R 1000:1000 /home/adam.linux/.ssh
+ chmod 600 /home/adam.linux/.ssh/authorized_keys
+ MOUNT_SCRIPT=/etc/lima-mounts
+ echo '#!/bin/sh -eux'
+ awk -f- /mnt/lima-cidata/user-data
+ chmod +x /etc/lima-mounts
+ /etc/lima-mounts
+ mkdir -p /home/adam
+ mount -t 9p -o 'rw,trans=virtio,version=9p2000.L,msize=131072,cache=mmap,nofail' mount0 /home/adam
+ mkdir -p /tmp/rancher-desktop
+ mount -t 9p -o 'rw,trans=virtio,version=9p2000.L,msize=131072,cache=mmap,nofail' mount1 /tmp/rancher-desktop
+ mkdir -p /opt/rancher-desktop/resources/resources
+ mount -t 9p -o 'rw,trans=virtio,version=9p2000.L,msize=131072,cache=mmap,nofail' mount2 /opt/rancher-desktop/resources/resources
+ mkdir -p /var/lib/lima-init
+ IP_RENAME=/var/lib/lima-init/ip-rename
+ ip -o link
+ awk -f /usr/bin/lima-network.awk /var/lib/lima-init/ip-link /mnt/lima-cidata/network-config
+ chmod +x /var/lib/lima-init/ip-rename
+ ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 52:55:55:df:88:b5 brd ff:ff:ff:ff:ff:ff
+ /var/lib/lima-init/ip-rename
+ ip link
1: lo: <LOOPBACK> mtu 65536 qdisc noop state DOWN qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 52:55:55:df:88:b5 brd ff:ff:ff:ff:ff:ff
+ awk -f- /mnt/lima-cidata/network-config
+ awk -f- /mnt/lima-cidata/network-config
+ awk '/nameservers:/{flag=1; next} /^[^ ]/{flag=0} flag {gsub("^ +- +", ""); print}' /mnt/lima-cidata/user-data
+ tr '\n' ' '
+ DNS='192.168.5.3   '
+ '[' -n '192.168.5.3   ' ]
+ sed -i '/export dns/a dns="192.168.5.3   "' /usr/share/udhcpc/default.script
+ grep -q '^  remove_defaults: true' /mnt/lima-cidata/user-data
+ LIMA_CA_CERTS=/usr/share/ca-certificates/lima-init-ca-certs.crt
+ awk -f- /mnt/lima-cidata/user-data
+ '[' -s /usr/share/ca-certificates/lima-init-ca-certs.crt ]
+ export 'LIMA_CIDATA_MNT=/mnt/lima-cidata'
+ '['  '!=' --local ]
+ exec /mnt/lima-cidata/boot.sh
LIMA| Executing /mnt/lima-cidata/boot/00-modprobe.sh
Loading kernel module "fuse"
Loading kernel module "tun"
Loading kernel module "tap"
Loading kernel module "bridge"
Loading kernel module "veth"
Loading kernel module "ip_tables"
Loading kernel module "ip6_tables"
Loading kernel module "iptable_nat"
Loading kernel module "ip6table_nat"
Loading kernel module "iptable_filter"
Loading kernel module "ip6table_filter"
Loading kernel module "nf_tables"
Loading kernel module "x_tables"
Loading kernel module "xt_MASQUERADE"
Loading kernel module "xt_addrtype"
Loading kernel module "xt_comment"
Loading kernel module "xt_conntrack"
Loading kernel module "xt_mark"
Loading kernel module "xt_multiport"
Loading kernel module "xt_nat"
Loading kernel module "xt_tcpudp"
Loading kernel module "overlay"
LIMA| Executing /mnt/lima-cidata/boot/01-alpine-ash-as-bash.sh
LIMA| Executing /mnt/lima-cidata/boot/04-persistent-data-volume.sh
+ test -f /etc/alpine-release
+ DATADIRS='/etc /home /root /tmp /usr/local /var/lib'
+ awk '$2 == "/" {print $3}' /proc/mounts
+ '[' tmpfs '==' tmpfs ]
+ mkdir -p /mnt/data
+ '[' -e /dev/disk/by-label/data-volume ]
+ blkid
+ awk '{split($0,s,":"); sub(/\d$/, "", s[1]); print s[1]};'
+ grep data-volume
+ DATA_DISK=/dev/vda
+ command -v growpart
+ command -v resize2fs
+ growpart /dev/vda 1
NOCHANGE: partition 1 could only be grown by -33 [fudge=2048]
+ true
+ e2fsck -f -p /dev/disk/by-label/data-volume
data-volume: 9054/6553600 files (0.2% non-contiguous), 847771/26214144 blocks
+ resize2fs /dev/disk/by-label/data-volume
resize2fs 1.47.0 (5-Feb-2023)
The filesystem is already 26214144 (4k) blocks long.  Nothing to do!

+ mount -t ext4 /dev/disk/by-label/data-volume /mnt/data
+ '[' -d /mnt/data/etc ]
+ mkdir -p /etc
+ mount --bind /mnt/data/etc /etc
+ '[' -d /mnt/data/home ]
+ mkdir -p /home
+ mount --bind /mnt/data/home /home
+ '[' -d /mnt/data/root ]
+ mkdir -p /root
+ mount --bind /mnt/data/root /root
+ '[' -d /mnt/data/tmp ]
+ mkdir -p /tmp
+ mount --bind /mnt/data/tmp /tmp
+ '[' -d /mnt/data/usr/local ]
+ mkdir -p /usr/local
+ mount --bind /mnt/data/usr/local /usr/local
+ '[' -d /mnt/data/var/lib ]
+ mkdir -p /var/lib
+ mount --bind /mnt/data/var/lib /var/lib
+ mount -a
LIMA| Executing /mnt/lima-cidata/boot/05-lima-disks.sh
+ test 0 -gt 0
+ exit 0
LIMA| Executing /mnt/lima-cidata/boot/05-rosetta-volume.sh
+ '[' false '!=' true ]
+ exit 0
LIMA| Executing /mnt/lima-cidata/boot/06-etc-hosts.sh
+ sed -i /host.lima.internal/d /etc/hosts
+ echo -e '192.168.5.2\thost.lima.internal'
LIMA| Executing /mnt/lima-cidata/boot/07-etc-environment.sh
+ '[' -e /etc/environment ]
+ sed -i '/#LIMA-START/,/#LIMA-END/d' /etc/environment
+ cat /mnt/lima-cidata/etc_environment
+ command -v loginctl
+ rm -f /run/lima-guest-agent.sock
+ cp /mnt/lima-cidata/meta-data /run/lima-ssh-ready
LIMA| Executing /mnt/lima-cidata/boot/08-shell-prompt.sh
+ '[' 0 '=' default ]
LIMA| Executing /mnt/lima-cidata/boot/09-host-dns-setup.sh
+ command -v iptables
+ '[' -n 54864 ]
+ '[' 54864 -ne 0 ]
+ iptables-save
+ grep 'udp.*192.168.5.2:54864'
+ iptables -t nat -A PREROUTING -d 192.168.5.3 -p udp --dport 53 -j DNAT --to-destination 192.168.5.2:54864
+ iptables -t nat -A OUTPUT -d 192.168.5.3 -p udp --dport 53 -j DNAT --to-destination 192.168.5.2:54864
+ '[' -n 34231 ]
+ '[' 34231 -ne 0 ]
+ iptables-save
+ grep 'tcp.*192.168.5.2:34231'
+ iptables -t nat -A PREROUTING -d 192.168.5.3 -p tcp --dport 53 -j DNAT --to-destination 192.168.5.2:34231
+ iptables -t nat -A OUTPUT -d 192.168.5.3 -p tcp --dport 53 -j DNAT --to-destination 192.168.5.2:34231
LIMA| Executing /mnt/lima-cidata/boot/10-alpine-prep.sh
+ test -f /etc/alpine-release
+ BRANCH=edge
+ awk '-F=' '$1=="VERSION_ID" {print $2}' /etc/os-release
+ VERSION_ID=3.18.0
+ BRANCH=v3.18
+ URL=https://dl-cdn.alpinelinux.org/alpine/v3.18/main
+ grep -q '^https://dl-cdn.alpinelinux.org/alpine/v3.18/main$' /etc/apk/repositories
+ URL=https://dl-cdn.alpinelinux.org/alpine/v3.18/community
+ grep -q '^https://dl-cdn.alpinelinux.org/alpine/v3.18/community$' /etc/apk/repositories
+ usermod -p '*' adam
+ sed -i 's/AllowTcpForwarding no/AllowTcpForwarding yes/g' /etc/ssh/sshd_config
+ rc-service --ifstarted sshd reload
+ rc-service cgroups start
 * Mounting cgroup filesystem ... [ ok ]
+ rc-update add acpid
 * rc-update: acpid already installed in runlevel `default'; skipping
+ rc-service acpid start
 * Starting busybox acpid ... [ ok ]
LIMA| Executing /mnt/lima-cidata/boot/11-colorterm-environment.sh
+ '[' '!' -e /etc/ssh/sshd_config ]
+ grep -q COLORTERM /etc/ssh/sshd_config
+ sed -i 's/^AcceptEnv LANG LC_\*$/AcceptEnv COLORTERM LANG LC_*/' /etc/ssh/sshd_config
+ '[' -f /sbin/openrc-run ]
+ rc-service --ifstarted sshd reload
LIMA| Executing /mnt/lima-cidata/boot/20-rootless-base.sh
+ command -v systemctl
+ exit 0
LIMA| Executing /mnt/lima-cidata/boot/25-guestagent-base.sh
+ '[' 9p '=' reverse-sshfs ]
+ install -m 755 /mnt/lima-cidata/lima-guestagent /usr/local/bin/lima-guestagent
+ '[' -f /sbin/openrc-run ]
+ cat
+ chmod 755 /etc/init.d/lima-guestagent
+ rc-update add lima-guestagent default
 * rc-update: lima-guestagent already installed in runlevel `default'; skipping
+ rc-service lima-guestagent start
 * Caching service dependencies ... [ ok ]
 * Starting lima-guestagent ... [ ok ]
LIMA| Executing /mnt/lima-cidata/boot/30-install-packages.sh
+ INSTALL_IPTABLES=0
+ '['  '=' 1 ]
+ '['  '=' 1 ]
+ '[' 54864 -ne 0 ]
+ INSTALL_IPTABLES=1
+ '[' -d /mnt/lima-cidata/provision.dependency ]
+ '['  '=' 1 ]
+ grep -qF ELF
+ command -v apt-get
+ hexdump -C -n 4
hexdump: : No such file or directory
+ command -v dnf
+ command -v yum
+ command -v pacman
+ command -v zypper
+ command -v apk
+ pkgs=
+ '[' 9p '=' reverse-sshfs ]
+ '[' 1 '=' 1 ]
+ command -v iptables
+ '[' -n  ]
LIMA| Executing /mnt/lima-cidata/boot/35-setup-packages.sh
+ SETUP_DNS=0
+ '[' -n 54864 ]
+ '[' 54864 -ne 0 ]
+ SETUP_DNS=1
+ '[' -n 34231 ]
+ '[' 34231 -ne 0 ]
+ SETUP_DNS=1
+ '[' 1 '=' 1 ]
+ /mnt/lima-cidata/boot/09-host-dns-setup.sh
+ command -v iptables
+ '[' -n 54864 ]
+ '[' 54864 -ne 0 ]
+ iptables-save
+ grep 'udp.*192.168.5.2:54864'
-A PREROUTING -d 192.168.5.3/32 -p udp -m udp --dport 53 -j DNAT --to-destination 192.168.5.2:54864
-A OUTPUT -d 192.168.5.3/32 -p udp -m udp --dport 53 -j DNAT --to-destination 192.168.5.2:54864
+ '[' -n 34231 ]
+ '[' 34231 -ne 0 ]
+ grep 'tcp.*192.168.5.2:34231'
+ iptables-save
-A PREROUTING -d 192.168.5.3/32 -p tcp -m tcp --dport 53 -j DNAT --to-destination 192.168.5.2:34231
-A OUTPUT -d 192.168.5.3/32 -p tcp -m tcp --dport 53 -j DNAT --to-destination 192.168.5.2:34231
+ '[' 9p '=' reverse-sshfs ]
LIMA| Executing /mnt/lima-cidata/boot/40-install-containerd.sh
+ '['  '!=' 1 ]
+ '['  '!=' 1 ]
+ exit 0
LIMA| Executing /mnt/lima-cidata/provision.system/00000000
+ mkdir -p /bootfs
+ mount --bind / /bootfs
+ '[' -f /bootfs/etc/os-release ]
+ diff -q /etc/os-release /bootfs/etc/os-release
+ umount /bootfs
+ rmdir /bootfs
LIMA| Executing /mnt/lima-cidata/provision.system/00000001
+ fstrim /mnt/data
LIMA| Executing /mnt/lima-cidata/provision.system/00000002
+ sed -i -E 's/^#?MaxSessions +[0-9]+/MaxSessions 25/g' /etc/ssh/sshd_config
+ rc-service --ifstarted sshd reload
LIMA| Executing /mnt/lima-cidata/provision.system/00000003
+ '[' -d /mnt/data/root ]
+ mkdir -p /root
+ mount --bind /mnt/data/root /root
LIMA| Executing /mnt/lima-cidata/provision.system/00000004
+ mkdir -p /etc/docker
+ '[' -L /etc/docker/certs.d ]
+ rm /etc/docker/certs.d
+ '[' '!' -e /etc/docker/certs.d ]
+ '[' -d /Users/adam ]
+ '[' -d /home/adam ]
+ ln -s /home/adam/.docker/certs.d /etc/docker
LIMA| Executing /mnt/lima-cidata/provision.system/00000005
LIMA| Executing /mnt/lima-cidata/provision.system/00000006
+ rm -rf /var/lib/rancher/k3s/data
+ find /tmp -depth -mtime +3 -delete
LIMA| Executing /mnt/lima-cidata/provision.system/00000007
+ mount --make-shared /
+ mount --make-shared /etc
+ mount --make-shared /tmp
+ mount --make-shared /var/lib
LIMA| Executing /mnt/lima-cidata/provision.system/00000008
 * rc-update: crond already installed in runlevel `default'; skipping
 * Starting busybox crond ... [ ok ]
LIMA| Executing /mnt/lima-cidata/provision.system/00000009
+ usermod --append --groups docker adam
LIMA| Executing /mnt/lima-cidata/provision.system/00000010
Created a new local CA 💥
The local CA is now installed in the system trust store! ⚡️


Created a new certificate valid for the following names 📜
 - "localhost"

The certificate is at "./localhost.pem" and the key at "./localhost-key.pem" ✅

It will expire on 16 September 2025 🗓

LIMA| Executing /mnt/lima-cidata/provision.system/00000011
+ sed -i 's/^command_background/#command_background/' /etc/init.d/openresty
+ aiListConf=/usr/local/openresty/nginx/conf/allowed-images.conf
+ oldIAListConf=/usr/local/openresty/nginx/conf/image-allow-list.conf
+ setproxy='[ -f /usr/local/openresty/nginx/conf/allowed-images.conf ] && supervise_daemon_args="-e HTTPS_PROXY=http://127.0.0.1:3128 $supervise_daemon_args"'
+ sed -i '\#-f /usr/local/openresty/nginx/conf/allowed-images.conf#d' /etc/init.d/containerd
+ sed -i '\#-f /usr/local/openresty/nginx/conf/image-allow-list.conf#d' /etc/init.d/containerd
+ sed -i '/^supervise_daemon_args/a [ -f /usr/local/openresty/nginx/conf/allowed-images.conf ] && supervise_daemon_args="-e HTTPS_PROXY=http://127.0.0.1:3128 $supervise_daemon_args"' /etc/init.d/containerd
+ sed -i '\#-f /usr/local/openresty/nginx/conf/allowed-images.conf#d' /etc/init.d/docker
+ sed -i '\#-f /usr/local/openresty/nginx/conf/image-allow-list.conf#d' /etc/init.d/docker
+ sed -i '/^supervise_daemon_args/a [ -f /usr/local/openresty/nginx/conf/allowed-images.conf ] && supervise_daemon_args="-e HTTPS_PROXY=http://127.0.0.1:3128 $supervise_daemon_args"' /etc/init.d/docker
+ install -d -m755 /var/log/openresty
LIMA| Executing /mnt/lima-cidata/provision.system/00000012
LIMA| Exiting with code 0

Rancher Desktop Version

a81c562

Rancher Desktop K8s Version

1.26.5

Which container engine are you using?

moby (docker cli)

What operating system are you using?

Other Linux

Operating System / Build Version

openSUSE Leap 15.3

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

rpm

Windows User Only

No response

@adamkpickering adamkpickering added kind/bug Something isn't working platform/linux triage/next-candidate Discuss if it should be moved to "Next" milestone labels Jun 12, 2023
@jandubois
Copy link
Member

rdctl shell cat /var/run/lima-init.log

Sorry, my fault, that should be /var/log instead of /var/run :(

But I see /home/adam mounted, so we don't need the log:

mount0 on /home/adam type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)

So I don't understand why we can't access the directory:

stdout: 'Directory /home/adam/.cache/rancher-desktop/k3s/v1.26.5+k3s1 does not exist\n',

Can you verify on the host that the directory exist?

@adamkpickering
Copy link
Member Author

I updated the cat /var/log/lima-init.log command above.

rancher-desktop/> tree ~/.cache/rancher-desktop/
/home/adam/.cache/rancher-desktop/
├── k3s
│   └── v1.26.5+k3s1
│       ├── k3s
│       ├── k3s-airgap-images-amd64.tar.zst
│       └── sha256sum-amd64.txt
└── k3s-versions.json

So the directory appears to exist.

I went into the VM via rdctl shell to investigate. My home directory is present, but appears empty.

@gaktive gaktive added this to the 1.10 milestone Jul 6, 2023
@gaktive gaktive removed the triage/next-candidate Discuss if it should be moved to "Next" milestone label Jul 6, 2023
@gaktive gaktive modified the milestones: 1.10, 1.11 Jul 24, 2023
@gaktive gaktive modified the milestones: 1.11, 1.10 Sep 5, 2023
@gaktive gaktive removed this from the 1.11 milestone Sep 29, 2023
@gunamata gunamata added this to the 1.12 milestone Oct 30, 2023
@adamkpickering
Copy link
Member Author

This also occurs with the AppImage on Fedora 38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working platform/linux qase Issue is related to manual test in Qase release-note
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants