From owner-freebsd-ports Mon Dec 4 10: 0:15 2000 From owner-freebsd-ports@FreeBSD.ORG Mon Dec 4 10:00:11 2000 Return-Path: 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 B1DE737B400 for ; Mon, 4 Dec 2000 10:00:11 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eB4I0Bs56077; Mon, 4 Dec 2000 10:00:11 -0800 (PST) (envelope-from gnats) Date: Mon, 4 Dec 2000 10:00:11 -0800 (PST) Message-Id: <200012041800.eB4I0Bs56077@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: "Louis A. Mamakos" Subject: Re: ports/23266: mysql323-server port broken - can't create /var/run/mysql.sock Reply-To: "Louis A. Mamakos" Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/23266; it has been noted by GNATS. From: "Louis A. Mamakos" To: Vivek Khera Cc: FreeBSD-gnats-submit@freebsd.org, dirk@freebsd.org Subject: Re: ports/23266: mysql323-server port broken - can't create /var/run/mysql.sock Date: Mon, 04 Dec 2000 12:52:43 -0500 > >>>>> "LM" == Louis Mamakos writes: > > > LM> If mysqld is started as user 'mysql', it doesn't have permissions to > LM> create a socket in /var/run. According to /etc/mtree/BSD.var.dist, > LM> /var/run has mode 0755 and is owned by root. > > It seems to me a more sane location for mysql.sock is /var/db/mysql, > but then that needs to be globally readable. I don't think that's > such a big deal to do, though, and is how I set it up on my systems. That sounds reasonable; the directories for the various databases can still be mode 0700. To eliminate the potential problem of exposing what databases exist, /var/db/mysql can be mode 0711. louie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message