/srv/irclogs.ubuntu.com/2017/08/25/#ubuntu-kernel.txt

=== JanC is now known as Guest55020
=== JanC_ is now known as JanC
=== cachio is now known as cachio_lunch
stgrabersforshee: where can I get that 4.13.0-6.7 kernel?15:52
stgrabersforshee: based on the lxd logs, it looks like something's broken with apparmor profile namespacing, but I'd need to reproduce this myself to see exactly what15:53
sforsheestgraber: ppa:canonical-kernel-team/unstable15:56
stgrabersforshee: for the lxc one, I'm actually wondering if it's not the current resolvconf/networkd mess that's breaking DNS in there. When were those tests run?15:57
sforsheestgraber: today15:58
stgraberhmm, guess I'll have to look at what they broke in artful now...15:58
=== cachio_lunch is now known as cachio
sforsheejjohansen: some snapd adt tests are failing with 4.13, and all the failures have the message "Failed to query AppArmor policy: Permission denied." Any idea what's going on there?16:31
sforsheejjohansen: bug 171310316:31
ubot5bug 1713103 in snapd (Ubuntu) "snapd 2.27.3+17.10 ADT test failure with linux 4.13.0-6.7" [Undecided,New] https://launchpad.net/bugs/171310316:31
tyhickssforshee: are you able to run commands on that test machine? if so, the output of `ls -al /sys/kernel/security/apparmor/.access` would be hadny16:34
tyhickss/hadny/handy/16:35
tyhickssforshee: oh, I've got yesterday's linux-next kernel running in a VM16:35
tyhickson artful:16:35
tyhicks-rw-rw-rw- 1 root root 0 Aug 15 17:38 /sys/kernel/security/apparmor/.access16:35
tyhicks(artful kernel 4.11.0-13.19-generic)16:36
tyhickson linux-next:16:36
tyhicks-rw-r----- 1 root root 0 Aug 24 21:26 /sys/kernel/security/apparmor/.access16:36
sforsheetyhicks: those were adt tests so no I don't have access16:37
tyhickslooks like the apparmor kernel query interface was upstreamed with different file permissions than what was previously in ubuntu16:37
tyhickssforshee: no worries - I'll update the bug with my findings so that jjohansen knows the problem when he starts his day16:38
sforsheetyhicks: thanks, appreciate it!16:38
stgrabertyhicks, sforshee: tracked down the LXD adt failure with 4.13, the problem is a change of apparmor syntax to represent a stacked profile17:43
stgraberbefore 4.13:17:44
stgraber   lxd-aatest_</var/lib/lxd>//&:lxd-aatest_<var-lib-lxd>://unconfined (27047) 17:44
stgraberafter 4.13:17:44
stgraber   lxd-aatest_</var/lib/lxd>//&:lxd-aatest_<var-lib-lxd>:unconfined (23835) 17:44
stgraberthis is tripping our test for ":<profile>://unconfined"17:44
stgraberI'll send an upstream tweak for our testsuite so that it supports both syntaxes17:46
tyhicksjjohansen: ^ was that intentional?17:47
jjohansentyhicks: give me a sec17:48
tyhicksno worries, just making sure you saw stgraber's investigation17:49
stgraberjjohansen, tyhicks: If this is expected, I'll send this upstream: http://paste.ubuntu.com/25390829/17:49
stgraberwhich should make both our policy and test support both syntaxes17:49
jjohansentyhicks: the switch from :ns://profile -> :ns:profile was intential17:50
jjohansenboth formats have always been valid17:50
jjohansenI guess you weren't around when I asked the question17:50
jjohansenit came down to readablity17:50
tyhicksI suppose it is nice to save a couple chars since that string length is limited17:51
jjohansenwell yes there is that too17:51
stgraberjjohansen: do we need to have both syntaxes listed in change_profile?17:51
jjohansenstgraber: ? you can use either, they are both valid, always have been17:52
stgraberjjohansen: right now we generate a profile which contains: "change_profile -> lxd-aatest_</var/lib/lxd>//&:lxd-aatest_<var-lib-lxd>://*"17:52
jjohansenoh, you mean the documentation? yes they should be17:52
stgraberWill that match someone doing a change profile to "lxd-aatest_</var/lib/lxd>//&:lxd-aatest_<var-lib-lxd>:unconfined"?17:53
stgraberor is the check done against the provided string as it came from the user17:53
jjohansenstgraber: the check is should be post parse17:54
jjohansenbut it is possible there is a bug17:54
stgraberok17:56
jjohansenso, I would say that is a bug on our end, I'll take a look17:56
stgraberI don't know that there is a bug, was just wondering whether we need to allow both syntaxes in the profile so that we don't end up with one being blocked for our users17:57
stgraberanyway, I've confirmed that listing both syntaxes doesn't cause problems, so we'll just go with that, safer that way17:57
jjohansenstgraber: yes its a bug, but at least there is a work around of listing both18:00
sforsheejjohansen, tyhicks: also some apparmor test failures here - https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-artful-canonical-kernel-team-unstable/artful/amd64/l/linux/20170825_162923_61ef2@/log.gz19:10
tyhicksjjohansen: looks like pivot_root regression test failures19:13
tyhicksprobably related to the lack of profile transition functionality19:13
jjohansensforshee: yes there are a few regression test changes to go with the kernel, we need to get those pushed out19:26
jjohansenthere are the pivot root transitions, a couple of query tests going from xpass to pass19:27
sforsheejjohansen: ack, thanks for taking a look19:27
jjohansenthe longpath fix which we already have in ubuntu19:27
tyhicksxpass -> pass19:27
tyhicksnice19:27
tyhicksjjohansen: I think bug 1713103 is probably the most important failure right now19:28
ubot5bug 1713103 in linux (Ubuntu) "snapd 2.27.3+17.10 ADT test failure with linux 4.13.0-6.7" [High,Triaged] https://launchpad.net/bugs/171310319:28
tyhicksjjohansen: I did some quick triage, left my findings in the bug, and then assigned it to you19:28
jjohansenack19:28
=== tjaalton_ is now known as tjaalton
tyhickssforshee: we spoke one or two weeks ago about the need to target both the 4.12 and 4.13 kernels for artful backports21:18
tyhickssforshee: however, I'm just getting around to the backport21:18
tyhickssforshee: do I still need to target both or is 4.13 sufficient?21:18
* tyhicks isn't sure when 4.13 is expected to land21:19
tomreynbefore 4.14!22:38
tomreyn.12 has rc7 before going 'stable'. .11 had rc8, .10 had rc8. we're at 4.13.6, i'll give it another one or two rc's.22:40
tomreynthat's unless hpe ilom ent into kernel space recently ;-)22:42
tomreyn... or someone actuall ylooked at inifiniband code from an infinite perspective.22:44
tyhickssforshee: nvm, I went ahead and backported to 4.12 and tested both 4.12 and 4.13. Patches sent to the kernel-team mailing list.23:17

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