Added a 'critical' argument to module configs

Tomas Mraz tmraz at
Wed Aug 31 00:20:33 PDT 2011

On Tue, 2011-08-30 at 21:23 +0200, Stef Walter wrote: 
> Hi all,
> Just a heads up that I've added a 'critical' argument to p11-kit module 
> configs.
> Previously if any module failed to initialize, then we would abort 
> initialization of the registered modules. This was fragile and irritating.
> I've changed it around so that specific modules can be marked critical 
> with a 'critical: yes' in their configs. This can be specified in the 
> system or user module config. If a module that is critical fails to 
> initialize, then the entire initialization process will be aborted.
> Modules are not critical by default.
> Example here: 
> Documented here: 
> Does that sound good?

Yes, that sounds fine, as long as there is a way to find out that a
non-critical module failed to initialize and why.

Tomas Mraz

More information about the p11-glue mailing list