On Fri, 22.10.10 13:21, Bill Nottingham (nott...@redhat.com) wrote:

> 
> Yanko Kaneti (yan...@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.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to