/srv/irclogs.ubuntu.com/2024/04/05/#ubuntu-security.txt

ahasenack_still somebody here? Another question. I'm checking an apparmor profile at package build time, using apparmor_parser, trying to detect (and avoid) syntax errors00:06
ahasenack_so I call it like "apparmor_parser -K -T -Q <file>"00:06
ahasenack_works fine00:06
ahasenack_except I now have "#include <local/foo>"00:06
ahasenack_and /etc/apparmor.d/local/foo doesn't exist in the build environment00:06
ahasenack_so that started failing00:06
ahasenack_I found the -I option, and it seems to work00:07
ahasenack_so, just double checking with another pair of eyes:00:07
ahasenack_$ l debian/apparmor/local/ubuntu_pro_apt_news debian/apparmor/ubuntu_pro_apt_news00:07
ahasenack_-rw-rw-r-- 1 ubuntu ubuntu    0 Apr  4 23:49 debian/apparmor/local/ubuntu_pro_apt_news00:07
ahasenack_-rw-r--r-- 1 ubuntu ubuntu 1.2K Apr  4 23:48 debian/apparmor/ubuntu_pro_apt_news00:07
ahasenack_and00:07
ahasenack_$ apparmor_parser -I $(pwd)/debian/apparmor -K -T -Q debian/apparmor/ubuntu_pro_apt_news ; echo $?00:07
ahasenack_000:07
ahasenack_looks good?00:08
sarnoldprobably fine; though I see the other examples in my /etc/apparmor.d/local/ are 644 and not 66400:09
ahasenack_ah, ok, ddn't check that. Just did a "touch"00:10
sarnoldwe've got an 'include if exists' but I don't see anything using that yet :/ so I don't know if this should be the first or if it's better to just follow along the pattern that the others do00:10
ahasenack_looks like my umask is lax00:10
ahasenack_I thought of that, but I don't think it exists in xenial00:10
ahasenack_let me see if I have a xenial vm...00:11
ahasenack_just to make sure00:11
sarnold*xenial* ugh I forgot00:12
sarnoldyeah just stick with what you've got00:12
sarnoldI can't recall when this was introduced but xenial seems likely to be pushing it :)00:12
ahasenack_it's not in the xenial apparmor.d manapge, but is in the jammy one00:14
ahasenack_x:            INCLUDE = '#include' ( ABS PATH | MAGIC PATH )00:14
ahasenack_j:            INCLUDE = ( '#include' | 'include' ) [ 'if exists' ] ( ABS PATH | MAGIC PATH )00:15
ahasenack_was added somewhere in between00:15
sarnoldi'm glad you went looking rather than just using it :)00:15
ahasenack_not my first xenial apparmor profile in the recent months ;)00:21
ahasenack_was bitten before00:21
sarnoldhehehe :(00:24
=== chris14_ is now known as chris14
UnivrslSuprBoxUSP 224 was an excellent look over the xz-utils backdoor. Thank you!15:57
=== ahasenack_ is now known as ahasenack
=== JanC_ is now known as JanC
RonDesmondHi, is there a way to see earlier logs?  I asked a question a couple days ago about OVAL reporting19:42
RonDesmondThe link for channel logs only seems to cover today19:42
=== NotEickmeyer is now known as Eickmeyer

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!