[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] cf3/cf.dhcpserver: Make sure the dhcpd.leases file exists. Closes: #984596

Wolfgang Schweer gitlab at salsa.debian.org
Fri Mar 5 15:29:41 GMT 2021



Wolfgang Schweer pushed to branch master at Debian Edu / debian-edu-config


Commits:
6f23031c by Wolfgang Schweer at 2021-03-05T16:29:06+01:00
cf3/cf.dhcpserver: Make sure the dhcpd.leases file exists. Closes: #984596

Signed-off-by: Wolfgang Schweer <wschweer at arcor.de>

- - - - -


2 changed files:

- cf3/cf.dhcpserver
- debian/changelog


Changes:

=====================================
cf3/cf.dhcpserver
=====================================
@@ -32,6 +32,8 @@ commands:
 
     "/usr/bin/systemctl enable isc-dhcp-server.service"
       contain => in_shell;
+    "/usr/bin/touch /var/lib/dhcp/dhcpd.leases"
+      contain => in_shell;
     "/usr/bin/systemctl restart isc-dhcp-server.service"
       contain => in_shell;
 }


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+debian-edu-config (2.11.51) UNRELEASED; urgency=medium
+
+  * cf3/cf.dhcpserver: Make sure the dhcpd.leases file exists. Closes: #984596.
+    (Without a leases file, isc-dhcp-server remains in starting stage forever.)
+
+ -- Wolfgang Schweer <wschweer at arcor.de>  Fri, 05 Mar 2021 15:50:55 +0100
+
 debian-edu-config (2.11.50) unstable; urgency=medium
 
   [ Wolfgang Schweer ]



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/6f23031c50c095160bf3ce539f15e22b7e97b1bc

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/6f23031c50c095160bf3ce539f15e22b7e97b1bc
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/debian-edu-commits/attachments/20210305/6d1e4183/attachment.htm>


More information about the debian-edu-commits mailing list