Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#34770 - [systemd] Unable to view certain man pages because of unresolved .so (link) macros inside them

Attached to Project: Arch Linux
Opened by Alain Kalker (ackalker) - Saturday, 13 April 2013, 22:06 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 13 April 2013, 22:55 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Trying to view the systemd-readahead man page, I get:
$ man systemd-readahead
man: can't open /usr/share/man/systemd-readahead-replay.service.8: No such file or directory
man: can't open /usr/share/man/systemd-readahead-replay.service.8: No such file or directory
man: can't open /usr/share/man/systemd-readahead-replay.service.8: No such file or directory
No manual entry for systemd-readahead

Because /usr/share/man/man8/systemd-readahead.8.gz does exist, I looked inside:
$ zcat /usr/share/man/man8/systemd-readahead.8.gz
.so systemd-readahead-replay.service.8

Apparently, `man` cannot resolve this link for compressed man pages.
From grepping and counting the uses of this macro, I found that no less than 135 of systemd's man pages use this macro, so this is no small deal.

If you think this is not a problem with systemd packaging but rather with pacman (makepkg) or man-db (man), please feel free to reassign to either of those packages.

Additional info:
* package version(s)
systemd 201-1
pacman 4.1.0-2
man-db 2.6.3-1
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 13 April 2013, 22:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd-201-2
Comment by Alain Kalker (ackalker) - Saturday, 13 April 2013, 22:18 GMT
$ man init

also has this problem.
Comment by KaiSforza (KaiSforza) - Saturday, 13 April 2013, 22:38 GMT
This is working fine for me.

$ zcat /usr/share/man/man8/systemd-readahead.8.gz
.so man8/systemd-readahead-replay.service.8
$ man systemd-readahead
<shows systemd-readahead-replay.service man page>
$ zcat /usr/shar/man/man1/init.1.gz
.so man1/systemd.1
$ man init
<shows systemd man page>

The systemd package does in fact contain these manual pages, so if you don't actually have /usr/share/man/man8/systemd-readahead-replay.service.8.gz on your system, then I think there is a bigger problem. (possibly try re-installing the systemd package with `pacman -S systemd`)

Don't mind me. I'm using the -git version of systemd, and it's fixed in there.

Loading...