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

mysql : Support for adding/changing in apparmor

    XMLWordPrintable

Details

    • New Feature
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • None
    • None
    • mysql
    • Ubuntu 18.04 (and others)

       

    • MODULES Bug Template
    • Modules
    • 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

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

            Dates

              Created:
              Updated:

              Zendesk Support