[Mageia-dev] starting openssh inside a chroot, as per mageia wiki
AL13N
alien at rmail.be
Thu Dec 27 09:45:59 CET 2012
Op donderdag 27 december 2012 14:57:23 schreef Glen Ogilvie:
> Hi,
>
> The wiki, recommends starting openssh from within a chroot, on the
> following two pages:
>
> https://wiki.mageia.org/en/Packagers_chroot
> https://wiki.mageia.org/en/Chroot
>
> This does not work, with a current install from cauldron, as
> /etc/init.d/sshd does not get created.
>
> It seems like the systemd way of starting would be:
> systemctl start openssh.service
>
> But, then produces an error:
>
> [root at localhost /]# systemctl start openssh.service
> Running in chroot, ignoring request.
>
>
> So, Any thoughts on what is the recommended way, and I'll be happy to
> update the wiki to reflect this.
>
> Regards
> Glen Ogilvie
i think you'd have to start systemctl inside the chroot
More information about the Mageia-dev
mailing list