/srv/irclogs.ubuntu.com/2021/08/09/#snappy.txt

georgios hi. i have a problem with my snaps not loading properly at boot. it is like some of them dont see their /home stuff. i restart the application and then everything is as it should01:42
=== marcustomlinson_ is now known as marcustomlinson
mardygeorgios: hi! when you say "load propery at boot", do you mean to say that these snaps are services started by systemd?05:53
mupPR snapd#10596 closed: tests: use bigger storage on ubuntu 21.10 <Simple 😃> <Created by sergiocazzolato> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10596>07:11
mupPR snapd#10597 opened: config: rename "virtual" config to "external" config <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10597>08:51
georgiosmardy: ?10:10
georgiosi meant when i am logging in, not at the actual boot time. for example firefox will behave as if i started it for the first time. then if i restart it, it will load the profile normally. same with Konversation. default behaviour after login, by custom behaviour after a restart of the application10:13
georgiosms teams seems to have the time to switch to its real environment, so it loads fine10:15
mardygeorgios: if you don't reboot, but just logout and then login again, does firefox remember the previous activity?10:50
georgiosi will try that10:58
georgiosno, mardy, it doesn't11:01
georgiosi hoped it had to do with not mounting early enough11:01
georgiosnow i have no idea11:01
georgioshow about you?11:01
mardygeorgios: are they snaps from the store, or taht you built yourself?11:09
georgiosfrom  the store11:10
georgioskde seems to have a dedicated project for its snaps (the Konversation IRC client)11:11
georgiosand no t only11:11
georgiosfirefoc snap is from mozilla11:13
georgios(i love snaps)11:13
georgiosit was about time11:13
mardygeorgios: do you have a firefox folder under $HOME/snap/ ?11:13
georgiosi am old linux user and i was preaching about the need for years11:14
georgiosyes11:14
mardygeorgios: is there something special about your home folder or $HOME/snap? Like, for example, are they on a different partition, is there a bind mount, etc.?11:15
mardymaybe paste your /etc/fstab11:15
georgios /var/lib/snapd/snaps/firefox_558.snap on /var/lib/snapd/snap/firefox/558 type squashfs (ro,nodev,relatime,x-gdu.hide)11:18
georgiosfstab is clear11:18
georgiosit is a btrfs subvolume though.......11:18
mardygeorgios: I'm afraid I'm out of ideas on how to help you right now, but I highly advise you to file a bug in https://bugs.launchpad.net/snapd11:19
mardybecause indeed it looks like a bug11:20
mardyijohnson[m]: hi! I changed the code in the mount-control interface to check the FragmentPath of the systemd unit, and open it manually. It works on most distros, but not in 16.04.11:21
mardyFor some reason, the FragmentPath there appears as: FragmentPath=/run/systemd/system/var-snap-test\x5cx2dsnapd\x5cx2dmount\x5cx2dcontrol-common-target.mount11:21
mardywhereas the real file path is /run/systemd/system/var-snap-test\x2dsnapd\x2dmount\x2dcontrol-common-target.mount11:22
georgioslet me see11:24
georgios /run/systemd/system/ is empty ...11:26
* georgios goes check again the archwiki11:27
mardygeorgios: no worries, the last few lines were not for you :-)11:28
mardygeorgios: just please file a bug, giving as much information as possible11:28
Karthik[m]Hi, the python plugin ignores config files like .ini & .sh in staging area. How can we override this behavior ?11:31
georgiosok mardy. thanks for willling to help :)11:34
mardyijohnson[m]: and systemd-escape doesn't have any '--unescape' parameter in xenial11:56
mardyhttps://access.redhat.com/solutions/414519111:57
mupPR snapd#10598 opened: interfaces: add a polkit-agent interface <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/10598>12:17
mmm4m5mHi all. Skype does not work. It says "no device" for camera and audio. But this user is in "audio" group. "aplay -l" shows hardware devices. Pulseaudio is suspended.12:31
mmm4m5mOn start there are errors: "Cannot access file /usr/share/alsa/alsa.conf". But this file is present. The OS is debian buster, skype (8.74.0.152 rev.181), core18 (20210611).12:31
mmm4m5mI can't find solution in google... I also tried "snap connect skype:alsa :alsa" - and it shows error: snap "skype" has no plug named "alsa"12:31
ogrammm4m5m, you might want to create a forum post about that ... there are likely more eyes watching ... 12:48
ogra(see the channel topic)12:48
mmm4m5mogra: thank you12:49
mvomardy: thanks so much for your review in 10577 - I pushed too small commits if you want to double check13:56
ijohnson[m]mardy: let me know how it goes with systemctl cat13:57
mvoijohnson[m]: I'm looking at this early config issue now, it's confusing for sure14:03
ijohnson[m]yeah I couldn't figure out what the problem is, it seems almost like it's working but we need to adjust the spread test somehow ?14:08
mardymvo: done, LGTM14:20
mardyijohnson[m]: yes it works, thansk! :-) I'm just wondering if the cost of printing all of the units is something I should be worried about (performance wise, I mean)14:21
mardysome mount units even have a license at the top :-O14:22
* mardy needs to be afk for 30 mins or so, bbl14:23
* cachio_ afk 14:34
mupPR snapd#10591 closed: vendor: move to snapshot-4c814e1 branch and set fixed KDF options <Squash-merge> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10591>14:42
mvoa second review for 10595 would be awesome14:43
mupPR snapd#10599 opened: configcore: fix early config timezone handling <Run nested> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10599>14:52
mupPR snapd#10600 opened: configcore: fix a bunch of incorrect error returns <Created by mvo5> <https://github.com/snapcore/snapd/pull/10600>14:52
ijohnson[m]mardy: I wouldn't be concerned about performance for now, if it meaningfully slows down, we do have timings data in place to be able to measure that effect15:30
mupPR snapd#10601 opened: .github/workflows/test.yaml: use snapcraft 4.x to build the snapd snap <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10601>16:07
mupPR snapd#10601 closed: .github/workflows/test.yaml: use snapcraft 4.x to build the snapd snap <⚠ Critical> <Simple 😃> <Skip spread> <Created by anonymouse64> <Closed by anonymouse64> <https://github.com/snapcore/snapd/pull/10601>16:23
mardygo question: I have a []bytes, and I'd like to read it line by line (like bufio.Scanner does). Is there anything ready for this? Of course, I can split the lines, but I'd like to avoid extra allocations16:27
mupPR snapd#10601 opened: .github/workflows/test.yaml: use snapcraft 4.x to build the snapd snap <⚠ Critical> <Simple 😃> <Skip spread> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10601>16:28
ijohnson[m]mardy: you can make a io.Reader from a []byte with bytes.NewBuffer16:28
ijohnson[m]*bytes.Buffer is an io.Reader which is what bufio.Scanner uses16:28
mardyijohnson[m]: thanks, will do it like that! :-)16:32
mupPR snapd#10595 closed: {device,snap}state: skip kernel extraction in seeding <âš  Critical> <Squash-merge> <Run nested> <cherry-picked> <Created by mvo5> <Merged by mvo5> <https://github.com/snapcore/snapd/pull/10595>18:53
georgiosis a snap with lsm=landlock,lockdown,yama,apparmor,bpf provide any serious confinement?19:23
georgiosand arch's hardened kernel19:24
mupPR snapd#10602 opened: release: 2.51.4 <Simple 😃> <Created by anonymouse64> <https://github.com/snapcore/snapd/pull/10602>23:54

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