Ken Moffat wrote:
> 2. Sshd doesn't start - moans about /proc/oom_score_adj which seems
> not to exist [ scrawled note among the several errors I got, might
> not have copied all of it ] - perhaps ${pid} is somehow not set
> although that line of the bootscript hasn't changed.
The bootscript should have:
pid=`cat /run/sshd.pid 2>/dev/null`
echo "-16" >/proc/${pid}/oom_score_adj
For me, I have:
$ cat /run/sshd.pid
1486
$ ll /proc/1486/oom_score_adj
-rw-r--r-- 1 root root 0 Aug 28 13:56 /proc/1486/oom_score_adj
$ cat /proc/1486/oom_score_adj
-16
$ uname -a
Linux blfs 3.10.7-LFS-7.4-rc1 #1 SMP Sat Aug 17 15:14:53 CDT 2013 x86_64
GNU/Linux
I can't imagine a difference for this between 3.10.7 and 3.10.10.
> Anyway, I
> commented that line - now I get "httpd: bad user name apache" - looks
> as if my script has broken (the group got set, but not, apparently,
> the user), but the gratuitous changes for apache since 7.2 already
> broke my first attempt to build it (httpd.conf is in a different
> directory). Will have to fix whatever the issues are, otherwise I
> won't be able to commit.
I don't have any issues with apache.
> Talking of committing, on this machine, using -j1, svn-1.8.3 with
> its tests takes 69 minutes (and two of them fail). I just hope it
> works in reality.
I haven't upgraded to 1.8.3 yet. I'm still at 1.8.1 built on Aug 17,
but I have no issues with that.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page