Project

General

Profile

Issue #711

charon does not recreate log files on SIGHUP

Added by Mihai Maties almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
charon
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:

[ /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

Is duplicate of Bug #651: Can not rotate strongswan filelogClosed14.07.2014

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