summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJirka Hladky <jhladky@redhat.com>2020-06-11 23:36:21 +0200
committerJirka Hladky <jhladky@redhat.com>2020-06-11 23:36:21 +0200
commit68b1d84af784f213a89a0d61e285093e23da0fb4 (patch)
treeadc78b847d8de3693064ab4daeca8d54e63082d9
parentupdated fedora.spec (diff)
parentMerge pull request #35 from eworm-de/private-tmp (diff)
downloadhaveged-68b1d84af784f213a89a0d61e285093e23da0fb4.tar.xz
haveged-68b1d84af784f213a89a0d61e285093e23da0fb4.zip
Merge branch 'master' of https://github.com/jirka-h/haveged
-rw-r--r--.github/workflows/ci.yaml19
-rw-r--r--init.d/service.fedora3
2 files changed, 21 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
new file mode 100644
index 0000000..42ee8ce
--- /dev/null
+++ b/.github/workflows/ci.yaml
@@ -0,0 +1,19 @@
+name: Continuous Integration
+
+on: [push, pull_request]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: reconfigure
+ run: autoreconf -fi
+ - name: configure
+ run: ./configure --prefix="/usr"
+ - name: make
+ run: make
+ - name: make check
+ run: make check
+ - name: make install
+ run: sudo make install
diff --git a/init.d/service.fedora b/init.d/service.fedora
index b8f32ea..8de8828 100644
--- a/init.d/service.fedora
+++ b/init.d/service.fedora
@@ -12,7 +12,8 @@ SuccessExitStatus=137 143
SecureBits=noroot-locked
CapabilityBoundingSet=CAP_SYS_ADMIN
-PrivateTmp=true
+# We can *not* set PrivateTmp=true as it can cause an ordering cycle.
+PrivateTmp=false
PrivateDevices=true
PrivateNetwork=true
ProtectSystem=full