Issue #711
charon does not recreate log files on SIGHUP
Affected version:
5.2.0
Resolution:
Duplicate
Description
Hi,
After upgrading to v5.2.0 I noticed that our logrotate setup does not work anymore. It seems that sending SIGHUP to charon does not make it start writing new log files.
Below, you can see that charon keeps writing to the old files:
[root@mobprox002.lla1 /logs]# pkill -HUP charon; lsof -p $(pidof charon|tr ' ' ,) 2>/dev/null | grep logs
charon 23301 root 5r REG 8,3 64114027 6168007 /logs/strongswan.log.1 (deleted)
charon 23301 root 6w REG 8,3 10090088 6168033 /logs/ike.log.1
charon 23301 root 7w REG 8,3 197232951 6168047 /logs/strongswan_debug.log.1 (deleted)
Best regards,
Mihai
Related issues
History
#1 Updated by Tobias Brunner almost 11 years ago
- Is duplicate of Bug #651: Can not rotate strongswan filelog added
#2 Updated by Tobias Brunner almost 11 years ago
- Status changed from New to Closed
- Assignee set to Martin Willi
- Resolution set to Duplicate