logwatch replaces hostname with number
Bug #296349 reported by
Nathan Crawford
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logwatch (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: logwatch
Release: Ubuntu 8.10
Package version: 7.3.6.cvs200807
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.
Related branches
Changed in logwatch: | |
status: | Fix Released → Confirmed |
To post a comment you must log in.
This bug was fixed in the package logwatch - 7.3.6.cvs200807 02-1ubuntu3
--------------- cvs20080702- 1ubuntu3) jaunty; urgency=low
logwatch (7.3.6.
* Fix logwatch.pl for servers that have the same hostname as a config
variable (ie: medium). Thanks for Nathan Crawford. (LP: #296349)
-- Chuck Short <email address hidden> Mon, 10 Nov 2008 16:46:59 +0000