#5751 Error: Unknown warnings category 'experimental::smartmatch' at /usr/share/dirsrv/updates/52updateAESplugin.pl line 9.
Closed: Fixed None Opened 8 years ago by adelton.

After upgrading IdM (4.2) on RHEL 7.2 to FreeIPA 4.3 from https://copr.fedorainfracloud.org/coprs/g/freeipa/freeipa-4-3-centos7/, in container we run

/usr/sbin/setup-ds.pl -u -s General.UpdateMode=offline

That is basically the same as run by post scriptlets of 389-ds-base, except that one is run with all redirect going to /dev/null.

This command fails with

# /usr/sbin/setup-ds.pl -u -s General.UpdateMode=offline
Error: not applying update /usr/share/dirsrv/updates/52updateAESplugin.pl. Error: Unknown warnings category 'experimental::smartmatch' at /usr/share/dirsrv/updates/52updateAESplugin.pl line 9.
BEGIN failed--compilation aborted at /usr/share/dirsrv/updates/52updateAESplugin.pl line 9.
Compilation failed in require at (eval 19) line 1.

Error: not applying update '/usr/share/dirsrv/updates/52updateAESplugin.pl'.  Error: Unknown warnings category 'experimental::smartmatch' at /usr/share/dirsrv/updates/52updateAESplugin.pl line 9.
BEGIN failed--compilation aborted at /usr/share/dirsrv/updates/52updateAESplugin.pl line 9.
Compilation failed in require at (eval 19) line 1.

Error: could not update the directory server.
Exiting . . .
Log file is '/tmp/setupGkhZO9.log'

Filing against FreeIPA because the problem comes from 389-ds-base-1.3.5-20160229010410.el7.centos.x86_64 from the FreeIPA repository.


It can also be seen by

curl -Lo /etc/yum.repos.d/pvoborni-freeipa-4-3-centos7-epel-7.repo https://copr.fedorainfracloud.org/coprs/g/freeipa/freeipa-4-3-centos7/repo/epel-7/pvoborni-freeipa-4-3-centos7-epel-7.repo
export DEBUGPOSTTRANS=/tmp/output
export DEBUGPOSTSETUP=-ddddd 
yum upgrade -y

and checking {{{/tmp/output}}} and {{{/tmp/output.upgrade}}}.

Was fixed by changing directory server build in https://copr.fedorainfracloud.org/coprs/g/freeipa/freeipa-4-3-centos-7/ to 1.3.4.8-1.1.el7.centos

Metadata Update from @adelton:
- Issue assigned to someone
- Issue set to the milestone: FreeIPA 4.3.2

7 years ago

Login to comment on this ticket.

Metadata