[Maria-developers] Fixes for PAM plugin in packages
Hi Serg, As promised, here a summary of what I did to fix PAM in linux packages. I managed to fix most issues I think (except for RHEL5 as noted below), but it needs testing, which takes time due to waiting for Buildbot. - I installed libpam0g-dev in all the VMs for .deb and bintar packages. I checked on one of them that this really does cause pam modules to build and install. - I installed pam-devel on the centos5 VMs. I also tried on the rhel5, but failed. These VMs seem to require some sort of license key or something to install packages with yum, which I don't have. Maybe Daniel can sort it out (all that is needed is `sudo yum install pam-devel` in vm-rhel5-amd64-build.qcow2 and vm-rhel5-x86-build.qcow2). - I hacked .deb packaging scripts (ourdelta scripts) so that dialog.so is in the libmariadbclient16 package (it used to be in the mariadb-server-5.[23] package). I did this for 5.2 and 5.3 (not 5.1). - The dialog.so change could cause an upgrade problem I think - installing new libmariadbclient16 package on top of old mariadb-server-5.[23] package will conflict because they both contain /usr/lib/mysql/plugin/dialog.so. I tried to fix this by declaring a conflicts: dependency which should allow Apt to sort it out. I hope it works - .deb dependencies can be tricky, hopefully buildbot Upgrade tests will catch any problems. - I did not change RPM packages wrt. dialog.so. I don't know if it is needed, nor how to do it... What remains is basically testing. First checking Buildbot when it has chewed through all the builds. It might be a good idea also to test manually a couple packages that the PAM plugin is in there and actually works according to instructions on the knowledgebase. - Kristian.
On Wed, 21 Dec 2011 16:09:24 +0100 Kristian Nielsen <knielsen@knielsen-hq.org> wrote: <snip> Kristian> - I installed pam-devel on the centos5 VMs. I also tried on Kristian> the rhel5, but failed. These VMs seem to require some sort of Kristian> license key or something to install packages with yum, which Kristian> I don't have. Maybe Daniel can sort it out (all that is Kristian> needed is `sudo yum install pam-devel` in Kristian> vm-rhel5-amd64-build.qcow2 and vm-rhel5-x86-build.qcow2). </snip> I've installed pam-devel on the following VMs on terrier: vm-rhel5-amd64-build-cmake.qcow2 vm-rhel5-amd64-build.qcow2 vm-rhel5-x86-build.qcow2 (I wasn't sure if I needed to do it on the cmake VM, but I thought I'd better, just to be safe). I'm scp'ing the updated VMs over to terrier2 now. What I had to do was run rhn_register on each VM prior to running the yum command. I also had to remove them from https://rhn.redhat.com/rhn/systems/Overview.do after they were updated so I could do the same thing on the other VMs. The RHN login information is in the Internal wiki on the Infrastructure page. Thanks. -- Daniel Bartholomew MariaDB - http://mariadb.org Monty Program - http://montyprogram.com AskMonty Knowledgebase - http://kb.askmonty.org
participants (2)
-
Daniel Bartholomew
-
Kristian Nielsen