[apparmor] [patch 0/8] Ubuntu apparmor package patches not yet in trunk
Steve Beattie
steve at nxnw.org
Sat Feb 15 09:33:20 UTC 2014
On Wed, Feb 12, 2014 at 02:16:47PM -0600, Jamie Strandboge wrote:
> On 02/11/2014 05:53 PM, Seth Arnold wrote:
> > 0077_aa-status-is-bilingual.patch
> >
> I'm ok with specifying python3 here, but I'm not sure if other distros have that
> by default.
This ends up being more of an issue with the new python utils. Because
we manually install the binaries rather than use the distutils
script (utils/python-tools-setup.py), the shebang header doesn't get
re-written with whichever python interpreter is used to drive the
setup script.
We could convert to using the disttutils script, but right now we
install most of the utilities into /usr/sbin/, and distutils only
supports installing scripts into /usr/bin. If we're okay with changing
that, then we wouldn't need a patch like this.
Also, regardless of how we handle scripts, we should probably consider
moving to setuptools for the install of the utility python library,
as it has better support for http://www.python.org/dev/peps/pep-0402/,
which helps integrating external apparmor submodules.
--
Steve Beattie
<sbeattie at ubuntu.com>
http://NxNW.org/~steve/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20140215/433fd676/attachment.pgp>
More information about the AppArmor
mailing list