Bug#930120: init: Documentation error for telinit/init - does not use 'systemctl isolate xxx'

Michael Biebl biebl at debian.org
Fri Jun 7 16:32:00 BST 2019


Control: tags -1 + moreinfo

Am 07.06.19 um 15:51 schrieb J. Pfennig:
> The man page of telinit/init says (for 'telinit N'):
> 
>    Change the SysV runlevel. This is translated into an activation request for runlevel2.target,
>    runlevel3.target, ... and is equivalent to systemctl isolate runlevel2.target, systemctl isolate
>    runlevel3.target, ...
> 
> But when using telinit 2 or init 2 (or event booting the kernel with "2"
> as an argument), the effective operation is:
> 
>             'systemctl start runlevel2.target'
> ### but not 'sytemctl isolate runlevel2.target' ### as documented
> 

I'm pretty sure "telinit" uses isolate.
See
https://github.com/systemd/systemd/blob/master/src/initctl/initctl.c#L101

So the documentation looks correct to me.
Please elaborate


-- 
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: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190607/dbfb4f1a/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list