"man init" reports MX init is systemd? [SOLVED]
"man init" reports MX init is systemd? [SOLVED]
As per the thread in Spanish reported by keos,
I now understand the problem.
It is a bug or an oversight in the "man" system.
I now understand the problem.
It is a bug or an oversight in the "man" system.
Last edited by Richard on Fri Dec 15, 2017 7:21 am, edited 1 time in total.
Thinkpad T430 & Dell Latitude E7450, both with MX-21.3.1
__kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
__Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
HP Ryzen 5 17-cp3xxx with MX23.4 AHS & Liquorix 6.10-12~mx23ahs amd64
__kernal 5.10.0-26-amd64 x86_64; Xfce-4.18.0; 8 GB RAM
__Intel Core i5-3380M, Graphics, Audio, Video; & SSDs.
HP Ryzen 5 17-cp3xxx with MX23.4 AHS & Liquorix 6.10-12~mx23ahs amd64
- dolphin_oracle
- Developer
- Posts: 22035
- Joined: Sun Dec 16, 2007 12:17 pm
Re: "man init" reports that MX init is systemd?
actually, its not reporting anything. its just the "man" entry for systemd. I'm not sure sysVinit has a man entry.
***edit*** I'm going to back up on that. the link does point to systemd's man page, but not sure that is because sysVinit doesn't have on maybe. At least, not one I can find.
***edit*** I'm going to back up on that. the link does point to systemd's man page, but not sure that is because sysVinit doesn't have on maybe. At least, not one I can find.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: "man init" reports that MX init is systemd?
You can use man telinit to see information about SYSV init.
Re: "man init" reports that MX init is systemd?
try this: apropos sysv
(FWIW, no matches found for "sys v" nor "sys-v")
On antiX, I get 4 matches (2 of which don't make sense to me).
manfs fs
man filesystems
^---- these describe "sysv" as a "Linux filesystem type". What?
v---- these 2 do contain info related to sysv
man inittab
man sysv-rc-conf
(FWIW, no matches found for "sys v" nor "sys-v")
On antiX, I get 4 matches (2 of which don't make sense to me).
manfs fs
man filesystems
^---- these describe "sysv" as a "Linux filesystem type". What?
v---- these 2 do contain info related to sysv
man inittab
man sysv-rc-conf
Re: "man init" reports that MX init is systemd?
I can confirm the command "man init" is still showing the manual page for systemd, which MX doesn't use. Running "man telinit" brings up the SysV init page.
This should probably be fixed as it gives the mistaken impression MX is using systemd as the default init implementation. SysV init does have its own manual page, but it isn't displayed when running "man init".
I'm guessing this happens because systemd is installed, probably as a dependency for something else. systemd's man page takes priority over SysV's. The SysV man page is in the man8 sub-directory so it's there, but just isn't getting displayed.
This should probably be fixed as it gives the mistaken impression MX is using systemd as the default init implementation. SysV init does have its own manual page, but it isn't displayed when running "man init".
I'm guessing this happens because systemd is installed, probably as a dependency for something else. systemd's man page takes priority over SysV's. The SysV man page is in the man8 sub-directory so it's there, but just isn't getting displayed.
- dolphin_oracle
- Developer
- Posts: 22035
- Joined: Sun Dec 16, 2007 12:17 pm
Re: "man init" reports that MX init is systemd?
how does one fix it?newguy wrote:I can confirm the command "man init" is still showing the manual page for systemd, which MX doesn't use. Running "man telinit" brings up the SysV init page.
This should probably be fixed as it gives the mistaken impression MX is using systemd as the default init implementation. SysV init does have its own manual page, but it isn't displayed when running "man init".
I'm guessing this happens because systemd is installed, probably as a dependency for something else. systemd's man page takes priority over SysV's. The SysV man page is in the man8 sub-directory so it's there, but just isn't getting displayed.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Re: "man init" reports that MX init is systemd?
The "man init" command is working correctly on MX-17.RC1_x64 running live inside of Virtual Box here. It is the same page that "man telinit" produces.
When it is not working correctly maybe an init.?.gz symlink gets created pointing to the systemd.1.gz man page. In MX-17.RC1 the only "init.*.gz" file is the correct sysv init man page which shows up when I run "man init". Maybe this is only a problem on MX systems before MX-17. If it is a problem on MX-17 then when is the problem created? And how?
When it is not working correctly maybe an init.?.gz symlink gets created pointing to the systemd.1.gz man page. In MX-17.RC1 the only "init.*.gz" file is the correct sysv init man page which shows up when I run "man init". Maybe this is only a problem on MX systems before MX-17. If it is a problem on MX-17 then when is the problem created? And how?
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."
-- Richard Feynman
-- Richard Feynman
Re: "man init" reports that MX init is systemd?
Different result here. From an installed, unmodified RC1 in VirtualBox
Code: Select all
tim@mx1:~
$ cat /etc/mx-version
MX-17.RC1_x64 Horizon December 10, 2017
tim@mx1:~
$ man init
SYSTEMD(1) systemd SYSTEMD(1)
NAME
systemd, init - systemd system and service manager
SYNOPSIS
systemd [OPTIONS...]
init [OPTIONS...] {COMMAND}
DESCRIPTION
systemd is a system and service manager for Linux operating systems. When run as first
process on boot (as PID 1), it acts as init system that brings up and maintains userspace
services.
For compatibility with SysV, if systemd is called as init and a PID that is not 1, it will
execute telinit and pass all command line arguments unmodified. That means init and
telinit are mostly equivalent when invoked from normal login sessions. See telinit(8) for
more information.
When run as a system instance, systemd interprets the configuration file system.conf and
the files in system.conf.d directories; when run as a user instance, systemd interprets
the configuration file user.conf and the files in user.conf.d directories. See systemd-
system.conf(5) for more information.
OPTIONS
The following options are understood:
Manual page init(1) line 1 (press h for help or q to quit)
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Re: "man init" reports that MX init is systemd?
However, if I boot up the iso as a LiveUSB in Vbox I do get what you do. So whatever happens, happens during installation.
HP Pavillion TP01, AMD Ryzen 3 5300G (quad core), Crucial 500GB SSD, Toshiba 6TB 7200rpm
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
Dell Inspiron 15, AMD Ryzen 7 2700u (quad core). Sabrent 500GB nvme, Seagate 1TB
- dolphin_oracle
- Developer
- Posts: 22035
- Joined: Sun Dec 16, 2007 12:17 pm
Re: "man init" reports that MX init is systemd?
or maybe when man pages get updated.timkb4cq wrote:However, if I boot up the iso as a LiveUSB in Vbox I do get what you do. So whatever happens, happens during installation.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.