← Back to team overview

sts-sponsors team mailing list archive

[Bug 1893513] [NEW] man page of lsof command broken

 

You have been subscribed to a public bug by Eric Desrochers (slashd):

[Impact]
One cannot consult the 'lsof' manpage in two ways:
* Using CLI: man lsof
* Ubuntu Manpage: http://manpages.ubuntu.com/cgi-bin/search.py?q=lsof

You will notice the manpage is missing for F and G.

Workarounds would be:

* Use --help' parameter
* Use a search engine to find an 'lsof' online man page.

This has been first introduced with the new upstream release of
'4.93.2+dfsg-1'.

 lsof | 4.93.2+dfsg-1       | focal  
 lsof | 4.93.2+dfsg-1       | groovy

[Test Case]

 == CLI ==
* On an F/G system
* Perform: "man lsof"

It will errors out as follows:
"
man: can't open /usr/share/man/./version: No such file or directory
No manual entry for lsof
"

 == Ubuntu Manpage ==
* Browse the Ubuntu Manpage: 
http://manpages.ubuntu.com/cgi-bin/search.py?q=lsof

No 'lsof' manpage is found for F/G.

[Where problem could occur]

If a problem arise, it will only affect the lsof manpage.

The fix adds a build dependency 'groff-base' that is found in 'main' for
all affected release above and pretty much at the same level of code
base.

 groff-base | 1.22.4-4build1 | focal   
 groff-base | 1.22.4-5       | groovy  
 groff-base | 1.22.4-5       | hirsute 


[Other info]

In theory, I would possibly wait for the next bug fixing SRU as an
opportunity to merge that change, but according to the d/changelog,
there is not much frequent SRU(s) done for 'lsof', so we might have to
just fix 'lsof' for this particular case which can be an annoyance for
certain Ubuntu users.

The package has been fixed in Debian upstream '4.93.2+dfsg-1.1' and
auto-synced in Hirsute. It is now needing an SRU for F/G.

[Original Description]

When trying to view the manpage of lsof, this happens:

desktop ~ $ LANG=C man lsof
man: can't open /usr/share/man/./version: No such file or directory
No manual entry for lsof

The man page is present at /usr/share/man/man8/lsof.8.gz.

This:  zless /usr/share/man/man8/lsof.8.gz
reveals that there is the line ".so ./version" at the beginning, with the  file "version" not existing.

Other man pages don't seem to be affected.

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: lsof 4.93.2+dfsg-1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.8
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 29 13:50:47 2020
InstallationDate: Installed on 2020-08-03 (26 days ago)
InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: lsof
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lsof (Ubuntu)
     Importance: Low
         Status: Fix Released

** Affects: lsof (Ubuntu Focal)
     Importance: Undecided
         Status: New

** Affects: lsof (Ubuntu Groovy)
     Importance: Undecided
         Status: New

** Affects: lsof (Ubuntu Hirsute)
     Importance: Low
         Status: Fix Released

** Affects: lsof (Debian)
     Importance: Unknown
         Status: New


** Tags: amd64 apport-bug focal
-- 
man page of lsof command broken
https://bugs.launchpad.net/bugs/1893513
You received this bug notification because you are a member of STS Sponsors, which is subscribed to the bug report.