PacketFence - BTS - PacketFence
View Issue Details
0000900PacketFenceerror-handlingpublic2010-01-28 13:072015-02-13 15:26
obilodeau 
 
normalminoralways
closedopen 
 
 
0000900: we should detect if we are enabled everytime it's relevant for Net::Appliance::Session
right now, there is privilege_mode code in comments instead we should use in_privileged_mode() like I did in ISR_1800.pm:

    # are we in enabled mode?
    if (!$session->in_privileged_mode()) {
    
        # let's try to enable
        if (!$session->enable($this->{_cliEnablePwd})) {
            $logger->error("Cannot get into privileged mode on ".$this->{'ip'}.
                           ". Are you sure you provided enable password in configuration?");
            
$session->close();
            return %macBridgePortHash;
        }
    }
No tags attached.
related to 0001370closed obilodeau Net::Appliance::Session privilege detection broken resulting into a thread crash 
Issue History
2010-01-28 13:07obilodeauNew Issue
2010-01-28 13:07obilodeauStatusnew => assigned
2010-01-28 13:07obilodeauAssigned To => obilodeau
2010-04-15 17:43obilodeauProjectPacketFence 1.9 => PacketFence
2011-01-18 11:43obilodeauTarget Version => trunk
2012-01-24 15:29obilodeauNote Added: 0002546
2012-01-24 15:32obilodeauNote Edited: 0002546
2012-01-24 15:32obilodeauRelationship addedrelated to 0001370
2012-01-25 14:52obilodeauNote Added: 0002550
2012-10-19 14:17fgaudreaultAssigned Toobilodeau =>
2012-10-19 14:17fgaudreaultTarget Versiondevel => general
2015-02-13 15:26lmunroNote Added: 0003689
2015-02-13 15:26lmunroStatusassigned => closed

Notes
(0002546)
obilodeau   
2012-01-24 15:29   
(edited on: 2012-01-24 15:32)
apparently the above code doesn't work see 0001370

(0002550)
obilodeau   
2012-01-25 14:52   
when re-implemented properly don't forget to remove notice that was added in the Admin guide during the 0001370 work-around
(0003689)
lmunro   
2015-02-13 15:26   
Old issues.
Most are not relevant to PF 4 and up.

Let's reopen the ones that matter when we move to github.