[Bug 326794] New: yast2-users reports encrypted home setup failure
https://bugzilla.novell.com/show_bug.cgi?id=326794 Summary: yast2-users reports encrypted home setup failure Product: openSUSE 10.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: mt@novell.com QAContact: jsrain@novell.com CC: mc@novell.com, crivera@novell.com Found By: --- /var/log/YaST2/y2log contains: 2007-09-20 13:39:43 <3> xanthos(22993) [bash] ShellCommand.cc(shellcommand):78 open: No such file or directory 2007-09-20 13:39:43 <3> xanthos(22993) [bash] ShellCommand.cc(shellcommand):78 Failed to setup pam_mount 2007-09-20 13:40:14 <3> xanthos(22993) [YCP] Report.ycp:484 open: No such file or directory Failed to setup pam_mount 2007-09-20 13:40:15 <1> xanthos(22993) [YCP] clients/users.ycp:210 Users module finished with true 2007-09-20 13:40:15 <1> xanthos(22993) [YCP] clients/users.ycp:211 ---------------------------------------- -- 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=326794#c1 --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2007-09-20 06:39:07 MST --- yast2-users-2.15.36-22 on x86_64 -- do you need more info? -- 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=326794#c2 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mt@novell.com --- Comment #2 from Jiří Suchomel <jsuchome@novell.com> 2007-09-21 00:26:51 MST --- What do you mean? You did setup encrypted homes and it failed or do you see this report although nothing was configured? -- 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=326794#c3 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mt@novell.com | --- Comment #3 from Marius Tomaschewski <mt@novell.com> 2007-09-21 05:17:05 MST --- Yes, I tried to setup encrypted home. First, in the second stage of the installation with the "initial user". The request was completely ignored -- normal user home created. Then, after the installation finished, I first deleted the user and tried it again - request ignored. I may be wrong, but it seems, that the request is always ignored for new users. Then, I tried to modify the existing user and it reported a failure (Failed to setup pam_mount) in the GUI and in the y2log file. But it looks like that the setup was successful. The user image and key created and the image gets mounted on login. Just the logout does not work correctly - see Bug #326802. -- 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=326794#c4 --- Comment #4 from Jiří Suchomel <jsuchome@novell.com> 2007-09-21 06:48:15 MST --- Created an attachment (id=173866) --> (https://bugzilla.novell.com/attachment.cgi?id=173866) patch for /usr/share/YaST2/modules/Users.pm Could you test this patch? -- 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=326794#c5 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |mt@novell.com --- Comment #5 from Jiří Suchomel <jsuchome@novell.com> 2007-09-21 06:58:48 MST --- I was not able to reproduce that pam_mount error, but I can confirm that enabling encrypted directories for new users doesn't work... -- 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=326794#c6 --- Comment #6 from Jiří Suchomel <jsuchome@novell.com> 2007-09-21 07:21:34 MST --- Stephan, it is not a blocker, but it is annoying and see in comment #4 how simple the patch is. Could I submit if Marius confirms it as fixed? -- 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=326794#c7 --- Comment #7 from Stephan Kulow <coolo@novell.com> 2007-09-21 08:21:07 MST --- fine with me -- 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=326794#c8 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|mt@novell.com | --- Comment #8 from Marius Tomaschewski <mt@novell.com> 2007-09-21 08:25:01 MST --- Yes, the patch from comment #4 fixes the problem, but I'd also change the order of the fixed lines: return 0 if ($home_size == 0 && $org_size == 0); # nothing to do + return 0 if (!defined $pw && !defined $new_pw); # no change without password provided :-( return 0 if ($home eq $org_home && $username eq $org_username && $home_size == $org_size && $pw eq $new_pw); - return 0 if (!defined $pw && !defined $new_pw); # no change without password provided :-( Just to make the defined checks before $pw eq $new_pw are compared. The "No such file or directory" and "Failed to setup pam_mount" messages are from cryptconfig: 14039 execve("/usr/sbin/cryptconfig", ["cryptconfig", "pm-enable", "--replace", "mt"], [/* 61 vars */]) = 0 [...] 14039 open("/etc/pam.d/gnome-passwd", O_RDWR|O_APPEND) = -1 ENOENT (No such file or directory) 14039 open("/usr/lib64/charset.alias", O_RDONLY) = -1 ENOENT (No such file or directory) 14039 open("/usr/lib64/gconv/gconv-modules.cache", O_RDONLY) = 3 14039 fstat(3, {st_mode=S_IFREG|0644, st_size=25488, ...}) = 0 14039 mmap(NULL, 25488, PROT_READ, MAP_SHARED, 3, 0) = 0x2b19a571d000 14039 close(3) = 0 14039 write(2, "open: No such file or directory\n", 32) = 32 14039 write(2, "Failed to enable pam_mount\n", 27) = 27 14039 exit_group(1) = ? So feel free to reassign to Chris Rivera. -- 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=326794#c9 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |crivera@novell.com --- Comment #9 from Jiří Suchomel <jsuchome@novell.com> 2007-09-21 08:28:10 MST ---
Yes, the patch from comment #4 fixes the problem, but I'd also change the order of the fixed lines:
Oh, thanks, I'll include your change in the package. But I thought it shouldn't hurt to compare undefined values with "eq", or does it? For the rest -> Chris. -- 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=326794#c10 --- Comment #10 from Michael Calmer <mc@novell.com> 2007-09-21 09:30:17 MST --- Chris: I thik it may happen that some files you expect in /etc/pam.d/ are not there. In Comment #8 it looks like gnome-passwd is not there. This may happen when gnome is not installed. I think you have to add a check. If the file does not exist ignore it. -- 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=326794 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major -- 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=326794#c11 --- Comment #11 from Chris Rivera <crivera@novell.com> 2007-09-27 16:12:44 MST --- Created an attachment (id=175327) --> (https://bugzilla.novell.com/attachment.cgi?id=175327) cryptconfig fix -- 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=326794#c12 --- Comment #12 from Chris Rivera <crivera@novell.com> 2007-09-27 16:13:33 MST --- The attached patch should fix the problem. You can also edit the service list in /etc/cryptconfig.conf as a temporary work around. -- 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=326794#c13 Chris Rivera <crivera@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #13 from Chris Rivera <crivera@novell.com> 2007-11-02 10:31:02 MST --- The attached patch has been submitted to STABLE. -- 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