[monitoring-plugins] actions: map utmp from host to container
Sven Nierlein
git at monitoring-plugins.org
Mon Oct 25 16:30:13 CEST 2021
Module: monitoring-plugins
Branch: master
Commit: a96161c824f7f97830f4aa4daa166013961d55f1
Author: Sven Nierlein <sven at nierlein.de>
Committer: Sven Nierlein <sven at nierlein.org>
Date: Mon Oct 25 14:55:50 2021 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=a96161c
actions: map utmp from host to container
this fixes the check_users not having any logged in user to check.
---
.github/workflows/test.yml | 1 +
1 file changed, 1 insertion(+)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 512d28e..0f93930 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -35,6 +35,7 @@ jobs:
-e NPTEST_CACHE="/src/.github/NPTest.cache" \
-w /src -v ${PWD}:/src \
--tmpfs /media/ramdisk1 \
+ -v /var/run/utmp:/var/run/utmp \
--mount source=tmp-vol,destination=/src,target=/media/ramdisk2 \
${{ matrix.distro }} \
/bin/sh -c '${{ matrix.prepare }} && \
More information about the Commits
mailing list