Activity log for bug #1736072

Date Who What changed Old value New value Message
2017-12-04 06:52:59 dino99 bug added bug
2017-12-04 06:57:29 dino99 description On a working system, i've added a new hdd, and decided to use it as the main device storage. So after doing the formatage (classic: / as ext4, swap, /home as ext4), i've set a bionic iso installation. Ubiquity then have proposed to set an encrypted swap dir, which i have accepted, and then smootly terminated the installation. Booting with that new install, i hit a cryptswap1 timeout after beeing frozen around 1 minute. oem@ubuntu:~$ journalctl | grep cryptswap Dec 04 05:07:09 ubuntu systemd[1]: Starting Cryptography Setup for cryptswap2... Dec 04 05:07:09 ubuntu systemd[1]: Started Cryptography Setup for cryptswap2. Dec 04 05:07:09 ubuntu systemd[1]: Found device /dev/mapper/cryptswap2. Dec 04 05:07:09 ubuntu systemd[1]: Activating swap /dev/mapper/cryptswap2... Dec 04 05:07:09 ubuntu kernel: Adding 10584572k swap on /dev/mapper/cryptswap2. Priority:-1 extents:1 across:10584572k FS Dec 04 05:07:09 ubuntu systemd[1]: Activated swap /dev/mapper/cryptswap2. Dec 04 05:07:09 ubuntu systemd[1]: Starting Cryptography Setup for cryptswap1... Dec 04 05:07:09 ubuntu systemd[1]: Started Cryptography Setup for cryptswap1. oem@ubuntu:~$ journalctl | grep timeout Dec 04 05:08:36 ubuntu systemd[1]: dev-disk-by\x2duuid-4c8437f6\x2d677d\x2d4740\x2dbdda\x2d072efadb49f4.device: Job dev-disk-by\x2duuid-4c8437f6\x2d677d\x2d4740\x2dbdda\x2d072efadb49f4.device/start failed with result 'timeout'. Note: cryptswap2 refer to the new hdd's swap partition, cryptswap1 refer to the old hdd's swap partition. /etc/fstab have been tested with only the active (mounted) disk, and with both. In both cases the timeout happens. Conclusion: -ubiquity is proposing a non working feature (at least with multiple storage devices/swap partitions - the cryptsetup version is not well supporting the kernel/systemd settings/configs As Debian has more recent versions: 1.7.5-1 (sid) and 2.0.0 (experimental) with some new features and cleanups, it should be a positive test to replace the actual not working version with one of these. http://metadata.ftp-master.debian.org/changelogs/main/c/cryptsetup/cryptsetup_2.0.0~rc1-1_changelog ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: cryptsetup 2:1.7.3-4ubuntu1 ProcVersionSignature: Ubuntu 4.13.0-18.21-generic 4.13.13 Uname: Linux 4.13.0-18-generic x86_64 ApportVersion: 2.20.8-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Dec 4 07:26:17 2017 EcryptfsInUse: Yes ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: cryptsetup UpgradeStatus: No upgrade log present (probably fresh install) cmdline: BOOT_IMAGE=/boot/vmlinuz-4.13.0-18-generic root=UUID=2f22752a-ca0f-4cff-b5d7-9754e6154d56 ro On a working system, i've added a new hdd, and decided to use it as the main device storage. So after doing the formatage (classic: / as ext4, swap, /home as ext4), i've set a bionic iso installation. Ubiquity then have proposed to set an encrypted swap dir, which i have accepted, and then smootly terminated the installation. Booting with that new install, i hit a cryptswap1 timeout after beeing frozen around 1 minute. oem@ubuntu:~$ journalctl | grep cryptswap systemd[1]: Starting Cryptography Setup for cryptswap2... systemd[1]: Started Cryptography Setup for cryptswap2. systemd[1]: Found device /dev/mapper/cryptswap2. systemd[1]: Activating swap /dev/mapper/cryptswap2... kernel: Adding 10584572k swap on /dev/mapper/cryptswap2. Priority:-1 extents:1 across:10584572k FS systemd[1]: Activated swap /dev/mapper/cryptswap2. systemd[1]: Starting Cryptography Setup for cryptswap1... systemd[1]: Started Cryptography Setup for cryptswap1. oem@ubuntu:~$ journalctl | grep timeout systemd[1]: dev-disk-by\x2duuid-4c8437f6\x2d677d\x2d4740\x2dbdda\x2d072efadb49f4.device: Job dev-disk-by\x2duuid-4c8437f6\x2d677d\x2d4740\x2dbdda\x2d072efadb49f4.device/start failed with result 'timeout'. Note: cryptswap2 refer to the new hdd's swap partition, cryptswap1 refer to the old hdd's swap partition. /etc/fstab have been tested with only the active (mounted) disk, and with both. In both cases the timeout happens. oem@ubuntu:~$ swapon -s Filename Type Size Used Priority /dev/dm-0 partition 10584572 221184 -1 Conclusion: -ubiquity is proposing a non working feature (at least with multiple storage devices/swap partitions - the cryptsetup version is not well supporting the kernel/systemd settings/configs As Debian has more recent versions: 1.7.5-1 (sid) and 2.0.0 (experimental) with some new features and cleanups, it should be a positive test to replace the actual not working version with one of these. http://metadata.ftp-master.debian.org/changelogs/main/c/cryptsetup/cryptsetup_2.0.0~rc1-1_changelog ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: cryptsetup 2:1.7.3-4ubuntu1 ProcVersionSignature: Ubuntu 4.13.0-18.21-generic 4.13.13 Uname: Linux 4.13.0-18-generic x86_64 ApportVersion: 2.20.8-0ubuntu2 Architecture: amd64 CurrentDesktop: GNOME Date: Mon Dec 4 07:26:17 2017 EcryptfsInUse: Yes ProcEnviron:  TERM=xterm-256color  PATH=(custom, no user)  XDG_RUNTIME_DIR=<set>  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: cryptsetup UpgradeStatus: No upgrade log present (probably fresh install) cmdline: BOOT_IMAGE=/boot/vmlinuz-4.13.0-18-generic root=UUID=2f22752a-ca0f-4cff-b5d7-9754e6154d56 ro
2017-12-04 06:58:23 dino99 tags amd64 apport-bug bionic amd64 apport-bug bionic upgrade-software-version
2017-12-04 06:59:33 dino99 bug task added ubiquity (Ubuntu)
2017-12-04 06:59:49 dino99 bug task added systemd (Ubuntu)
2018-01-19 23:58:07 Brian Murray tags amd64 apport-bug bionic upgrade-software-version amd64 apport-bug bionic rls-bb-incoming upgrade-software-version
2018-02-01 16:28:29 Steve Langasek nominated for series Ubuntu Bionic
2018-02-01 16:28:29 Steve Langasek bug task added cryptsetup (Ubuntu Bionic)
2018-02-01 16:28:29 Steve Langasek bug task added ubiquity (Ubuntu Bionic)
2018-02-01 16:28:29 Steve Langasek bug task added systemd (Ubuntu Bionic)
2018-02-01 16:28:38 Steve Langasek cryptsetup (Ubuntu Bionic): importance Undecided High
2018-02-01 16:28:40 Steve Langasek systemd (Ubuntu Bionic): importance Undecided High
2018-02-01 16:29:25 Steve Langasek tags amd64 apport-bug bionic rls-bb-incoming upgrade-software-version amd64 apport-bug bionic upgrade-software-version
2018-03-26 13:07:36 Dimitri John Ledkov systemd (Ubuntu Bionic): status New Incomplete
2018-03-26 13:07:38 Dimitri John Ledkov cryptsetup (Ubuntu Bionic): status New Incomplete
2018-03-27 12:22:14 Francis Ginther tags amd64 apport-bug bionic upgrade-software-version amd64 apport-bug bionic id-5ab94d352fa6a78baa2fab1e upgrade-software-version
2018-04-03 16:28:52 Dimitri John Ledkov ubiquity (Ubuntu Bionic): status New Incomplete
2018-04-03 16:28:56 Dimitri John Ledkov bug task deleted ubiquity (Ubuntu Bionic)
2018-04-03 16:28:59 Dimitri John Ledkov bug task deleted systemd (Ubuntu Bionic)
2018-04-03 16:29:00 Dimitri John Ledkov bug task deleted cryptsetup (Ubuntu Bionic)
2018-06-03 04:18:23 Launchpad Janitor cryptsetup (Ubuntu): status Incomplete Expired
2018-06-03 04:18:25 Launchpad Janitor ubiquity (Ubuntu): status Incomplete Expired
2018-06-03 04:18:26 Launchpad Janitor systemd (Ubuntu): status Incomplete Expired