You are not logged in.

#1 2012-08-03 16:16:18

devil_kc
Member
Registered: 2008-09-14
Posts: 93

[SOLVED]crypttab "issue"

Hi guys
i have encrypted home patririon and after isntalaltion of latest initscripts it says : Using legacy crypttab format. This will stop working in the future. See crypttab(5).
on boot.

in my crypttab i have entry like this:
home           /dev/sda4            ASK
i know that ASK is a problem, how should i fix this?
Thanks!

Last edited by devil_kc (2012-08-05 09:45:29)

Offline

#2 2012-08-03 16:27:28

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: [SOLVED]crypttab "issue"

in less than 5 posts, someone will link to a 0pointer.de page that will explain you why you're doing it wrong since years.

Offline

#3 2012-08-03 16:46:42

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED]crypttab "issue"

remove ASK or replace it with "none".

Also...

See crypttab(5)

Offline

#4 2012-08-04 10:55:32

justforgetme
Member
From: Germany
Registered: 2012-04-01
Posts: 51
Website

Re: [SOLVED]crypttab "issue"

bangkok_manouel wrote:

in less than 5 posts, someone will link to a 0pointer.de page that will explain you why you're doing it wrong since years.

Ok, I'll bite what was he doing wrong?
Note, I have encrypted disks but my crypttab is all commented out... (Am I doing it wrong?!)


$> man life
No manual entry for `life'

$> nvm...

Offline

#5 2012-08-04 10:59:53

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,557

Re: [SOLVED]crypttab "issue"

Wait for the link. Damn you made me fcuk the stats.

Offline

#6 2012-08-04 19:05:12

tomegun
Developer
From: France
Registered: 2010-05-28
Posts: 661

Re: [SOLVED]crypttab "issue"

justforgetme wrote:
bangkok_manouel wrote:

in less than 5 posts, someone will link to a 0pointer.de page that will explain you why you're doing it wrong since years.

Ok, I'll bite what was he doing wrong?
Note, I have encrypted disks but my crypttab is all commented out... (Am I doing it wrong?!)

I think bangkok_manouel is just talking nonsense (but correct me if I'm wrong). As far as I know there was nothing very wrong with the old crypttab format (I had some minor gripes, but nothing worth worrying about). It was simply unnecessarily different from what all the other distros were doing, so we try to encourage people to use a cross-distro format (based on what Debian originally did). It is documented in the crypttab manpage.

Offline

#7 2012-08-05 09:45:14

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: [SOLVED]crypttab "issue"

i found the problem. thanks for everything. no more legacy message.

Offline

#8 2012-08-05 12:43:21

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]crypttab "issue"

devil_kc, just be fair. Please tell us what the problem was (even if it was only an oversight) so that others can profit from this.


To know or not to know ...
... the questions remain forever.

Offline

#9 2012-08-06 06:51:33

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: [SOLVED]crypttab "issue"

sorry, i replaced "ASK" with "none" in crypttab and now there are no more notifications.

Offline

#10 2012-08-13 14:52:36

upuaut
Member
Registered: 2006-05-30
Posts: 19

Re: [SOLVED]crypttab "issue"

Please excuse my late delivery ;-)

but I have the same error than devil_kc but my /etc/crypttab looks different.

swap  /dev/sda7  SWAP  -c aes-xts-plain -h whirlpool -s 512
home  /dev/sda6  /crypto/home.key

I take a look at crypttab(5) but I am apparently too stupid mad

Thanks for your help!

Last edited by upuaut (2012-08-13 14:52:59)


Have Fun,

Upuaut

Offline

#11 2012-08-24 20:10:31

warren
Member
Registered: 2012-08-24
Posts: 1

Re: [SOLVED]crypttab "issue"

Hi,

I have only just encountered this issue myself, so apologies for the late reply.

I found the /etc/crypttab config had been updated but added to the system as /etc/crypttab.pacnew (leaving the existing one in place). See here for more info on pacnew files: Pacnew and Pacsave Files

I noted my edits from the original config, and then replaced it with the new config file. I then added my configurations back in, however, I think that swap entry used is no longer valid.

I had previously been using the same line as you but but found that the example given in the new config file stops the "legacy crypttab format" warning.

Swap example is:

# swap      /dev/hdx4      /dev/urandom      swap,cipher=aes-cbc-essiv:sha256,size=256

Here is some more info I found that may be useful:  http://archlinux.2023198.n4.nabble.com/ … 58466.html

Hope that helps.

Offline

#12 2012-08-27 15:59:45

upuaut
Member
Registered: 2006-05-30
Posts: 19

Re: [SOLVED]crypttab "issue"

Thanks a lot.
The new swap example worked for me.


Have Fun,

Upuaut

Offline

Board footer

Powered by FluxBB