From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Baines Subject: Extending the mysql configuration Date: Wed, 19 Apr 2017 18:45:08 +0100 Message-ID: <6f7313e5-cbb8-abcb-aa25-795e0a697c6c@cbaines.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bFfVmg34eM12jD5DuChJ7pBSvWiqXUart" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0tfM-0002yl-Nj for guix-devel@gnu.org; Wed, 19 Apr 2017 13:45:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0tfH-0005ia-Sv for guix-devel@gnu.org; Wed, 19 Apr 2017 13:45:20 -0400 Received: from li622-129.members.linode.com ([212.71.249.129]:47507 helo=mira.cbaines.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0tfH-0005gz-N1 for guix-devel@gnu.org; Wed, 19 Apr 2017 13:45:15 -0400 Received: from [192.168.15.219] (my83-216-88-238.cust.relish.net [83.216.88.238]) by mira.cbaines.net (Postfix) with ESMTPSA id 895F513E3A0 for ; Wed, 19 Apr 2017 18:45:12 +0100 (BST) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bFfVmg34eM12jD5DuChJ7pBSvWiqXUart Content-Type: multipart/mixed; boundary="xUqLIXRO9vauIAirnCTCdFOoPoJkiSmMF"; protected-headers="v1" From: Christopher Baines To: guix-devel@gnu.org Message-ID: <6f7313e5-cbb8-abcb-aa25-795e0a697c6c@cbaines.net> Subject: Extending the mysql configuration --xUqLIXRO9vauIAirnCTCdFOoPoJkiSmMF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hey, Does anyone have any advice about making the mysql service configuration more flexible? At the moment, its not even possible to use a custom configuration file without modifying the Guix source code. My initial thoughts revolved around at some level providing access to a data structure like: (("mysqld" . (("datadir" . "/var/lib/mysql") ("socket" . "/var/run/mysql/mysql.sock") ("port" . "3306")))) This could be part of a record, that can be built in to the configuration file. This could also be a general feature, as I'm sure other services will use this format, I spotted Avahi when looking through the code. I also spotted the define-configuration syntax, which looks like it might work well, but I wanted to check if this was definitely a direction more services were heading before attempting to write out a large part of the supported configuration options. Thanks, Chris --xUqLIXRO9vauIAirnCTCdFOoPoJkiSmMF-- --bFfVmg34eM12jD5DuChJ7pBSvWiqXUart Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJFBAEBCAAvFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAlj3oicRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcUvA/+IT14JjwjsXQAvqOI4+7XndgFaUmWNVi9 NcpOXsNkPZ4d9nq4m2xTVSno1v6eZfoUNisy6BgZepmbFAumIo8OI6o9ZlHEPy/d 9lrlE94qMC/gM7Yim1bSLZR/wKZ5FLGSf3i+TXaD5UEq2u+XRbwY+v12JTXzcngJ JqCWvJ0TFvxyaX8daw9oHlhOlxlINHHsiA9st76Usd481qQUf+cZDoluApiF0w8s cK5LxobpVX8NSjQkaRjn9+XZRYUkq+/cf/1a/NvXwrZgrnYRJB35MqjDrT7LW1gN ueZF1nwybZfJhpzucg9hDFy7cHG0ddUyfyS4NpgF8SNTqBkqv7zRNFAZLJ4YeKwJ wfg0OP8cyeMg8vMFzt7KM9K5nArlVPpf/b8ijmrvPg7hhWTRdTya8Em54clN6/uK QHuIrpA6ywJPv+tOJLqF7EUgCvarxFOG1iqN8GCkgvEfeDAHc3d8bfGT93QBdaMX wWMSAq0W/IiczPgNjfzxcxH0Nftr8FmPbSuk4jnU3u3nEdXHP8IydD4LWryeSdvJ y6hF8qokDztOVNAqgbKCUqcTvM0j5ApwVYFLjvQbxHsDUyymWi777zjXHRLZS3aU GvClUQIdaTIZk8cr0zKKVURTZPVDnixdwYQ90BeIRmh8WzlcpO3T9YtaCZXg6SIU SJ9VifHOsZ8= =ZXmO -----END PGP SIGNATURE----- --bFfVmg34eM12jD5DuChJ7pBSvWiqXUart--