Public bug reported:

In a minimized Docker container, the man command is a script that needs
an `exit 1` at the end:


Steps:

    docker run -it ubuntu:latest bash

    man somecommand
    echo $?

Expected result:

1

Actual result:

0

Further info:

https://asciinema.org/a/z4r4mnBYBQ3OVIeLtL2G1BNJz

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: man-db 2.12.0-4build2 [modified: usr/bin/man]
ProcVersionSignature: Ubuntu 6.8.0-51.52-generic 6.8.12
Uname: Linux 6.8.0-51-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckResult: unknown
CloudBuildName: ubuntu-oci:minimized
CloudSerial: 20241118.1
Date: Sun Dec 29 18:51:54 2024
ProcEnviron:
 PATH=(custom, no user)
 TERM=xterm
SourcePackage: man-db
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: man-db (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug cloud-image noble

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

Title:
  minimized system: `man` returns exit code 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/man-db/+bug/2092673/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to