From owner-freebsd-questions@FreeBSD.ORG Thu Feb 22 03:17:55 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2283A16A400 for ; Thu, 22 Feb 2007 03:17:55 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.185]) by mx1.freebsd.org (Postfix) with ESMTP id AC66313C471 for ; Thu, 22 Feb 2007 03:17:54 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so33556muf for ; Wed, 21 Feb 2007 19:17:53 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=tqYNPN5j1cRvzxbmMfa9Qx30fka4QST5q689bxtGK8GOJRPbyG5Wvz4gMSujai1oUXMNB4Zj7iGLTL+OrMfJHeI497WczYnbJeC1a7e7eLUDYwKbiI0h5POUR62PcPdgmN98BkAWZXVXpRiBdgGOK5UQ/GeRgw/+MrlFKQ1dbRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=WCzbAAGDakIMQEFBiO+/MzTniuolA0ckjqyw+fkmulDVvTJ2spI7/zmBEdV4FRW/N3T1IflZXOqqgcuF8GCLj6KH61v1LsoYmlv1Bf6MjT6BVw+hgthaUlQSlAcF2DrUN3I0MXc5Vu8hoZepwPqG8aXfndbuP9Zjvc4BzwkL0nE= Received: by 10.82.136.4 with SMTP id j4mr22966bud.1172112663874; Wed, 21 Feb 2007 18:51:03 -0800 (PST) Received: by 10.82.163.16 with HTTP; Wed, 21 Feb 2007 18:51:03 -0800 (PST) Message-ID: <8cb6106e0702211851j6240e780t534b7166fe28b650@mail.gmail.com> Date: Wed, 21 Feb 2007 18:51:03 -0800 From: "Josh Carroll" To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: login.conf not honored for rc scripts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@psualum.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2007 03:17:55 -0000 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 put: 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: gallery:\ :datasize=400M:\ :stacksize=400M:\ :memorylocked=400M:\ :vmemoryuse=400M:\ 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 :) Thanks! Josh