DM-Crypt Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Re: [dm-crypt] Some problems with veritysetup command
       [not found] <CAMZ_=hThcLJfQ5mDX4E300ySac1cN64QCsdZVbGuRi2usd6QSw@mail.gmail.com>
@ 2013-11-21 15:12 ` Mikulas Patocka
  2013-11-21 17:56   ` Milan Broz
  0 siblings, 1 reply; 2+ messages in thread
From: Mikulas Patocka @ 2013-11-21 15:12 UTC (permalink / raw)
  To: 艾祝, Milan Broz; +Cc: dm-crypt

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1235 bytes --]

Hi

Veritysetup was completely rewritten by Milan Broz, so I am forwarding 
your report to him.

Mikulas


On Wed, 20 Nov 2013, ?? wrote:

> Dear Mikulas
>     I am a chinese student. There is a problem with my veritysetup command.
> If I run the following command
>     #veritysetup format /dev/sdb /dev/sdc
> the output is "Unknown crypt device type VERITY requested."
> I don't know why.  I am looking forward to your reply. Thank you very much!
> 
> My veritysetup command installation steps are as follows:
> 1  Compiling 3.4.0 kernel, make sure DM_VERITY[=m]
> 2  Rebooting to enter 3.4.0 kernel, insert the module(#modprobe dm-verity)
> 3  Installing veritysetup command
>     a Dowload veritysetup package(veritysetup-1.6.2-1.fc20.i686.rpm) from
> [1].
>        My system info is as follows:
>        "Linux az-desktop 3.4.0 #1 SMP Wed Nov 20 11:02:15 CST 2013 i686
> athlon i386 GNU/Linux   ubuntu 12.04"
>     b Install the package
>        # alien -i veritysetup-1.6.2-1.fc20.i686.rpm
> 
> 
> If my installation steps are wrong, please give me the  right steps. Thank
> you very much again!
> 
> 
> 
> Reference
> [1] http://rpmfind.net/linux/rpm2html/search.php?query=veritysetup
> 
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dm-crypt] Some problems with veritysetup command
  2013-11-21 15:12 ` [dm-crypt] Some problems with veritysetup command Mikulas Patocka
@ 2013-11-21 17:56   ` Milan Broz
  0 siblings, 0 replies; 2+ messages in thread
From: Milan Broz @ 2013-11-21 17:56 UTC (permalink / raw)
  To: Mikulas Patocka; +Cc: dm-crypt, 艾祝

Hi,

On 11/21/2013 04:12 PM, Mikulas Patocka wrote:
>> If I run the following command
>>     #veritysetup format /dev/sdb /dev/sdc

this should work. But I think you have some problem with installation
of veritysetup & libcryptsetup.

What distro you are using, Ubuntu? Why are you using alien to install package?
(Using Fedora package on other distros is not a good idea.)

Veritysetup is already packaged in unstable/testing Debian
(maybe Ubuntu has own build as well)

# dpkg -S /sbin/veritysetup
cryptsetup-bin: /sbin/veritysetup

# apt-cache policy cryptsetup-bin
cryptsetup-bin:
  Installed: 2:1.6.1-1
  Candidate: 2:1.6.1-1
  Version table:
 *** 2:1.6.1-1 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
        990 http://ftp.debian.org/debian/ unstable/main amd64 Packages
        100 /var/lib/dpkg/status

Please try to use this version (it works for me, just tried it on Debian unstable).
Do not use rpm packages, it can have serious incopmabilities (at lease for device-mapper
dependences).

Milan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-21 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAMZ_=hThcLJfQ5mDX4E300ySac1cN64QCsdZVbGuRi2usd6QSw@mail.gmail.com>
2013-11-21 15:12 ` [dm-crypt] Some problems with veritysetup command Mikulas Patocka
2013-11-21 17:56   ` Milan Broz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox