Anonymous | Login | 2024-11-22 04:11 EST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0001252 | PacketFence | web admin | public | 2011-08-24 10:21 | 2011-09-21 22:16 | |||
Reporter | psnizek | |||||||
Assigned To | obilodeau | |||||||
Priority | normal | Severity | minor | Reproducibility | always | |||
Status | closed | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | 2.2.1 | |||||||
Target Version | Fixed in Version | 3.0.0 | ||||||
Summary | 0001252: add a pfcmd_pregrammar.pm test in checkup | |||||||
Description | concerns: pf 2.2.1 tarball. updating a network record via web admin (pls. see summary) fails with the error shown in Additional Information. I checked a freshly downloaded 2.2.1 tarball. The file pfcmd_pregrammar.pm is missing. Bug 0000778 already dealt with this some time ago. | |||||||
Additional Information | Error: Problems executing 'PFCMD networkconfig edit 192.168.2.0 type="registration", netmask="255.255.255.0", gateway="192.168.2.1", pf_gateway="192.168.2.254", named="enabled", dhcpd="enabled", domain-name="registration.localdomain", dns="192.168.2.1", dhcp_start="192.168.2.10", dhcp_end="192.168.2.200", dhcp_default_lease_time="300", dhcp_max_lease_time="600"' /usr/local/pf/lib /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /usr/local/pf/lib/pf/pfcmd.pm line 454 (0000001) Can't locate pf/pfcmd/pfcmd_pregrammar.pm in @INC (@INC contains: /usr/local/pf/lib /usr/lib/perl5/5.10.1/i486-linux-thread-multi /usr/lib/perl5/5.10.1 /usr/lib/perl5/site_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i486-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl .) at /usr/local/pf/lib/pf/pfcmd.pm line 454. at /usr/local/pf/lib/pf/pfcmd.pm line 454 pf::pfcmd::parseWithGrammar('networkconfig edit 192.168.2.0 type="registration", netmask="...') called at /usr/local/pf/lib/pf/pfcmd.pm line 435 pf::pfcmd::parseCommandLine('networkconfig edit 192.168.2.0 type="registration", netmask="...') called at /usr/local/pf/bin/pfcmd line 152 | |||||||
Tags | No tags attached. | |||||||
fixed in git revision | ||||||||
fixed in mtn revision | 9560f7b3525029e212a1faa7972ecbe6b7e470b6 | |||||||
Attached Files | ||||||||
Notes | |
(0002152) obilodeau (reporter) 2011-08-24 10:24 |
You _must_ run installer.pl on every installation. It will generate the pfcmd_pregrammar.pm file. Users of packaged versions get one generated at build time as a fallback if they don't run installer.pl. I'll keep this issue open to remember adding a test to pf::pfcmd::checkup against it and prevent packetfence from starting. |
(0002153) psnizek (reporter) 2011-08-24 10:43 |
Thanks for that. |
(0002199) obilodeau (reporter) 2011-09-13 10:50 |
added the test in pfcmd checkup providing guidance if the file is not there |
(0002242) obilodeau (reporter) 2011-09-21 22:15 |
fix released in 3.0 |
Issue History | |||
Date Modified | Username | Field | Change |
2011-08-24 10:21 | psnizek | New Issue | |
2011-08-24 10:24 | obilodeau | Note Added: 0002152 | |
2011-08-24 10:43 | psnizek | Note Added: 0002153 | |
2011-09-08 15:12 | obilodeau | Summary | web admin: configuration -> networks -> updating a record fails with missing pfcmd/pfcmd_pregrammar.pm => add a pfcmd_pregrammar.pm test in checkup |
2011-09-13 10:36 | obilodeau | Status | new => assigned |
2011-09-13 10:36 | obilodeau | Assigned To | => obilodeau |
2011-09-13 10:50 | obilodeau | mtn revision | => 9560f7b3525029e212a1faa7972ecbe6b7e470b6 |
2011-09-13 10:50 | obilodeau | Note Added: 0002199 | |
2011-09-13 10:50 | obilodeau | Status | assigned => resolved |
2011-09-13 10:50 | obilodeau | Fixed in Version | => trunk |
2011-09-13 10:50 | obilodeau | Resolution | open => fixed |
2011-09-21 22:07 | obilodeau | Fixed in Version | trunk => 3.0.0 |
2011-09-21 22:15 | obilodeau | Note Added: 0002242 | |
2011-09-21 22:16 | obilodeau | Status | resolved => closed |
Copyright © 2000 - 2012 MantisBT Group |