summaryrefslogtreecommitdiffstats
path: root/debian/frr.postinst
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:07:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:07:03 +0000
commitff827dd50d77958e0d8cad2268f8722ea58b7880 (patch)
treef58979fbb95e17b3799af98d72cd02c4b13f9ae0 /debian/frr.postinst
parentReleasing progress-linux version 10.0-0.2~progress7.99u1. (diff)
downloadfrr-ff827dd50d77958e0d8cad2268f8722ea58b7880.tar.xz
frr-ff827dd50d77958e0d8cad2268f8722ea58b7880.zip
Merging debian version 10.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/frr.postinst')
-rw-r--r--debian/frr.postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/frr.postinst b/debian/frr.postinst
index eb9ec67..9c9b4a8 100644
--- a/debian/frr.postinst
+++ b/debian/frr.postinst
@@ -17,8 +17,10 @@ adduser \
usermod -a -G frrvty frr
mkdir -m 0755 -p /var/log/frr
+mkdir -m 0700 -p /var/lib/frr
mkdir -p /etc/frr
+chown frr: /var/lib/frr
# only change ownership of files when they were previously owned by root or
# quagga; this is to ensure we don't trample over some custom user setup.