PacketFence - BTS - PacketFence |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0001468 | PacketFence | core | public | 2012-06-14 15:11 | 2012-06-18 13:59 |
|
Reporter | _KaszpiR_ | |
Assigned To | obilodeau | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 3.4.0 | |
Target Version | 3.4.1 | Fixed in Version | 3.4.1 | |
fixed in git revision | 785324c910808542ad1b6c4d50cb3606368091e4 |
fixed in mtn revision | |
|
Summary | 0001468: Extra pipe chars in pfcmd - breaking configuration via zebui |
Description | pfcmd 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) |
Steps To Reproduce | |
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 |
Tags | No tags attached. |
Relationships | has duplicate | 0001472 | closed | | networks.conf via GUI and pfcmd fields do not line up |
|
Attached Files | 3.4.0-critical-config-field-order-fix.patch (5,441) 2012-06-15 15:01 https://www.packetfence.org/bugs/file_download.php?file_id=147&type=bug |
|
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 |
Notes |
|
|
just checked pfcmd interfaceconfig get all but looks like the rest is affected in similiar way. |
|
|
(0002790)
|
pb1dft
|
2012-06-14 15:51
|
|
Confirmed having the same issue with the same upgrade steps |
|
|
|
1. fingerprints segfault was caused by php-eaccelerator.
2.I have not read upgrade manual, so I have deserved the punishment ;) |
|
|
|
_KaszpiR_, can you elaborate on 1. Can we do anything about it? Is it enabled by default? |
|
|
|
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. |
|
|
|
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. |
|
|
|
marking bug as fixed in stable. |
|
|
|
fix released today in 3.4.1 |
|