From: Milan Broz <gmazyland@gmail.com>
To: Amith Kumar Ramachandra <amitnr@gmail.com>
Cc: dm-crypt@saout.de
Subject: Re: [dm-crypt] LUKS1 devmapper device mount issue
Date: Tue, 12 Apr 2016 14:20:47 +0200 [thread overview]
Message-ID: <570CE81F.2000706@gmail.com> (raw)
In-Reply-To: <CABmFtOoEbZMDbnEYiT5DWeGeXv8jGBrE-0zuMKP6GcuwRNaa9w@mail.gmail.com>
On 04/10/2016 11:04 PM, Amith Kumar Ramachandra wrote:
...
> You can see the table does match the cryptsetup one...
>
> #mke2fs /devmapper/data #mount /dev/mapper/data /mnt #mount ....
> .... /dev/mapper/data on /mnt type ext2 (rw,relatime) And device is
> mounted.
This is really strange (cryptsetup is basically just calling the same dm-ioctl in the end),
>
>>> use new cryptsetup versision (1.7.1)
> I could switch and check I suppose. But here is one more data point
> ...
>
> My environment where I run into issue with cryptsetup is on /Yocto
> root file system, /an embedded distribution of Linux. However, when I
> switch to Ubuntu 15.04 RFS(which is an alternate version I also boot
> sometimes) with the same linux kernel, cryptsetup binary and
> libcryptsetup.so as Yocto, the cryptsetup devmapper device mounts
> fine. I then started narrowing down the differences b/w yocto and
> ubuntu in terms of libraries etc... then I found that if I use the
> /systemd /executable in /usr/lib/system/systemd from Ubuntu RFS in
> the Yocto, all yocto mount problems go away. (not sure what systemd
> has got to do with cryptsetup and mount)
>
> If you are still with me, does this tell you anything at all? :)
Looks like a magic :)
Really, no idea - systemd should just process /etc/crypttab devices.
It can be something stupid but without local reproducer it is hard to say...
If it is systemd, checking its log could help here.
Milan
prev parent reply other threads:[~2016-04-12 12:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-08 20:46 [dm-crypt] LUKS1 devmapper device mount issue Amith Kumar Ramachandra
2016-04-09 12:36 ` Michael Kjörling
2016-04-10 5:15 ` Amith Kumar Ramachandra
2016-04-10 8:10 ` Milan Broz
2016-04-10 21:04 ` Amith Kumar Ramachandra
2016-04-12 12:20 ` Milan Broz [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=570CE81F.2000706@gmail.com \
--to=gmazyland@gmail.com \
--cc=amitnr@gmail.com \
--cc=dm-crypt@saout.de \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox