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

sshfs not working #5

Open
schmonz opened this issue Jan 26, 2024 · 6 comments
Open

sshfs not working #5

schmonz opened this issue Jan 26, 2024 · 6 comments

Comments

@schmonz
Copy link

schmonz commented Jan 26, 2024

Hi! These Actions are extremely handy for anyone actually interested in platform portability. Thank you for providing them.

I wanted to compare sync: sshfs with sync: rsync, and found that the former appears not to be working on NetBSD. To try to validate this, here's output of /sbin/mount within freebsd-vm, where the job succeeds:

/dev/gpt/rootfs on / (ufs, local, soft-updates)
devfs on /dev (devfs)
/dev/gpt/efiesp on /boot/efi (msdosfs, local)
host:work on /home/runner/work (fusefs.sshfs)

And within netbsd-vm, where the job gives errors such as fatal: could not create work tree dir: No such file or directory:

/dev/dk0 on / type ffs (local)
tmpfs on /tmp type tmpfs (local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)

I'm happy to try something further to validate the problem and/or test a fix.

@Neilpang
Copy link
Member

Here is the test: https://github.com/vmactions/netbsd-vm/actions/runs/7675558306/job/20921929690

It seems sshfs is working here.

@Neilpang
Copy link
Member

sorry, it seems not working. give me some time to check more.

@Neilpang
Copy link
Member

fixed, try with the latest release version

@schmonz
Copy link
Author

schmonz commented Jan 27, 2024

I now see /dev/puffs on /home/runner/work type puffs|host:work (nodev, nosuid) mounted. Something's still not quite right, though. If I throw a pwd right after the /sbin/mount, it gives this error: pwd: getcwd() failed: No such file or directory. For comparison, openbsd-vm says /home/runner/work/pkgsrc-mlog/pkgsrc-mlog, which makes sense given that the shell connection is made with exec ssh: cd $GITHUB_WORKSPACE;. Not sure why NetBSD's doesn't give the same result. This is with usesh: true, in case that affects the outcome.

@Neilpang
Copy link
Member

weird

@Neilpang
Copy link
Member

it's like a random issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants