Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Feb 2021 11:31:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253245] databases/mysql80-server: unknown user 'mysqlrouter'
Message-ID:  <bug-253245-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 253245
           Summary: databases/mysql80-server: unknown user 'mysqlrouter'
           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: freebsd-ports@charlieroot.de
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

mysql80-server installs etc/logrotate.d/mysqlrouter. Content:

/var/log/mysqlrouter/mysqlrouter.log {
        create 600 mysqlrouter mysqlrouter
        notifempty
        daily
        rotate 5
        missingok
        compress
    postrotate
      # only if mysqlrouter is really running
      if [ -f "/var/run/mysqlrouter/mysqlrouter.pid" ]
      then
        kill -HUP `cat /var/run/mysqlrouter/mysqlrouter.pid`
      fi
    endscript
}

Problem: mysqlrouter:mysqlrouter is not created during installtion resulting
in:

error: mysqlrouter:32 unknown user 'mysqlrouter'
error: found error in /var/log/mysqlrouter/mysqlrouter.log , skipping

Solution: create mysqlrouter:mysqlrouter during installation.

--=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-253245-7788>