Re: /home on luks-encrypted usb-stick

[email protected] Mon, 7 Jan 2008 14:10:13 +0100 (CET)
Newsgroups gmane.linux.morphix.devel
Message-ID <[email protected]>
Hi Markus,

Paul answered your 2.6.23-related question, I'll try to help you out with
the others:

> 2.) Because of using luks for my not important: I had no time to check
> much more or to check if the problem was in front of my computer and not
> in the morphixkernel, but i think in both basemods the support for
> loop-aes is broken [...]

You are correct, loop-aes normally isn't added to the basemod which breaks
the homedir-encryption functionality. I'll make a note of it so it's
included in new(er) kernels.

> 3.) Is it a bug, a feature or well thought special stuff avoiding
> problems because beeing a livesystem, that the init-system of the
> morphix-live-cd-system is not starting all this runlevels and
> initscripts like a "normal debian" does?

It's a controversial bug/feature of Morphix. The mainmod-initscripts
aren't started as most of the same functions have already been performed
by the basemod/miniroot in booting the livecd (and this way you get a
more-or-less pure debian install when installing morphix, without live-cd
cruft).

You can however easily activate the runlevel-scripts by adding: "init 2"
to /morphix/init.sh in the mainmodule.

> 4.) If using the package morphix-init-light (xfce4 as gui) and not
> "logging out" but exiting xfce with "reboot" or "halt" the system is not
> running the skripts
> /morphix/rc.m/S90X11-shutdown and S99exitshell because it seems directly
> switch to runlevel 0 or 6.
>
> So i am starting the stop-skript for my luks-encrypted-home at
> /etc/rc0.d and /etc/rc6.d and not as /morhix/rc.m/S90crypthome_stop,
> because so it is called on every scenario how to halt or reboot.
>
> Is this the right way or is there a better "standardway" in morphix?

Adding it to both would be the most sure way to have these run upon
shutdown. There isn't a standard way; in your case the best way is one
that (always) works :)

thanks for your feedback,

Alex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/