Skip to content

Commit ead0972

Browse files
committed
Add upgrading docs explaining the config file change for logrotate
1 parent 6431c79 commit ead0972

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/16-upgrading-icinga-2.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ Specific version upgrades are described below. Please note that version
88
updates are incremental. An upgrade from v2.6 to v2.8 requires to
99
follow the instructions for v2.7 too.
1010

11+
## Upgrading to v2.15.1, v2.14.7, or v2.13.13 <a id="upgrading-to-2-15-1"></a>
12+
13+
These three versions include the same fix to the logrotate configuration in `/etc/logrotate.d/icinga2`. As this file is
14+
tracked as a configuration file by package managers, it may not be updated automatically if it was modified locally.
15+
After upgrading, make sure to check if there are any files with an extension like `.dpkg-dist` or `.rpmnew` next to it.
16+
If so, you need to incorporate the changes into your configuration manually.
17+
18+
To verify that the fix was applied correctly, check the contents of `/etc/logrotate.d/icinga2`: If the file uses the
19+
command `"$DAEMON" internal signal --sig SIGHUP --pid "$pid"` (instead of `kill -HUP "$pid"`), it was upgraded
20+
correctly.
21+
1122
## Upgrading to v2.15 <a id="upgrading-to-2-15"></a>
1223

1324
### Icinga DB <a id="upgrading-to-2-15-icingadb"></a>

0 commit comments

Comments
 (0)