[systemd-devel] Swap gets activated twice (through fstab and gpt generators)
"Jóhann B. Guðmundsson"
johannbg at gmail.com
Tue Jan 27 15:29:23 PST 2015
On 01/27/2015 10:48 PM, Lennart Poettering wrote:
> Another idea might be to simply accept that activating the swap by two
> names at the same time can happen concurrently, and teach mkswap in
> some way to handle this gracefully.
> For example, mkswap could learn a new switch --idempotent or so, which
> we could always pass from systemd. If set and if activating the swap
> fails with EBUSY because the swap is already activated it would eat
> that up and return success.
Is not the problem here that we are using two generators to parse this?
More information about the systemd-devel