by tincman » Tue Jul 30, 2013 4:50 pm
$this->bbcode_second_pass_quote('gyurman', 'H')ello,
I had a probe with this. But i got a problem:
$this->bbcode_second_pass_code('', 'systemctl status sshd.service
Running in chroot, ignoring request')
Why I can't run any service from chroot?
Could you get me better solution?
Thanks
For sshd I usually start this as the chroot program instead of bash (then use VX ConnectBot to connect to my chroot). This works well enough for me. (aka 'chroot /path/to/chroot sshd'). This forks into the background and properly detaches, so you can close out your terminal and keep sshd running (the downside being a 'kill' command is the only way to shut it down).
As for systemd and/or other services, I think workdawg is correct that systemd only works as process 0. However, there is plenty on using systemd to start chroots and such, it's frustrating there doesn't seem functionalty to run it in a chroot.
For me, this doesn't impact my Arch experience too extensively--most services I would start are for handling network and power and such (which Android handles in this case).