Bug#818252: swap.target: Job swap.target/start failed with result 'dependency'.
Package: src:linux
Version: 4.4.4-2
Today I got a bug very much like
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=764539
but without a custom kernel.
3月 15 10:17:23 jidanni2 swapon[310]: swapon: sys-utils/swapon.c:653: parse_options: Assertion `ctl->discard' failed.
3月 15 10:17:23 jidanni2 systemd[1]: dev-disk-by\x2duuid-ce5499e2\x2d019e\x2d44cc\x2d8f95\x2dd027832b3d7d.swap: Swap process exited, code=killed status=6
3月 15 10:17:23 jidanni2 systemd[1]: Failed to activate swap /dev/disk/by-uuid/ce5499e2-019e-44cc-8f95-d027832b3d7d.
3月 15 10:17:23 jidanni2 systemd[1]: Dependency failed for Swap.
3月 15 10:17:23 jidanni2 systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'.
3月 15 10:17:23 jidanni2 systemd[1]: dev-disk-by\x2duuid-ce5499e2\x2d019e\x2d44cc\x2d8f95\x2dd027832b3d7d.swap: Unit entered failed state.
So I had to do a manual
# swapon /dev/sda12
which worked fine.
Reply to: