quick-keyboard-83126
12/22/2022, 8:39 AM% cat ~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml
mountType: 9p
validate
command doesn't validate an override file...fast-garage-66093
01/03/2023, 7:13 PM$ echo "mountType: 9p" > ~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml
$ rdctl start
INFO[0000] About to launch /usr/bin/open -a /Applications/Rancher <http://Desktop.app|Desktop.app> ...
$ rdctl shell mount | grep 9p
mount0 on /Users/jan/Library/Caches/rancher-desktop/k3s type 9p (ro,dirsync,relatime,fscache,cachetag=4294938123,access=client,trans=virtio)
mount1 on /Users/jan/Library/Logs/rancher-desktop type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
mount2 on /Users/jan type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
mount3 on /tmp/rancher-desktop type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
Of course waiting for the VM to start before running the shell commandquick-keyboard-83126
01/03/2023, 7:17 PMjsoref@jsoref-mbp ~ % cat ~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml
mountType: 9p
jsoref@jsoref-mbp ~ % rdctl shell mount | grep 9p
mount0 on /Users/jsoref/Library/Caches/rancher-desktop/k3s type 9p (ro,dirsync,relatime,fscache,cachetag=4294937672,access=client,trans=virtio)
mount1 on /Users/jsoref/Library/Logs/rancher-desktop type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
mount2 on /Users/jsoref type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
mount3 on /tmp/rancher-desktop type 9p (rw,dirsync,relatime,mmap,access=client,trans=virtio)
fast-garage-66093
01/03/2023, 7:19 PM9p
quick-keyboard-83126
01/03/2023, 7:19 PMgit@github.com:mastodon/mastodon.git
as my start pointdocker-compose.yml
fileredis
and postgres
things, they fail miserablyfast-garage-66093
01/03/2023, 7:20 PMquick-keyboard-83126
01/03/2023, 7:20 PMdiff --git a/docker-compose.yml b/docker-compose.yml
index c534286c7..06a76b26b 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,8 +8,8 @@ services:
- internal_network
healthcheck:
test: ['CMD', 'pg_isready', '-U', 'postgres']
- volumes:
- - ./postgres14:/var/lib/postgresql/data
+ #volumes:
+ # - ./postgres14:/var/lib/postgresql/data
environment:
- 'POSTGRES_HOST_AUTH_METHOD=trust'
@@ -20,8 +20,8 @@ services:
- internal_network
healthcheck:
test: ['CMD', 'redis-cli', 'ping']
- volumes:
- - ./redis:/data
+ # volumes:
+ # - ./redis:/data
# es:
# restart: always
fast-garage-66093
01/03/2023, 7:24 PMquick-keyboard-83126
01/03/2023, 7:25 PMlocation
is an inside path?fast-garage-66093
01/03/2023, 7:26 PMmountPoint
for the inside pathquick-keyboard-83126
01/03/2023, 7:26 PMlocation
is macOS?fast-garage-66093
01/03/2023, 7:27 PMlocation
is on the host, and inside the VM, but not the container.quick-keyboard-83126
01/03/2023, 7:28 PMfast-garage-66093
01/03/2023, 7:28 PMmounts:
- location: ~/Library/Caches/rancher-desktop/k3s
writable: false
- location: ~/Library/Logs/rancher-desktop
writable: true
- location: "~"
writable: true
- location: /tmp/rancher-desktop
writable: true
quick-keyboard-83126
01/03/2023, 7:28 PM/opt
path feels more like a container path than a host pathfast-garage-66093
01/03/2023, 7:30 PM~
quick-keyboard-83126
01/03/2023, 7:31 PMjsoref@jsoref-mbp mastodon % cat ~/Library/Application\ Support/rancher-desktop/lima/_config/override.yaml
mountType: 9p
mounts:
- location: "~"
9p:
securityModel: mapped-xattr
cache: "mmap"
fast-garage-66093
01/03/2023, 7:31 PMmountType: 9p
mounts:
- location: "~"
9p:
securityModel: mapped-xattr
cache: "mmap"
quick-keyboard-83126
01/03/2023, 7:32 PMfast-garage-66093
01/03/2023, 7:32 PMquick-keyboard-83126
01/03/2023, 7:32 PMfast-garage-66093
01/03/2023, 7:33 PMquick-keyboard-83126
01/03/2023, 7:33 PMreset
)fast-garage-66093
01/03/2023, 7:33 PMFactory Reset
button on the trouble-shooting page...quick-keyboard-83126
01/03/2023, 7:33 PMfast-garage-66093
01/03/2023, 7:34 PMquick-keyboard-83126
01/03/2023, 7:34 PMfast-garage-66093
01/03/2023, 7:34 PMquick-keyboard-83126
01/03/2023, 7:35 PMfast-garage-66093
01/03/2023, 7:36 PMquick-keyboard-83126
01/03/2023, 7:37 PMfast-garage-66093
01/03/2023, 7:37 PMquick-keyboard-83126
01/03/2023, 7:38 PMfast-garage-66093
01/03/2023, 7:39 PM/etc/sudoers.d
thing is such a bad idea. At least I know now to avoid it in the futurequick-keyboard-83126
01/03/2023, 7:39 PMfast-garage-66093
01/03/2023, 7:41 PMzzzzzz-rancher-desktop-lima
quick-keyboard-83126
01/03/2023, 7:41 PMfast-garage-66093
01/03/2023, 7:42 PMquick-keyboard-83126
01/03/2023, 7:43 PMfast-garage-66093
01/03/2023, 7:43 PMquick-keyboard-83126
01/03/2023, 7:43 PMI was running 2.0.0 on some version of macOS... I've since upgraded to
Ventura 13.1. When I opened Cocoa Packet Analyzer and selected Check
for Updates, it offered an update to 2.0.7.
I let it install and restart and then was prompted to upgrade the
background helper. I click ok, enter my password, and then am prompted
to let it restart to use it.
Failed to bless helper. Error: -60006
Please relaunch CPA and try again!
It appears to be a perpetual loop.
----
I've trashed my app and downloaded a fresh one from
<https://www.tastycocoabytes.com/#offcanvasDownloads> and it still has
the same issue.
It's also rather painful to quit as the various modal-ish dialogs do
not cooperate with please quit requests.
fast-garage-66093
01/03/2023, 7:44 PMquick-keyboard-83126
01/03/2023, 7:44 PMthanks a lot for reporting. Sorry for the inconvience! I assume you have been updating from a version < 2.0.4 and ended up in the install-restart loop :(
try issuing these commands in Terminal. It will be resetting the authorizationdb and remove the capture daemon:
sudo security authorizationdb remove com.tastycocoabytes.CPA.subscribeClient
sudo security authorizationdb remove com.tastycocoabytes.CPA.unsubscribeClient
sudo security authorizationdb remove com.tastycocoabytes.CPA.stopCapture
sudo security authorizationdb remove com.tastycocoabytes.CPA.startCapture
sudo rm /Library/LaunchDaemons/com.tastycocoabytes.cpasniffd.plist
sudo rm /Library/PrivilegedHelperTools/com.tastycocoabytes.cpasniffd
sudo killall -9 com.tastycocoabytes.cpasniffd
Afterwards CPA should be able to install the daemon. I changed the upgrade code for the daemon in 2.0.4 so hopefully this should not happen again.
Sorry for the rude english in the modal dialog. You are right it should be more pleasant!!!
If it still doesnt work please let me know!
fast-garage-66093
01/03/2023, 7:45 PMoverride.yaml
work for you?quick-keyboard-83126
01/03/2023, 7:45 PMmountType: 9p
mounts:
- location: "~"
9p:
securityModel: mapped-xattr
cache: "mmap"
by default in 1.8.0?fast-garage-66093
01/03/2023, 7:53 PMquick-keyboard-83126
01/03/2023, 7:54 PMfast-garage-66093
01/03/2023, 7:54 PMrdctl
at first, but eventually via the UI and let the user make a decisionquick-keyboard-83126
01/03/2023, 7:55 PMmounts:
- location: "~"
limaMount: "/mapped-xattr/Users/..."
9p:
securityModel: mapped-xattr
cache: "mmap"
- location: "~"
limaMount: "/sec-model-2/Users/..."
9p:
securityModel: sec-model-2
cache: "mmap"
fast-garage-66093
01/03/2023, 7:57 PMquick-keyboard-83126
01/03/2023, 7:57 PMfast-garage-66093
01/03/2023, 7:57 PMquick-keyboard-83126
01/03/2023, 7:58 PMfast-garage-66093
01/03/2023, 7:58 PMquick-keyboard-83126
01/03/2023, 7:59 PMfast-garage-66093
01/03/2023, 8:00 PMquick-keyboard-83126
01/03/2023, 8:00 PMfast-garage-66093
01/03/2023, 8:00 PMquick-keyboard-83126
01/03/2023, 8:01 PMfast-garage-66093
01/03/2023, 8:02 PMquick-keyboard-83126
01/03/2023, 8:04 PMfast-garage-66093
01/03/2023, 8:04 PMquick-keyboard-83126
01/03/2023, 8:05 PMfast-garage-66093
01/03/2023, 8:06 PM