Activity log for bug #888903

Date Who What changed Old value New value Message
2011-11-11 08:20:56 Jeremy Davis bug added bug
2011-11-11 08:22:34 Jeremy Davis description IMO this is a bug, although I'm sure opinions would differ on this one. IMO nothing should be storing logging data in /etc - isn't it for config data only? Generally this is probably not a huge issue in and of iteslef, but as TKL comes with both Webmin and etckeeper it makes for a HUGE amount of data stored in /etc/.git (by etckeeper). After 18mths of service an old server had amassed a massive ~550MB of data in /etc/.git! This wasn't a heavily used machine (Tracks appliance with single user) but it runs all the time and I can only assume that the files were simply from etckeeper git commits from security updates. So ultimately I'd say this is a Webmin bug, but only becomes apparent from the combination of Webmin and etckeeper (thus making it an issue specifically for TKL). I'm not sure what the answer is, but I'd be inclined to remap the Webmin etc data to /var - something like this: mv /etc/webmin/system-status/history /var/webmin ln -s /etc/webmin/system-status/history /var/webmin/history I haven't extensively tested this solution, but it seems to be working as expected. But following a reinitialisation of etckeeper, /etc/.git is back down to ~6MB which seems reasonable to me. IMO this is a bug, although I'm sure opinions would differ on this one. IMO nothing should be storing logging data in /etc - isn't it for config data only? Generally this is probably not a huge issue in and of itself, but as TKL comes with both Webmin and etckeeper it makes for a HUGE amount of data stored in /etc/.git (by etckeeper) over time. After 18mths of service an old server had amassed a massive ~550MB of data in /etc/.git! This wasn't a heavily used machine (Tracks appliance with single user) but it runs all the time and I can only assume that the files were simply from etckeeper git commits from security updates. So ultimately I'd say this is a Webmin bug, but only becomes apparent from the combination of Webmin and etckeeper (thus making it an issue specifically for TKL). I'm not sure what the answer is, but I'd be inclined to remap the Webmin etc data to /var - something like this: mv /etc/webmin/system-status/history /var/webmin ln -s /etc/webmin/system-status/history /var/webmin/history I haven't extensively tested this solution, but it seems to be working as expected. But following a reinitialisation of etckeeper, /etc/.git is back down to ~6MB which seems reasonable to me.
2012-01-19 09:50:53 Jeremy Davis turnkeylinux: status New Confirmed
2012-01-19 09:50:58 Jeremy Davis turnkeylinux: status Confirmed Fix Committed
2012-01-19 09:51:05 Jeremy Davis turnkeylinux: importance Undecided Medium
2012-09-15 07:57:01 Jeremy Davis turnkeylinux: status Fix Committed Fix Released
2012-09-15 09:32:57 Jeremy Davis nominated for series turnkeylinux/11.x
2012-09-15 09:32:57 Jeremy Davis bug task added turnkeylinux/11.x
2012-09-15 09:32:57 Jeremy Davis nominated for series turnkeylinux/12.x
2012-09-15 09:32:57 Jeremy Davis bug task added turnkeylinux/12.x
2012-09-15 09:34:12 Jeremy Davis turnkeylinux/11.x: status New Fix Committed
2014-03-27 00:54:15 Jeremy Davis description IMO this is a bug, although I'm sure opinions would differ on this one. IMO nothing should be storing logging data in /etc - isn't it for config data only? Generally this is probably not a huge issue in and of itself, but as TKL comes with both Webmin and etckeeper it makes for a HUGE amount of data stored in /etc/.git (by etckeeper) over time. After 18mths of service an old server had amassed a massive ~550MB of data in /etc/.git! This wasn't a heavily used machine (Tracks appliance with single user) but it runs all the time and I can only assume that the files were simply from etckeeper git commits from security updates. So ultimately I'd say this is a Webmin bug, but only becomes apparent from the combination of Webmin and etckeeper (thus making it an issue specifically for TKL). I'm not sure what the answer is, but I'd be inclined to remap the Webmin etc data to /var - something like this: mv /etc/webmin/system-status/history /var/webmin ln -s /etc/webmin/system-status/history /var/webmin/history I haven't extensively tested this solution, but it seems to be working as expected. But following a reinitialisation of etckeeper, /etc/.git is back down to ~6MB which seems reasonable to me. IMO this is a bug, although I'm sure opinions would differ on this one. IMO nothing should be storing logging data in /etc - isn't it for config data only? Generally this is probably not a huge issue in and of itself, but as TKL comes with both Webmin and etckeeper it makes for a HUGE amount of data stored in /etc/.git (by etckeeper) over time. After 18mths of service an old server had amassed a massive ~550MB of data in /etc/.git! This wasn't a heavily used machine (Tracks appliance with single user) but it runs all the time and I can only assume that the files were simply from etckeeper git commits from security updates. So ultimately I'd say this is a Webmin bug, but only becomes apparent from the combination of Webmin and etckeeper (thus making it an issue specifically for TKL). I'm not sure what the answer is, but I'd be inclined to remap the Webmin etc data to /var/log - something like this: mkdir /var/log/webmin mv /etc/webmin/system-status/history /var/log/webmin ln -s /etc/webmin/system-status/history /var/log/webmin/history I haven't extensively tested this solution, but it seems to be working as expected. But following a reinitialisation of etckeeper, /etc/.git is back down to ~6MB which seems reasonable to me.