Comment 14 for bug 1890748

Revision history for this message
Michał Małoszewski (michal-maloszewski99) wrote :

The fix works, logwatch 7.5.2-1ubuntu1.5 fixes the bug.

I've created the focal container using steps from the [Test Plan] section listed above in the Bug Description and inside that container..

I have installed the logwatch package using:

$ apt install logwatch

Then checked:
$ apt policy logwatch

The output:

Installed: 7.5.2-1ubuntu1.3
  Candidate: 7.5.2-1ubuntu1.3
  Version table:
 *** 7.5.2-1ubuntu1.3 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     7.5.2-1ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages

Then I have typed in:

$ sudo logwatch --detail low --range today --service all --output stdout

The issue did exist:

--------------------- Network Report Begin ------------------------

 can't use /sbin/ifconfig -a: No such file or directory at /usr/share/logwatch/scripts/services/zz-network line 356.

Then I've upgraded logwatch:
$ apt install logwatch=7.5.2-1ubuntu1.5

Later I've typed in:

$ apt policy logwatch
to check if installed version is changed and we see that we have new version installed (with fix)

 logwatch:
  Installed: 7.5.2-1ubuntu1.5
  Candidate: 7.5.2-1ubuntu1.5
  Version table:
 *** 7.5.2-1ubuntu1.5 500
        500 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     7.5.2-1ubuntu1.3 500
        500 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages

Finally when I typed in:

$ sudo logwatch --detail low --range today --service all --output stdout

the problem did not exist, so the fix works.