PacketFence - BTS - PacketFence
View Issue Details
0000838PacketFencepublic2009-11-04 01:302011-01-26 15:43
MrGary 
obilodeau 
normalminoralways
closedfixed 
 
 
0000838: Missing IPC::Cmd use in services.pm
Uncaught exception from user code:
        Undefined subroutine &pf::services::can_run called at /usr/local/pf/lib/pf/services.pm line 384.
 at /usr/local/pf/lib/pf/services.pm line 384
        pf::services::manage_Static_Route(1) called at /usr/local/pf/lib/pf/services.pm line 133
        pf::services::service_ctl('named', 'start') called at /usr/local/pf/bin/pfcmd line 1059
        main::service() called at /usr/local/pf/bin/pfcmd line 172
        main::__ANON__() called at /usr/local/pf/bin/pfcmd line 186
I have to add "use IPC::Cmd qw[can_run run];" (from synopsis of IPC::Cmd) to solve this problem
No tags attached.
Issue History
2009-11-04 01:30MrGaryNew Issue
2009-11-05 14:57obilodeauStatusnew => assigned
2009-11-05 14:57obilodeauAssigned To => obilodeau
2009-11-05 15:01obilodeauNote Added: 0001386
2009-11-09 11:03obilodeauNote Added: 0001394
2009-11-09 11:03obilodeauStatusassigned => resolved
2009-11-09 11:03obilodeauResolutionopen => fixed
2011-01-26 15:43obilodeauStatusresolved => closed

Notes
(0001386)
obilodeau   
2009-11-05 15:01   
We are aware of the issue but we haven't released an update yet because we thought it only affects people using routed VLANs and there is no a lot of packetfence users using that yet.

Are you using routed VLANs in your environment?
(0001394)
obilodeau   
2009-11-09 11:03   
Fixed in monotone: http://mtn.inverse.ca/revision/info/e536d8c6d321fc700ad2e512ea76c5b589c4d429 [^]
I will close the bug when 1.8.6 will be released with this fix so you'll be able to upgrade.