GNU bug report logs - #30224
'mount -t ecryptfs ...' command refers to /bin/mount, bin/umount, etc

Previous Next

Package: guix;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30224 in the body.
You can then email your comments to 30224 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#30224; Package guix. (Tue, 23 Jan 2018 01:29:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to brendan.tildesley <at> openmailbox.org:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 23 Jan 2018 01:29:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: brendan.tildesley <at> openmailbox.org
To: bug-guix <at> gnu.org
Subject: 'mount -t ecryptfs ...' command refers to /bin/mount, bin/umount, etc
Date: Tue, 23 Jan 2018 01:19:36 -0000
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",

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

Added tag(s) easy. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 24 Jan 2018 14:52:02 GMT) Full text and rfc822 format available.

Reply sent to Brendan Tildesley <brendan.tildesley <at> openmailbox.org>:
You have taken responsibility. (Mon, 30 Jul 2018 15:44:02 GMT) Full text and rfc822 format available.

Notification sent to brendan.tildesley <at> openmailbox.org:
bug acknowledged by developer. (Mon, 30 Jul 2018 15:44:02 GMT) Full text and rfc822 format available.

Message #12 received at 30224-done <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
To: 30224-done <at> debbugs.gnu.org
Date: Tue, 31 Jul 2018 01:43:27 +1000




Information forwarded to bug-guix <at> gnu.org:
bug#30224; Package guix. (Mon, 30 Jul 2018 19:55:01 GMT) Full text and rfc822 format available.

Message #15 received at 30224 <at> debbugs.gnu.org (full text, mbox):

From: Gábor Boskovits <boskovits <at> gmail.com>
To: 30224 <at> debbugs.gnu.org, brendan.tildesley <at> openmailbox.org
Cc: 30224-done <at> debbugs.gnu.org
Subject: Re: bug#30224: (no subject)
Date: Mon, 30 Jul 2018 21:54:26 +0200
[Message part 1 (text/plain, inline)]
Brendan Tildesley <brendan.tildesley <at> openmailbox.org> ezt írta (időpont:
2018. júl. 30., H, 17:44):
 Could you elaborate on this a bit more?
i.e. what was the commit fixing the issue?
on which branch?
or we just don't notice the behavior any more?
Also, please add the title of the bug, so we can see what bug is closed
without visiting the bugtracker.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#30224; Package guix. (Mon, 30 Jul 2018 19:55:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#30224; Package guix. (Wed, 01 Aug 2018 05:34:01 GMT) Full text and rfc822 format available.

Message #21 received at 30224 <at> debbugs.gnu.org (full text, mbox):

From: Brendan Tildesley <brendan.tildesley <at> openmailbox.org>
To: 30224 <at> debbugs.gnu.org
Subject: Re: bug#30224: (no subject)
Date: Wed, 1 Aug 2018 15:33:20 +1000
[Message part 1 (text/plain, inline)]
On 07/31/18 05:54, Gábor Boskovits wrote:
>
>
> Brendan Tildesley <brendan.tildesley <at> openmailbox.org
> <mailto:brendan.tildesley <at> openmailbox.org>> ezt írta (időpont: 2018.
> júl. 30., H, 17:44):
>  Could you elaborate on this a bit more?
> i.e. what was the commit fixing the issue?
> on which branch?
> or we just don't notice the behavior any more?
> Also, please add the title of the bug, so we can see what bug is
> closed without visiting the bugtracker.
>
Sorry, it's the first time I've closed a bug, I just learnt it could be
done by sending and email to NUMBER-close@... and sent a blank email.

The fix is contained in the commits

17a21bcf316d11bdf54ec2483abe15f60dbd7cb0

e8ec2dda08d36f3a8d17f840980ea82585d1fc38

and include only changes to the ecryptfs-utils package. I tried my best
to find all cases in the source with hard-coded paths. Feel free to
inspect it further if you like. For me at least, I'm able to mount my
ecryptfs folder with these patches.


[Message part 2 (text/html, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 29 Aug 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.