Bug#788303: systemd: Hangs indefinitely on >90% of reboot attempts
Felipe Sateler
fsateler at debian.org
Wed Jan 6 11:06:42 GMT 2016
On 6 Jan 2016 02:45, "Frank Heckenbach" <f.heckenbach at fh-soft.de> wrote:
>
> I did some more debugging, and found out some things:
>
> - In a debug shell after the failed shutdown, I did:
>
> systemctl status `systemctl | grep failed | grep swap | awk '{print
$2}'`
>
> and found an error message like this:
>
> swapoff: /dev/sdxx: swapoff failed: Cannot allocate memory
>
Maybe related to:
https://github.com/systemd/systemd/issues/1902
I don't think we have backported that fix to stable. Could you try the
workaround of ordering the aliased swap units?
Add a file /etc/systemd/system/swap.target.d/override.conf
[Unit]
After=$swapunits
You can find out the precise swap units by using `systemctl list-units
--type swap`
You need to do systemctl daemon-reload after adding the file.
(Writing this from phone so please check typos in any paths/commands)
Saludos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20160106/f3ce7a56/attachment-0002.html>
More information about the Pkg-systemd-maintainers
mailing list