[Bug 724113] New: systemd: doesn't mount my encrypted /home
https://bugzilla.novell.com/show_bug.cgi?id=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c0 Summary: systemd: doesn't mount my encrypted /home Classification: openSUSE Product: openSUSE 12.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: lnussel@suse.com ReportedBy: ke@suse.com QAContact: qa@suse.de CC: lnussel@suse.com, ke@suse.com, suse-beta@cboltz.de, vuntz@suse.com, fcrozat@suse.com Found By: --- Blocker: --- +++ This bug was initially created as a clone of Bug #716136 +++ Christian Boltz 2011-10-09 19:33:46 CEST If the example is changed to use "nofail", then the sentence Simply remove this flag. should be changed to Simply replace the "noauto" flag with "nofail". That said: I'd really welcome if this was fixed automatically by YaST or zypper dup. Shouldn't be too hard IMHO - the following sed command in %post of cryptsetup (or another package) should work: (Warning: untested!) sed -i '/^\/dev/mapper/cr_/ s/,noauto,nofail/' etc/fstab [reply] [-] Private Comment 13 Christian Boltz 2011-10-10 12:32:25 CEST (In reply to comment #12)
dup. Shouldn't be too hard IMHO - the following sed command in %post of cryptsetup (or another package) should work: (Warning: untested!) sed -i '/^\/dev/mapper/cr_/ s/,noauto,nofail/' etc/fstab
Argh, obviously untested :-/ sed -i '/^\/dev\/mapper\/cr_/ s/,noauto,/nofail/' etc/fstab Untested again, but at least the syntax should be correct now ;-) Christian Boltz 2011-10-13 21:25:58 CEST (In reply to comment #15)
I'm unsure what package would fix this on upgrades anyway
The boot.crypto initscript and /etc/crypttab are both owned by cryptsetup, which is maintained by Ludwig. I'm sure he's a better assignee than the screening team for this bug. Ludwig, what do you think about fixing this bug with sed on /etc/fstab in %post of cryptsetup? See comment #13 -- 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=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c1 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fehr@suse.com --- Comment #1 from Ludwig Nussel <lnussel@suse.com> 2011-10-26 14:47:40 CEST --- There's actually code in yast that does this automatically on update (provided that you actually upgrade via yast). I'm investigating whether it still works. -- 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=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c2 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |vuntz@suse.com --- Comment #2 from Ludwig Nussel <lnussel@suse.com> 2011-10-26 16:56:04 CEST --- the code is only called when updating from <= 11.2 so I suppose you did not update via yast at some point so keep carrying around the old fstab? -- 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=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c3 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|vuntz@suse.com | --- Comment #3 from Christian Boltz <suse-beta@cboltz.de> 2011-10-26 17:57:55 CEST --- zypper dup is too good ;-) -I didn't update using yast since several versions. -- 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=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2011-10-27 18:00:17 CEST --- This is an autogenerated message for OBS integration: This bug (724113) was mentioned in https://build.opensuse.org/request/show/89562 Factory / 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=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c5 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Ludwig Nussel <lnussel@suse.com> 2011-10-28 13:35:49 CEST --- I've added code to adjust fstab. please test thoroughly. -- 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=724113 https://bugzilla.novell.com/show_bug.cgi?id=724113#c6 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |koenig@linux.de --- Comment #6 from Ludwig Nussel <lnussel@suse.com> 2011-11-02 13:09:41 CET --- *** Bug 725622 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=725622 -- 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