The --print options in the logwatch man page examples don't work

Bug #564796 reported by Chris Brown
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
logwatch (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: logwatch

In Ubuntu 10.04 the man page for logwatch shows two examples that both use the --print option. They don't work. Both of them report "Unknown option: print". This could be resolved by changing either the logwatch script or the man page.

Tags: manpage

Related branches

CVE References

Revision history for this message
Chuck Short (zulcss) wrote :

Can you attach the output of the examples.

Regards
chuck

Changed in logwatch (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Chris Brown (chris-idlearn) wrote :

Here's the output requested.

$ logwatch --service ftpd-xferlog --range all --detail high --print --archives
Unknown option: print

$ logwatch --service pam_pwdb --range yesterday --detail high --print
Unknown option: print

In each case, logwatch also prints a "Usage" message (same as logwatch --help)

And in case it helps ...

$ logwatch --version
Logwatch 7.3.6 (released 05/19/07)

I think the problem is simply that the examples in the man page use an option that doesn't exist any more.

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the information.

Changed in logwatch (Ubuntu):
status: Incomplete → Confirmed
Robert Roth (evfool)
tags: added: manpage
Revision history for this message
Martin Pitt (pitti) wrote :

Can you please forward this to upstream as well? Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package logwatch - 7.3.6.cvs20090906-1ubuntu4

---------------
logwatch (7.3.6.cvs20090906-1ubuntu4) natty; urgency=low

  * SECURITY UPDATE: privileged code execution via badly named logfiles
    - scripts/logwatch.pl: encapsulate logfiles in 's and ensure logfile
      names don't contain '.
    - http://logwatch.svn.sourceforge.net/viewvc/logwatch?view=revision&revision=26
    - CVE-2011-1018
  * debian/dist.conf/services/cron.conf: adjust to capture cron entries,
    thanks to Oliver Brakmann (LP: #719898)
  * scripts/services/named: update to upstream version to correctly
    capture more information (LP: #584229)
    - http://logwatch.svn.sourceforge.net/viewvc/logwatch/scripts/services/named?revision=19
  * logwatch.8: replace examples containing obsolete --print argument
    with --output=stdout (LP: #564796)
 -- Steve Beattie <email address hidden> Wed, 02 Mar 2011 13:44:53 +0100

Changed in logwatch (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.