From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4HLFAFpBZGdUfgEA62LTzQ:P1 (envelope-from ) for ; Thu, 19 Dec 2024 15:52:58 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4HLFAFpBZGdUfgEA62LTzQ (envelope-from ) for ; Thu, 19 Dec 2024 16:52:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CvuxVVVQ; dkim=fail ("headers rsa verify failed") header.d=junkeria.club header.s=MBO0001 header.b=K4QCV5Tw; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734623573; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=CHI0KRKGfwVUb9KUxdQpMEhJ9w0xoFUHzgZV1QNpPCk=; b=JLBiR92+eLdOXNdLzFkYDEQAKOmV0D611kvNAhK08xl5wWbAHt3DvWmDFvDgTLCnKeuF+7 Xm/Ijxo+ES2f/lxNDy7WOcQftxuxKVAlgXeVvoHX33J1ah4H4gvNkAUDQs905j4dCVI8rt eHBQ3/2Tlv0YgEwY6XVbcffl2kApBhf5i/FhvWE3he56FyUy77z90rxiqCH5pE/lcThA2D IdVKIiE35rWXdqoKX45Oql1+4bc74U6EulBCbN3Zyr7N3tU6knE7J12f3hsgTcbyHrZrZI G39Z+K484GeU8qERvgV4FRi7GroXfT9uuXIFLdj1LyZjNwaZxGPq+Ld/iVK7ug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=CvuxVVVQ; dkim=fail ("headers rsa verify failed") header.d=junkeria.club header.s=MBO0001 header.b=K4QCV5Tw; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734623573; a=rsa-sha256; cv=none; b=BX/85O/3H5SqOCwI+JPHWl0TDKC9EkHEZ4QfWqWleDspij5GC5OaPV3z6KLG4RPXQ1DuHE FutQ7MrC/NnQ0dAlZeVHUwhkG3bMPk7buBUOBfhu+UK42xYvo9Vtqllfrl3Am26plAOVcP Ux3eyUATBvUCC/ArwUtUg2yVETG40kxZ/+jK7skOJGBnn4CJT23R+PzXLhD/ye1ZqLk6F1 JFM81YCb57elLK0/hQKnNqzvimbn0aMuxLxmtXRbZnMYbFD4J2XKim3Q6Yyz+yuOB/Wm6S ItOyVSMXE4U94jCRQYHiMpdwf7RPzNEKoRzLhIOS7nw56hBennkd5j+W7lpOvA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CE58B67B78 for ; Thu, 19 Dec 2024 16:52:52 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOIp9-0006dY-Bs; Thu, 19 Dec 2024 10:52:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tO8qN-0004fD-Uv for bug-guix@gnu.org; Thu, 19 Dec 2024 00:13:04 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tO8qN-0007Fl-Mi for bug-guix@gnu.org; Thu, 19 Dec 2024 00:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=CHI0KRKGfwVUb9KUxdQpMEhJ9w0xoFUHzgZV1QNpPCk=; b=CvuxVVVQMo8XswhQrYGUV5Z2ZjfRtXkft5yk42FqRH3CO9yOFPxOdLFc+hCZ1eZAc9Is+/CL81lP1oB7VP0FhNsndj6BNygsy/Fi7yvRstvWCXCKoiiYyc7nkD+d1CooV1iFUWqj1Z0vxFjV2q5VZikETdo34HKupMfTQa9OGnjO56EpzQRGivgfOOoIxEv+p0hqsDWh+X/Q2ZiKXKOM+jkYW0omKoLQHQihQ7f3WHpH8aWxyv26b0u8eRzuChnDKGu3G4Njhd25w/n0a96JHJVMkJAMZ8xm/S6d4zZbyKqLDPtV5j7JtTdSa7cHlffrWcbNBCH9WuJMS1TnM+96Lg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tO8qN-0000ER-Gh for bug-guix@gnu.org; Thu, 19 Dec 2024 00:13:03 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74960: mysql-service-type is not starting Resent-From: Dmitry Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 19 Dec 2024 05:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74960 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 74960@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1734585162820 (code B ref -1); Thu, 19 Dec 2024 05:13:03 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2024 05:12:42 +0000 Received: from localhost ([127.0.0.1]:36996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tO8pw-0000Cu-Un for submit@debbugs.gnu.org; Thu, 19 Dec 2024 00:12:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:59374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNy7p-0008NM-8Z for submit@debbugs.gnu.org; Wed, 18 Dec 2024 12:46:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tNy7o-0003IG-RK for bug-guix@gnu.org; Wed, 18 Dec 2024 12:46:20 -0500 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1tNy7m-0007rU-DJ for bug-guix@gnu.org; Wed, 18 Dec 2024 12:46:20 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4YD1Lm74T3z9tV4 for ; Wed, 18 Dec 2024 18:46:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junkeria.club; s=MBO0001; t=1734543969; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=CHI0KRKGfwVUb9KUxdQpMEhJ9w0xoFUHzgZV1QNpPCk=; b=K4QCV5TwUVM9WqPRnGyZD+d9eL9WxKRcmC/BTt042PmdcaprTEsLjm4GiIEZEIBwE5fWLc 2ggXEVgCIsRm224cVyXXK1/+xA5pSvz57QG5nANkXyE10vUEdLsGtW7Xo1LdegUhSlA6Ts altEk9qlN5kKIB7T6SgLprzyDGroSdep9k2ODfxx4l9coBbFFRTlRHGJNiGQq6BVusrF8D SWGn0WjeSKGItrnzXamyAgAsMXsu9ZQ6DosOxrSNqQ47NH/54fCRJdzZX7NaDpYQFDyTJS FqpASWzEO6RGk7yn5jzdD480gW593wM4kuQ7UAKlJFGWQ9Lx3mhGDJc3478SCQ== Date: Wed, 18 Dec 2024 20:46:06 +0300 From: Dmitry Message-ID: <6azr2lea2enq4vnnvbmptiyyc56ts2yh7c7lzxkcasasfuknj2@jb2dsmlzsynr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Rspamd-Queue-Id: 4YD1Lm74T3z9tV4 Received-SPF: pass client-ip=2001:67c:2050:0:465::102; envelope-from=dk@junkeria.club; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 19 Dec 2024 00:12:35 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 19 Dec 2024 10:49:20 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.68 X-Spam-Score: -9.68 X-Migadu-Queue-Id: CE58B67B78 X-TUID: z2iUDUKXWydC I'm trying to use a simple system with `mysql-service-type` with "guix system container", but I found out that `mysql-service-type` is not starting. $> guix system container mysql-test-system.scm system file: cat mysql-test-system.scm (use-modules (gnu) (gnu services) (gnu services shepherd)) (use-service-modules databases) (operating-system (locale "en_US.utf8") (timezone "Europe/Berlin") (host-name "example.org") (services (append %base-services (list (service mysql-service-type)))) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/boot/efi")) (keyboard-layout keyboard-layout))) (file-systems %base-file-systems)) ERROR: cat /var/log/mysqld.log 2024-12-18 18:01:51 chown: cannot access '/auth_pam_tool_dir/auth_pam_tool': No such file or directory 2024-12-18 18:01:51 Couldn't set an owner to '/auth_pam_tool_dir/auth_pam_tool'. 2024-12-18 18:01:51 It must be root, the PAM authentication plugin doesn't work otherwise.. 2024-12-18 18:01:51 2024-12-18 18:01:51 chown: cannot access '/auth_pam_tool_dir': No such file or directory 2024-12-18 18:01:51 Cannot change ownership of the '/auth_pam_tool_dir' directory 2024-12-18 18:01:51 to the 'mysql' user. Check that you have the necessary permissions and try again. 2024-12-18 18:01:51 2024-12-18 18:01:51 Installing MariaDB/MySQL system tables in '/var/lib/mysql' ... 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] mariadbd: Can't create/write to file '/var/lib/mysql/aria_log_control' (Errcode: 13 "Permission denied") 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] mariadbd: Got error 'Can't create file' when trying to use aria control file '/var/lib/mysql/aria_log_control' 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Plugin 'Aria' init function returned error. 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Plugin 'Aria' registration as a STORAGE ENGINE failed. 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Failed to initialize plugins. 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] Aborting 2024-12-18 18:01:51 2024-12-18 18:01:51 0 [ERROR] InnoDB: Cannot open '/var/lib/mysql/ib_buffer_pool.incomplete' for writing: Permission denied 2024-12-18 18:01:51 cat: write error: Broken pipe 2024-12-18 18:01:51 cat: write error: Broken pipe 2024-12-18 18:01:51 2024-12-18 18:01:51 Installation of system tables failed! Examine the logs in 2024-12-18 18:01:51 /var/lib/mysql for more information.