Niels Terp wrote:
> Hi,
>
> I have lately played a little around with baho-utot's build system that
> build LFS with RPM. That works great. One addition I always make in the end,
> is that I install OpenSSL, OpenSSH and Wget. That also used to work fine. I
> install it manually after the build script finish, and after logging into
> the chrooted environment.
>
> But now using BLFS 2013-07-30, the boot script can not start the OpenSSH
> server. It fails with:
>
> sshd: line 39: /proc//oom_score_adj: Access refused (Translated from Danish,
> it might be slightly different in English).
>
> Can anybody help me with this, so I can talk to my laptop again ?
If you are in chroot, you really don't want to start sshd there. The
commands
pid=`cat /run/sshd.pid 2>/dev/null`
echo "-16" >/proc/${pid}/oom_score_adj
are in the boot script.
If you are booting, make sure /proc is mounted properly in the mountfs
script. Check fstab.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page