Project

General

Profile

Tâche #12134

Scénario #11991: Remplacer les directives rsyslog dépréciées sur Eolebase, Zéphir et Seshat

Rechercher et remplacer les directives rsyslog dépréciées

Added by Joël Cuissinat almost 6 years ago. Updated almost 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/22/2015
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision 4f3114d0 (diff)
Added by Daniel Dehennin almost 6 years ago

Remplace les directives rsyslog dépréciées.

  • tmpl/rsyslog.conf.container: Remplacement de « ~ » par « stop ».
  • tmpl/rsyslog_default_dispatching.conf: Idem.
  • tmpl/rsyslog_traps_cron.conf: Idem.
  • tmpl/rsyslog_traps_gpm.conf: Idem.
  • tmpl/rsyslog_traps_iptables.conf: Idem.
  • tmpl/rsyslog_traps_rsyslog.conf: Idem.
  • tmpl/rsyslog_traps_zephir.conf: Idem.
  • tmpl/rsyslog_views_auth.conf: Idem.
    Suppression de l’espace dans la ligne de sélection.

Ref: #12134

Revision 780e966d (diff)
Added by Joël Cuissinat almost 6 years ago

Remplace les directives rsyslog dépréciées

  • tmpl/rsyslog_traps_debian-start.conf : Remplacement de « ~ » par « stop ».

Ref: #12134 @20m

History

#1 Updated by Joël Cuissinat almost 6 years ago

  • Remaining (hours) changed from 4.0 to 6.0

#2 Updated by Emmanuel GARETTE almost 6 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Emmanuel GARETTE almost 6 years ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE almost 6 years ago

  • Status changed from En cours to Nouveau
  • Assigned To deleted (Emmanuel GARETTE)

#5 Updated by Scrum Master almost 6 years ago

  • Status changed from Nouveau to En cours

#6 Updated by Daniel Dehennin almost 6 years ago

  • Assigned To set to Daniel Dehennin

#7 Updated by Daniel Dehennin almost 6 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 6.0 to 0.1

Application d’un correctif minimal pour ne plus avoir de message d’erreur dans les logs.

#8 Updated by Scrum Master almost 6 years ago

  • Status changed from En cours to Résolu

#9 Updated by Emmanuel GARETTE almost 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.1 to 0.0

Avant mise à jour :

Jun 25 09:18:38 zephir.ac-test.lan rsyslogd-2184: action 'auth,' treated as ':omusrmsg:auth,' - please change syntax, 'auth,' will not be supported in the future [try http://www.rsyslog.com/e/2184 ]
Jun 25 09:18:38 zephir.ac-test.lan rsyslogd-2184: action 'authpriv' treated as ':omusrmsg:authpriv' - please change syntax, 'authpriv' will not be supported in the future [try http://www.rsyslog.com/e/2184 ]
Jun 25 09:18:38 zephir.ac-test.lan rsyslogd-3000: invalid character in selector line - ';template' expected
Jun 25 09:18:38 zephir.ac-test.lan rsyslogd-2207: error during parsing file /etc/rsyslog.d/eole-views/auth.conf, on or before line 4: errors occured in file '/etc/rsyslog.d/eole-views/auth.conf' around line 4 [try http://www.rsyslog.com/e/2207 ]
Jun 25 09:18:38 zephir.ac-test.lan rsyslogd-2307: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]
Jun 25 09:18:38 zephir.ac-test.lan rsyslogd-2307: message repeated 6 times: [warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]]

Après mise à jour, plus d'erreur.

#10 Updated by Joël Cuissinat almost 6 years ago

  • Status changed from Fermé to En cours

#11 Updated by Joël Cuissinat almost 6 years ago

  • Remaining (hours) changed from 0.0 to 4.0

Hep ! Il reste au moins une occurrence sur Seshat :

2015-06-25T11:55:57.481040+02:00 seshat.ac-test.lan rsyslogd-2307: warning: ~ action is deprecated, consider using the 'stop' statement instead [try http://www.rsyslog.com/e/2307 ]

root@seshat:~# rgrep "~" /etc/rsyslog.*
/etc/rsyslog.d/eole-traps/debian-start.conf:& ~
root@seshat:~# dpkg -S debian-start.conf 
eole-mysql: /usr/share/eole/creole/distrib/rsyslog_traps_debian-start.conf

M'enfin on finira par devoir passer partout ;)

#12 Updated by Joël Cuissinat almost 6 years ago

  • Status changed from En cours to Résolu
  • Remaining (hours) changed from 4.0 to 0.0

#13 Updated by Scrum Master almost 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF