<div dir="ltr"><div>Judging by file dates I have not overwritten the binaries by running make:</div><div><br></div><div>$ ll /usr/sbin/aa-genprof</div><div>-rwxr-xr-x 1 root root 6355 aug 11  2014 /usr/sbin/aa-genprof*</div><div><br></div><div><div>$ ll /usr/lib/libapp*</div><div>-rw-r--r-- 1 root root 56990 aug 11  2014 /usr/lib/libapparmor.a</div><div>-rw-r--r-- 1 root root   961 aug 11  2014 /usr/lib/<a href="http://libapparmor.la">libapparmor.la</a></div><div>lrwxrwxrwx 1 root root    20 aug 11  2014 /usr/lib/libapparmor.so -> libapparmor.so.1.0.2</div><div>lrwxrwxrwx 1 root root    20 aug 11  2014 /usr/lib/libapparmor.so.1 -> libapparmor.so.1.0.2</div><div>-rw-r--r-- 1 root root 39664 aug 11  2014 /usr/lib/libapparmor.so.1.0.2</div><div>lrwxrwxrwx 1 root root    25 mar  7  2013 /usr/lib/libappindicator3.so.1 -> libappindicator3.so.1.0.0</div><div>-rw-r--r-- 1 root root 52048 mar  7  2013 /usr/lib/libappindicator3.so.1.0.0</div><div>lrwxrwxrwx 1 root root    24 mar  7  2013 /usr/lib/libappindicator.so.1 -> libappindicator.so.1.0.0</div><div>-rw-r--r-- 1 root root 52048 mar  7  2013 /usr/lib/libappindicator.so.1.0.0</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 30, 2016 at 9:54 AM, Me Self <span dir="ltr"><<a href="mailto:wmsopou@gmail.com" target="_blank">wmsopou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I also installed the source for libapache2-mod-apparmor to build the tomcat changehat. I followed these steps from the README to build the library before building the Java stuff. I hope I skipped the last step to install, but if i didnt could that have corrupted the ubuntu installation?<div><br></div><div><div>libapparmor:</div><div>$ cd ./libraries/libapparmor</div><div>$ sh ./autogen.sh</div><div>$ sh ./configure --prefix=/usr --with-perl      # see below</div><div>$ make</div><div>$ make check</div><div>$ make install</div></div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 30, 2016 at 4:02 AM, Seth Arnold <span dir="ltr"><<a href="mailto:seth.arnold@canonical.com" target="_blank">seth.arnold@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Tue, Mar 29, 2016 at 05:10:39PM -0700, John Johansen wrote:<br>
> >> lxc/lxc-default contains syntax errors. Line [  capability,]<br>
</span><span>> >> Ubuntu 12.04<br>
<br>
> > Hello; I wasn't able to recreate this locally. Do you get any errors when<br>
<br>
</span><span>> hrmmm IIRC (and I haven't taken the time to check) a bare capability rule<br>
> ie.<br>
>    capability,<br>
><br>
> is not valid to the version of apparmor in 12.04<br>
<br>
</span>That's what I expected to find when I went investigating, but the file<br>
looks like this out of the box:<br>
<br>
sarnold@sec-precise-amd64:~$ cat /etc/apparmor.d/lxc/lxc-default<br>
# Do not load this file.  Rather, load /etc/apparmor.d/lxc-containers, which<br>
# will source all profiles under /etc/apparmor.d/lxc<br>
<br>
profile lxc-container-default flags=(attach_disconnected,mediate_deleted) {<br>
  network,<br>
  capability,<br>
  file,<br>
  umount,<br>
...<br>
<br>
$ sudo grep lxc /sys/kernel/security/apparmor/profiles<br>
lxc-container-default (enforce)<br>
/usr/bin/lxc-start (enforce)<br>
<br>
That's how I came to wondering if the file was corrupted.<br>
<br>
Thanks<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>