/srv/irclogs.ubuntu.com/2022/06/03/#snappy.txt

mupPR snapcraft#3777 opened: parts: fix metadata extraction dirs <Created by cmatsuoka> <https://github.com/snapcore/snapcraft/pull/3777>00:37
mupPR snapd#11811 closed: tests: allow to re-execute aborted tests  <Run nested> <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/11811>01:43
mupPR snapcraft#3745 closed: Fix/core20 ros plugin build failure should stop snapcraft <Created by Guillaumebeuzeboc> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3745>02:32
jameshamurray: hi. I ran into some problems with the cups interface, and was trying to work out whether I'm misreading the AppArmor rules or if they're just buggy.03:08
jameshamurray: there are a bunch of dbus rules using "peer=(name=org.freedesktop.DBus,label=unconfined)," (or similar but allowing different labels)03:09
jameshamurray: which looks weird since no peer is going to be able to own org.freedesktop.DBus (it is reserved for dbus-daemon)03:10
jameshalso, are the "name=" and "label=" parts of the clause combined with an "AND" or an "OR"?03:11
jameshthe apparmor.d man page wasn't much help in determining the answer to that last one03:11
amurrayjamesh: yeah I have been confused by that in the past too... let me see if I have any notes on that as I am not sure off the top of my head (I had thought it was 'AND' semantics - ie the peer has to be both unconfined and own the name)03:19
jameshamurray: my understanding was that jdstrand added the name= clause to a lot of these rules to handle D-Bus activatable services (where we don't know the peer label until after the message has been approved/rejected)03:21
jameshbut a peer can't own org.freedesktop.DBus...03:21
jameshamurray: the specific problem was in the cupsControlConnectedPlugAppArmor policy fragment: removing the name= part allowed messages to be received03:23
jameshI don't think the D-Bus activation reason really makes sense here either: if we're processing a receive rule, then the sender is already running and we'll know its AppArmor label.03:25
amurrayyeah I saw till's discussion of that - so the only other instances of name=org.freedesktop.DBus that I can see in snapd apparmor rules are for talking to dbus itself - so perhaps these (for /org/cups/cupsd/Notifier) were just wrong to begin with03:26
jameshOkay. I'll make a PR to update the cups-control interface here (Till was running into it). There seem to be a bunch of other interfaces with dubious rules using name=org.freedesktop.DBus where dbus-daemon isn't the source/destination03:28
amurraysounds good03:29
jameshThanks.03:31
amurrayI see a bunch in desktop-legacy, desktop, unity7 - I think these should also be updated to remove the name=org.freedesktop.DBus bit 03:32
jameshor work out what the appropriate bus name should be03:33
amurrayyes that would probably be better03:38
jameshIt'd be good to deprecate unity7 at some point03:39
jameshAnything still useful should be provided by one of combination of desktop and desktop-legacy03:41
mborzeckimorning06:10
mardymborzecki: hi!06:37
mborzeckiheya07:01
mupPR snapd#11833 closed: secboot, boot: TPM provisioning mode enum, introduce reprovisioning <Run nested> <factory reset 🔌> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11833>08:49
=== benfrancis0 is now known as benfrancis
mupPR snapd#11843 opened: interfaces/builtin: remove the name=org.freedesktop.DBus restriction in cups-control AppArmor rules <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/11843>10:14
mupPR snapd#11844 opened: secboot, boot: support and use alternative PCR handles during factory reset <Run nested> <factory reset 🔌> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/11844>10:29
mupPR snapd#11845 opened: tests/main/nfs-support: be robust against umount failures <Simple 😃> <Test Robustness> <Created by mardy> <https://github.com/snapcore/snapd/pull/11845>10:34
mupPR snapd#11817 closed: many: print valid/invalid status on snap validate --monitor  <Squash-merge> <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/11817>10:45
mupPR snapd#11846 opened: i/b/desktop,unity7: remove name= specification on D-Bus signals <Created by mardy> <https://github.com/snapcore/snapd/pull/11846>14:15
mupPR snapcraft#3776 closed: parts,projects: add verifications and warnings <Created by cmatsuoka> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3776>14:33
mupPR snapd#11728 closed: tests: remove old ubuntu-core-transition nightly tests <Simple 😃> <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/11728>20:31
mupPR snapd#11818 closed: tests: update centos images and add new centos 9 image <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/11818>22:02

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