module-eval: pin ProcSubset all and ProtectProc invisible on forgejo and openbao
This commit is contained in:
parent
d8ad1e1794
commit
c217301e80
1 changed files with 20 additions and 0 deletions
|
|
@ -867,6 +867,16 @@ let
|
|||
&& inner.TimeoutStartSec == 240
|
||||
&& lib.hasInfix "TimeoutStartSec=300s" unit;
|
||||
}
|
||||
{
|
||||
# `/proc/stat` is what the Go process collector's start time comes
|
||||
# from; `ProtectProc` is the sibling that keeps other processes hidden.
|
||||
name = "openbao can read /proc/stat while other processes stay hidden";
|
||||
ok =
|
||||
let
|
||||
inner = allLocal.containers.swarm-bao.config.systemd.services.openbao.serviceConfig;
|
||||
in
|
||||
inner.ProcSubset == "all" && inner.ProtectProc == "invisible";
|
||||
}
|
||||
{
|
||||
name = "hive-priv is told the cache's address by the host's configuration";
|
||||
ok =
|
||||
|
|
|
|||
Loading…
Reference in a new issue