Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] cryptsetup update broke cryptfs?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gentist
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 247

PostPosted: Thu Aug 16, 2007 8:09 am    Post subject: [Solved] cryptsetup update broke cryptfs? Reply with quote

Yesterday I noticed an update for cryptsetup-luks, which mentioned that it would be replacing cryptsetup. Checking portage, it appeared that it had taken effect (the new cryptsetup was now at version 1.0.5). Since it supposedly fixed one of the problems I was having with the previous version of cryptsetup-luks, I unmerged cryptsetup-luks and emerged cryptsetup. It appeared to solve my problem, but upon next reboot, my encrypted partitions (save /) didn't mount properly.

It appears that it's not reading /etc/conf.d/cryptfs at all. I did copy the file over to /etc/conf.d/dmcrypt, but it doesn't appear to read that either.

Note that I have NOT run "rc-update add dmcrypt boot" since I'm not running baselayout-2. However, since things just stopped working, I must be missing something, but what?

My temporary solution has been to move all of my system vital stuff over to directories on the root partition, and comment out the mount commands in /etc/fstab. This allows me to boot the system properly, but leaves me without a working swap and no added security for /tmp. So, I need this fixed ASAP.


Last edited by Gentist on Thu Aug 16, 2007 8:56 am; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Aug 16, 2007 8:21 am    Post subject: Reply with quote

Sounds like this:

dmcrypt mappings not creating when rebooting after switching to cryptsetup 1.0.5
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Gentist
Apprentice
Apprentice


Joined: 20 Mar 2004
Posts: 247

PostPosted: Thu Aug 16, 2007 8:56 am    Post subject: Reply with quote

Thank you, that solved it.

I don't quite understand why critical fixes like that are applied without bumping the version number though (like 1.0.5-r1). Makes it harder to know when a problem has been taken care of.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Thu Aug 16, 2007 9:08 am    Post subject: Reply with quote

I don't know. It was basically a dumb typo times three, so I can understand not bumping it. Still, they could have bumped to 1.0.5-r1 and then deleted the 1.0.5 ebuild entirely.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum