PacketFence - BTS - PacketFence
View Issue Details
0001524PacketFencedhcppublic2012-08-22 10:522015-02-13 15:42
obilodeau 
 
normalminorrandom
closedopen 
 
 
0001524: pfdhcplistener deadlocks
Aug 21 12:20:44 pfdhcplistener(1862) INFO: oldip (192.168.1.4) and newip (172.19.12.11) are different for 68:a8:6d:be:f3:94 - closing iplog entry (main::update_iplog)
Aug 21 12:20:44 pfdhcplistener(1864) INFO: oldip (192.168.1.4) and newip (172.19.12.11) are different for 68:a8:6d:be:f3:94 - closing iplog entry (main::update_iplog)
Aug 21 12:20:44 pfdhcplistener(1864) WARN: database query failed with: Deadlock found when trying to get lock; try restarting transaction. (errno: 1213), will try again (pf::db::db_query_execute)
No tags attached.
Issue History
2012-08-22 10:52obilodeauNew Issue
2012-08-22 11:00obilodeauNote Added: 0002959
2015-02-13 15:42lmunroNote Added: 0003831
2015-02-13 15:42lmunroStatusnew => closed

Notes
(0002959)
obilodeau   
2012-08-22 11:00   
Might happened more than before because of the VLAN decapsulation issue François told me about.

In a nutshell, if you have:

eth0.100
eth0

Then since the pfdhcplistener VLAN decapsulation support. The same dhcp packet will act on both interfaces. Both are probably trying to update the iplog with the same information at the same time.
(0003831)
lmunro   
2015-02-13 15:42   
These bugs have been sitting untouched since 2012.
Closing them and possibly reopening in github tracker where relevant.