debconf resume_device sets non-existent UUID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uswsusp (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Fresh install of 16.04 amd64.
Installed the package and noticed whilst update-initramfs is running that cryptsetup reports two swap devices, one - a UUID - of which doesn't exist on the system. Eventually tracked it down to a UUID in /etc/uswsups.conf but have not been able to figure out where it came from originally.
$ update-initramfs -u
...
cryptsetup: WARNING: found more than one resume device candidate:
...
$ cat /etc/uswsusp.conf
# /etc/uswsusp.
resume device = /dev/disk/
compress = y
early writeout = y
image size = 2147483647
RSA key file = /etc/uswsusp.key
shutdown method = platform
$ grep -C2 -rn aaf675 /var/cache/
/var/cache/
/var/cache/
/var/cache/
/var/cache/
/var/cache/
$ cat /proc/swaps
Filename Type Size Used Priority
/dev/dm-5 partition 8701948 0 -1
$ ll /dev/disk/by-uuid/
total 0
drwxr-xr-x 2 root root 240 Apr 29 22:13 ./
drwxr-xr-x 8 root root 160 Apr 29 22:13 ../
lrwxrwxrwx 1 root root 10 Apr 29 22:13 0349c8e6-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 1c6eb216-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 1CAC-4496 -> ../../sda1
lrwxrwxrwx 1 root root 10 Apr 29 22:13 50e85da8-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 7f19968f-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 92129011-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 a41a60bb-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 b4065821-
98f8-4068-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 c5e71a84-
lrwxrwxrwx 1 root root 10 Apr 29 22:13 e0e3a6ad-
$ sudo blkid -s UUID /dev/sda? /dev/mapper/*
/dev/sda1: UUID="1CAC-4496"
/dev/sda2: UUID="0349c8e6-
/dev/sda3: UUID="c5e71a84-
/dev/sda4: UUID="1c6eb216-
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
Status changed to 'Confirmed' because the bug affects multiple users.