PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000806PacketFencecorepublic2009-09-28 15:422012-02-29 10:58
Reporterobilodeau 
Assigned Toobilodeau 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000806: Parse::RecDescent regression causing errors in admin interface
DescriptionError message is: Can't coerce GLOB to string in or at /usr/local/pf/bin/pfcmd line 1794.

It turns out that a newer Parse::RecDescent generate a pfcmd_pregrammar.pm that causes problems when pfcmd is called form the admin interface.

http://search.cpan.org/dist/Parse-RecDescent/ [^]

known buggy:
perl-Parse-RecDescent-1.962.2-1.el5.rf

known to work:
perl-Parse-RecDescent-1.94-1.el5.rf

Tasks:
- pin down specific version in packetfence's rpm spec
- find out what are we doing wrong in our usage or if its an upstream regression

Workaround for users who already installed (not tested):
rpm -e --nodeps perl-Parse-RecDescent
yum install perl-Parse-RecDescent-1.94

TagsNo tags attached.
fixed in git revision
fixed in mtn revision
Attached Files

- Relationships
child of 0000833closedobilodeau Parse::RecDescent 1.962 regression 

-  Notes
(0001315)
obilodeau (reporter)
2009-09-28 15:59

Increasing severity since anyone using the web admin to do management will experience problems.
(0001327)
rbalzard (administrator)
2009-10-13 11:28
edited on: 2009-10-13 11:31

Fixed temporarily the issue by seting the version to 1.94 in packetfence.spec.
This will stabilize v1.8.5.

fixed in revision c891b969c76b5c2d7c2ff3128bb7e9bd1bdfcbea

(0001369)
obilodeau (reporter)
2009-10-26 15:58

The fix was wrong. RecDescent is needed as a build dependency also. I pinned both requirement to 1.94.

Fixed in monotone at rev: 4153b5c682de89bb8b48a3395a6e90d974a1c4a2
http://mtn.inverse.ca/revision/info/4153b5c682de89bb8b48a3395a6e90d974a1c4a2 [^]

We'll test during the 1.9.x window and report upstream if still broken but no time right now.
(0001378)
obilodeau (reporter)
2009-10-30 10:19

doing a yum update will fetch the latest Parse::RecDescent it would seem, our rpm spec doesn't pin down a specific version..

increasing priority to get this fixed quickly
(0001379)
obilodeau (reporter)
2009-10-30 15:11

Fixed in the RPM spec by avoiding what seems to be a Require: bug with perl dependencies.

Mtn revision: 4520915c38a648ad954e8e2953fb53c0df0892c6

pushed new RPMs 1.8.5-2 to our yum repo
(0001380)
obilodeau (reporter)
2009-10-30 15:12

By the way, here is what a failed update attempt will look like:

[root@localhost pf]# yum update perl-Parse-RecDescent
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: mirrors.portafixe.com
 * base: mirror.unl.edu
 * extras: centos.mirror.nac.net
 * rpmforge: fr2.rpmfind.net
 * updates: mirrors.cmich.edu
Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: perl-Parse-RecDescent = 1.94 for package: packetfence
---> Package perl-Parse-RecDescent.noarch 0:1.962.2-1.el5.rf set to be updated
--> Finished Dependency Resolution
packetfence-1.8.5-2.el5.noarch from installed has depsolving problems
  --> Missing Dependency: perl-Parse-RecDescent = 1.94 is needed by package packetfence-1.8.5-2.el5.noarch 
(installed)
Error: Missing Dependency: perl-Parse-RecDescent = 1.94 is needed by package packetfence-1.8.5-2.el5.noarch 
(installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
(0001457)
obilodeau (reporter)
2010-01-19 10:45

To avoid updating perl-Parse-RecDescent:

yum update --exclude=perl-Parse-RecDescent

- Issue History
Date Modified Username Field Change
2009-09-28 15:42 obilodeau New Issue
2009-09-28 15:43 obilodeau Status new => assigned
2009-09-28 15:43 obilodeau Assigned To => obilodeau
2009-09-28 15:59 obilodeau Note Added: 0001315
2009-09-28 15:59 obilodeau Severity minor => major
2009-10-13 11:28 rbalzard Note Added: 0001327
2009-10-13 11:31 rbalzard Note Edited: 0001327
2009-10-13 11:32 rbalzard Category 1.8.5 => future
2009-10-26 15:58 obilodeau Note Added: 0001369
2009-10-30 10:19 obilodeau Note Added: 0001378
2009-10-30 10:19 obilodeau Priority normal => high
2009-10-30 15:11 obilodeau Note Added: 0001379
2009-10-30 15:11 obilodeau Status assigned => resolved
2009-10-30 15:11 obilodeau Resolution open => fixed
2009-10-30 15:12 obilodeau Note Added: 0001380
2009-10-30 15:17 obilodeau Relationship added child of 0000833
2010-01-19 10:45 obilodeau Note Added: 0001457
2011-01-26 15:43 obilodeau Status resolved => closed
2012-02-29 10:58 obilodeau Category future => core


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker