Skip to contentSkip to conversation

libpam: remove entries for pam_tally and pam_tally2

PATCH In review Andreas Müller 2 participants 2 messages Jan 12, 2021 – Jan 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libpam: remove entries for pam_tally and pam_tally2

Both were removed in 1.5.0 and one should use pam_faillock [1]

[1] https://github.com/linux-pam/linux-pam/releases/tag/v1.5.0

---
 meta/recipes-extended/pam/libpam_1.5.1.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-extended/pam/libpam_1.5.1.bb +0 -2
index 8c008a9701..f2f4fd91d6 100644
@@ -118,8 +118,6 @@ python populate_packages_prepend () {
                       'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='')
     pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_chkpwd')
     pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_update')
-    pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 'pam_tally')
-    pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 'pam_tally2')
     pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 'pam_timestamp_check')
     pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 'mkhomedir_helper')
     pam_plugin_append_file('%spam-plugin-console' % mlprefix, pam_sbindir, 'pam_console_apply')
Signature · 1 line
2.26.2
#1 lore raw
Quoted 14 lines · Andreas Müller

Both were removed in 1.5.0 and one should use pam_faillock [1]

[1] https://github.com/linux-pam/linux-pam/releases/tag/v1.5.0

---
 meta/recipes-extended/pam/libpam_1.5.1.bb | 2 --

 1 file changed, 2 deletions(-)
meta/recipes-extended/pam/libpam_1.5.1.bb +0 -0
index 8c008a9701..f2f4fd91d6 100644

meta/recipes-extended/pam/libpam_1.5.1.bb python populate_packages_prepend () { · line 123

Quoted 8 lines
meta/recipes-extended/pam/libpam_1.5.1.bb +0 -2
@@ -118,8 +118,6 @@ python populate_packages_prepend () {
                        'PAM plugin for %s', hook=pam_plugin_hook, extra_depends='')
      pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_chkpwd')
      pam_plugin_append_file('%spam-plugin-unix' % mlprefix, pam_sbindir, 'unix_update')
-    pam_plugin_append_file('%spam-plugin-tally' % mlprefix, pam_sbindir, 'pam_tally')
-    pam_plugin_append_file('%spam-plugin-tally2' % mlprefix, pam_sbindir, 'pam_tally2')
      pam_plugin_append_file('%spam-plugin-timestamp' % mlprefix, pam_sbindir, 'pam_timestamp_check')
      pam_plugin_append_file('%spam-plugin-mkhomedir' % mlprefix, pam_sbindir, 'mkhomedir_helper')
      pam_plugin_append_file('%spam-plugin-console' % mlprefix, pam_sbindir, 'pam_console_apply')

Just for info, this entire code block was removed by a different patch that came in a little earlier!

Cheers,

Richard