[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#296785: partman-basicfilesystems: does not autouse swap partitions on newly configured RAID devices



Package: partman-basicfilesystems
Version: 38
Severity: normal

If you have an existing RAID device and want to use it, you currently
have to select "Configure software RAID" and then select "Finish". (This
is an odd piece of UI on the part of partman-md, by the way, but that's
a separate bug.) Anyway, if the RAID device you activate has a swap
partition on it, it doesn't get automatically used, because when
partman-md re-runs partman's init.d scripts the autouse_swap file has
already been touched so the script gives up immediately.

The easiest way to fix this would seem to be to have one autouse_swap
flag file per device (and maybe call it autoused_swap instead so that
it's more obvious what it does), rather than a single global flag.

-- 
Colin Watson                                       [cjwatson@debian.org]



Reply to: