[blfs-dev] Plan for today

Bruce Dubbs bruce.dubbs at gmail.com
Thu Sep 5 06:56:14 PDT 2013

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
$ 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
$ uname -a
Linux blfs 3.10.7-LFS-7.4-rc1 #1 SMP Sat Aug 17 15:14:53 CDT 2013 x86_64 

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

More information about the blfs-dev mailing list