[systemd-devel] [PATCH] Fix starting swap unit on symlink made it unstoppable
Colin Guthrie
gmane at colin.guthr.ie
Sat Oct 13 09:16:55 PDT 2012
'Twas brillig, and jjacky at 13/10/12 13:58 did gyre and gimble:
> Forgot to say: not stopping the swap also meant that, with encrypted
> swaps, the LUKS device couldn't be detached (since it's still in use)
> and would result in errors on shutdown:
>
> systemd-cryptsetup[3327]: Failed to deactivate: Invalid argument
Oh this might explain a long standing issue I see with several swap
units (all pointing to the same device via symlinks) where some are
active and some are not.
Awesome :)
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the systemd-devel
mailing list