[Bug 774247] New: Booting of crypto partition fails - according to systemd
From systemd-journal: Aug 02 20:40:27 linux-6dv9 boot.lvm[404]: ..done Aug 02 20:40:28 linux-6dv9 systemd-cryptse[618]: Set cipher aes, mode cbc-essiv:sha256, key size 256 bits for device /dev/disk/by-id/ata-ST...Z-part4. Aug 02 20:40:28 linux-6dv9 systemd-fsck[617]: /dev/mapper/system-home: clean, 75095/6553600 files, 8282182/26214400 blocks Aug 02 20:40:28 linux-6dv9 systemd-fsck[616]: /dev/sda3: clean, 345/42000 files, 46986/167936 blocks Aug 02 20:40:29 linux-6dv9 systemd-cryptse[618]: Failed to activate: Device or resource busy Aug 02 20:40:29 linux-6dv9 systemd[1]: cryptsetup@cr_sda4.service: main process exited, code=exited, status=1 Aug 02 20:40:29 linux-6dv9 systemd[1]: Job cryptsetup.target/start failed with result 'dependency'. Aug 02 20:40:29 linux-6dv9 systemd[1]: Job dev-mapper-cr_sda4.device/start failed with result 'dependency'. Aug 02 20:40:29 linux-6dv9 systemd[1]: Unit cryptsetup@cr_sda4.service entered failed state. Aug 02 20:40:31 linux-6dv9 boot.lvm[648]: Can't deactivate volume group "system" with 3 open logical volume(s) Aug 02 20:40:31 linux-6dv9 boot.lvm[656]: Waiting for udev to settle... Aug 02 20:40:31 linux-6dv9 boot.lvm[656]: Scanning for LVM volume groups... Aug 02 20:40:31 linux-6dv9 boot.lvm[648]: ..skipped Aug 02 20:40:33 linux-6dv9 boot.lvm[656]: Reading all physical volumes. This may take a while... Aug 02 20:40:33 linux-6dv9 boot.lvm[656]: Found volume group "system" using
https://bugzilla.novell.com/show_bug.cgi?id=774247 https://bugzilla.novell.com/show_bug.cgi?id=774247#c0 Summary: Booting of crypto partition fails - according to systemd Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: fcrozat@suse.com ReportedBy: aj@suse.com QAContact: qa-bugs@suse.de CC: lnussel@suse.com Found By: Product Management Blocker: --- My system is using a crypto setup for / and thus will only boot if I supply the password. systemctl --failed shows: UNIT LOAD ACTIVE SUB JOB DESCRIPTION cryptsetup@cr_sda4.service loaded failed failed Cryptography Setup for cr_sda4 systemctl status cryptsetup@cr_sda4.service cryptsetup@cr_sda4.service - Cryptography Setup for cr_sda4 Loaded: loaded (/run/systemd/generator/cryptsetup@cr_sda4.service) Active: failed (Result: exit-code) since Thu, 02 Aug 2012 20:42:07 +0200; 1min 54s ago Process: 925 ExecStart=/lib/systemd/systemd-cryptsetup attach cr_sda4 /dev/disk/by-id/ata-ST320LT007-9ZV142_W0Q2ZCJZ-part4 none none (code=exited, status=1/FAILURE) CGroup: name=systemd:/system/cryptsetup@.service/cr_sda4 Aug 02 20:42:07 linux-6dv9.site systemd-cryptse[925]: Timed out But I gave the password and the system booted without problems. So, something is wrong here. the most interesting part comes when I start manually openvpn with rcopenvpn start: rcopenvpn start redirecting to systemctl Please enter passphrase for disk ST320LT007-9ZV142 (cr_sda4)! It now asks me for the crypto password! The system works, just systemd things it needs the password. Also: Broadcast message from root@linux-6dv9.site (Thu, 02 Aug 2012 20:45:44 +0200): Password entry required for 'Please enter passphrase for disk ST320LT007-9ZV142 (cr_sda4)!' (PID 2807). Please enter password with the systemd-tty-ask-password-agent tool! metadata type lvm2 Aug 02 20:40:33 linux-6dv9 boot.lvm[656]: Activating LVM volume groups... Aug 02 20:40:33 linux-6dv9 boot.lvm[656]: 3 logical volume(s) in volume group "system" now active Aug 02 20:40:33 linux-6dv9 boot.lvm[656]: ..done -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c1
--- Comment #1 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c2
--- Comment #2 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c3
--- Comment #3 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c4
--- Comment #4 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c5
--- Comment #5 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c7
--- Comment #7 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c9
--- Comment #9 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c10
--- Comment #10 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c11
--- Comment #11 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c12
--- Comment #12 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c13
--- Comment #13 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c14
--- Comment #14 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c15
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c16
--- Comment #16 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c17
--- Comment #17 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c18
--- Comment #18 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c19
--- Comment #19 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c20
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c22
--- Comment #22 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c23
--- Comment #23 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c24
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c25
--- Comment #25 from Andreas Jaeger
I'd vote for updating /etc/crypttab (other tools might break because of this change, who knows..)
This could be done as part of the post-install script of cryptsetup. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c26
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c27
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c28
Ludwig Nussel
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c29
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c30
--- Comment #30 from Robert Munteanu
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c31
--- Comment #31 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c32
--- Comment #32 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c33
--- Comment #33 from Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c34
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c35
--- Comment #35 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=774247
https://bugzilla.novell.com/show_bug.cgi?id=774247#c36
--- Comment #36 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com