Re: experimental systemd + initscripts repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 22.10.10 13:21, Bill Nottingham (notting@xxxxxxxxxx) wrote:

> 
> Yanko Kaneti (yaneti@xxxxxxxxxxx) 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux