PacketFence - BTS - PacketFence
View Issue Details
0000902PacketFenceupstreampublic2010-02-08 12:542015-02-13 15:35
obilodeau 
 
normalminoralways
closedopen 
1.8.7 
investigate 
0000902: Net::Telnet and Net::Appliance::Session use alarm() for timeout which is incompatible with threaded perl
This is a problem because we need to set a global sig alrm handler and we have no context information to properly report the error. Also, even after the alarm, the telnet call will hang until the low-level socket times out which takes 2-3 minutes..

Net::Appliance::Session uses Net::Telnet internally.

Reported upstream: https://rt.cpan.org/Public/Bug/Display.html?id=54415 [^]

This bug will track upstream's status.
Another bug will be open for the workaround.
No tags attached.
related to 0000796closed obilodeau pfsetvlan doesn't deal with Alarm signals (SIGALRM) 
related to 0000903closed obilodeau trying to find MAC address on ifIndex x30 times can be very long 
related to 0000907closed obilodeau pfsetvlan doesn't need to stop on SIGALRM 
related to 0000909closed  use pfcmd_vlan for modules relying on Net::Telnet 
Issue History
2010-02-08 12:54obilodeauNew Issue
2010-02-08 12:55obilodeauStatusnew => assigned
2010-02-08 12:55obilodeauAssigned To => obilodeau
2010-02-08 13:09obilodeauRelationship addedrelated to 0000796
2010-02-08 13:15obilodeauRelationship addedrelated to 0000903
2010-02-09 10:36obilodeauRelationship addedrelated to 0000907
2010-02-09 14:23obilodeauRelationship addedrelated to 0000909
2010-05-05 13:44obilodeauNote Added: 0001551
2010-05-05 13:44obilodeauCategory1.8.7 => upstream
2010-05-05 13:44obilodeauProduct Version => 1.8.7
2011-01-18 12:03obilodeauTarget Version => trunk
2012-10-19 14:57fgaudreaultAssigned Toobilodeau =>
2012-10-19 14:57fgaudreaultTarget Versiondevel => investigate
2012-10-19 14:57fgaudreaultNote Added: 0003206
2015-02-13 15:35lmunroNote Added: 0003752
2015-02-13 15:35lmunroStatusassigned => closed

Notes
(0001551)
obilodeau   
2010-05-05 13:44   
This bug is mitigated in the upcoming 1.9.0. Upstream is unlikely to fix so the recommendation in 0000909 would be the way to go.
(0003206)
fgaudreault   
2012-10-19 14:57   
Check the status of this.
(0003752)
lmunro   
2015-02-13 15:35   
No longer relevant.