[MDEV-9481] cracklib_password_check fail to install Created: 2016-01-28  Updated: 2017-09-18  Resolved: 2017-09-18

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Plugins
Affects Version/s: 10.1.10
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Ze Yu Lin Assignee: Daniel Bartholomew
Resolution: Fixed Votes: 0
Labels: None
Environment:

Redhat 7



 Description   

Hi ,
I got an error message when installing the cracklib_password_check plugin :

ERROR 1126 (HY000): Can't open shared library '/usr/lib64/mysql/plugin/cracklib_password_check.so' (errno: 11, cannot open shared object file: No such file or directory)

I look at this plugin starting with MariaDB 10.1.2 ,but my MariaDB is 10.1.10 also can not find this plugin.



 Comments   
Comment by Elena Stepanova [ 2016-01-28 ]

We don't currently build cracklib_password_check on any RPM-based systems. The problem is the same as in MDEV-7305.

-- Looking for FascistCheckUser in crack
-- Looking for FascistCheckUser in crack - not found
-- Looking for include file crack.h
-- Looking for include file crack.h - not found

Results of the check for crack.h differ from system to system, but FascistCheckUser is universally absent.

serg, is it expected, or is there something we can install at least on newer builders?

Comment by Sergei Golubchik [ 2016-01-28 ]

dbart, rpm-based systems need cracklib-devel installed, otherwise cracklib_password_check won't be built

I've just tested in our fedora23 VM: run cmake, cracklib plugin is skipped, "sudo dnf install cracklib-devel", remove cmake cache, run cmake — cracklib plugin is enabled

Comment by Daniel Bartholomew [ 2016-02-04 ]

I've now installed cracklib-devel on the following build VMs:

  • vm-centos6-amd64-build.qcow2
  • vm-centos6-i386-build.qcow2
  • vm-centos7-amd64-build.qcow2
  • vm-fedora22-amd64-build.qcow2
  • vm-fedora22-i386-build.qcow2
  • vm-fedora23-amd64-build.qcow2
  • vm-fedora23-i386-build.qcow2

There is no cracklib-devel package available for CentOS 5 (at least, yum couldn't find one).

Comment by Daniel Bartholomew [ 2016-02-04 ]

cracklib-devel also now installed on:

  • vm-opensuse13-amd64-build.qcow2
  • vm-opensuse13-x86-build.qcow2
  • p8-rhel6
  • p8-rhel7
  • p8-rhel71
  • p8-suse12

There doesn't appear to be a cracklib-devel package for sles11 and our amd64 sles12 builder doesn't have one in the repository either, but since the p8-sles12 machine does have it, maybe it's in a repository we don't have configured on our amd64 sles12 build VM.

Comment by Daniel Bartholomew [ 2016-02-11 ]

serg and/or elenst: What should we do, if anything, about CentOS 5, SLES11 and SLES12? We should be good for all other RPM builders.

Comment by Elena Stepanova [ 2016-02-12 ]

I don't think CentOS 5 is a huge concern. It is 2 major releases old, I haven't even seen recently new external bugs where it would be mentioned.
SLES11 and especially 12 might be a concern, but IIRC SUSE build their own packages of MariaDB, maybe we should contact them? If they know where to get this cracklib, they can always enable it (and tell us), if not, there isn't much we can do.

Comment by Sergei Golubchik [ 2016-02-12 ]

Agree. If the OS does not provide a reasonably recent cracklib, we cannot build a cracklib_password_check plugin for it.

Comment by Jan Lindström (Inactive) [ 2017-04-19 ]

I have same problem in Debian 9. Can't these new plugins use conditional compilation, if you do not have a required library the tool is not compiled. Not so that you would need to dig up the required libraries to get cmake to pass.

Comment by Sergei Golubchik [ 2017-09-18 ]

cracklib is now installed where distribution provides it.

Generated at Thu Feb 08 07:34:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.