[apparmor] RFC: Patch [Bug 1207424] Re: mod_apparmor should let me use ServerName as default hat name

Seth Arnold seth.arnold at canonical.com
Sat Aug 10 01:56:21 UTC 2013


On Fri, Aug 09, 2013 at 05:13:10PM -0700, John Johansen wrote:
> >> the hostname will be looked up and used.  Obviously this patch isn't
> >> complete, but its a first pass and I wanted feedback before I put any
> >> more work into it.

> right, the question now is do we want to support <hostname> and <vhostname>?

I don't see a usecase for the machine's _actual_ hostname here. As far
as the Apache administrator cares, the "hostname" in the virtualhost
configuration blocks is the virtual hostname.

I think the thing to do is support "<hostname>" as the magic string and
have it mean the vhostname. 

Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20130809/17cd3ded/attachment.pgp>


More information about the AppArmor mailing list