Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-7300

mysql : Support for adding/changing in apparmor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: mysql
    • Labels:
    • Environment:

      Ubuntu 18.04 (and others)

       

    • Template:
      MODULES Bug Template
    • Epic Link:
    • Team:
      Modules
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      I'm using this module to set up a MySQL-server in an another directory than default. This messes with the initialization of the database since mysql doesn't have permission to write to my chosen directory because apparmor is blocking access.

      It would be a nice feature to be able to change apparmor configuration if datadir is changed or some parameters are used when installing a server.

      In Ubuntu apparmor configuration for mysql isn't installed until the server is installed. A workaround is to add my chosen directory to apparmor when the configuration file appears but then I need atleast two puppet runs where the first one will fail.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rogermartensson Roger Mårtensson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Zendesk Support