From owner-freebsd-ports-bugs@freebsd.org Wed Aug 10 21:12:15 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2147FBB575F for ; Wed, 10 Aug 2016 21:12:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBEC11E87 for ; Wed, 10 Aug 2016 21:12:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u7ALCEo0075764 for ; Wed, 10 Aug 2016 21:12:14 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194305] databases/mariadb55-server (probably mysql too) ignores datadir directive in my.cnf Date: Wed, 10 Aug 2016 21:12:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, needs-qa X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: scratch65535@att.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2016 21:12:15 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194305 --- Comment #16 from MMacD --- in rx to Markus I certainly agree that breaking anything would be A Very Bad Idea, but 99% = of the problem could be solved by again following the MariaDB/MySQL docs about= the datadir directive in my.cnf. Don't disallow what's allowed now, just re-en= able datadir in my.cnf. That keeps the problem solved for those who already know about /etc/rc.conf, and again solves the problem for those who read the MariaDB/MySQL docs. Then, a future MariaDB/MySQL port (maybe the next one?) could prominently announce in the ephemera at the end of the install that, while the db files used to be in /var/db/mysql, they can now be found in /var/lib/mysql *AND* = that the datadir directive in my.cfg should be set if a different location is desired. Then the /etc/rc.conf kludge etc. could be allowed to decay naturally. (Sys management has never been a job or a hobby, for me. The only boxes I'= ve ever managed are the ones at my own desk. Mostly VMS then, FreeBSD and Win= doze now. I've always worked in product dev: developer, dev boss, architect, program manager, so to me the box has always and only been a tool for getti= ng something else done, and consequently I've never had the time to be a "good admin" :-) ) --=20 You are receiving this mail because: You are the assignee for the bug.=