experimental systemd + initscripts repo

Lennart Poettering mzerqung at 0pointer.de
Thu Oct 28 02:24:12 UTC 2010


On Fri, 22.10.10 13:21, Bill Nottingham (notting at redhat.com) wrote:

> 
> Yanko Kaneti (yaneti at declera.com) said: 
> > Which seems to be caused by a "missing" /etc/crypttab
> > I've never had this file apparently.
> > # touch /etc/crypttab
> > and the systems seem to boot as exected
> 
> Fixed in git, thanks for the report.

BTW: A nice way to make activation of services conditional based on
existance of a file is the relatively new ConditionPathExists= setting
in [Unit]. If the file listed there doesn't exist, then the unit will
not actualy be started, however, it is still useful for all
synchronization purposes, and hence not disrupt startup in any way.

You can even specify more than one file in which case the unit will be
run when at least one of those files exists.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list