can't run netstat
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logwatch (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Both on kinetic and focal, there is a problem with netstat.
On Kinetic, if you install logwatch and type in the command from below, there is a message about the problem within the zz-network file.
$ sudo logwatch --detail Low --range today --service all --output stdout
------------- Listening sockets ---------------
can't run netstat: No such file or directory at /usr/share/
------
On Focal, the situation looks similar. The network statistics are shown but at the end of the output the following message appears:
------------- Network statistics ---------------
....
sh: 1: netstat: not found
-------
To reproduce the situation on Focal, pass
if ( -f $pathto_ip) {
$cmd_
}
else
{
$cmd_
}
between lines 352 and 362 to avoid another problem which is being resolved here: https:/
description: | updated |
description: | updated |