Page 3 of 3
Re: "man init" reports that MX init is systemd?
Posted: Wed Dec 13, 2017 2:29 pm
by timkb4cq
How about calling mandb from cron with the -s (--no-straycats) switch?
Re: "man init" reports that MX init is systemd?
Posted: Wed Dec 13, 2017 5:58 pm
by Old Giza
If you add a symlink in /usr/share/man/man1 for init.1.gz > /usr/share/man/man8/init.8.gz, then man init gets what you want without even doing a rebuild using mandb. (And you can still do man systemd of course). I'm on MX16, maybe somebody could verify this for MX17.
You can't just use init as the symlink because mandb -t complains of a bogus filename because the filename number does not correspond to the manpage section number.
Re: "man init" reports that MX init is systemd?
Posted: Wed Dec 13, 2017 7:26 pm
by BitJam
Both of those ideas sound good to me! Solving it with a single symlink seems like the least disruptive approach. I wonder what package it should go into? I've been busy elsewhere today.
Re: "man init" reports that MX init is systemd?
Posted: Wed Dec 13, 2017 8:05 pm
by dolphin_oracle
BitJam wrote:Both of those ideas sound good to me! Solving it with a single symlink seems like the least disruptive approach. I wonder what package it should go into? I've been busy elsewhere today.
we've got an odd-ball package for that stuff, mx-system, that is handy for stuff like this. I'll add it there.