[Bug 480741] New: boot.crypto doesn't care on tries flag in crypttab
https://bugzilla.novell.com/show_bug.cgi?id=480741 Summary: boot.crypto doesn't care on tries flag in crypttab Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: 19972005@mail.ru QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 As you may see below - no retries attempted: acer15:~ # cat /dev/null > /var/log/allmessages acer15:~ # grep files /etc/fstab /dev/mapper/files_unsorted.cfs /home/olli/mnt ext3 user,acl,user_xattr,noauto 0 0 acer15:~ # grep files /etc/crypttab files_unsorted.cfs /home/files_unsorted.cfs none luks,tries=10 acer15:~ # ls -l /dev/mapper/files_unsorted.cfs /home/files_unsorted.cfs ls: cannot access /dev/mapper/files_unsorted.cfs: No such file or directory -rw-r--r-- 1 root root 702545920 2009-02-03 18:49 /home/files_unsorted.cfs acer15:~ # service boot.crypto start Activating crypto devices using /etc/cryptotab ... unused Activating crypto devices using /etc/crypttab ... /home/olli-home.cfs: cr_olli-home.cfs already mapped skipped /home/records-l1.cfs: cr_records-l1.cfs already mapped skipped Please enter passphrase for /home/files_unsorted.cfs (files_unsorted.cfs): Command failed: No key available with this passphrase. /home/files_unsorted.cfs... failed acer15:~ # cat /var/log/allmessages acer15:~ # Reproducible: Always Steps to Reproduce: 1. duplicate setup as above 2. start boot.crypto 3. enter wrong password 4. no retry for password. Actual Results: no retry for password. Expected Results: should retry as much as set in crypttab options . acer15:~ # rpm -qf /etc/init.d/boot.crypto cryptsetup-1.0.5_SVNr46-57.8 acer15:~ # -- 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=480741 Olli Artemjev <19972005@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |UI Priority|P5 - None |P4 - Low CC| |19972005@mail.ru Severity|Normal |Minor -- 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=480741 User rscholz@verified.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480741#c1 Raymond Scholz <rscholz@verified.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rscholz@verified.de --- Comment #1 from Raymond Scholz <rscholz@verified.de> 2009-03-02 02:30:34 MST --- Typo in /lib/cryptsetup/boot.crypto.functions, seems to be also present in openSUSE 11.0. Patch: --- /lib/cryptsetup/boot.crypto.functions.old 2009-03-02 10:28:38.000000000 +0100 +++ /lib/cryptsetup/boot.crypto.functions 2009-03-02 10:21:34.000000000 +0100 @@ -516,7 +516,7 @@ ;; tries) if test -n "$value" ; then - params="$params --tries=$tries" + params="$params --tries=$value" fi ;; check) -- 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=480741 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mkoenig@novell.com |ovo.novell.com | -- 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=480741 Pavol Rusnak <prusnak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mkoenig@novell.com |hvogel@novell.com -- 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=480741 User 19972005@mail.ru added comment https://bugzilla.novell.com/show_bug.cgi?id=480741#c2 Olli Artemjev <19972005@mail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |easy_fix, patch --- Comment #2 from Olli Artemjev <19972005@mail.ru> 2009-03-03 07:41:25 MST --- Thanks for the patch - this really fixes the problem. :) -- 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=480741 User crrodriguez@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480741#c3 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@novell.com AssignedTo|hvogel@novell.com |crrodriguez@novell.com --- Comment #3 from Cristian Rodríguez <crrodriguez@novell.com> 2009-03-03 08:16:39 MST --- fixed in GIT commit 34f76600f3908f0fa0703628e976fc6b90d3caff Author: Cristian Rodríguez <crrodriguez@suse.de> Date: Tue Mar 3 16:11:07 2009 +0100 fix boot.crypto doesn't care on tries flag in crypttab [bnc#480741] This is likely to appear only in the next openSUSE version though. -- 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=480741 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480741#c4 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |lnussel@novell.com Resolution| |FIXED --- Comment #4 from Ludwig Nussel <lnussel@novell.com> 2009-03-03 08:25:36 MST --- yes, I'll submit it for factory -- 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=480741 User lnussel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480741#c5 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bluedzins@wp.pl --- Comment #5 from Ludwig Nussel <lnussel@novell.com> 2009-03-11 03:26:54 MST --- *** Bug 467076 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=467076 -- 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.
participants (1)
-
bugzilla_noreply@novell.com