Reading the good discussion on the debian bug, there is a discussion about the best place to put this mod-md data. /etc/apache2/md seems to be a bad choice, and I agree. It just happens to be the default because it's $SERVER_ROOT/md, and SERVER_ROOT in debian/ubuntu builds is /etc/apache2.
A better place seems to be /var/lib/apache2, as this data should persist and it's not throw-away. /var/cache/apache2 was suggested, but I tend to agree with /var/lib. We could provide a /etc/apache2/conf-available/md.conf file which sets the path to /var/lib/apache2: MDStoreDir /var/lib/apache2/md The empty directory doesn't even need to be shipped, apache2 will create it if needed. I briefly tested that config, and indeed an apache2 restart created this structure: # l /var/lib/apache2/ total 5.0K drwxr-xr-x 6 root root 6 Nov 16 21:19 . drwxr-xr-x 40 root root 42 Nov 16 18:54 .. drwxr-xr-x 4 root root 4 Nov 16 21:14 conf drwxr-xr-x 6 root root 7 Nov 16 21:19 md drwxr-xr-x 4 root root 4 Nov 16 18:54 module drwxr-xr-x 3 root root 3 Nov 16 18:54 site Should we attempt to migrate data from /etc/apache2/md to /var/lib/apache2? Unclear at the moment. Up until noble we had a separate package for this module, bin:libapache2-mod-md, we should check what the default path was back then. But I think /var/lib/apache2/md sounds like a good plan, unless there is previous history of /etc/apache2/md being the "canonical" place. Also, we don't have a test for this module, so just starting apache2 with this config doesn't mean it is working. @silvercanarie do you have experience using mod-md with apache2 on ubuntu? Do you have a preference about what I wrote above? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2163358 Title: Broken md module due to restriction in apache2.service file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/2163358/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
