SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0000761: Kernel or openvpn bug ? - MantisBT
MantisBT - Endian Firewall
View Issue Details
0000761Endian FirewallHardware related (kernel, drivers, hardware)public2008-05-06 14:372009-10-27 12:03
Thomas Heimann 
ra-endian 
normalmajorsometimes
closedfixed 
2.2-beta4 
2.2-rc1 
0000761: Kernel or openvpn bug ?
Hi

I got this twice today in /var/log/messages:

May 6 12:12:21 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:12:31 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:12:41 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:12:52 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:13:02 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:13:12 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:13:22 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:13:32 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:13:42 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:13:53 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
May 6 12:14:03 gate kernel: unregister_netdevice: waiting for tap1 to become free. Usage count = -7
------------------------------
and so on.

Corresponding to that in openvpn.log:
---------------------------------------------------------------------
May 6 12:12:05 gate openvpn[3240]: event_wait : Interrupted system call (code=4)
May 6 12:12:05 gate openvpn[3240]: OpenVPN CLIENT LIST
May 6 12:12:05 gate openvpn[3240]: Updated,Tue May 6 12:12:05 2008
May 6 12:12:05 gate openvpn[3240]: Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
May 6 12:12:05 gate openvpn[3240]: ROUTING TABLE
May 6 12:12:05 gate openvpn[3240]: Virtual Address,Common Name,Real Address,Last Ref
May 6 12:12:05 gate openvpn[3240]: GLOBAL STATS
May 6 12:12:05 gate openvpn[3240]: Max bcast/mcast queue length,1
May 6 12:12:05 gate openvpn[3240]: END
May 6 12:12:05 gate openvpn[3240]: event_wait : Interrupted system call (code=4)
May 6 12:12:05 gate openvpn[3240]: /sbin/ip addr flush dev tap1
----------------------------------------------------------------------
or
----------------------------------------------------------------------
May 5 21:53:45 gate openvpn[3226]: event_wait : Interrupted system call (code=4)
May 5 21:53:45 gate openvpn[3226]: OpenVPN CLIENT LIST
May 5 21:53:45 gate openvpn[3226]: Updated,Mon May 5 21:53:45 2008
May 5 21:53:45 gate openvpn[3226]: Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
May 5 21:53:45 gate openvpn[3226]: ROUTING TABLE
May 5 21:53:45 gate openvpn[3226]: Virtual Address,Common Name,Real Address,Last Ref
May 5 21:53:45 gate openvpn[3226]: GLOBAL STATS
May 5 21:53:45 gate openvpn[3226]: Max bcast/mcast queue length,1
May 5 21:53:45 gate openvpn[3226]: END
-----------------------------------------------------------------------

After that Squid/HAVP is working fine but smtp proxy doesn't answer to internal and external requests. A reboot hangs with messages above on the console.
Only a hard reset helps.

Thomas
No tags attached.
? openvpn-2.1-0.endian13.i586.rpm (211,083) 2008-05-06 14:47
https://bugs.endian.com/file_download.php?file_id=130&type=bug
Issue History
2008-05-06 14:37Thomas HeimannNew Issue
2008-05-06 14:43ra-endianAssigned To => ra-endian
2008-05-06 14:43ra-endianStatusnew => confirmed
2008-05-06 14:47ra-endianFile Added: openvpn-2.1-0.endian13.i586.rpm
2008-05-06 14:48ra-endianNote Added: 0001124
2008-05-06 16:12Thomas HeimannNote Added: 0001125
2008-05-07 05:34Thomas HeimannNote Added: 0001127
2008-05-07 08:09ra-endianStatusconfirmed => resolved
2008-05-07 08:09ra-endianFixed in Version => 2.2-rc1
2008-05-07 08:09ra-endianResolutionopen => fixed
2009-10-27 12:03peter-endianStatusresolved => closed

Notes
(0001124)
ra-endian   
2008-05-06 14:48   
please try this update. This upgrade should fix the issue.
(0001125)
Thomas Heimann   
2008-05-06 16:12   
OK. Thanks!
(0001127)
Thomas Heimann   
2008-05-07 05:34   
Seems to be fixed. Thanks again!