Commit c75fd8b
authored
CA-407370: Use remote.conf for customer rsyslog forwarding rules (xapi-project#6328)
XenServer does not protect `/etc/rsyslog.d/xenserver.conf` when updating
the rsyslog package (or the xenserver-release package on CH8.2CU1), as a
result it is replaced with a fresh instance during updates which will
lose customer configurations (if they have any).
This script is primarily invoked via XenCenter when providing a new host
for log forwarding.
An update will be made to the XenServer rsyslog package to make it clear
that `/etc/rsyslog.d/xenserver.conf` should not be edited by the
customer.
I've tested this by copying the updated script onto my DT box and using
XenCenter to add a new log server - noting the new
`/etc/rsyslog.d/custom.conf` file and the untouched
`/etc/rsyslog.d/xenserver.conf` file.1 file changed
+4
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 17 | | |
37 | | - | |
38 | 18 | | |
39 | | - | |
| 19 | + | |
| 20 | + | |
40 | 21 | | |
41 | | - | |
| 22 | + | |
42 | 23 | | |
43 | 24 | | |
44 | | - | |
45 | | - | |
| 25 | + | |
0 commit comments