aboutsummaryrefslogtreecommitdiff
path: root/handlers/sys.in
AgeCommit message (Collapse)Author
2013-09-23Delete trailing whitespace.intrigeri
2013-09-20add additional sys backup options to provide the ability to backup the MBR ↵Micah Anderson
for every device found, and to backup the BIOS (if the flashrom program is installed, and the mainboard is supported)
2013-09-20fix capitalization of LUKSMicah Anderson
2013-09-20fix missing autoconf marker for @SED@Micah Anderson
2013-09-20fix luks header backup to properly detect partitionsMicah Anderson
previously the code was modeled off of the partition backup methodology, this resulted in the code only attempting to detect luks on actual devices, and not on partitions. The code would step through every disk on the system (sda, sdb, etc.) and do a 'cryptsetup isLuks' on that device, and then based on that output save the luks header for any device that had one. Unfortunately, in many cases, luks headers are found on the partitions of those disks. So we were failing to detect any luks partitions and thus failing to backup their luks headers. this commit changes that, it now will look for luks headers on the devices themselves (for cases where a full disk is used without partitions), and on any partitions that are detected
2012-06-11dont run lspci and modinfo when hwinfo==noMicah Anderson
2011-09-20Remove useless and inconsistent executable bit on sys handler.intrigeri
2011-05-15sys: fix gathering of information about loaded modules.intrigeri
cut is in /usr/bin actually.
2011-05-05sys: fix hwinfo (Closes: #625501)intrigeri
2011-04-25All handlers: stop using "local VAR" outside functions. (Closes: #530647)intrigeri
2010-10-12older versions (lenny) of lvm2 have a bug in vgcfgbackup that makes it so ↵Micah Anderson
when you specify multiple volume groups to backup, it gives an error, saying you must set the %s template for the name. We are doing that, it just cannot handle it properly. This change routes around this issue, which has been fixed in later lvm2 releases, by passing only one argument to vgcfgbackup by taking all the volume groups that are found and running them through a for loop
2010-03-06sys: only run mdadm if RAID devices actually exist (Closes: #572450)intrigeri
2009-05-23Add a vim modeline with indentation settings.Matthijs Kooijman
The modelines added match the emacs lines already present and also set the filetype to sh (just like the emacs lines).
2009-05-23Make all indentation consistent.Matthijs Kooijman
Previously, there were many indentation styles in use: Real tabs, 2, 3 or 4 spaces, mixing these within the same file, function or even within a single line. This commit changes all bash scripts in the handlers, src and lib dirs to use consistent indentation: three spaces are now used everywhere. Other files (e.g. Makefiles) are left untouched. Additionally, this commit removes all trailing whitespace.
2009-01-22sys: backup dmsetup info as well, for easier restoring of Luks headersintrigeri
2009-01-22sys: new lvm option to backup LVM metadata of every detected volume groupintrigeri
2009-01-22sys: new luksheaders option to backup the Luks header of every Luks deviceintrigeri
2008-06-29sys: explain how to fix the issue on "debconf-get-selections missing" errorintrigeri
2008-06-25sys: make debconf-get-selections detection on VServers really more robustintrigeri
2008-06-25sys: fix catifexec invocations with arguments to prevent "line 191: [: too ↵intrigeri
many arguments" error messages
2008-06-25sys: make error message clearer when debconf-get-selections can not be found ↵intrigeri
on the host
2008-06-25sys: typointrigeri
2008-06-25sys: fixed debconf-get-selections search in VServers, especially in case it ↵intrigeri
is not available on the host
2008-06-25sys: fix typointrigeri
2008-06-24fix missing which that intrigeri sawMicah Anderson
2008-06-24added more robust mdadm raid device capture, by actually scanning active ↵Micah Anderson
arrays via mdadm, rather than just catting the mdadm.conf file, which may be empty
2008-06-24fixed catifexec function to actually work, also now takes arguments that are ↵Micah Anderson
passed, thanks to a report from John Hallam
2008-06-24add the ability to save the debconf package selection states in the sys ↵Micah Anderson
handler, which aides in restoring installed packages with the right choices made
2008-06-24sys: support selection of VServers to run on with the new vsnames ↵intrigeri
configuration option (Closes: Trac#45)
2008-06-24lib/vserver: added vservers_running function, use it in sys handler (to ease ↵intrigeri
future fix for Trac#45)
2008-06-24sys: update for 2.6 kernels: use /proc/kallsyms instead of /proc/ksyms ↵intrigeri
(Closes: Trac#39)
2007-11-24fixed Trac #1, actually add example.rsyncMicah Anderson
2007-10-12fixed autotools build, broken since r466, inhandlers/Makefile.amintrigeri