You are not logged in.
Pages: 1
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
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
remove ASK or replace it with "none".
Also...
See crypttab(5)
Offline
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
Wait for the link. Damn you made me fcuk the stats.
Offline
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
i found the problem. thanks for everything. no more legacy message.
Offline
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
sorry, i replaced "ASK" with "none" in crypttab and now there are no more notifications.
Offline
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 ![]()
Thanks for your help!
Last edited by upuaut (2012-08-13 14:52:59)
Have Fun,
Upuaut
Offline
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
Thanks a lot.
The new swap example worked for me.
Have Fun,
Upuaut
Offline
Pages: 1