minimized system: `man` returns exit code 0

Bug #2092673 reported by Gareth Davidson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-images
New
Undecided
Unassigned
livecd-rootfs (Ubuntu)
New
Undecided
Unassigned
man-db (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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)

Revision history for this message
Gareth Davidson (bitplane) wrote :
Revision history for this message
Simon Poirier (simpoir) wrote (last edit ):

Not a bug in man-db. This is purely related to minimized images and the fact that man pages are not installed, and that the man command diverted by livecd-rootfs.

Changed in man-db (Ubuntu):
status: New → Invalid
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.