/srv/irclogs.ubuntu.com/2021/04/14/#snappy.txt

=== popey0 is now known as popey
mupPR snapd#10147 closed: browser-support: Allow firefox to run correctly under wayland <Created by alexmurray> <Closed by alexmurray> <https://github.com/snapcore/snapd/pull/10147>02:28
mborzeckimorning05:41
zygagood morning06:05
mborzeckizyga: hey06:34
zygamborzecki o/06:34
zygamborzecki I see snow outside06:34
mborzeckizyga: (un)lucky you06:35
mborzeckiit's just rain here06:35
pstolowskimorning!07:02
mborzeckipstolowski: hey, welcome back!07:12
pstolowskihey, glad to be back :)07:17
* pstolowski needs to reboot07:17
mvopstolowski: good morning! great that you are back07:30
pstolowskihey mvo !07:30
mborzeckimvo: hey07:41
mupPR snapd#10140 closed: boot, overlord/devicestate: consider gadget command lines when updating boot config <Run nested> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/10140>09:25
jameshpedronis: fyi, https://github.com/snapcore/snapd/pull/9043 is updated now that the accessChecker implementations are on master10:34
mupPR #9043: daemon: replace access control flags on commands with access checkers <Needs security review> <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/9043>10:34
jameshso a smaller diff10:34
mupPR snapd#10127 closed: daemon: add new accessChecker implementations <Created by jhenstridge> <Merged by jhenstridge> <https://github.com/snapcore/snapd/pull/10127>10:35
pedronisjamesh: thanks, great, I put it back in my queue10:50
* pstolowski lunch11:26
Trixelitis anyone here?11:49
mborzeckiTrixelit: there is12:07
mborzeckipedronis: i've opened https://github.com/snapcore/snapd/pull/10148 the managers tests grew a bit12:08
mupPR #10148: overlord/devicestate, overlord/snapstate: add task for updating kernel command lines from gadget <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10148>12:08
mupPR snapd#10148 opened: overlord/devicestate, overlord/snapstate: add task for updating kernel command lines from gadget <Run nested> <Created by bboozzoo> <https://github.com/snapcore/snapd/pull/10148>12:10
pedronismborzecki: that's most of what we discussed for .extra ?12:10
mborzeckiyes12:10
pedronisanyway let's see how it looks once 43 is landed12:11
TrixelitI'm confused, snap installed core version 2.37, refreshing it says there's no new updates but github has 2.4212:15
Trixelitcertbot won't work without the newest version but I don't know how to install it12:16
mborzeckiTrixelit: 2.37 is very old,  debian and ubuntu can reexec directly to a version from the core snap, but other distributions rely on their pacakge repositories12:23
Trixelitso what do I do?12:24
Trixelitsnap version12:25
Trixelitsnap    2.37.4-1+b112:25
Trixelitsnapd   2.37.4-1+b112:25
Trixelitseries  1612:25
Trixelitdeepin  20.212:25
Trixelitkernel  4.15.0-30deepin-generic12:25
Trixelitis there a way to update snapd from github?12:32
pstolowskiTrixelit: no, why would you want that? (sorry i missed earlier context if there was any; snapd should refresh itself from time to time)12:37
Trixelitwhen i installed core, it installed at 2.37, but there are no updates available when i try to refresh it12:37
Trixelitand certbot doesn't work unless snapd is at its latest version12:38
Trixelitpstolowski12:38
pstolowskiTrixelit: what does 'sudo snap refresh core' say?12:40
Trixelitsnap "core" has no updates available pstolowski12:40
pstolowskiTrixelit: and 'snap list'?12:41
TrixelitName         Version    Rev    Tracking  Publisher     Notes12:41
Trixelitcertbot      1.14.0     1093   stable    certbot-eff✓  classic12:41
Trixelitcore         16-2.49.2  10958  stable    canonical✓    core12:41
pstolowski(please pastebin if long)12:41
Trixelitcore20       20210319   975    stable    canonical✓    base12:41
Trixelithello-world  6.4        29     stable    canonical✓    -12:41
pstolowskihmm that's weird, you have latest core, so snapd should be at that version (2.49.2)12:45
=== alan_g_ is now known as alan_g
mborzeckipstolowski: it's deepin? maybe reexec isn't used there12:52
mborzeckimaybe they have their own package builds or sth12:52
Trixelitmakes no sense as to why certbot doesn't work if I have the latest core12:53
TrixelitI just hope i can get this working tonight12:53
ograou'll likely have to ask deepin to update the snapd package, seems it is used from the deepin archive there12:55
ogra*you'll12:55
zygano reexec on deepin IIRC12:55
zygait's easy to check12:55
zygathe logic is in snapd12:55
zygabut even if the distro patched it, it would need alignment to really work12:56
ograright, its a deepin problem, they need to update12:56
TrixelitSo pretty much, certbot will never work12:56
Trixelitunless deepin actually updates it12:56
ograwhat are the symptoms of "certbot no working" ... you didnt tell us yet12:58
mborzeckiiirc debian stable reexecs12:58
mborzeckifrom what i read deeping is based on debian stable, so unless they did something with package version or disabled reexec explicitly it shoudl reexec right?12:59
* zyga looks12:59
mborzeckiTrixelit: can you run `SNAPD_DEBUG=1 snap version` and paste the output?12:59
zygaTrixelit what does /etc/os-release look like on deepin?13:07
Trixelit@mor13:07
Trixelitah13:07
Trixelitmborzecki 2021/04/14 23:07:08.334235 cmd_linux.go:70: DEBUG: re-exec not supported on distro "deepin" yet13:07
Trixeliterror: unknown command "2.37.4-1+b1", see 'snap help'13:07
Trixelitzyga13:07
TrixelitPRETTY_NAME="Deepin 20.2"13:07
TrixelitNAME="Deepin"13:07
TrixelitVERSION_ID="20.2"13:07
TrixelitVERSION="20.2"13:07
TrixelitID=Deepin13:07
TrixelitHOME_URL="https://www.deepin.org/"13:07
TrixelitBUG_REPORT_URL="https://bbs.deepin.org/"13:07
zygathere you go13:07
zygathere's no ID_LIKE=debian13:08
zygaso no reexec13:08
zygayou can try adding that13:08
zygaand restarting snapd13:08
TrixelitWhat is reexec13:08
zygaID_LIKE="debian"13:08
zygabut no promises13:08
Trixelitwhere do I put that?13:08
zygareexec is a snapd feature13:08
zygawhere instead of waiting for deepin to do the update13:08
zygayou can get snapd from the core snap itself13:08
zyga(or from the snapd snap)13:08
zygait requires some effort to support so it is not automatic13:09
Trixelitno updates available13:09
zyga*if* you want to try that then edit /etc/os-release, add that line and restart snapd13:09
zygabut no promises13:09
TrixelitI just tried that13:09
zygasnaps are all up-to-date13:09
zygarestart snapd.service13:09
zygaand run snap version13:09
Trixelitholy it updated13:10
Trixelitsnap    2.49.213:10
Trixelitsnapd   2.49.213:10
Trixelitseries  1613:10
Trixelitdeepin  20.213:10
Trixelitkernel  4.15.0-30deepin-generic13:10
TrixelitThanks zyga13:10
zygaTrixelit if it works do let us know13:10
zygaas in, if nothing breaks after a while13:10
zygareboot and see if it's all good later13:10
Trixelitfingers crossed13:10
Trixelitill try certbot in a few mins13:10
pedronispstolowski: I should look at the last commint in https://github.com/snapcore/snapd/pull/10053 right?13:40
mupPR #10053: o/snapstate: helper for getting snaps affected by refresh, define new hook <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10053>13:40
pstolowskipedronis: yes13:41
pedronisok, I put it back into my queue13:41
mupPR snapd#10149 opened: many: implement fde-hooks v2 <Created by mvo5> <https://github.com/snapcore/snapd/pull/10149>13:55
ijohnsonthanks for the review mvo !14:28
mvomy pleasure14:28
mupPR snapd#10133 closed: wrappers/services.go: introduce EnsureSnapServices() <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/10133>14:30
mupPR snapd#10150 opened: tests: new tests.skip tool <Created by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10150>14:56
pedronispstolowski: I reviewed https://github.com/snapcore/snapd/pull/10053, the code looks right but I was confused for a sec, made some comments/order suggestions15:25
mupPR #10053: o/snapstate: helper for getting snaps affected by refresh, define new hook <Needs Samuele review> <Refresh control> <Created by stolowski> <https://github.com/snapcore/snapd/pull/10053>15:25
pstolowskipedronis: looking, thanks15:26
mupPR snapd#10128 closed: tests: add 20.04 to systems for nested/core <Run nested> <Created by stolowski> <Merged by sergiocazzolato> <https://github.com/snapcore/snapd/pull/10128>15:56
pedronisjamesh: I re-reviewed https://github.com/snapcore/snapd/pull/8699 some small things there, I will need a 2nd review from somebody else in snapd16:00
mupPR #8699: interfaces/desktop-launch: support confined snaps launching other snaps <Needs Samuele review> <Created by AlanGriffiths> <https://github.com/snapcore/snapd/pull/8699>16:00
pedroniss/I/it/16:00
* cachio_ lunch16:00
mborzeckire16:48
mborzeckihm, i'm confused by how we eanble secure boot in nested manual tests, iirc it was supposed by be enabled by default when the system is 20.04?16:48
cachio_mborzecki, it always goes through this16:50
cachio_[ "$NESTED_ENABLE_SECURE_BOOT" = true ]16:50
cachio_because the var is set16:50
cachio_what you changed is the default bahaviour in case the variable is not set16:51
mborzeckicachio_: i have nested/manual tests, which does not set NESTED_ENABLE_SECURE_BOOT, but system is 20.04, so secure boot would be enabled by default, wouldn't it?16:54
mborzeckieh and magically the same branch that works with tpm locally fails in spread jobs in 1014816:55
cachio_mborzecki, I think the mess was introduced when both core and core20 were merged16:55
cachio_manual tests should use the same configuration as core suite16:57
cachio_            # Enable tpm in the nested vm in case it is supported16:57
cachio_            NESTED_ENABLE_TPM: '$(HOST: echo "${NESTED_ENABLE_TPM:-}")'16:57
cachio_            # Enable secure boot in the nested vm in case it is supported16:57
cachio_            NESTED_ENABLE_SECURE_BOOT: '$(HOST: echo "${NESTED_ENABLE_SECURE_BOOT:-}")'16:57
cachio_so default values are used16:57
cachio_mborzecki, do you want to update that in the same pr?16:59
mborzeckicachio_: i mean this part, the idea was taht if the env variable is not set, but the system is ubuntu-20.04* secure boot gets eanbled by default, and afaiu this covers tests/nested/manual tests too right?17:04
mborzeckiuhh, i see now17:05
mborzeckithere's env for tests/nested/manual suite which overrides this :/17:05
cachio_yes17:07
cachio_this is what we need to change17:07
mupPR snapd#10106 closed: secboot,boot: provide fde-hooks v2 API interface to hooks <Created by mvo5> <Closed by mvo5> <https://github.com/snapcore/snapd/pull/10106>17:26
* cachio_ afk17:27
mupPR snapd#10143 closed: boot: handle updating of components that contribute to kernel command line <Skip spread> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/10143>18:01
mupPR snapcraft#3500 closed: docker: Need to repeat ARG in every section <Created by abitrolly> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3500>20:17
mupPR snapd#10118 closed: boot/flags.go: add HostUbuntuDataForMode <Simple 😃> <UC20> <Created by anonymouse64> <Merged by anonymouse64> <https://github.com/snapcore/snapd/pull/10118>20:26
mupPR snapcraft#3502 closed: snaps: do not validate snaps before install/refresh (Fixes LP#1901733) <Created by Saviq> <Merged by sergiusens> <https://github.com/snapcore/snapcraft/pull/3502>21:02
StupidDanboI can't run Chromium. Someone from #ubuntu suggested I try asking here. after running: sudo snap refresh, I got: error: cannot perform the following tasks: - Run configure hook of "chromium" snap if present (run hook "configure": cannot create temporary directory for the root file system: Permission denied)22:25
ijohnsonStupidDanbo can you run `snap changes` and then `snap tasks <chg>` for any task that is in Error state?22:37
ijohnsonAlso note that most folks are EOD right now so you will get the most help if you make a forum post and post some details then EU folks will see it in their morning22:38
StupidDanbooh I only saw the 2nd part at first.22:54
StupidDanbosame error about permission denied for creating temporary directory for root22:55
ijohnsonStupidDanbo can you share the full output though?22:55
StupidDanbohow do I do that?22:56
ijohnsonYou can copy the output from the terminal and put it in pastebin.ubuntu.com and share the pastebin link here22:56
StupidDanbohttps://pastebin.ubuntu.com/p/s7GmChnnph/22:58
StupidDanbohm. identical error for task 27022:59
StupidDanbois there a way to backup my Chromium bookmarks before I try to reinstall it? or does"removing" all snaps not uninstall Chromium?23:04
StupidDanbomaybe "apparmor doesn't like symlinks"23:07
StupidDanbobut surely my /tmp/ isn't on the SSD...23:08
StupidDanbo.... oh, it IS a symlink. It's got that arrow on the folder icon.23:08
StupidDanboironically my root folder looks like it's on the SSD, while /tmp is pointing to my HDD to avoid filling it up. :|23:09

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