[Touch-packages] [Bug 1443413] Re: can't boot with systemd
Ah, so not quite bug 953875, but a custom LVM setup. Adding /dev/dm-6 to crypttab does sound dangerous, as these are not very stable. Adding /dev/mapper/vg-swap or UUID=fdd.. to crypttab is usually better. What does ls -l /dev/mapper/vg-swap say, does it actually point to dm-6? If not, that's the problem, can you try with the stable symlinks? If it does point to dm-6, can you please boot with the debug shell as per /usr/share/doc/systemd/README.Debian, and when it hangs capture journalctl -b /home/you/journal.txt and then reboot and attach journal.txt here? Thanks! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1443413 Title: can't boot with systemd Status in systemd package in Ubuntu: Incomplete Bug description: Booting with systemd fails always at same stage. Using upstart just works. grep GRUB_CMDLINE_LINUX /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT= GRUB_CMDLINE_LINUX=systemd.log_target=kmsg systemd.log_level=debug grep debug /boot/grub/grub.cfg linux /vmlinuz-3.19.0-13-generic root=/dev/mapper/vg-root ro systemd.log_target=kmsg systemd.log_level=debug Sadly systemd-debug doesn't reveals more information what fails :-( lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1443413/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1443413] Re: can't boot with systemd
Sorry, my previous reply was quite bogus, too early still. I suppose that output comes from under upstart, so /dev/mapper/vg-swap is the *result* of crypttab. The blurred screenshot says invalid argument. So please leave that line disabled, and once the system is running, try sudo SYSTEMD_LOG_LEVEL=debug strace -fvvs1024 -o /tmp/t /lib/systemd /systemd-cryptsetup attach vg-swap dev/dm-6 /dev/urandom swap,cipher =aes-cbc-essiv:sha256 This should give some invalid argument at some point, does it? For me this command works fine on current vivid. If it reproduces the invalid argument for you, please copypaste the output and /tmp/t. Thanks! ** Summary changed: - can't boot with systemd + boot fails on cryptsetup random swap partition with invalid argument -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1443413 Title: boot fails on cryptsetup random swap partition with invalid argument Status in systemd package in Ubuntu: Incomplete Bug description: Booting with systemd fails always at same stage. Using upstart just works. grep GRUB_CMDLINE_LINUX /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT= GRUB_CMDLINE_LINUX=systemd.log_target=kmsg systemd.log_level=debug grep debug /boot/grub/grub.cfg linux /vmlinuz-3.19.0-13-generic root=/dev/mapper/vg-root ro systemd.log_target=kmsg systemd.log_level=debug Sadly systemd-debug doesn't reveals more information what fails :-( lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1443413/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1443413] Re: can't boot with systemd
This smells a lot like bug 953875. To confirm, can you please give me the output of cat /etc/crypttab sudo blkid Does it boot again if you comment out the cryptswap1 device from /etc/crypttab? ** Changed in: systemd (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1443413 Title: can't boot with systemd Status in systemd package in Ubuntu: Incomplete Bug description: Booting with systemd fails always at same stage. Using upstart just works. grep GRUB_CMDLINE_LINUX /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT= GRUB_CMDLINE_LINUX=systemd.log_target=kmsg systemd.log_level=debug grep debug /boot/grub/grub.cfg linux /vmlinuz-3.19.0-13-generic root=/dev/mapper/vg-root ro systemd.log_target=kmsg systemd.log_level=debug Sadly systemd-debug doesn't reveals more information what fails :-( lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1443413/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1443413] Re: can't boot with systemd
@Martin Pitti: As you requested I have filed this systemd bug. What would you suggest to debug this issue? -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1443413 Title: can't boot with systemd Status in systemd package in Ubuntu: New Bug description: Booting with systemd fails always at same stage. Using upstart just works. grep GRUB_CMDLINE_LINUX /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT= GRUB_CMDLINE_LINUX=systemd.log_target=kmsg systemd.log_level=debug grep debug /boot/grub/grub.cfg linux /vmlinuz-3.19.0-13-generic root=/dev/mapper/vg-root ro systemd.log_target=kmsg systemd.log_level=debug Sadly systemd-debug doesn't reveals more information what fails :-( lsb_release -rd Description: Ubuntu Vivid Vervet (development branch) Release: 15.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1443413/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp