/srv/irclogs.ubuntu.com/2021/02/24/#snappy.txt

mupPR snapd#9956 opened: interfaces/system-observe: Allow reading /proc/zoneinfo <Simple 😃> <Created by alexmurray> <https://github.com/snapcore/snapd/pull/9956>01:57
mborzeckimorning06:46
mborzeckierrand, back in 1h or so06:55
mborzeckire07:51
mborzeckimvo: hey07:51
mvogood morning mborzecki07:52
mupPR snapd#9936 closed: interfaces: remove apparmor downgrade feature <Needs security review> <Created by zyga> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9936>07:58
pstolowskihey08:11
mborzeckipstolowski: hey08:12
mvogood morning pstolowski08:17
abeatohey, which are the limitations of the system-files interface? I have seen that I can access files in /etc with it, but not in, for instance, /usr/share09:05
abeatoI assume this is related to mount namespaces. This is on classic, not core09:05
abeatoSo, system-files would help me access /usr/share from the core snap, but not from the classic rootfs?09:06
abeatois there a way to have the later?09:06
pedronisabeato: there is always /var/lib/snapd/hostfs/... which has the actual root filesystem, if you have a clear use case09:10
pedroniss/actual/actual host/09:11
abeatopedronis, ah, nice, I did not know that exists, thanks09:11
pstolowskipedronis: hi, i rebased monitor-mode PR against pool changes09:43
pedronispstolowski: thx09:44
pedronispstolowski: I will try to look at both later today10:04
pedronispstolowski: though I think the point about using different groups and using the sequence-key to label that we discussed yesterday might have been the missing piece?10:05
pstolowskipedronis: no, i addressed it as well10:06
pedronisah, ok, so it's ready for review? except it's a bit big because prereq?10:06
pstolowskipedronis: yes10:07
pedronisok, thank you10:07
pedronispstolowski: I approved 9930, thank you, one nitpick wasn't addressed though, it needs 2nd reviews10:25
pstolowskipedronis: uh, i was sure that was the first comment i addressed yesterday.. will do. thank you!10:29
pedronispstolowski: it's a big PR, np10:29
pedronishttps://github.com/snapcore/snapd/pull/9938 needs 2nd reviews (it's not too too big)10:40
mupPR #9938: daemon: move single snap querying and ops to api_snaps.go <Created by pedronis> <https://github.com/snapcore/snapd/pull/9938>10:40
pstolowskilooking10:43
pstolowskipedronis: i assume dropping of licenseData is in-line with any potential developments re EULAs etc?10:56
pstolowskiany brave warriors here to look at #9930?11:02
mupPR #9930: asserts: pool changes for validation-sets <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9930>11:02
mupPR snapd#9956 closed: interfaces/system-observe: Allow reading /proc/zoneinfo <Simple 😃> <Created by alexmurray> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9956>11:09
mupPR snapd#9950 closed: tests: fix for preseed and dbus tests on 21.04 <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9950>11:14
mupPR snapd#9953 closed: overlord/snapshotstate: include the last message printed by tar in the error <Simple 😃> <Created by bboozzoo> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9953>11:14
mupPR snapd#9938 closed: daemon: move single snap querying and ops to api_snaps.go <Created by pedronis> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9938>11:19
mupPR snapd#9951 closed: tests/regression/lp-1910456: cleanup the /snap symlink when done  <Simple 😃> <Test Robustness> <Created by anonymouse64> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9951>11:19
mborzeckimvo: i'll open a followup for 9953 in a bit11:25
mborzeckisadly bit more changes were required11:25
mvomborzecki: thanks! but not super urgent, I think the change from first to last is the big winner here11:28
mborzeckimvo: actually it's needed, the matcher kept only the first line even after 9953 landed :/11:29
mborzeckimvo: please take a look at #995711:31
mupPR #9957: ovelord/snapshotstate: keep a few of the last line tar prints before failing <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9957>11:31
mupPR snapd#9957 opened: ovelord/snapshotstate: keep a few of the last line tar prints before failing <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/9957>11:34
mvomborzecki: oh, "fun"11:34
mvomborzecki: thanks for the followup11:34
pstolowskinice!11:53
* pstolowski lunch11:54
mupPR snapcraft#3448 opened: storeapi: rename SnapClientIndex to SnapAPI <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3448>12:11
pedronismborzecki: I recommented on set-boot-vars, sorry is such a saga12:19
mborzeckipedronis: iirc no slash boot is implied for recovery12:19
mborzeckii can make it explicit though12:20
pedronisah, I wasn't sure if we would error if they were mixed12:20
mborzeckiactually even more interesting, we have:https://github.com/snapcore/snapd/blob/master/bootloader/bootloader.go#L6812:21
pedronisyea, I noticed the same12:21
pedroniswe have also this though:  https://github.com/snapcore/snapd/blob/master/bootloader/bootloader.go#L7712:21
mborzeckipedronis: that would be --root-dir on a non uc20 system right? (we try to guess that by checking whethr modeenv exists)12:22
pedronismborzecki: yes, --root-dir on non-uc2012:22
pedroniswe might want to give a better error instead of ending up there12:23
pedronisbut not super important12:23
mborzeckipedronis: yeah, maybe when we do a little refactor to have --recovery for boot-vars too?12:23
pedronisok12:24
pedronisfwiw I wrote #L6812:24
pedronisbut I do remember if was going to be a bit confusing either way12:25
pedronis*it was going12:25
ograhmm, can i somehow find out in a hook if i'm running in --devmode ?12:28
mborzeckiogra: hmm, cat /etc/shadow ?12:31
mborzeckimaybe not that file in particular, but you get the idea ;)12:32
ograyeah, i was looking for something that doesnt necessary produce errors in the journal 🙂 ...12:33
mborzeckii don't think we expose any information to the snaps on whether it was installed with --devmode, or whether strict isn't supported by the host12:34
pedroniswe don't expose it in any explicit way atm12:34
ograi designed pi-fancrontrol for Core ... and it has a check if gpio is connected in teh configure hook ... now apparently more and more people run it on raspbian which has no gpio slots in --devmode ... not really hw i envisioned it to be used but i'D like to at least make it not fail hard in that constellation12:36
mupPR snapcraft#3449 opened: ci: don't publish snap on push to master <Created by cjp256> <https://github.com/snapcore/snapcraft/pull/3449>12:36
mupPR snapd#9958 opened: tests: disable lxd tests for 21.04 until the lxd images are published for the system <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9958>13:29
mupPR snapcraft#3449 closed: ci: don't publish snap on push to master <Created by cjp256> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3449>13:36
mborzeckicachio: do you recall if at some point the images from https://download.opensuse.org/tumbleweed/appliances/ were tried in gce?14:34
mborzeckicachio: there's a bunch of images for kvm and openstack, they are the JeOS flavor (translates to 'just enough OS'), which should be pretty minimal14:35
ograhmm ... having "snapctl version" would really be handy in some situations14:52
* ogra ponders to file a wishlist bug14:52
cachiomborzecki, I built the tumbleweed image14:54
cachiofrom leap14:54
cachiodidn't try those in gce14:55
ijohnsonhey degville it seems the old link to uc20 doc at https://ubuntu.com/core/docs/releases/uc20 doesn't redirect, could you look into that?14:57
ijohnsonwe probably shouldn't use that link going forward much, but it's still in some forum topics for example14:58
ijohnsonseems the new link is https://ubuntu.com/core/docs/uc20/release-notes14:58
degvilleijohnson: good spot - thanks! I'll fix it now.14:59
ijohnsonah you were in the channel to see the message that made me ask you about this :-D14:59
ijohnsonETOOMANYCHANNELS14:59
mborzeckicachio: if you have some spare cycles, could you try and import https://download.opensuse.org/tumbleweed/appliances/openSUSE-Tumbleweed-JeOS.x86_64-OpenStack-Cloud.qcow2 ?14:59
mborzeckicachio: this should be a vanilla opensuse TW image15:00
cachiomborzecki, sure15:01
mborzeckicachio: and it uses cloud-init during boot, so that should be easy hopefully15:01
cachioI need to update that image to install the gce dependencies and install the give the correct format15:01
mborzeckicachio: ah, ok, i see there's cloud-netconfig-gce in the repositories, unless you need more packages15:03
pedronismborzecki: is 9942 ready for re-review? any other PR?15:04
cachiomborzecki, all the packages should be in  zypper ar -f -c http://download.opensuse.org/repositories/Cloud:Tools/openSUSE_Tumbleweed/Cloud:Tools.repo15:05
mborzeckipedronis: yes, it's ready15:05
mupPR snapcraft#3448 closed: storeapi: rename SnapClientIndex to SnapAPI <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3448>15:11
ijohnsondegville: (CC pedronis) the API systems REST doc looks good, thanks for cleaning that up, can you put it on the forum in the REST API doc ?15:27
degvilleijohnson: thanks! I'll do it now.15:28
pedronismvo: is 9907 ready for re-review?15:29
ijohnsonthanks degville15:32
ijohnsonpedronis: did you see my comments in the refresh spec doc about --kill to have a hook indicate it wants to refresh anyways even if there are running snaps? I don't see where my comments went in that doc, so I assume you resolved them15:32
pedronisijohnson: I update the corresponding open question15:33
ijohnsonah let me look again then15:33
ijohnsonpedronis: I see it now thanks15:33
mupPR snapd#9959 opened: o/snapstate: Update validation sets assertions with auto-refresh <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9959>16:05
pstolowskidoes anyone have capacity to review #9930?16:05
mupPR #9930: asserts: pool changes for validation-sets <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9930>16:05
ijohnsonpstolowski: I will add it to my queue for today16:15
ijohnsonprobably in my PM though16:15
pstolowskiijohnson: thank you!16:16
ijohnsonnp16:26
* cachio lunch16:47
mvopedronis: re 9907> yes, I think so17:01
mvopedronis: sorry for the delay, had a gazillion meetings17:02
zygahello17:03
zygamvo I have three patches for spread17:03
zygamvo https://git.ostc-eu.org/OSTC/packaging/spread/-/tree/master/debian/patches17:03
zygathe 1st one is extremely simple and just removes a hard-coded root directory: https://git.ostc-eu.org/OSTC/packaging/spread/-/blob/master/debian/patches/0001-No-hard-coded-root-home-dir.patch17:04
zygathe 2nd and 3rd https://git.ostc-eu.org/OSTC/packaging/spread/-/blob/master/debian/patches/0002-Description-Add-support-for-busybox-tar.patch https://git.ostc-eu.org/OSTC/packaging/spread/-/blob/master/debian/patches/0003-Use-gzip-to-compress-artifacts.patch improve support for busybox17:04
zygathis set allows to use spread with openharmony images17:05
zygamvo I'm happy to send them but I worry that there's no progress on merging a patch I've sent well over a month ago: https://github.com/snapcore/spread/pull/11217:05
mupPR spread#112: Bump base version of go to 1.13 <Created by zyga> <https://github.com/snapcore/spread/pull/112>17:05
pedronismvo: thanks, it's back in my queue17:18
mvothanks!17:21
mvozyga: let me check17:22
zygamvo thanks, those are super tiny17:22
zygahey pedronis :)17:22
mvozyga: 0001 looks fine, the other two I guess need a bit of thinking, maybe config options about compression or something17:25
zygaI think xz is not so relevant but I agree that the 2nd patch may be an option somewhere17:25
zygaI wonder if there are any user of the artifact system currently17:26
zygaI'm certainly using it now and plan to depend on it17:26
zygamvo I can propose all three and we can discuss things in the pull request17:27
=== pfsmorigo_ is now known as pfsmorigo
mupPR snapcraft#3450 opened: storeapi: rename SCA to DashboardAPI <Created by sergiusens> <https://github.com/snapcore/snapcraft/pull/3450>17:42
zygahey kenvandine :)17:43
kenvandinehey zyga17:43
=== ijohnson is now known as ijohnson|lunch
mupPR snapcraft#3450 closed: storeapi: rename SCA to DashboardAPI <Created by sergiusens> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3450>19:07
=== ijohnson|lunch is now known as ijohnson
mupPR snapd#9958 closed: tests: disable lxd tests for 21.04 until the lxd images are published for the system <Created by sergiocazzolato> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9958>20:51
bandalithanks again for your reply amurray :-) i just replied back with some more details21:25
mupPR snapd#9960 opened: tests: update permission denied message for test-snapd-event on ubuntu 2104 <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/9960>21:56
padgeI'm having trouble getting a service to start back up. I was running a Nextcloud snap and the computer froze. Upon reboot, the services are set to "enabled" but they remain "inactive." After trying to start, I see problems in the log. This one stands out:23:05
padgeFeb 24 17:30:09 nextcloud nextcloud.renew-certs[2711]: cannot create file nextcloud.mnt: Is a directory23:05
oerheksreinstall nextcloud perhaps?23:07
padgeoerheks: Can I do this and maintain my configs and certificates?23:10
padge(and data)23:10
oerheksyes, backup the ~/snap folder to be safe, snap remove --purge nextcloud # would wipe your data too23:14
padgeInstalling it failed. This time with a message right to the console, "cannot create file nextcloud.mnt: Is a directory"23:34
padgeI went looking for it, and found it in /run/snapd/ns23:34
padgeI can't delete it, even as root, because "Is a directory"23:34
padgerm -f nextcloud.mnt23:35
padgeIs this the part where I do an fsck?23:35
amurraybandali: thanks, will follow up via the forum23:42
bandalithanks to you! sounds good23:43
ijohnsonpadge: I'd recommend starting a forum topic about this, most folks are in EU or americas timezone and thus EOD23:47

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