[Pkg-freeradius-maintainers] [Git][debian/freeradius][wip/debian/blastradius/bullseye] Fix test

Bastien Roucariès (@rouca) gitlab at salsa.debian.org
Wed Aug 7 16:42:51 BST 2024



Bastien Roucariès pushed to branch wip/debian/blastradius/bullseye at Debian / freeradius


Commits:
50108efa by Bastien Roucariès at 2024-08-07T15:42:19+00:00
Fix test

Edit systemctl unit

- - - - -


2 changed files:

- debian/tests/daemon
- debian/tests/freeradius


Changes:

=====================================
debian/tests/daemon
=====================================
@@ -5,6 +5,13 @@
 set -e
 DAEMON=freeradius
 
+mkdir -p /run/systemd/system/freeradius.service.d
+tee /run/systemd/system/freeradius.service.d/disabletmp.conf << "EOF"
+[Service]
+PrivateTmp=no
+EOF
+systemctl daemon-reload
+
 ln -s /etc/freeradius/3.0/sites-available/control-socket /etc/freeradius/3.0/sites-enabled/control-socket
 service freeradius restart
 


=====================================
debian/tests/freeradius
=====================================
@@ -3,4 +3,10 @@
 # Testing freeradius
 #-------------------
 set -e
+mkdir -p /run/systemd/system/freeradius.service.d
+tee /run/systemd/system/freeradius.service.d/disabletmp.conf << "EOF"
+[Service]
+PrivateTmp=no
+EOF
+systemctl daemon-reload
 python3 `dirname $0`/test-freeradius.py 2>&1



View it on GitLab: https://salsa.debian.org/debian/freeradius/-/commit/50108efa411047d6b2c6d47e33e481ac8452028a

-- 
View it on GitLab: https://salsa.debian.org/debian/freeradius/-/commit/50108efa411047d6b2c6d47e33e481ac8452028a
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-freeradius-maintainers/attachments/20240807/c58011ee/attachment-0001.htm>


More information about the Pkg-freeradius-maintainers mailing list