[debian-edu-commits] debian-edu/ 01/02: Change partitioning, add separate /var/log partitions for the Main Server and Thin Client Server profile recipes, to make sure logs can fill up without breaking services. Starting with 256 MiB as minimum and 5120 MiB as maximum. This need to be tuned when we gain experience.

Petter Reinholdtsen pere at moszumanska.debian.org
Sat Aug 30 07:13:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

pere pushed a commit to branch master
in repository debian-edu-install.

commit 3aae57473ddbb6241a5b28d39093363789e853ce
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sat Aug 30 09:12:29 2014 +0200

    Change partitioning, add separate /var/log partitions for the Main Server and Thin Client Server profile recipes, to make sure logs can fill up without breaking services.  Starting with 256 MiB as minimum and 5120 MiB as maximum.  This need to be tuned when we gain experience.
---
 debian/changelog                  | 5 +++++
 lib/partman/common/90edumain      | 8 ++++++++
 lib/partman/common/91edumain+ltsp | 8 ++++++++
 lib/partman/common/94edultsp      | 8 ++++++++
 4 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 680f91b..43bc40f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
 debian-edu-install (1.727) UNRELEASED; urgency=low
 
+  * Change partitioning, add separate /var/log partitions for the Main
+    Server and Thin Client Server profile recipes, to make sure logs can
+    fill up without breaking services.  Starting with 256 MiB as minimum
+    and 5120 MiB as maximum.  This need to be tuned when we gain experience.
+
   * Debconf translation updates:
     - Greek (el) by Panagiotis Georgakopoulos (Closes: #759485).
 
diff --git a/lib/partman/common/90edumain b/lib/partman/common/90edumain
index 74aa19c..53ce258 100644
--- a/lib/partman/common/90edumain
+++ b/lib/partman/common/90edumain
@@ -35,6 +35,14 @@ debian-edu-install/text/partman-debian-edu-main ::
 	filesystem{ ext4 }
 	mountpoint{ /var } .
 
+256 3000 5120 ext4
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext4 }
+	mountpoint{ /var/log } .
+
 64 4000 2048 linux-swap
 	method{ swap }
 	$lvmok{ }
diff --git a/lib/partman/common/91edumain+ltsp b/lib/partman/common/91edumain+ltsp
index 6583693..6da626b 100644
--- a/lib/partman/common/91edumain+ltsp
+++ b/lib/partman/common/91edumain+ltsp
@@ -35,6 +35,14 @@ debian-edu-install/text/partman-debian-edu-main+ltsp ::
 	filesystem{ ext4 }
 	mountpoint{ /var } .
 
+256 3000 5120 ext4
+	$lvmok{ }
+	method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext4 }
+	mountpoint{ /var/log } .
+
 64 4000 4096 linux-swap
 	method{ swap }
 	$lvmok{ }
diff --git a/lib/partman/common/94edultsp b/lib/partman/common/94edultsp
index df6c2b3..f1010a5 100644
--- a/lib/partman/common/94edultsp
+++ b/lib/partman/common/94edultsp
@@ -35,6 +35,14 @@ debian-edu-install/text/partman-debian-edu-ltsp ::
 	filesystem{ ext4 }
 	mountpoint{ /var } .
 
+256 3000 5120 ext4
+        $lvmok{ }
+        method{ format }
+	format{ }
+	use_filesystem{ }
+	filesystem{ ext4 }
+	mountpoint{ /var/log } .
+
 11776 3000 15360 ext4
         $lvmok{ }
         method{ format }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-install.git



More information about the debian-edu-commits mailing list