Allow execution of shell-scripted systemd generators
While systemd recommends to use native binaries as generators due to performance reasons, there is nothing that really prevents from them being shell scripts. This is Gentoo-specific as the affected generator is provided by the distribution, not by upstream systemd. Signed-off-by: Krzysztof Nowicki <krissn@op.pl>
This commit is contained in:
parent
b9470d408a
commit
ba9fa00010
|
@ -443,6 +443,10 @@ systemd_log_parse_environment(systemd_generator_t)
|
||||||
|
|
||||||
term_use_unallocated_ttys(systemd_generator_t)
|
term_use_unallocated_ttys(systemd_generator_t)
|
||||||
|
|
||||||
|
ifdef(`distro_gentoo',`
|
||||||
|
corecmd_shell_entry_type(systemd_generator_t)
|
||||||
|
')
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
fstools_exec(systemd_generator_t)
|
fstools_exec(systemd_generator_t)
|
||||||
')
|
')
|
||||||
|
|
Loading…
Reference in New Issue