Re: stretch and cryptsetup/luks - boot delay
ah! like like it might have been something in live-config-systemd? i had live-config and a number of related packages installed. after a clean-up and (afaict) the removal of the following set: [REMOVE, NOT USED] debian-installer-launcher:amd64 27 [REMOVE, NOT USED] kexec-tools:amd64 1:2.0.14-1 [REMOVE, NOT USED] live-config-doc:amd64 5.20170112 [REMOVE, NOT USED] live-config-systemd:amd64 5.20170112 [REMOVE, NOT USED] live-tools:amd64 1:20151214+nmu1 [REMOVE (PURGE)] live-config:amd64 5.20170112 the 90s delay is gone. On Wed, 2017-05-24 at 23:23 +0200, deloptes wrote: > andy wrote: > > > i'm hoping i'm missing something obvious. thanks in advance! > > > > I don't know if I can help. I am still on jessie, but here are some > thoughts > > > :: > > /etc/crypttab > > :: > > sda5_crypt UUID=08d8147c-a06c-4746-827f-d720b1f5d738 none > > luks,discard > > What happens if you add the tries option here? > > sdb2_crypt UUID=c3063f61-b2d8-4bbe-9c73-0dd04cb1f4b8 none > luks,discard,tries=2,cipher=aes-cbc-essiv:sha256 > > and did you update your initrd ? I advice to do it after changing > anything > related to crypted root partition as those config files are added to > the > initrd > > what if you disable CRYPTDISKS_ENABLE in /etc/default/cryptdisks > (and > update initrd) > > the rest is to see whats in systemd around it > > regards > -- andy
Re: stretch and cryptsetup/luks - boot delay
andy wrote: > i'm hoping i'm missing something obvious. thanks in advance! > I don't know if I can help. I am still on jessie, but here are some thoughts > :: > /etc/crypttab > :: > sda5_crypt UUID=08d8147c-a06c-4746-827f-d720b1f5d738 none luks,discard What happens if you add the tries option here? sdb2_crypt UUID=c3063f61-b2d8-4bbe-9c73-0dd04cb1f4b8 none luks,discard,tries=2,cipher=aes-cbc-essiv:sha256 and did you update your initrd ? I advice to do it after changing anything related to crypted root partition as those config files are added to the initrd what if you disable CRYPTDISKS_ENABLE in /etc/default/cryptdisks (and update initrd) the rest is to see whats in systemd around it regards
stretch and cryptsetup/luks - boot delay
hello - i recently upgraded my laptop from wheezy through jessie into stretch. almost everything Just Worked, which is great! one lingering problem is that there is a 1min 30sec delay in the boot after entering my passphrase. it reports: cryptsetup (sda5_crypt): set up successfully root: clean, 290656/2932736 files, 3260365/11718656 blocks but then goes into a delay, displaying "A start job is running" for the disk-related units. they time out, with `journalctl -alb` showing: May 24 11:11:53 abezella-laptop systemd[1]: dev-disk-by\x2duuid-08d8147c\x2da06c\x2d4746\x2d827f\x2dd720b1f5d738.device: Job dev-disk-by\x2duuid-08d8147c\x2da06c\x2d4746\x2d827f\x2dd720b1f5d738.device/start timed out. May 24 11:11:53 abezella-laptop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-08d8147c\x2da06c\x2d4746\x2d827f\x2dd720b1f5d738.device. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for Cryptography Setup for sda5_crypt. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for Encrypted Volumes. May 24 11:11:53 abezella-laptop systemd[1]: cryptsetup.target: Job cryptsetup.target/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for dev-mapper-sda5_crypt.device. May 24 11:11:53 abezella-laptop systemd[1]: dev-mapper-sda5_crypt.device: Job dev-mapper-sda5_crypt.device/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: systemd-cryptsetup@sda5_crypt.service: Job systemd-cryptsetup@sda5_crypt.service/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: dev-disk-by\x2duuid-08d8147c\x2da06c\x2d4746\x2d827f\x2dd720b1f5d738.device: Job dev-disk-by\x2duuid-08d8147c\x2da06c\x2d4746\x2d827f\x2dd720b1f5d738.device/start failed with result 'timeout'. May 24 11:11:53 abezella-laptop systemd[1]: dev-mapper-abezella\x2d\x2dlaptop\x2dhome.device: Job dev-mapper-abezella\x2d\x2dlaptop\x2dhome.device/start timed out. May 24 11:11:53 abezella-laptop systemd[1]: Timed out waiting for device dev-mapper-abezella\x2d\x2dlaptop\x2dhome.device. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for /home. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for Local File Systems. May 24 11:11:53 abezella-laptop systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: local-fs.target: Triggering OnFailure= dependencies. May 24 11:11:53 abezella-laptop systemd[1]: home.mount: Job home.mount/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for File System Check on /dev/mapper/abezella--laptop-home. May 24 11:11:53 abezella-laptop systemd[1]: systemd-fsck@dev-mapper-abezella\x2d\x2dlaptop\x2dhome.service: Job systemd-fsck@dev-mapper-abezella\x2d\x2dlaptop\x2dhome.service/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: dev-mapper-abezella\x2d\x2dlaptop\x2dhome.device: Job dev-mapper-abezella\x2d\x2dlaptop\x2dhome.device/start failed with result 'timeout'. May 24 11:11:53 abezella-laptop systemd[1]: dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.device: Job dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.device/start timed out. May 24 11:11:53 abezella-laptop systemd[1]: Timed out waiting for device dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.device. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for /boot. May 24 11:11:53 abezella-laptop systemd[1]: boot.mount: Job boot.mount/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for File System Check on /dev/disk/by-uuid/cba918f2-3c25-417f-9da9-e2b1fafe4aa0. May 24 11:11:53 abezella-laptop systemd[1]: systemd-fsck@dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.service: Job systemd-fsck@dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.service/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.device: Job dev-disk-by\x2duuid-cba918f2\x2d3c25\x2d417f\x2d9da9\x2de2b1fafe4aa0.device/start failed with result 'timeout'. May 24 11:11:53 abezella-laptop systemd[1]: dev-mapper-abezella\x2d\x2dlaptop\x2dswap_1.device: Job dev-mapper-abezella\x2d\x2dlaptop\x2dswap_1.device/start timed out. May 24 11:11:53 abezella-laptop systemd[1]: Timed out waiting for device dev-mapper-abezella\x2d\x2dlaptop\x2dswap_1.device. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for /dev/mapper/abezella--laptop-swap_1. May 24 11:11:53 abezella-laptop systemd[1]: Dependency failed for Swap. May 24 11:11:53 abezella-laptop systemd[1]: swap.target: Job swap.target/start failed with result 'dependency'. May 24 11:11:53 abezella-laptop systemd[1]: