PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001468PacketFencecorepublic2012-06-14 15:112012-06-18 13:59
Reporter_KaszpiR_ 
Assigned Toobilodeau 
PriorityurgentSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version3.4.0 
Target Version3.4.1Fixed in Version3.4.1 
Summary0001468: Extra pipe chars in pfcmd - breaking configuration via zebui
Descriptionpfcmd interfaceconfig get all
reutruns extra pipe chars after interface, thus causing certain web pages (in administration area) to show wrong data and thus forbidding to edit values

Was upgrading from 3.3.2 to 3.4.0 on CentOs 6.

Affacted pages:
interfaces
networks
fingerprints (ends with segfault, related? not tested)
Additional Information[root@packetfence pf]# bin/pfcmd interfaceconfig get all
interface|ip|mask|type|enforcement|gateway
eth1||||monitor||
eth0||192.168.1.5|255.255.255.0|management||192.168.1.16
eth0.2||192.168.2.1|255.255.255.0|internal|vlan|192.168.2.1
eth0.3||192.168.3.1|255.255.255.0|internal|vlan|192.168.3.1
eth0.5||192.168.5.1|255.255.255.0|internal|inline|192.168.5.1
eth2||192.168.1.7|255.255.255.0|management|vlan|192.168.1.16
TagsNo tags attached.
fixed in git revision785324c910808542ad1b6c4d50cb3606368091e4
fixed in mtn revision
Attached Filespatch file icon 3.4.0-critical-config-field-order-fix.patch [^] (5,441 bytes) 2012-06-15 15:01 [Show Content]

- Relationships
has duplicate 0001472closed networks.conf via GUI and pfcmd fields do not line up 

-  Notes
(0002789)
_KaszpiR_ (reporter)
2012-06-14 15:12

just checked pfcmd interfaceconfig get all but looks like the rest is affected in similiar way.
(0002790)
pb1dft (reporter)
2012-06-14 15:51

Confirmed having the same issue with the same upgrade steps
(0002792)
_KaszpiR_ (reporter)
2012-06-14 16:19

1. fingerprints segfault was caused by php-eaccelerator.
2.I have not read upgrade manual, so I have deserved the punishment ;)
(0002799)
obilodeau (reporter)
2012-06-15 12:45

_KaszpiR_, can you elaborate on 1. Can we do anything about it? Is it enabled by default?
(0002800)
obilodeau (reporter)
2012-06-15 15:02

Attached a patch for the regression affecting interface, network, floating-device and violation management in Web Admin and CLI.

Please try it out and let me know if it fixes your issue.
(0002807)
_KaszpiR_ (reporter)
2012-06-16 02:09

1. Treat php-eaccelerator as a feature, not a bug. php-eaccelerator is not installed by default, just wanted to experiment if it gonna help a bit - it helps in certain situations, but looks like configuration/fingerprint.php is producing too much output for eaccelerator to handle - I have disabled it.
(0002811)
obilodeau (reporter)
2012-06-18 13:57

marking bug as fixed in stable.
(0002812)
obilodeau (reporter)
2012-06-18 13:59

fix released today in 3.4.1

- Issue History
Date Modified Username Field Change
2012-06-14 15:11 _KaszpiR_ New Issue
2012-06-14 15:12 _KaszpiR_ Note Added: 0002789
2012-06-14 15:51 pb1dft Note Added: 0002790
2012-06-14 16:02 obilodeau Status new => assigned
2012-06-14 16:02 obilodeau Assigned To => obilodeau
2012-06-14 16:19 _KaszpiR_ Note Added: 0002792
2012-06-15 12:34 obilodeau Relationship added has duplicate 0001472
2012-06-15 12:45 obilodeau Note Added: 0002799
2012-06-15 15:01 obilodeau File Added: 3.4.0-critical-config-field-order-fix.patch
2012-06-15 15:02 obilodeau Note Added: 0002800
2012-06-15 15:03 obilodeau Status assigned => feedback
2012-06-15 15:22 obilodeau Priority normal => urgent
2012-06-16 02:09 _KaszpiR_ Note Added: 0002807
2012-06-18 13:57 obilodeau git revision => 785324c910808542ad1b6c4d50cb3606368091e4
2012-06-18 13:57 obilodeau Note Added: 0002811
2012-06-18 13:57 obilodeau Status feedback => resolved
2012-06-18 13:57 obilodeau Fixed in Version => +1
2012-06-18 13:57 obilodeau Resolution open => fixed
2012-06-18 13:59 obilodeau Note Added: 0002812
2012-06-18 13:59 obilodeau Status resolved => closed
2012-06-18 13:59 obilodeau Fixed in Version +1 => 3.4.1
2012-06-18 13:59 obilodeau Target Version => 3.4.1


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker