/srv/irclogs.ubuntu.com/2017/12/10/#snappy.txt

=== ejat is now known as myfenris
=== myfenris is now known as ejat
iawesome404Hello. I am trying to install Ubuntu Core on my raspberry pi 2. When i tried to login to my ubuntu sso account it says that i can't connect to localhost04:04
ikeyhow do i make old snap versions go away..?12:26
ikeyi have like 3 versions of solus-runtime-gaming mounted12:27
ikeyand they're not small12:27
mcphailikey: sudo snap remove packagename --revision=revnumber12:36
ikeyright but shouldn't GC be automatic..?12:37
ikeyim updating - i dont want what will become dozens of backversions12:37
ogra_ikey, you always have three versions of the snap for rollback support12:47
ogra_typically the original first-installed one (to go back to factory state) and the two latest ones to go back and forth between them12:47
ogra_admittedly the factory bit should be discussed ... but as long as we have roolback support the last two installed revisions will always be needed12:48
ogra_*rollback12:48
ikeyah so 3 backversions?12:53
ikeyok well as long as there is a cut off point thats fine :D12:53
ikeywell. 2 back and current12:54
ogra_yeah12:54
ikeyalright thats fine then thanks :D12:54
ikeypanic over12:54
ikeyxD12:54
ogra_:D12:55
=== devil is now known as Guest26284
Chipacaogra_: ikey: it being 3 isn't about factory state, it's about what's the minimum you need to ensure that if you go forwards and get into trouble, you're left somewhere from which you can still go backwards16:58
ikeyyea16:58
Chipacadropping it to two leaves some corner cases from which, if you get into trouble, you're left at a revision with no rollback16:58
Chipacadropping it to 1 is embracing chaos16:59
Chipaca:-)16:59
=== devil is now known as Guest2773
=== Guest2773 is now known as devil_
mupBug #1737427 opened: snapd: Missing Unlock before return in package daemon, func sysInfo <release> <resource> <semaphore> <snapd> <unlock> <Snappy:New> <https://launchpad.net/bugs/1737427>20:08
phoe_Hey - I'm trying to install lxd on debian via snap as documented on https://stgraber.org/2017/01/18/lxd-on-debian/23:23
phoe_on `snap install lxd` I get: cannot bind-mount the mount namespace file /proc/2230/ns/mnt -> lxd.mnt: Permission denied / support process for mount namespace capture exited abnormally23:23
phoe_How can I start debugging this?23:23
phoe_Are there any snapd logs that I can inspect or any -v flag that I could pass anywhere?23:24
phoe_Oh wait a second... This might be this apparmor bug. Let me try to disable it and reboot.23:26
Chipacaphoe_: that sounds like fun23:26
phoe_Chipaca: yes, it sounds like fun23:26
Chipacaphoe_: it might be snapd thinking you don't have apparmor when you do (or viceversa)23:27
phoe_https://i.imgur.com/PlhMiZz.jpg23:27
phoe_I just saw logs in journalctl stating that apparmor denied something.23:27
Chipacaphoe_: but the person to ask about this is zyga; he'll be around in the morning (CET)23:27
phoe_So let's see if `systemctl disable apparmor.service && reboot` helps23:27
phoe_Chipaca: thanks, I will.23:27
Chipacaphoe_: apparmor is awesome, but the transition into using it finds bugs ¯\_(ツ)_/¯23:28
phoe_also debian does not natively support snapd yet.23:28
Chipaca(same is true of any security module)23:28
Chipacaphoe_: i thought that had changed recently23:28
Chipacabut, i'm not an expert on that side of things23:28
phoe_Chipaca: not that I know of.23:29
* Chipaca isn't sure what he _is_ an expert of23:29
phoe_...wait a second23:29
phoe_wait, wrong23:29
phoe_I am wrong23:29
phoe_snapd is supported, *lxd* is not23:29
Chipacaah23:29
phoe_hence my confusion23:29
phoe_oh look, `snapd install lxd` works. awesome.23:30
Chipacastgraber: can you shed light on this?23:30
mwhudsoncertainly snapd on debian *was* a bit broken thanks to apparmor being on by default in sid now23:32
phoe_yes, I am on sid.23:35
phoe_I had to disable apparmor.23:35
Chipacamwhudson: o/23:36
Chipacai should run away before i start working by accident23:36
mwhudsonok23:36
mwhudsoni guess it's good news that that helped :)23:36
* Chipaca is off today23:36
Chipacaer, tomorrow23:36
mwhudsonChipaca: what with it being sunday for you?23:36
mwhudsonah heh23:36
Chipacamwhudson: the ol "it's december and i have too many unspent holidays"23:37
mwhudsoni do not have that problem this year :)23:37
mwhudsonor any other year now that my child is at school i suspect23:37
Chipacai blame growing up in the south, where holidays go from july to june23:37
Chipacamwhudson: heh23:37
Chipacayeah, that'd do it23:38
Chipacaanyway, byes23:38
mwhudsonttfn23:38
stgraberlxd is supported on pretty much all distros that ship snapd23:57
stgraberwe have automatic testing for the stable releases of most (if not all) of those23:57
stgraberwhich doesn't include debian sid since that's obviously not stable23:57
stgraberso it may well be that apparmor now being enabled in sid is causing some problems23:57

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