Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-11549

dev-db/mariadb does not pull in virtual/mysql when USE="server" is set

    • Hide
      $ USE=server emerge mariadb
      $ rc-config start mysql
      $ # frown
      $ USE=server emerge virtual/mysql
      $ rc-config start mysql
      $ # yay, a bugfix
      Show
      $ USE=server emerge mariadb $ rc-config start mysql $ # frown $ USE=server emerge virtual/mysql $ rc-config start mysql $ # yay, a bugfix
    • requires confusing extra work to start a mysql server on a system that appears to have it installed already.
    • mysql init scripts look for virtual/mysql that should be a dep of dev-db/mariadb at least in some circumstances and isn't.

      The result is that /etc/init.d/mysql doesn't start and complains only that there isn't an appropriate server package installed.  The init script was pulled in as a dependency of mariadb itself, but it points to missing virtual/mysql as the culprit. 

      I think we should add a dependency so that USE="server" causes virtual/mysql to be pulled in with USE="server" as well, so that the mysql init script is satisfied and the server can be used.

            Unassigned Unassigned
            cuantar cuantar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: