Bug #248
Policyd 2.0.12 don`t work with perl 5.10
| Status: | New | Start date: | 2012-05-31 | |
|---|---|---|---|---|
| Priority: | Urgent | Due date: | ||
| Assignee: | Nigel Kukard | % Done: | 0% |
|
| Category: | - | |||
| Target version: | v2.0.12 |
Description
Policyd 2.0.12 doesn't work with perl 5.10.
- Environment
- Tested on CentOS 5 (perl 5.8) and CentOS 6 (perl 5.10)
- Description
- Using the Quota module with a simple ruleset for testing purposes, the session_tracking table gets updated, but the quotas_tracking table remains untouched. No exception, or errors on the logs, even in debug mode.
- Moving the same version of policyd to a server with perl 5.8, using the same config file and the same ruleset, the tests were okay.
History
Updated by Robert Anderson 12 months ago
- File policyd.sql.gz added
Struggling to reproduce this using the following:
Centos 6.2
Perl 5.10.1
MySQL 5.1.61
Attached is a mysqldump of what I'm using to test. Please show a dump of your policyd db from where the tests were run. If there are any more details on the steps taken to reproduce this please log them here.
Updated by Robert Anderson 12 months ago
- File policyd.sql.gz added
Sorry about that - see this attachment.
Updated by André Gustavo Lopes 12 months ago
- File policyd-data.zip added
Hi,
Tested the attached dump, on my centos 6.2 server, no change. I can see the debug informatin for RCPT and EOM, but the table quotas_tracking remains untouched.
I have also basically the same version of the mentioned packages (mysql, policyd and perl). I'm trying a long shot here right now, updating all my perl modules via CPAN, considering some of my modules may be stale.
Attached, my db dump, which isn't working as well, and the latest logs,
Updated by Robert Anderson 12 months ago
Were any changes made to the database before / after you generated the log? What policy is ID 6?
Could you disable policies / quotas you aren't using and make sure the policy you wish to use will match what you're after?
Updated by André Gustavo Lopes 12 months ago
- File new_policyd.log added
Hi Robert,
I've uploaded your dump to my database again, "as-is", and took the logs, (attached).
Just 1 policy within, id 6
mysql> select * from policies;---------------+----------+-------------------------+----------+
| ID | Name | Priority | Description | Disabled |---------------+----------+-------------------------+----------+
| 6 | Test Policy | 50 | Yet another test policy | 0 |---------------+----------+-------------------------+----------+
Updated by Robert Anderson 12 months ago
- File logs.tar.gz added
Attached are my results using the same database..
Could you post the same set of logs for your results?
Updated by Robert Anderson 12 months ago
Would you be able to give us access to a sandbox environment with the setup you're using so that we can check configuration, etc. ?
Updated by Anthony P V 11 months ago
Hi,
I too am having the same problem. I am happy to run testing code. I can give ssh access to the server.
Let me know how I can help.
Please note that I am not a programmer.
P.V.Anthony
Updated by Corey Hoffman 11 months ago
This may be caused by an old version of List::MoreUtils in the EPEL repository:
https://rt.cpan.org/Public/Bug/Display.html?id=77930
https://bugzilla.redhat.com/show_bug.cgi?id=828251
I had the same problem on Redhat 5. It was fixed when installing the latest List::MoreUtils from CPAN.
Updated by Anthony P V 11 months ago
Did a cpan install of List::MoreUtils and it stated that it is the latest version 0.33.
The problem with the quota module is still there.