From nobody Sat Jun 29 16:28:08 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WBHm90cwMz5P0cW for ; Sat, 29 Jun 2024 16:28:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WBHm861cFz55Lm for ; Sat, 29 Jun 2024 16:28:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719678488; a=rsa-sha256; cv=none; b=A0RvQsqTgYIalMajyEOZ6yT2FyNrwaZGQLw6jgn6EgB/xEzSblWXfhhlATksY6RsiG6Qk3 StCl3K+b96AtB2ubOQSnPQDLMmP44Vr4KDwntoT5eX4VgGaQNd6rC1ig04OHezzQ1WwSHI cz2X/hpcvI24D/XwO9Y4PeSiycoA/y+AWvvqFYhsR6AH5kg/BJ+JP8wr5RKoM+dAcNF/mm SCt3Lcm0OQPoKA4JP7PEsbZG7y66L2mtJNqUuHZCp/ExZHulXPPQrTpJXjYj8atFmzr3Eu JkWfqDWSTSCfp08EtIyvspB1GvW6bcXibBYv97HDVQOC2idGne/3/C4kga13kg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719678488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6Qxuh0LZS3ih3ZgEdV5iummw08TPUAEOpYxWXtI9U5c=; b=i9WQvM5roeBbdwdXZ57DZzKIU0wNqOsj0IsXHp2agn1fNneLZ7pFB4rxTt1Y01lcJpvHIh cJ6pJwuLXJ5DSDacDqzqLUaZh9KfjW2hePS1ojrQLgOTrN8kAtRT7xT38ymXuYMtHGgYfg q2oIoFaBG4AdEMl47HVO5tMK1FTCETl1hwZt9xrYHQmeLuLwoaz7wcdybNXg3+9mLxudBj 6Tq9b8tqC3OKGocj9Acr8cTghLxlZIll2Uv6vo9WEOiEKvIOx0w1Ft1m+LqSMdX0VaSDSO 85R1iarm0Sku1+3MVVfq+sTJzPcu59gpoCd9rYpw0YT26I2SfHg9psjOvjf7hw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WBHm85cZLzlpY for ; Sat, 29 Jun 2024 16:28:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45TGS8tl088175 for ; Sat, 29 Jun 2024 16:28:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45TGS852088174 for ports-bugs@FreeBSD.org; Sat, 29 Jun 2024 16:28:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280052] databases/mysql84-server: failed to start after pkg install Date: Sat, 29 Jun 2024 16:28:08 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dsh@bamus.cz X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280052 Bug ID: 280052 Summary: databases/mysql84-server: failed to start after pkg install Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: dsh@bamus.cz Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org Created attachment 251779 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251779&action= =3Dedit mysql84-server.diff Hi, after `pkg install mysql84-server`, `service mysql-server start` failed to start the server. In the log I see mysqld: Can't create/write to file '/var/db/mysql_tmpdir/ibe7JpUJ' (OS errn= o 13 - Permission denied) And I see `/var/db/mysql_tmpdir` owned by root, instead of mysql user. Looks like the reason is pkg-plist, which has @dir %%ETCDIR%%/keyring @dir %%MY_SECDIR%% @dir %%MY_TMPDIR%% instead of @dir(mysql,mysql,0750) %%ETCDIR%%/keyring @dir(mysql,mysql,0750) %%MY_SECDIR%% @dir(mysql,mysql,0750) %%MY_TMPDIR%% like `databases/mysql80-server` has. It's the same problem, like in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277598 --=20 You are receiving this mail because: You are the assignee for the bug.=