[Bug 1174619] New: AutoYaST fails to set dictpath for pam_cracklib
https://bugzilla.suse.com/show_bug.cgi?id=1174619 Bug ID: 1174619 Summary: AutoYaST fails to set dictpath for pam_cracklib Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: AutoYaST Assignee: yast2-maintainers@suse.de Reporter: aschnell@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Using <security t="map"> <cracklib_dict_path>/usr/lib/cracklib_dict_tata</cracklib_dict_path> <passwd_use_cracklib>yes</passwd_use_cracklib> <pass_min_len>12</pass_min_len> </security> AutoYaST fails to set the dictpath. From the logs: modules/Pam.rb:87 pam-config for --cracklib-dictpath=/usr/lib/cracklib_dict_tata returned $["exit":1, "stderr":"pam-config: invalid option -- ----cracklib-dictpath=/usr/lib/cracklib_dict_tata\nTry `pam-config --help' or `pam-config --usage' for more information.\n", "stdout":""] The problem is at https://github.com/yast/yast-security/blob/master/src/modules/Security.rb#L5...: Pam.Add("--cracklib-dictpath=#{pth}") should be Pam.Add("cracklib-dictpath=#{pth}") since Pam.Add does add the "--". -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 Arvin Schnell <aschnell@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Development -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 https://bugzilla.suse.com/show_bug.cgi?id=1174619#c1 --- Comment #1 from Arvin Schnell <aschnell@suse.com> --- Created attachment 840120 --> https://bugzilla.suse.com/attachment.cgi?id=840120&action=edit YaST logs -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 https://bugzilla.suse.com/show_bug.cgi?id=1174619#c2 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |CONFIRMED URL| |https://trello.com/c/AppUwK | |8q Assignee|yast2-maintainers@suse.de |yast-internal@suse.de --- Comment #2 from Steffen Winterfeldt <snwint@suse.com> --- Adding to YaST Scrum board. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 https://bugzilla.suse.com/show_bug.cgi?id=1174619#c3 --- Comment #3 from Arvin Schnell <aschnell@suse.com> --- The PR https://github.com/yast/yast-security/pull/70 fixes the problem for master. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 https://bugzilla.suse.com/show_bug.cgi?id=1174619#c4 Steffen Winterfeldt <snwint@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #4 from Steffen Winterfeldt <snwint@suse.com> --- fix for SLE15-SP2: https://github.com/yast/yast-security/pull/73 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 https://bugzilla.suse.com/show_bug.cgi?id=1174619#c6 --- Comment #6 from Swamp Workflow Management <swamp@suse.de> --- SUSE-RU-2020:2764-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1174619 CVE References: JIRA References: Sources used: SUSE Linux Enterprise Module for Basesystem 15-SP2 (src): yast2-security-4.2.13-3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1174619 https://bugzilla.suse.com/show_bug.cgi?id=1174619#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> --- openSUSE-RU-2020:1588-1: An update that has one recommended fix can now be installed. Category: recommended (moderate) Bug References: 1174619 CVE References: JIRA References: Sources used: openSUSE Leap 15.2 (src): yast2-security-4.2.13-lp152.2.3.1 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com