Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2024 16:28:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280052] databases/mysql84-server: failed to start after pkg install
Message-ID:  <bug-280052-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280052-7788>