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 should | 01:42 |
---|---|---|
=== marcustomlinson_ is now known as marcustomlinson | ||
mardy | georgios: hi! when you say "load propery at boot", do you mean to say that these snaps are services started by systemd? | 05:53 |
mup | PR 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 |
mup | PR snapd#10597 opened: config: rename "virtual" config to "external" config <Skip spread> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10597> | 08:51 |
georgios | mardy: ? | 10:10 |
georgios | i 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 application | 10:13 |
georgios | ms teams seems to have the time to switch to its real environment, so it loads fine | 10:15 |
mardy | georgios: if you don't reboot, but just logout and then login again, does firefox remember the previous activity? | 10:50 |
georgios | i will try that | 10:58 |
georgios | no, mardy, it doesn't | 11:01 |
georgios | i hoped it had to do with not mounting early enough | 11:01 |
georgios | now i have no idea | 11:01 |
georgios | how about you? | 11:01 |
mardy | georgios: are they snaps from the store, or taht you built yourself? | 11:09 |
georgios | from the store | 11:10 |
georgios | kde seems to have a dedicated project for its snaps (the Konversation IRC client) | 11:11 |
georgios | and no t only | 11:11 |
georgios | firefoc snap is from mozilla | 11:13 |
georgios | (i love snaps) | 11:13 |
georgios | it was about time | 11:13 |
mardy | georgios: do you have a firefox folder under $HOME/snap/ ? | 11:13 |
georgios | i am old linux user and i was preaching about the need for years | 11:14 |
georgios | yes | 11:14 |
mardy | georgios: 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 |
mardy | maybe paste your /etc/fstab | 11: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 |
georgios | fstab is clear | 11:18 |
georgios | it is a btrfs subvolume though....... | 11:18 |
mardy | georgios: 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/snapd | 11:19 |
mardy | because indeed it looks like a bug | 11:20 |
mardy | ijohnson[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 |
mardy | For some reason, the FragmentPath there appears as: FragmentPath=/run/systemd/system/var-snap-test\x5cx2dsnapd\x5cx2dmount\x5cx2dcontrol-common-target.mount | 11:21 |
mardy | whereas the real file path is /run/systemd/system/var-snap-test\x2dsnapd\x2dmount\x2dcontrol-common-target.mount | 11:22 |
georgios | let me see | 11:24 |
georgios | /run/systemd/system/ is empty ... | 11:26 |
* georgios goes check again the archwiki | 11:27 | |
mardy | georgios: no worries, the last few lines were not for you :-) | 11:28 |
mardy | georgios: just please file a bug, giving as much information as possible | 11:28 |
Karthik[m] | Hi, the python plugin ignores config files like .ini & .sh in staging area. How can we override this behavior ? | 11:31 |
georgios | ok mardy. thanks for willling to help :) | 11:34 |
mardy | ijohnson[m]: and systemd-escape doesn't have any '--unescape' parameter in xenial | 11:56 |
mardy | https://access.redhat.com/solutions/4145191 | 11:57 |
mup | PR snapd#10598 opened: interfaces: add a polkit-agent interface <Created by jhenstridge> <https://github.com/snapcore/snapd/pull/10598> | 12:17 |
mmm4m5m | Hi 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 |
mmm4m5m | On 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 |
mmm4m5m | I 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 |
ogra | mmm4m5m, 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 |
mmm4m5m | ogra: thank you | 12:49 |
mvo | mardy: thanks so much for your review in 10577 - I pushed too small commits if you want to double check | 13:56 |
ijohnson[m] | mardy: let me know how it goes with systemctl cat | 13:57 |
mvo | ijohnson[m]: I'm looking at this early config issue now, it's confusing for sure | 14: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 |
mardy | mvo: done, LGTM | 14:20 |
mardy | ijohnson[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 |
mardy | some mount units even have a license at the top :-O | 14:22 |
* mardy needs to be afk for 30 mins or so, bbl | 14:23 | |
* cachio_ afk | 14:34 | |
mup | PR 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 |
mvo | a second review for 10595 would be awesome | 14:43 |
mup | PR snapd#10599 opened: configcore: fix early config timezone handling <Run nested> <Created by mvo5> <https://github.com/snapcore/snapd/pull/10599> | 14:52 |
mup | PR 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 effect | 15:30 |
mup | PR 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 |
mup | PR 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 |
mardy | go 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 allocations | 16:27 |
mup | PR 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.NewBuffer | 16:28 |
ijohnson[m] | *bytes.Buffer is an io.Reader which is what bufio.Scanner uses | 16:28 |
mardy | ijohnson[m]: thanks, will do it like that! :-) | 16:32 |
mup | PR 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 |
georgios | is a snap with lsm=landlock,lockdown,yama,apparmor,bpf provide any serious confinement? | 19:23 |
georgios | and arch's hardened kernel | 19:24 |
mup | PR 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!