[debian-lan-devel] [SCM] Debian-LAN development and packaging branch, squeeze, updated. 0.6-33-gc1f3f34

Andreas B. Mundt andi at debian.org
Mon Oct 29 12:16:27 UTC 2012


The following commit has been merged in the squeeze branch:
commit 0b0f165a1f97f7ef491fb5e1d2503f3b3a6f50d3
Author: Andreas B. Mundt <andi at debian.org>
Date:   Sun Oct 28 15:32:58 2012 +0100

    Implement disk quotas for the home directory.
    
    Activate quotas for a user by defining limits with:
        "edquota -u <USER>".
    For other users with identical limits use:
        "edquota -p <USER> -u <ANOTHERUSER> ....".

diff --git a/fai/config/disk_config/LVM6BAK_A b/fai/config/disk_config/LVM6BAK_A
index 1f25b7b..b8f3be1 100644
--- a/fai/config/disk_config/LVM6BAK_A
+++ b/fai/config/disk_config/LVM6BAK_A
@@ -8,7 +8,7 @@ vg  vg_system  disk1.5
 vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  2G-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  2G-70%  ext3  usrquota
 
 
 disk_config  disk2  fstabkey:uuid
diff --git a/fai/config/disk_config/LVM7BAK_A b/fai/config/disk_config/LVM7BAK_A
index 3e47385..d130e3b 100644
--- a/fai/config/disk_config/LVM7BAK_A
+++ b/fai/config/disk_config/LVM7BAK_A
@@ -9,7 +9,7 @@ vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
 vg_system-opt   /opt   4G-10G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  2G-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  2G-70%  ext3  usrquota
 
 
 disk_config  disk2  fstabkey:uuid
diff --git a/fai/config/disk_config/LVM7_A b/fai/config/disk_config/LVM7_A
index 8d6e878..c2a9808 100644
--- a/fai/config/disk_config/LVM7_A
+++ b/fai/config/disk_config/LVM7_A
@@ -8,5 +8,5 @@ vg  vg_system  disk1.5
 vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  usrquota
 vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/disk_config/LVM8_A b/fai/config/disk_config/LVM8_A
index 221d5f1..d960a4e 100644
--- a/fai/config/disk_config/LVM8_A
+++ b/fai/config/disk_config/LVM8_A
@@ -9,5 +9,5 @@ vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
 vg_system-opt   /opt   4G-10G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  usrquota
 vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/disk_config/RAIDLVM6BAK_A b/fai/config/disk_config/RAIDLVM6BAK_A
index 37409a1..54cfcbb 100644
--- a/fai/config/disk_config/RAIDLVM6BAK_A
+++ b/fai/config/disk_config/RAIDLVM6BAK_A
@@ -19,7 +19,7 @@ vg  vg_system  md2
 vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  2G-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  2G-70%  ext3  usrquota
 
 
 disk_config  disk3  fstabkey:uuid
diff --git a/fai/config/disk_config/RAIDLVM7BAK_A b/fai/config/disk_config/RAIDLVM7BAK_A
index 014aef3..cb00c36 100644
--- a/fai/config/disk_config/RAIDLVM7BAK_A
+++ b/fai/config/disk_config/RAIDLVM7BAK_A
@@ -20,7 +20,7 @@ vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
 vg_system-opt   /opt   4G-10G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  2G-70%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  2G-70%  ext3  usrquota
 
 
 disk_config  disk3  fstabkey:uuid
diff --git a/fai/config/disk_config/RAIDLVM7_A b/fai/config/disk_config/RAIDLVM7_A
index 7f4fd1f..be932ad 100644
--- a/fai/config/disk_config/RAIDLVM7_A
+++ b/fai/config/disk_config/RAIDLVM7_A
@@ -19,5 +19,5 @@ vg  vg_system  md2
 vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  usrquota
 vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/disk_config/RAIDLVM8_A b/fai/config/disk_config/RAIDLVM8_A
index da95318..9729abc 100644
--- a/fai/config/disk_config/RAIDLVM8_A
+++ b/fai/config/disk_config/RAIDLVM8_A
@@ -20,5 +20,5 @@ vg_system-root  /      1G-5G     ext3  errors=remount-ro
 vg_system-usr   /usr   2G-20G    ext3  defaults
 vg_system-var   /var   1G-20G    ext3  defaults
 vg_system-opt   /opt   4G-10G    ext3  defaults
-vg_system-home  /lan/mainserver/home0  1G-40%  ext3  defaults
+vg_system-home  /lan/mainserver/home0  1G-40%  ext3  usrquota
 vg_system-backup /backup 1G-40%  ext3  defaults
diff --git a/fai/config/package_config/CLIENT_A b/fai/config/package_config/CLIENT_A
index 0f871dd..3063506 100644
--- a/fai/config/package_config/CLIENT_A
+++ b/fai/config/package_config/CLIENT_A
@@ -1,4 +1,5 @@
 ## Here are all default packages for the given setup that do not fit
 ## another class.
-PACKAGES aptitude 
+PACKAGES aptitude
 sudo-ldap
+quota
diff --git a/fai/config/package_config/NFS_SERVER b/fai/config/package_config/NFS_SERVER
index 1615789..a51e943 100644
--- a/fai/config/package_config/NFS_SERVER
+++ b/fai/config/package_config/NFS_SERVER
@@ -2,3 +2,4 @@
 ## Put all setup-dependent packages in the SETUP_* class.
 PACKAGES aptitude
 nfs-kernel-server
+quota

-- 
Debian-LAN development and packaging



More information about the debian-lan-devel mailing list