Project

General

Profile

Actions

Bug #6845

closed

Nodes using syslogd coninue to report to their old server when changing their policy server

Added by Vincent MEMBRÉ almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
2
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The title says it all:

Let say i have:

  • a Server
  • a node linked to the server and based on Centos5
  • a relay

/etc/syslog.conf looks like this:

local6.notice     @server

If i switch my node to be under the relay, the syslog conf will chenge to:

local6.notice     @server
local6.notice     @relay

Making the node reporting bith to the server and the relay, having 2 reports at the end on the Server

We should change the deletion condition in promises.cf (ligne 768):

some ideas:

  • Replacing both delete lines by: "^local6(\..*)?\s+(?!${syslogd}).*" (more complex but more like we want to achieve
  • Delete all lines stating by local6

In both cases keep the adding line

This can be impreved by only editing a section of the file between two tags (so we don't delete other local6 attempts)

Actions

Also available in: Atom PDF