PacketFence - BTS - PacketFence
View Issue Details
0000805PacketFencepackagingpublic2009-09-28 11:432011-01-26 15:38
obilodeau 
obilodeau 
normaltweakhave not tried
closedfixed 
 
1.8.5 
0000805: packetfence's init.d script condrestart not optimal
the init.d script checks var/pfmon.pid presence but for vlan isolation checking for var/pfsetvlan.pid would be more relevant

Should we rework that?

Causes problems when pfmon is crashed then logrotation happens and packetfence is not restarted because pfmon.pid is missing. snmptrapd now puts traps in snmptrapd.log.1 (a known log rotation effect) but pfsetvlan switches to snmptrapd.log because of File::Tail which intelligently detects log rotations. End effect: all daemons work but no trap are handled.
No tags attached.
Issue History
2009-09-28 11:43obilodeauNew Issue
2009-09-28 11:43obilodeauStatusnew => assigned
2009-09-28 11:43obilodeauAssigned To => obilodeau
2009-10-13 14:07rbalzardNote Added: 0001330
2009-10-13 14:07rbalzardStatusassigned => resolved
2009-10-13 14:07rbalzardResolutionopen => fixed
2010-11-01 10:38obilodeauNote Added: 0001743
2010-11-01 10:38obilodeauCategory => 1.10.x
2010-11-01 10:38obilodeauFixed in Version => 1.8.5
2010-11-19 14:28obilodeauCategory1.10.x => 2.x
2010-11-19 14:49obilodeauCategory2.x => packaging
2011-01-26 15:38obilodeauStatusresolved => closed

Notes
(0001330)
rbalzard   
2009-10-13 14:07   
Added test in condrestart to check if pfsetvlan.pid exists. If so, restart packetfence.

fixed in revision ddefa0a918494a61932e056eba8f5c7c52b433f7
(0001743)
obilodeau   
2010-11-01 10:38   
fix released in 1.8.5. identifying issue as such