GNU bug report logs -
#30224
'mount -t ecryptfs ...' command refers to /bin/mount, bin/umount, etc
Previous Next
Reported by: brendan.tildesley <at> openmailbox.org
Date: Tue, 23 Jan 2018 01:29:01 UTC
Severity: normal
Tags: easy
Done: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#30224: 'mount -t ecryptfs ...' command refers to /bin/mount, bin/umount, etc
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 30224 <at> debbugs.gnu.org.
--
30224: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30224
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (message/rfc822, inline)]
I noticed this a while ago but probably won't get around to fixing it, so I'm just posting a bug report.
-------------------------------------
b <at> ui ~$ sudo mount -t ecryptfs encrypted-dir mount-dir
Passphrase:
Select cipher:
[...]
Selection [aes]:
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]:
Enable plaintext passthrough (y/n) [n]:
Enable filename encryption (y/n) [n]: y
Filename Encryption Key (FNEK) Signature [...]:
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_fnek_sig=[...]
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=[...]
Failed to execute /bin/mount command: No such file or directory
Error mounting eCryptfs: [-2] No such file or directory
Check your system logs; visit <http://ecryptfs.org/support.html>
-------------------------------------
There are many references to /bin/ in the ecryptfs source code, even including /bin/umount. for example:
-------------------------------------
b <at> ui ~/temp/ecryptfs-utils-111$ ag exec.*bin/
src/utils/mount.ecryptfs.c
417: execl("/bin/mount", "mount", "-i", "--no-canonicalize", "-t", "ecryptfs", fullpath_source, fullpath_target, "-o", opts, NULL);
421: perror("Failed to execute /bin/mount command");
src/desktop/ecryptfs-mount-private.desktop.in
4:Exec=/usr/bin/ecryptfs-mount-private
src/desktop/ecryptfs-setup-private.desktop.in
4:Exec=/usr/bin/ecryptfs-setup-private
src/utils/mount.ecryptfs_private.c
833: execl("/bin/umount", "umount", "-i", "-l", ".", NULL);
src/pam_ecryptfs/pam_ecryptfs.c
375: execl("/sbin/mount.ecryptfs_private",
389: execl("/sbin/umount.ecryptfs_private",
-------------------------------------
This bug report was last modified 6 years and 293 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.