From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-December/020969.html | 130 +++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-December/020969.html (limited to 'zarb-ml/mageia-dev/2012-December/020969.html') diff --git a/zarb-ml/mageia-dev/2012-December/020969.html b/zarb-ml/mageia-dev/2012-December/020969.html new file mode 100644 index 000000000..3522627c2 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-December/020969.html @@ -0,0 +1,130 @@ + + + + [Mageia-dev] starting openssh inside a chroot, as per mageia wiki + + + + + + + + + +

[Mageia-dev] starting openssh inside a chroot, as per mageia wiki

+ Pascal Terjan + pterjan at gmail.com +
+ Thu Dec 27 15:30:21 CET 2012 +

+
+ +
On Thu, Dec 27, 2012 at 2:01 PM, Christiaan Welvaart
+<cjw at daneel.dyndns.org> wrote:
+> On Thu, 27 Dec 2012, Pascal Terjan wrote:
+>
+>> On Thu, Dec 27, 2012 at 10:55 AM, Guillaume Rousse
+>> <guillomovitch at gmail.com> wrote:
+>>>
+>>> Le 27/12/2012 11:29, Pascal Terjan a écrit :
+>>>
+>>>>> 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.
+>>>>
+>>>>
+>>>>
+>>>> Last time I tried, I gave up after various attempts and now went back
+>>>> to the basics: running "sshd" and killing it to stop it.
+>>>> Maybe I'll fetch some old initscript.
+>>>
+>>>
+>>> I guess using a specific unit file, using builtin systemd chroot support,
+>>> should help. See http://0pointer.de/blog/projects/changing-roots for
+>>> details.
+>>
+>>
+>> Yes having an unit outside of the chroot with
+>> RootDirectoryStartOnly=yes would probably help (I had tried the "full
+>> system" chroot and couldn't get it to work and gave up after an hour)
+>
+>
+> Do you mean with systemd-nspawn?
+
+Yes, it seems my chroot was not enough of a real system for it to work
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1