Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7298

plugins.cracklib_password_check test fails

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.1.2
    • Fix Version/s: 10.1
    • Component/s: Tests
    • Labels:
      None
    • Environment:
      Gentoo with cracklib-2.9.1

      Description

      plugins.cracklib_password_check          w2 [ fail ]
              Test ended at 2014-12-09 19:33:51
      
      CURRENT_TEST: plugins.cracklib_password_check
      --- /var/tmp/portage/dev-db/mariadb-10.1.2_alpha/work/mysql/mysql-test/suite/plugins/r/cracklib_password_check.result   2014-
      12-05 02:21:22.000000000 -0500
      +++ /var/tmp/portage/dev-db/mariadb-10.1.2_alpha/work/mysql/mysql-test/suite/plugins/r/cracklib_password_check.reject   2014-
      12-09 19:33:50.970786680 -0500
      @@ -35,7 +35,7 @@
       ERROR HY000: Your password does not satisfy the current policy requirements
       show warnings;
       Level  Code    Message
      -Warning        1819    cracklib: it is based on your username
      +Warning        1819    cracklib: it is based on a dictionary word
       Error  1819    Your password does not satisfy the current policy requirements
       grant select on *.* to foobar identified by 'qwerty';
       ERROR HY000: Your password does not satisfy the current policy requirements
      
      mysqltest: Result length mismatch
      
      
      Warnings from just before the error:
      Warning 1819 cracklib: it is based on a dictionary word
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            elenst Elena Stepanova added a comment -

            Sergei Golubchik,

            I don't have gentoo with cracklib-2.9.1 to check (and have some problems with my VM while trying to install it), I assume you do have it, so you can check it quicker.

            On Trusty the test passes. Maybe 'foobar' is a dictionary word on Gentoo, or something?

            Show
            elenst Elena Stepanova added a comment - Sergei Golubchik , I don't have gentoo with cracklib-2.9.1 to check (and have some problems with my VM while trying to install it), I assume you do have it, so you can check it quicker. On Trusty the test passes. Maybe 'foobar' is a dictionary word on Gentoo, or something?
            Hide
            serg Sergei Golubchik added a comment -

            May be. I have gentoo with sys-libs/cracklib-2.9.1-r1. And by default it doesn't have a dictionary (no file at the location of the default dictionary path). May be Brian Evans has installed a dictionary file. Doesn't matter, really, a test shouldn't rely on system dictionary file anyway. I'll try a custom dictionary file or a /dev/null for a dictionary path.

            Show
            serg Sergei Golubchik added a comment - May be. I have gentoo with sys-libs/cracklib-2.9.1-r1. And by default it doesn't have a dictionary (no file at the location of the default dictionary path). May be Brian Evans has installed a dictionary file. Doesn't matter, really, a test shouldn't rely on system dictionary file anyway. I'll try a custom dictionary file or a /dev/null for a dictionary path.

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                grknight Brian Evans
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: