[Bug 730496] New: Password is not asked and crypt file is not mounted when booted using systemd
https://bugzilla.novell.com/show_bug.cgi?id=730496 https://bugzilla.novell.com/show_bug.cgi?id=730496#c0 Summary: Password is not asked and crypt file is not mounted when booted using systemd Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: oshevelev@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=462188) --> (http://bugzilla.novell.com/attachment.cgi?id=462188) dmesg with systemd.log_level=debug systemd.log_target=kmsg User-Agent: Opera/9.80 (X11; Linux i686; U; ru) Presto/2.9.168 Version/11.52 linux-j9oo:~ # cat /etc/SuSE-release openSUSE 12.1 (x86_64) VERSION = 12.1 CODENAME = Asparagus linux-j9oo:~ # uname -a Linux linux-j9oo 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64 x86_64 x86_64 GNU/Linux linux-j9oo:~ # rpm -qa systemd systemd-37-3.5.1.x86_64 linux-j9oo:~ # cat /etc/fstab UUID=f581b7d2-5d45-4d30-8476-2b722d46bcbd / ext4 noatime,acl,user_xattr,discard 1 1 # UUID=c8ffa7bc-a882-4b5b-8841-688658fac391 /media/harddisk ext4 user,acl,user_xattr 1 2 UUID=ab89f4dc-4e74-49c4-b7bd-bb955f3c736c swap swap defaults 0 0 UUID=14e18ecb-50cc-4f44-90d7-e041f3ae69ce /boot ext4 noatime,acl,user_xattr,discard 1 2 tmpfs /tmp tmpfs defaults 0 0 tmpfs /var/lock tmpfs defaults 0 0 tmpfs /var/run tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs noauto 0 0 debugfs /sys/kernel/debug debugfs noauto 0 0 usbfs /proc/bus/usb usbfs noauto 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 /dev/mapper/cr_crypt /home/crypt ext4 loop,acl,user_xattr,nofail 0 0 linux-j9oo:~ # cat /etc/crypttab cr_crypt /var/crypt none none [ 4.886464] systemd[1]: Accepted connection on private bus. [ 4.886648] systemd[1]: Got D-Bus request: org.freedesktop.systemd1.Agent.Released() on /org/freedesktop/systemd1/agent [ 4.886714] systemd[1]: Got D-Bus request: org.freedesktop.DBus.Local.Disconnected() on /org/freedesktop/DBus/Local [ 93.298171] systemd[1]: Job var-crypt.device/start timed out. [ 93.298259] systemd[1]: Job var-crypt.device/start finished, result=timeout [ 93.298288] systemd[1]: Job cryptsetup@cr_crypt.service/start finished, result=dependency [ 93.298454] systemd[1]: Job cryptsetup.target/start finished, result=dependency [ 93.298459] systemd[1]: Job cryptsetup.target/start failed with result 'dependency'. [ 93.298529] systemd[1]: Job dev-mapper-cr_crypt.device/start finished, result=dependency [ 93.298536] systemd[1]: Job home-crypt.mount/start finished, result=dependency [ 93.298629] systemd[1]: Job home-crypt.mount/start failed with result 'dependency'. [ 93.298698] systemd[1]: Job dev-mapper-cr_crypt.device/start failed with result 'dependency'. [ 93.298766] systemd[1]: Job cryptsetup@cr_crypt.service/start failed with result 'dependency'. [ 93.298834] systemd[1]: Job var-crypt.device/start failed with result 'timeout'. Booting is OK when using sysvinit. Reproducible: Always Steps to Reproduce: 1. Create Crypt File with Partitioner 2. Reboot 3. Actual Results: Timeout 90 seconds and fail mounting crypt file Expected Results: Ask password for crypt file -- 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=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c1
Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c2
--- Comment #2 from Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c3
--- Comment #3 from Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c4
--- Comment #4 from Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c5
--- Comment #5 from Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c6
--- Comment #6 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c7
--- Comment #7 from Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c8
--- Comment #8 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c9
--- Comment #9 from Susan Dittmar
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c10
--- Comment #10 from Oleg Shevelev
could you test without any workaround, package from home:fcrozat:systemd / systemd ?
linux-x2yl:/home/sol # rpm -qi systemd Name : systemd Version : 37 Release : 303.1 Architecture: x86_64 Install Date: пн, 05-гру-2011 17:37:08 +0200 Group : System/Base Size : 4188008 License : GPLv2+ Signature : DSA/SHA1, пн, 05-гру-2011 15:55:36 +0200, Key ID 5ace4ca4fd73faf5 Source RPM : systemd-37-303.1.src.rpm Build Date : пн, 05-гру-2011 15:54:48 +0200 Build Host : build24 Relocations : (not relocatable) Vendor : obs://build.opensuse.org/home:fcrozat URL : http://www.freedesktop.org/wiki/Software/systemd Summary : A System and Session Manager Description : Systemd is a system and service manager, compatible with SysV and LSB init scripts for Linux. systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux cgroups, supports snapshotting and restoring of the system state, maintains mount and automount points and implements an elaborate transactional dependency-based service control logic. It can work as a drop-in replacement for sysvinit. Distribution: home:fcrozat:systemd / openSUSE_12.1 Still unsuccessful. But something new appeared: [ 5.244463] padlock_sha: VIA PadLock Hash Engine not detected. [ 5.248524] modprobe[823]: FATAL: Error inserting padlock_sha (/lib/modules/3.1.0-1.2-desktop/kernel/drivers/crypto/padlock-sha.ko): No such device [ 5.465001] mount[627]: Password: crypt_activate_by_passphrase: Operation not permitted [ 5.466443] systemd[1]: home-sol-config.mount mount process exited, code=exited status=1 [ 5.479141] systemd[1]: Unit home-sol-config.mount entered failed state. [ 93.333646] systemd[1]: Job home-sol-crfile.device/start timed out. [ 93.333748] systemd[1]: Job cryptsetup.target/start failed with result 'dependency'. [ 93.333757] systemd[1]: Job dev-mapper-cr_crfile.device/start failed with result 'dependency'. [ 93.333760] systemd[1]: Job cryptsetup@cr_crfile.service/start failed with result 'dependency'. [ 93.333766] systemd[1]: Job home-sol-crfile.device/start failed with result 'timeout'. [ 93.657475] logger[862]: Requesting microcode for AMD fam10h or newer CPU(s) I do not remember there was this line: "mount[627]: Password: crypt_activate_by_passphrase: Operation not permitted" And still everything works fine if booted with: init=/sbin/sysvinit -- 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=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c11
--- Comment #11 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c12
--- Comment #12 from Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c13
--- Comment #13 from Oleg Shevelev
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c14
Frederic Crozat
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c15
--- Comment #15 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c19
--- Comment #19 from Ulrich Windl
https://bugzilla.novell.com/show_bug.cgi?id=730496
https://bugzilla.novell.com/show_bug.cgi?id=730496#c20
Frederic Crozat
participants (1)
-
bugzilla_noreply@novell.com