Browse Source

Patch: Change chroot dir to a real location

Christoph Biedl 13 years ago
parent
commit
e8d684c373
2 changed files with 16 additions and 0 deletions
  1. 15 0
      debian/patches/60-change-chroot-dir.patch
  2. 1 0
      debian/patches/series

+ 15 - 0
debian/patches/60-change-chroot-dir.patch

@@ -0,0 +1,15 @@
+From: Christoph Biedl <debian.packages.hhqj@manchmal.in-ulm.de>
+Subject: Change PRIVDROP_CHROOT_DIR to a real location
+Forwarded: not-needed
+
+--- a/softflowd.h
++++ b/softflowd.h
+@@ -36,7 +36,7 @@
+ #endif
+
+ #ifndef PRIVDROP_CHROOT_DIR
+-# define PRIVDROP_CHROOT_DIR	"/var/empty"
++# define PRIVDROP_CHROOT_DIR	"/var/run/softflowd/chroot"
+ #endif
+ /*
+  * Capture length for libpcap: Must fit the link layer header, plus 

+ 1 - 0
debian/patches/series

@@ -2,3 +2,4 @@
 21-fix-ipv6-v9-flow-creation.patch
 40-manpage-fixes.patch
 41-manpage-drop-url.patch
+60-change-chroot-dir.patch