[systemd-devel] [PATCH] add keyscript support to cryptsetup

Lennart Poettering lennart at poettering.net
Tue Jul 10 08:48:13 PDT 2012


On Tue, 10.07.12 17:07, Frederic Crozat (fcrozat at suse.com) wrote:

> Le mardi 10 juillet 2012 à 16:25 +0200, Lennart Poettering a écrit :
> 
> > > 3) systemd specific solution
> > > 
> > > Converting keyscript= scripts to password agents introduce a strong
> > > dependency on systemd. I realize that you don't consider it to be a
> > > problem but I'm guessing it wouldn't be acceptable to Debian (where
> > > systemd is not mandatory).
> > 
> > Well, it's currently a Debian-init scripts specific solution...
> 
> I have similar request from keyscript users (coming from Debian) in
> SUSE ;)

Then my strong suggestion would be to hack up an agent that implements a
keyscript compatible iface. This would be much nicer in many ways, for
example, because you could then cleanly depend on udev-settle.service
and the scsi wait scan modprobing madness from the agent service.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list