[Bug 296349] [NEW] logwatch replaces hostname with number
njcrawford at gmail.com
Mon Nov 10 14:53:49 GMT 2008
Public bug reported:
Binary package hint: logwatch
Release: Ubuntu 8.10
Package version: 7.3.6.cvs20080702-1ubuntu2
Expected results: Hostname is displayed in the subject line of Logwatch emails. eg, "Logwatch for hostname (Linux)"
Actual results: If the system's hostname is one of the following keywords, it is replaced with an associated integer:
yes => 1
no => 0
true => 1
false => 0
on => 1
off => 0
high => 10
med => 5
medium => 5
low => 0
In my case, the server is called "medium" (as in small, medium, large), which gets replaced with "5".
I've attached a patch for logwatch.pl.
** Affects: logwatch (Ubuntu)
logwatch replaces hostname with number
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to logwatch in ubuntu.
More information about the Ubuntu-server-bugs