Bug#764539: [systemd] Dependency failed for Swap

Francesco Muzio muziofg at gmail.com
Wed Oct 8 22:38:53 BST 2014


Package: systemd
Version: 215-5+b1
Severity: important

Dear maintainers,

after the upgrade to version 215-5+b1 I  began to have this problem at boot:

the "swapon" operation fails during the boot, and it fails after 90 
seconds of delayed boot.

I see on the screen the message "A start job is running for..." for 90 
secs, then "Dependency failed for 
/dev/disk/by-uuid/68fc3a91-1f31-4bf3-b436-b1086e664b88" and "Dependency 
failed for Swap"


if I do a manual
swapon /dev/sdc2
works, and works also with
swapon /dev/disk/by-uuid/68fc3a91-1f31-4bf3-b436-b1086e664b88

instead, the command
systemctl start 
dev-disk-by\\x2duuid-68fc3a91\\x2d1f31\\x2d4bf3\\x2db436\\x2db1086e664b88.swap
fails with the same behaviour experienced during the boot (90 secs of 
waiting)

and, it's curious: if I do a
swapoff /dev/sdc2
the
systemctl start 
dev-disk-by\\x2duuid-68fc3a91\\x2d1f31\\x2d4bf3\\x2db436\\x2db1086e664b88.swap
works.

why? there are two "swapon" launched by systemd?

some other useful information:

$ ls -l /dev/disk/by-uuid/68fc3a91-1f31-4bf3-b436-b1086e664b88
lrwxrwxrwx 1 root root 10 ott  8 23:11 
/dev/disk/by-uuid/68fc3a91-1f31-4bf3-b436-b1086e664b88 -> ../../sdc2

$ cat /etc/fstab | grep swap
UUID=68fc3a91-1f31-4bf3-b436-b1086e664b88       none    swap sw      
0      0

thanks in advance

--- System information. ---
Architecture: i386
Kernel: Linux 3.16.3

Debian Release: jessie/sid
500 testing cdn.debian.net

--- Package information. ---
Depends (Version) | Installed
================================================-+-========================= 

libacl1 (>= 2.2.51-8) | 2.2.52-2
libaudit1 (>= 1:2.2.1) | 1:2.4-1
libblkid1 (>= 2.17.2) | 2.20.1-5.11
libc6 (>= 2.17) | 2.19-11
libcap2 (>= 2.10) | 1:2.24-6
libcryptsetup4 (>= 2:1.4.3) | 2:1.6.6-1
libdbus-1-3 (>= 1.1.1) | 1.8.8-1+b1
libgcrypt11 (>= 1.5.1) | 1.5.4-3
libkmod2 (>= 5~) | 18-3
liblzma5 (>= 5.1.1alpha+20120614) | 5.1.1alpha+20120614-2
libpam0g (>= 0.99.7.1) | 1.1.8-3.1
libselinux1 (>= 2.1.9) | 2.3-2
libsystemd-daemon0 (= 208-6) | 215-5+b1
libsystemd-journal0 (= 208-6) | 215-5+b1
libudev1 (>= 189) | 215-5+b1
libwrap0 (>= 7.6-4~) | 7.6.q-25
libsystemd-login0 (= 208-6) | 215-5+b1
util-linux (>= 2.19.1-2) | 2.20.1-5.11
initscripts (>= 2.88dsf-17) | 2.88dsf-53.4
sysv-rc | 2.88dsf-53.4
udev | 215-5+b1
acl | 2.2.52-2
adduser | 3.113+nmu3
libcap2-bin | 1:2.24-6


Recommends (Version) | Installed
=============================-+-===========
libpam-systemd | 215-5+b1


Suggests (Version) | Installed
=========================-+-===========
systemd-ui | 3-2



--- Output from package bug script ---



More information about the Pkg-systemd-maintainers mailing list