LUKS code and new method interface

David Zeuthen david at fubar.dk
Wed Jul 20 16:40:05 PDT 2005


Hi,

Much sorry for the lag; some personal stuff, traveling, DesktopCon and
OLS got in the way :-)

On Thu, 2005-07-14 at 22:27 -0500, W. Michael Petullo wrote: 
> [...]
>  
> > I was thinking it might make sense to ship this in the hal tarball so
> > distros only need to ship cryptsetup-luks? I would appreciate that.
> 
> My opinion is that the device information file and hal-luks-setup should
> move into the hal project.  Everything else should remain in a separate
> project.  Gnome-luks-format should definitely not go in hal.  I'm not
> sure that luks-format should either.  After all, mkfs.ext2 is not in hal.
> 
> I'd be perfectly willing to hear any arguments.

I'm perfectly fine with that. For Fedora, we'll probably be including
your luks-tools tarball in the cryptsetup-luks SRPM to get the
luks-setup and luks-format programs. Would that work for you?

> [...]
>  
> > Ah, OK, we can do a little bit better here. Something like
> > 
> >   <device>
> >     <match key="volume.fsusage" string="crypto">
> 
> [...]
> 
> Okay, luks-tools 0.0.6 now includes 15-storage-luks.fdi, which looks
> like what you recommended.  Again, I agree that this should move into
> hal's tarball.

Sounds good, I've added 

fdi/policy/10osvendor/15-storage-luks.fdi
tools/hal-luks-setup.in 

to the tree. 

> I added the final piece to my gnome-volume-manager patch.  See [1].
> The whole thing now works, though I don't yet tear down the crypto device
> when the volume is unplugged.  

Right, maybe hal-luks-setup could just add a script to the property
info.callouts.remove on the backing volume and this would just work?

Btw, I've noticed hald spinning when invoking Setup(password) but after
a restart it seems pretty happy. Still needs to be fixed though; I'm
going to spend some time debugging this...

> I would really like to have a udev
> pro. look at the patch.  I am sure it needs a little work and would
> appreciate the chance to learn.
> 
> [1] https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152946
> 

I'll look at this too when I get more time! Thanks for all the effort so
far and sorry for the lag again.

Cheers,
David


_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list