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

mupPR snapd#9805 closed: interfaces: add an optional mount-host-font-cache plug attribute to the desktop interface <Needs Samuele review> <Created by jhenstridge> <Merged by jhenstridge> <https://github.com/snapcore/snapd/pull/9805>01:52
zygagood morning06:06
mborzeckimorning06:58
mupPR snapd#9894 closed: snap/info.go: add doc-comment for SortServices <Simple 😃> <Skip spread> <Created by anonymouse64> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9894>06:58
zygahey mborzecki07:06
mborzeckizyga: hey07:06
pstolowskimorning08:06
zygao/08:06
zygahey pedronis, mvo08:42
pedronishi08:42
mvohey zyga08:45
mupBug #1909033 changed: QFileDialog calls portal when ShowDirsOnly is set but not available <Snappy:Invalid> <https://launchpad.net/bugs/1909033>09:13
pedronispstolowski: I left some small further comments on the AtSequence PR,  I think it's ready for 2nd reviews as well10:38
pstolowskipedronis: great, thank you10:41
ograzyga, i do have in fact two picos here, but havent played with them yet missing networking is kinda limiting the use cases10:59
ograi'll surely snap up the userspace tools for them 🙂11:00
ogra(if nobody else does it at lest)11:00
ogra*least11:00
zygaogra I have an idea on how to use them11:18
zygamaybe something others may find useful as well11:18
zygaI want to use them as pre-made signal generators11:18
zygae.g. a pi-co that does specific i2c transfers all the time11:18
zygathen those can just be connected to a test board and used in automated testing11:18
zygaI got a bag to see how far I can go with this11:19
zygasome of the people I de-facto direct now may help with this, but that's still a few weeks away11:19
pstolowskipedronis: thanks for the review; i've implemented error-list handling for sequences in #9893, obviously landing at-sequence will help reduce the diff11:54
mupPR #9893: store: support validation sets with fetch-assertions action <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9893>11:54
mupPR snapd#9875 closed: gadget: use ResolvedSource in MountedFilesystemWriter <Run nested> <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9875>11:54
mvopedronis: feedback on 9859 would be great11:58
mvopedronis: this will help me with the next step for the kernel-dtb refreshes (the next test will build on this one)11:59
mupPR snapd#9886 closed: gadget: cleanup MountedFilesystem{Writer,Updater} <Run nested> <UC20> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/9886>11:59
mvopedronis: not super ugent as I need to write some more code first but wanted to mention it :)12:00
mupPR snapd#9898 opened: gadget: fix documentation/typos <Simple 😃> <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9898>12:05
pstolowski#9892 needs a 2nd review and is a small, simple and pleasant warm-up for asserts/validation-sets ;)12:11
mupPR #9892: asserts: introduce AtSequence <Needs Samuele review> <validation-sets :white_check_mark:> <Created by stolowski> <https://github.com/snapcore/snapd/pull/9892>12:11
pstolowskiand landing it will help with followup PRs ;)12:12
pedronismvo: ok, I thought 9859 maybe doesn't need me12:13
pedronismvo: I mean, it wasn't clear it needed my review12:13
mvopedronis: maybe not, there was a bit of discussion about the re-refresh task and settle not converging, maybe a word from you here would be helpful :)12:19
pedronismvo: ok, I'll try to look in a bit12:19
pedronismvo: I wasn't aware I was blocking things there12:20
mvopedronis: no problem, not really blocking, thanks a lot!12:22
pstolowskibbiab12:23
mupPR snapd#9899 opened: gadget: improve error handling around resolving content sources <Run nested> <Created by mvo5> <https://github.com/snapcore/snapd/pull/9899>12:30
ograzyga, cool idea !13:07
ogra(sorry, had a meeting)13:07
zygaogra, no worries :)13:07
zygaogra I will definitely share the code once my boards arrive13:07
ograawesome !13:07
zygabut they are on the way now, I may have them for weekend13:07
zygaogra I want to explore an idea where you can essentially just put a sticker on them13:07
zygaor maybe configure them with something simple13:08
zygaand get the desired signal coming out13:08
zygafor easy-to-use test lab support13:08
ograspeaking of test labs ...13:11
* ogra just upgraded the guts of his desktop 13:11
ograogra@anubis:~$ grep -c ^processor /proc/cpuinfo13:11
ogra1213:11
ograogra@anubis:~$ LANG=C free -m | grep ^Mem13:11
ograMem:          32076        4299       22920         423        4855       2668213:11
ograogra@anubis:~$ sudo hdparm -t /dev/nvme0n1p1 | grep buffered13:11
ogra Timing buffered disk reads: 6910 MB in  3.00 seconds = 2303.21 MB/sec13:11
ogra😄13:11
ogranow all my fast Pi's feel slow again 😞13:12
zygaogra what did you take?13:13
ograi actually only wanted to have more ram, but the board was too old to go up to 32G ... this is a new asus board (PRIME Z490M-PLUS) , 32G corsair ram (samsung chips), an i5-10600K and a WD black NVME13:15
ograshould be sufficient for the next 5y ... and allows more ram later13:16
zygaogra oh, an intel chip13:22
zygawhy did you go with intel?13:22
ograbecause i had intel already, i didnt want to change anything witht he installed system or tinker with software in any way13:23
zygaI see, well, that's a refresh for sure :)13:24
ograyeah13:24
zygaI got a little bit more ram, mainly for VMs13:24
ograi rarely run VMs but more disk for more lxd containers is really helpful ... especially since the virtual disk that lxd uses doesnt actually shrink even if you remove containers13:25
zygaogra I think you can trim it somehow13:28
ograyeah, probably ... i knoe you can grow it but shrinking is hairy13:29
ogra*know13:29
zyganote that it's not really shrinking13:29
zygaas in making the virtual size any different13:29
zygajust dropping blocks that are unused13:29
zygalike on SSDs13:29
ograwell, the still occupied blocks are the issue though ...13:31
pedronismvo: I commented there, hope what I wrote makes sense13:37
mvothanks pedronis13:43
ograxnox, https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/191460813:59
mupBug #1914608: no console during boot on UC20 <linux-raspi (Ubuntu):New> <https://launchpad.net/bugs/1914608>13:59
xnoxogra:  tah.14:01
ograxnox, btw, journalctl -b timestamps on a UC20 pi look really funny (starts with Nov19, jumps to Apr. 1st and once network is up to the actual time 🙂 ) ... i thought systemd uses its own build stamp to set it, why do initrd and rootfs times differ so much14:05
mupPR snapd#9867 closed: overlord/devicestate: task for updating boot configs, spread test <Run nested> <Created by bboozzoo> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9867>14:05
mupPR snapd#9898 closed: gadget: fix documentation/typos <Simple 😃> <Skip spread> <Created by mvo5> <Merged by bboozzoo> <https://github.com/snapcore/snapd/pull/9898>14:05
ograxnox, i'd have expected the build stamp to be roughly the same in initrd and rootfs14:06
ogra(just curiosity, not a complaint ...)14:07
ijohnsonogra: there's an outstanding bug with focal systemd in that the Nov19 date from the initrd is supposed to be bumped on each systemd update, but it's not w/o an sru14:32
ograah14:32
* ogra forgot SRUs ... 14:33
ijohnsonogra: https://bugs.launchpad.net/ubuntu-core-initramfs/+bug/187896914:33
mupBug #1878969: time-epoch never changes in SRUs <ubuntu-core-initramfs:New> <systemd (Ubuntu):Fix Released> <systemd (Ubuntu Xenial):New> <systemd (Ubuntu Bionic):New> <systemd (Ubuntu Focal):New> <https://launchpad.net/bugs/1878969>14:33
ograyeah14:33
xnoxhorum =/14:34
ograi actually thought it uses a timestamp from a binary ... funny it uses NEWS14:35
xnoxwell, the fix is to use the timestamp from the debian/changelog top entry.14:35
xnox(as that's what deb builds set for reproducible builds)14:35
ograyeah, good as well14:35
ograweird upstream decision ...14:36
ijohnsonhuh, so in a UC20 VM, `blockdev --getbsz /dev/vda` returns 409615:23
ijohnsonaha I should be using `--getpbsz` instead of `--getbsz`15:33
xnoxideally we should use 4k everywhere, if at all possible....15:35
xnoxor do we get the totals wrong because of that?15:35
jschwarthi all, I accidentally asked this in #snapcraft already, but I'm looking for a solution to provide NFS access to something I installed through snap15:36
ijohnsonxnox: it was a bug in my code, nothing for you to worry about15:36
jschwartI currently use autofs to access my NAS through /net15:37
jschwartcan I provide a snap access to that?15:37
ijohnsonmborzecki: do you think you will be able to take a look at #9889 today or tomorrow? would be good to have that in 2.4915:56
mupPR #9889: cmd/snap-bootstrap/initramfs-mounts: write realistic modeenv for recover+install <Needs Samuele review> <Run nested> <UC20> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9889>15:56
benfrancisDoes anyone know if there a snap I can install which includes the "xhost" utility? I think I need to run xhost to give the snap_daemon user access to an X11 session started as root, but xhost doesn't appear to be included on Ubuntu Core by default.16:42
ijohnsonhi benfrancis 👋16:48
ijohnsonI don't think there is one, if I understand the context of your request though, I think you probably want to bundle xhost in your snap and use xhost to grant snap_daemon user access to the X11 session before dropping to snap_daemon, in the same wrapper script you have been adding other things16:49
benfrancisijohnson: Yes, exactly16:49
benfrancisijohnson: I suspect this is the source of the "No protocol specified" error I'm seeing before my Electron app segfaults.16:50
benfrancisijohnson: (hi)16:50
ijohnsonbenfrancis: it seems on bionic the package you need for `xhost` is `x11-xserver-utils`, so add that to your stage-packages and then you should be able to use xhost to configure access for snap_daemon16:50
ijohnsonyeah that would make sense16:51
benfrancisijohnson: Perfect, thanks16:52
ijohnsonI admit I don't actually know what command you want to try with xhost though16:52
benfrancisI'm going to try "xhost si:localuser:snap_daemon"16:53
ijohnsonseems logical to me :-)16:53
cjp256jschwart: if the snap in question has access to home directory, perhaps you can bind mount /net somewhere in your home dir? or if it has removable-media, into /media?18:29
mborzeckire18:48
mborzeckiijohnson: let me take a quick look18:48
=== ijohnson is now known as ijohnson|lunch
=== dariball_ is now known as dariball
jschwartcjp256: yeah that could work, I guess I have to do the bind mount as root though?19:08
cjp256I'd expect so, unless you have a `user` mount option in your fstab to mount it without root.19:10
mupPR snapd#9900 opened: o/configstate,o/devicestate:  introduce devicestate.EarlyConfig implemented by configstate.EarlyConfig <Created by pedronis> <https://github.com/snapcore/snapd/pull/9900>19:26
mupPR snapd#9901 opened: o/devicestate,many: introduce DeviceManager.preloadGadget for EarlyConfig <Run nested> <Created by pedronis> <https://github.com/snapcore/snapd/pull/9901>19:31
jschwartso I cannot mount anything at the system level below a snap's /snap directory, because that's a read-only filesystem and I have to use root to bind mount a network path inside ~user/snap/.....19:32
jschwartthat seems quite awkward, hopefully there will be a cleaner solution in the future19:32
=== popey5 is now known as popey
ograjschwart, there is also /var/snap/<snapname>/common|current if you look after mounting it on a more systemish level20:38
ogra(in fact i think only "common" since "current" is a symlink that can dynamically change20:47
ogra)20:47
=== ijohnson|lunch is now known as ijohnson
jschwartogra: ah that would be a lot better yeah!!21:49
jschwartogra: yeah that is perfect really, just tried it and it works great, thanks a lot!!21:56
ogra😄21:56
mupPR snapd#9902 opened: HACKING.md: explain how to run UC20 spread tests with QEMU <Documentation> <Simple 😃> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9902>22:07
mupPR snapd#9903 opened: tests/lib/prepare.sh: add another console= to the reflash magic grub entry <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/9903>22:47

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