From 6e214b261604c4ab1ffc244272443a587bb59927 Mon Sep 17 00:00:00 2001 From: LinkTed Date: Sun, 13 Jun 2021 19:26:24 +0200 Subject: capabilities: Add support for Linux capabilities(7) This adds capabilities for start-stop-daemon by adding --capabilities option. As a result, the user can specify the inheritable, ambient and bounding set by define capabilities in the service script. This fixes #314. --- .github/workflows/ci-alpine-linux.yml | 4 +++- .github/workflows/ci-ubuntu.yml | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci-alpine-linux.yml b/.github/workflows/ci-alpine-linux.yml index f5f2faed..40920751 100644 --- a/.github/workflows/ci-alpine-linux.yml +++ b/.github/workflows/ci-alpine-linux.yml @@ -15,7 +15,9 @@ jobs: meson \ pkgconf \ linux-pam \ - linux-pam-dev + linux-pam-dev \ + libcap \ + libcap-dev - name: checkout uses: actions/checkout@v2 - run: meson setup builddir/ diff --git a/.github/workflows/ci-ubuntu.yml b/.github/workflows/ci-ubuntu.yml index 5e1860cf..5a5c9ed7 100644 --- a/.github/workflows/ci-ubuntu.yml +++ b/.github/workflows/ci-ubuntu.yml @@ -9,7 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: sudo apt-get update -q - - run: sudo apt-get install -q -y build-essential libpam-dev meson + - run: sudo apt-get install -q -y build-essential libpam-dev meson libcap-dev - run: meson setup builddir/ env: CC: gcc @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v2 - run: sudo apt-get update -q - - run: sudo apt-get install -q -y build-essential clang libpam-dev meson + - run: sudo apt-get install -q -y build-essential clang libpam-dev meson libcap-dev - run: meson setup builddir/ env: CC: clang -- cgit v1.2.3