-
Notifications
You must be signed in to change notification settings - Fork 259
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 mounting via fstab under Debian 12.5 #832
Comments
Sooo... Ubuntu 22.04 has gocryptfs v1.8, https://packages.ubuntu.com/jammy/gocryptfs ; Debian 12 has gocryptfs 2.3, https://packages.debian.org/bookworm/gocryptfs and probably also a much newer kernel. Can you post your |
By the way, I did not know about |
This works fine on Fedora:
|
Thanks for checking this!
Linux [redacted] 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux Unfortunately, the fstab entry that works on Fedora does not work for me on Debian. I have no clue... |
I'm having the same problem on Arch. Either with the same entry on
|
Do you have the command "mount.fuse" installed?
…On Sun, 24 Mar 2024, 23:19 caferen, ***@***.***> wrote:
I'm having the same problem on Arch. Either with the same entry on
/etc/fstab or with a mount unit.
$ uname -a
Linux archlinux 6.8.1-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:23 +0000 x86_64 GNU/Linux
$ gocryptfs --version
gocryptfs v2.4.0; go-fuse [vendored]; 2023-06-15 go1.20.5 linux/amd64
—
Reply to this email directly, view it on GitHub
<#832 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA76KZHEBSZ7D2N4V2CTYZ5GOPAVCNFSM6AAAAABEO4PGPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJWHE3DKOBWGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Yes.
|
I realized |
On a fresh Debian 12 (this one: https://app.vagrantup.com/roboxes/boxes/debian12), just installing gocryptfs via
I get this:
dmesg shows:
but this is a red herring! The actual problem is this:
And this is the fix:
|
The fix is |
Dear all,
I have an issue mounting my gocryptfs volume via fstab under Debian 12.5 and I trust that someone can help me:
When I manually mount the gocryptfs volume, everything works fine:
gocryptfs --passfile=/path/to/password /mnt/cipher/ /mnt/plain/
But the following entry in /etc/fstab does not work:
/mnt/cipher /mnt/plain fuse./usr/local/bin/gocryptfs rw,nofail,auto,x-systemd.idle-timeout=10,x-systemd.automount,allow_other,passfile=/path/to/password 0 0
Error message when attempting to mount manually is:
mount: /mnt/plain: wrong fs type, bad option, bad superblock on /mnt/cipher, missing codepage or helper program, or other error. dmesg(1) may have more information after failed mount system call.
(gocryptfs is in /usr/local/bin/gocryptfs.)
dmesg shows:
fuse: Unknown parameter 'passfile'
(If I add quiet to the fstab line, the same with 'quiet'.)
Newly initialising the volume did not help at all.
OS is Debian 12.5. However, when using Ubuntu 22.04.4 LTS, everything works fine. According to https://manpages.debian.org/bookworm/gocryptfs/gocryptfs.1.en.html, it should work under Debian, too.
Any ideas? Thanks in advance!
The text was updated successfully, but these errors were encountered: