Bug#742131: debian-edu-config: debian-edu-fsautoresize fail to work with the default file system type ext4
Package: debian-edu-config
Version: 1.716
Severity: important
Tags: patch
I just discovered this at a school using Debian Edu Wheezy. The
/skole/backup directory was full, and debian-edu-fsautoresize refused to
extend it, even if /etc/fsautoresizetab said it should. After debugging
a bit, I found the cause. debian-edu-fsautoresize only work with ext3,
not ext4. The following patch fixes the problem.
When debian-edu-fsautoresize isn't working, schools with lots of spare
room in the LVM volume group can end up with full disks and failing
services for no sensible reason.
We should fix this bug in Debian Edu Wheezy to spare schools from
discovering this problem themselves.
--- /usr/sbin/debian-edu-fsautoresize 2013-07-03 23:37:25.000000000 +0200
+++ /tmp/debian-edu-fsautoresize 2014-03-19 15:54:24.867084060 +0100
@@ -64,6 +64,10 @@
'online_supported' => \&ext3_online_supported,
'online_resize' => \&ext3_online_resize,
},
+ 'ext4' => {
+ 'online_supported' => \&ext3_online_supported,
+ 'online_resize' => \&ext3_online_resize,
+ },
);
my %devopts =
--
Happy hacking
Petter Reinholdtsen
Reply to: