unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: brendan.tildesley@openmailbox.org
To: 30224@debbugs.gnu.org
Subject: bug#30224: 'mount -t ecryptfs ...' command refers to /bin/mount, bin/umount, etc
Date: Tue, 23 Jan 2018 01:19:36 -0000	[thread overview]
Message-ID: <20180123011936.CB9054F2B09@mta-1.openmailbox.org> (raw)

I noticed this a while ago but probably won't get around to fixing it, so I'm just posting a bug report.
-------------------------------------
b@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@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",

-------------------------------------

             reply	other threads:[~2018-01-23  1:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-23  1:19 brendan.tildesley [this message]
2018-07-30 15:43 ` bug#30224: (no subject) Brendan Tildesley
2018-07-30 19:54   ` Gábor Boskovits
2018-08-01  5:33     ` Brendan Tildesley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180123011936.CB9054F2B09@mta-1.openmailbox.org \
    --to=brendan.tildesley@openmailbox.org \
    --cc=30224@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).