From owner-freebsd-hackers Mon Jul 6 04:24:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA23710 for freebsd-hackers-outgoing; Mon, 6 Jul 1998 04:24:36 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from verdi.nethelp.no (verdi.nethelp.no [158.36.41.162]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA23699 for ; Mon, 6 Jul 1998 04:24:24 -0700 (PDT) (envelope-from sthaug@nethelp.no) From: sthaug@nethelp.no Received: (qmail 4572 invoked by uid 1001); 6 Jul 1998 11:24:19 +0000 (GMT) To: smoergrd@oslo.geco-prakla.slb.com Cc: hackers@FreeBSD.ORG Subject: Re: -stable startup problem In-Reply-To: Your message of "06 Jul 1998 12:32:48 +0200" References: X-Mailer: Mew version 1.05+ on Emacs 19.34.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Date: Mon, 06 Jul 1998 13:24:19 +0200 Message-ID: <4570.899724259@verdi.nethelp.no> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Quite simply, fsck runs in login class daemon (IIRC) which has quite > strict memory limits - too strict to fsck a large file system. This > was fixed before 2.2.5 shipped, so if you are seeing this on -stable, > you have forgotten to update your /etc after make world. A general problem I have with the login.conf mechanism is that it's often difficult to see exactly *where* (which entry) the limits are taken from, and what are the consequences of changing the limits. For instance, I recently ran into trouble with ssh logins. Found that I could login just fine if the ssh binary was *not* setuid - but with the default (setuid root) installation, I bumped into the limit on the number of processes. I was able to find the relevant login.conf entry and change it, but: - It took some experimentation to find the correct entry (the "default" entry, in this case). - Now that I've changed it, I'm not at all sure what *other* parts of the system are going to be affected. - It's not obvious to me that different behavior for suid and non-suid programs is logical. Steinar Haug, Nethelp consulting, sthaug@nethelp.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message