[arch-commits] Commit in rng-tools/trunk (PKGBUILD rngd.service)

Massimiliano Torromeo mtorromeo at archlinux.org
Sat Aug 25 09:19:15 UTC 2018


    Date: Saturday, August 25, 2018 @ 09:19:14
  Author: mtorromeo
Revision: 373989

Updated systemd service file (Implemented FS#59774)

Modified:
  rng-tools/trunk/PKGBUILD
  rng-tools/trunk/rngd.service

--------------+
 PKGBUILD     |    4 ++--
 rngd.service |   10 +++++++++-
 2 files changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-25 08:03:21 UTC (rev 373988)
+++ PKGBUILD	2018-08-25 09:19:14 UTC (rev 373989)
@@ -4,7 +4,7 @@
 
 pkgname=rng-tools
 pkgver=6.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Random number generator related utilities"
 arch=('x86_64')
 url="https://github.com/nhorman/rng-tools"
@@ -16,7 +16,7 @@
         rngd.service)
 sha256sums=('9ac402ce8f0c0b3c25e6bf47979d25b17f2dbed11ae19a7c103aa151d9e6e712'
             'f4fd197dd682cdab07ddeabe8d3b73b1bc2e1cf322237be238a26b49a7dcb047'
-            'd3e38ac1460e3072792def73281faf5f59dffe9ac43b00916252cc69f7c7d1b5')
+            'e39c1d1238f39faa03e0e6ae3bd0965d0aec6f599b6d5a4fa7f9234b6a2ec3c8')
 
 prepare() {
 	cd "$srcdir"/$pkgname-$pkgver

Modified: rngd.service
===================================================================
--- rngd.service	2018-08-25 08:03:21 UTC (rev 373988)
+++ rngd.service	2018-08-25 09:19:14 UTC (rev 373989)
@@ -1,9 +1,17 @@
 [Unit]
 Description=Hardware RNG Entropy Gatherer Daemon
+After=systemd-random-seed.service
+Before=sysinit.target shutdown.target
 
 [Service]
 EnvironmentFile=/etc/conf.d/rngd
 ExecStart=/usr/bin/rngd -f $RNGD_OPTS
+NoNewPrivileges=on
+PrivateDevices=on
+PrivateNetwork=on
+PrivateTmp=on
+ProtectSystem=full
+ProtectHome=on
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=sysinit.target



More information about the arch-commits mailing list