From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 18 21:40:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F2AB1065672 for ; Wed, 18 Feb 2009 21:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5858FC24 for ; Wed, 18 Feb 2009 21:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n1ILe1aW002957 for ; Wed, 18 Feb 2009 21:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n1ILe18Y002956; Wed, 18 Feb 2009 21:40:01 GMT (envelope-from gnats) Resent-Date: Wed, 18 Feb 2009 21:40:01 GMT Resent-Message-Id: <200902182140.n1ILe18Y002956@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Sean M. Collins" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3A981065670 for ; Wed, 18 Feb 2009 21:35:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id A20E38FC15 for ; Wed, 18 Feb 2009 21:35:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n1ILZfFV038216 for ; Wed, 18 Feb 2009 21:35:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n1ILZfqN038214; Wed, 18 Feb 2009 21:35:41 GMT (envelope-from nobody) Message-Id: <200902182135.n1ILZfqN038214@www.freebsd.org> Date: Wed, 18 Feb 2009 21:35:41 GMT From: "Sean M. Collins" To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131856: Virtualmin adds new users to www group - overwhelms apache X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 21:40:01 -0000 >Number: 131856 >Category: ports >Synopsis: Virtualmin adds new users to www group - overwhelms apache >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 18 21:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Sean M. Collins >Release: CURRENT >Organization: >Environment: FreeBSD vulture.coreitpro.com 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Mon Jan 5 03:46:10 EST 2009 scollins@scollins.homeip.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: When creating new virtual servers in Virtualmin, new users are added to the www group. When too many are added, Apache will have trouble starting up - complaining about not being able to set the group and user IDs. Tue Feb 17 07:50:53 2009] [alert] (22)Invalid argument: initgroups: unable to set groups for User www and Group 80 [Tue Feb 17 07:50:53 2009] [alert] (22)Invalid argument: initgroups: unable to set groups for User www and Group 80 [Tue Feb 17 07:50:53 2009] [alert] (22)Invalid argument: initgroups: unable to set groups for User www and Group 80 [Tue Feb 17 07:50:54 2009] [alert] Child 10883 returned a Fatal error... Apache is exiting! >How-To-Repeat: Install Virtualmin, create new domains with user accounts. The problem appears after you create 10 or so >Fix: Change the following defaults for virtualmin: DO NOT add the new users to the www group Create public_html directories with ownership mode 755 Remove previous accounts that were created from the www group in the /etc/group file. I can create a diff of the settings file for virtualmin if required. >Release-Note: >Audit-Trail: >Unformatted: