Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Oct 2015 11:58:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 204144] databases/percona55-server: updating port breaks ownership of /var/db/mysql
Message-ID:  <bug-204144-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204144

            Bug ID: 204144
           Summary: databases/percona55-server: updating port breaks
                    ownership of /var/db/mysql
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: flo@FreeBSD.org
          Reporter: sergey@akhmatov.ru
          Assignee: flo@FreeBSD.org
             Flags: maintainer-feedback?(flo@FreeBSD.org)

On inital install /var/db/mysql is created owned by root:wheel
Directory ownership is changed by rc.d/mysql-server script in
'mysql_create_auth_tables' procedure on first startup.

When I reinstall port, e.g. for updating, /var/db/mysql ownership is changed to
root:wheel
rc-script no longer changes directory owner because it's already populated with
system tables.

SQL-server can't start until manual chown for /var/db/mysql

-- 
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-204144-13>