Bug#780235: "man init" brings up systemd(8) despite /sbin/init coming from sysvinit-core

Michael Biebl biebl at debian.org
Tue Mar 10 23:19:55 GMT 2015


control: severity -1 minor

Am 10.03.2015 um 23:59 schrieb Samuel Bronson:
> Package: systemd
> Version: 215-12
> Severity: important
> File: /usr/share/man/man1/systemd.1.gz
> 
> Dear Maintainer,
> 
> When I run "man init", I expect to see the manpage corresponding to
> /sbin/init; since /sbin/init comes from sysvinit-core on my system,
> that would be init(8), but I get systemd(1) instead.
> 
> This is seems to be partly because section 1 is before section 8 in
> the search path, and partly because of the "whatis" entry:
> 
> --8<---------------cut here---------------start------------->8---
> .SH "NAME"
> systemd, init \- systemd system and service manager
> --8<---------------cut here---------------end--------------->8---
> 
> which (given the path/filename and the stuff passed to .TH) presumably
> gives man-db the impression that this file should be considered to
> provide the init(1) manpage, rather than init(8) as it should be.
> 
> It might be time to finally ask the man-db maintainer to stop
> including/using whatis entries in the database, or at least to use
> them only as a last resort...

The use of


  <refnamediv>
    <refname>systemd</refname>
    <refname>init</refname>
    <refpurpose>systemd system and service manager</refpurpose>
  </refnamediv>

in systemd.xml looks correct to me.

We also package the /usr/share/man/man1/init.1.gz symlink in systemd-sysv

This indeed might be a man-db issue, which should prefer "real" files
over such embedded references.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150311/a4b3f07c/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list