Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2007 18:51:03 -0800
From:      "Josh Carroll" <>
Subject:   login.conf not honored for rc scripts?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
I've been having a problem with mysql and apache starting up properly,
and finally I think I found the issue.

I have a "gallery" class defined in /etc/login.conf with the limits I
want, but the rc scripts are using the default class values instead. I

limits > /tmp/limits

In the /usr/local/etc/rc.d/mysql-server rc script, and I see the following:

Resource limits (current):
  cputime          infinity secs
  filesize         infinity kB
  datasize            24576 kB
  stacksize           24576 kB
  coredumpsize            0 kB
  memoryuse           24576 kB
  memorylocked        24576 kB
  maxprocesses           25
  openfiles             200
  sbsize           infinity bytes
  vmemoryuse          24576 kB

Here is the gallery login class definition from login.conf:


And here is the mysql entry in master.passwd:

mysql:*:88:88:gallery:0:0:MySQL Daemon:/nonexistent:/sbin/nologin

I'm hoping someone can point out what I'm missing here. Before anyone
asks, yes I did run pwd_mkdb and cap_mkdb :)


Want to link to this message? Use this URL: <>