minimized system: `man` returns exit code 0
| 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:/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: man-db 2.12.0-4build2 [modified: usr/bin/man]
ProcVersionSign
Uname: Linux 6.8.0-51-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.3
Architecture: amd64
CasperMD5CheckR
CloudBuildName: ubuntu-
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)

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.