PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001349PacketFencecorepublic2011-12-21 06:282011-12-30 23:44
Reportermaikel 
Assigned Toobilodeau 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Versiondevel 
Target Version3.1.0Fixed in Version3.1.0 
Summary0001349: Centos 6.1 fails to start packetfence
Description[root@ds3 html]# /etc/init.d/packetfence start
Starting PacketFence...Bad arg length for NetAddr::IP::Util::inet_ntoa, length is 16, should be 4 at /usr/local/pf/lib/pf/config.pm line 652.
Compilation failed in require at /usr/local/pf/bin/pfcmd line 75.
BEGIN failed--compilation aborted at /usr/local/pf/bin/pfcmd line 75.


Its linked to this part of code in config.pm around line 652

    for my $i (0 .. $#masks) {
        return inet_ntoa($addresses[$i]) if (inet_ntoa($masks[$i]) eq '255.255.255.255');
    }


TagsNo tags attached.
fixed in git revision
fixed in mtn revision39047cf67d4ed11e3f12ec117763f0089aa96253
Attached Filespatch file icon virtual-ip-detection-crasher-fix.patch [^] (1,215 bytes) 2011-12-21 14:02 [Show Content]

- Relationships

-  Notes
(0002474)
obilodeau (reporter)
2011-12-21 09:22

I bet this is IPv6 related! 4 byte vs 16 bytes.

Thanks for testing out trunk and letting us know. We plan to release really soon. This is appreciated!
(0002477)
obilodeau (reporter)
2011-12-21 14:14

Try the attached patch. It should work. Re-open the ticket if not.

In any case we will be re-validating trunk against CentOS 6 today or tomorrow.

Thanks for the report.
(0002502)
obilodeau (reporter)
2011-12-30 23:40

Released in version 3.1.0.

- Issue History
Date Modified Username Field Change
2011-12-21 06:28 maikel New Issue
2011-12-21 09:21 obilodeau Status new => assigned
2011-12-21 09:21 obilodeau Assigned To => obilodeau
2011-12-21 09:22 obilodeau Note Added: 0002474
2011-12-21 09:22 obilodeau Target Version => +1
2011-12-21 14:02 obilodeau File Added: virtual-ip-detection-crasher-fix.patch
2011-12-21 14:14 obilodeau mtn revision => 39047cf67d4ed11e3f12ec117763f0089aa96253
2011-12-21 14:14 obilodeau Note Added: 0002477
2011-12-21 14:14 obilodeau Status assigned => resolved
2011-12-21 14:14 obilodeau Fixed in Version => trunk
2011-12-21 14:14 obilodeau Resolution open => fixed
2011-12-30 23:28 obilodeau Fixed in Version trunk => 3.1.0
2011-12-30 23:33 obilodeau Target Version +1 => 3.1.0
2011-12-30 23:40 obilodeau Note Added: 0002502
2011-12-30 23:44 obilodeau Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker