From owner-freebsd-ports Fri Nov 23 4:50: 7 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 47A9D37B416 for ; Fri, 23 Nov 2001 04:50:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fANCo3f27161; Fri, 23 Nov 2001 04:50:03 -0800 (PST) (envelope-from gnats) Received: from jay.netcraft.com (jay.netcraft.com [195.92.95.35]) by hub.freebsd.org (Postfix) with ESMTP id 5885937B405 for ; Fri, 23 Nov 2001 04:40:45 -0800 (PST) Received: (from jon@localhost) by jay.netcraft.com (8.11.6/8.11.6) id fANCeWZ21575; Fri, 23 Nov 2001 12:40:32 GMT (envelope-from jon) Message-Id: <200111231240.fANCeWZ21575@jay.netcraft.com> Date: Fri, 23 Nov 2001 12:40:32 GMT From: Jon Wilson Reply-To: Jon Wilson To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32225: safemysqld looks for my.cnf in wrong location Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32225 >Category: ports >Synopsis: safemysqld looks for my.cnf in wrong location >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 23 04:50:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Jon Wilson >Release: FreeBSD 4.4-STABLE i386 >Organization: Netcraft >Environment: System: FreeBSD jay.netcraft.com 4.4-STABLE FreeBSD 4.4-STABLE #3: Mon Oct 29 12:45:29 GMT 2001 jon@jay.netcraft.com:/var/obj/usr/src/sys/JAY i386 mysql-server-3.23.43 >Description: the mysql startup script 'safe_mysqld' will load a config file 'my.cnf' if it exists in various locations (see the mysql docs for details). The mysql-server port correctly installs things under /usr/local, but safe_mysqld only looks for /etc/my.conf, and ignores /usr/local/etc/my.cnf >How-To-Repeat: Put a config statement in /etc/my.cnf and watch it get ignored >Fix: workaround: ln -s /usr/local/etc/my.cnf /etc/my.cnf >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message