[Bug 1893513] Re: man page of lsof command broken

Eric Desrochers 1893513 at bugs.launchpad.net
Fri Dec 25 17:40:21 UTC 2020


debdiff for Focal

** Patch added: "debdiff for Focal"
   https://bugs.launchpad.net/ubuntu/+source/lsof/+bug/1893513/+attachment/5446778/+files/f.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lsof in Ubuntu.
https://bugs.launchpad.net/bugs/1893513

Title:
  man page of lsof command broken

Status in lsof package in Ubuntu:
  Fix Released
Status in lsof source package in Focal:
  In Progress
Status in lsof source package in Groovy:
  In Progress
Status in lsof source package in Hirsute:
  Fix Released
Status in lsof package in Debian:
  New

Bug description:
  [Impact]
  One cannot consult the 'lsof' manpage in various 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'[0] that is found in
  'main' for all affected release above and pretty much at the same
  level of code base.

  debian:
   groff-base | 1.22.4-5      | unstable

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

  [0] - https://www.gnu.org/software/groff/manual/groff.html#man

  [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.

  Debian bug:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950601

  [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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsof/+bug/1893513/+subscriptions



More information about the foundations-bugs mailing list