[apparmor] [PATCH] binutils: Install to /bin instead of /sbin
Tyler Hicks
tyhicks at canonical.com
Thu Dec 17 02:33:48 UTC 2015
On 2015-12-16 20:30:23, Tyler Hicks wrote:
> aa-enabled should live in /bin, rather than /sbin, since it requires no
> root privileges.
I'm on the fence about whether aa-enabled, and eventually aa-exec,
should live in /bin or /usr/bin.
libapparmor is in /lib (at least that's true in Ubuntu) so I think
aa-enabled and aa-exec are fine to go into /bin. I just don't have a
good feel for if they'll be used enough in early boot to justify living
in /bin. Any thoughts?
Tyler
>
> Signed-off-by: Tyler Hicks <tyhicks at canonical.com>
> ---
> binutils/Makefile | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/binutils/Makefile b/binutils/Makefile
> index fc6a8f3..3b99c3e 100644
> --- a/binutils/Makefile
> +++ b/binutils/Makefile
> @@ -18,6 +18,7 @@ COMMONDIR=../common/
> include $(COMMONDIR)/Make.rules
>
> DESTDIR=/
> +BINDIR=${DESTDIR}bin
> LOCALEDIR=/usr/share/locale
> MANPAGES=aa-enabled.8
>
> @@ -133,8 +134,8 @@ install: install-indep install-arch
>
> .PHONY: install-arch
> install-arch: arch
> - install -m 755 -d $(DESTDIR)/sbin
> - install -m 755 ${TOOLS} $(DESTDIR)/sbin
> + install -m 755 -d ${BINDIR}
> + install -m 755 ${TOOLS} ${BINDIR}
>
> .PHONY: install-indep
> install-indep:
> --
> 2.5.0
>
-------------- 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/20151216/dc0a7010/attachment.pgp>
More information about the AppArmor
mailing list