[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-21 Thread Gustavo Niemeyer
> How do you have "many more" voices to pay attention to? 1018 people have marked We have millions of users, Avamander. > "I'm sorry you chose to feel insulted Your words. Now I'll stop here and hope that we can go back to being productive on this issue. Failing that, we'll lock this thread up

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-21 Thread Gustavo Niemeyer
The way we select priorities for the project every single cycle for years is having several stakeholders (that's more than a dozen people, covering community, customers, development groups, etc) with several different perspectives in a room after having followed a process of funneling requirements

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-21 Thread Gustavo Niemeyer
This is a place for respectful collaboration about the project and the issue at hand. People in the community are most welcome to participate and help, and many have done exactly that. Insults and blaming are not welcome here or anywhere else in this community, though, no matter how much you care

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-21 Thread Gustavo Niemeyer
> a ridiculously mismanaged and misprioritized project So you create an account just to come here say that? Indeed we have different a notion of priorities and time allocation, David. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-20 Thread Gustavo Niemeyer
Zygmunt, let's stick to the design and the spec only. Speculation or subjective remarks do not help the conversation. Avamander, your personal notion of fault attribution won't help you or anyone else. There's a lot of people here. Let's please preserve this thread relevant and respectful.

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-08-14 Thread Gustavo Niemeyer
Hi Seth, >From recent conversations with the team, the approach has been discussed and we have an agreement on it, we should now see a design document made public in the next few weeks (september still, hopefully), which means an implementation available in the next few months. So we'll see it as

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-07-17 Thread Gustavo Niemeyer
Right, I spent my time explaining the design and trationale that got us here, and in which direction we'll improve it. It seemed much more interesting for everyone. > WE are whining about it annoyingly. You are the one saying that. It is a hot topic for several reasons, but most people in this

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-07-16 Thread Gustavo Niemeyer
Folks, we said multiple times above that this is in the roadmap and there's on going work to get it addressed. We'll be posting more details about the actual change soon, and it's not just a rename. > The community and it's voice matters - ignoring it will just cause people to not support Ubuntu.

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-07-10 Thread Gustavo Niemeyer
If not having a ~/snap in your home is more important than what the entire snap ecosystem provides, then removing it indeed sounds like the right choice. With that said, we've been working on this issue and Zygmunt says so above quite clearly, because we care, and always did. But we can only care

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2020-02-20 Thread Gustavo Niemeyer
> The dev team made it clear that for them it has no priority and from their point of view it is no bug and does not belong here. I actually stated something else way back above. We care, and we'll fix it. It's not as straightforward as it sounds, though, and indeed there were higher priorities.

[Bug 1813365] Re: Local privilege escalation via snapd socket

2019-02-14 Thread Gustavo Niemeyer
Thanks for the clarification, Chris. We're in complete agreement. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1813365 Title: Local privilege escalation via snapd socket To manage notifications

[Bug 1813365] Re: Local privilege escalation via snapd socket

2019-02-14 Thread Gustavo Niemeyer
Chris, I've just read your blog post at: https://shenaniganslabs.io/2019/02/13/Dirty-Sock.html There you install a snap in devmode, which does a bunch of things to demonstrate that the snap can access system resources via the vulnerability in <2.37. Just for the record, it's slightly undue to

[Bug 1814640] Re: snap info showing "unset" license for snaps

2019-02-05 Thread Gustavo Niemeyer
The behavior of snapd seems correct, in the sense different revisions of the snap may have different licenses. "Rectifying" a license in a way that future information affect past code seems very bogus in this context. With that said, we might have a special case for "unset". -- You received

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2019-02-03 Thread Gustavo Niemeyer
The fix for one snap or ten thousand is exactly the same, as we're addressing this inside snapd proper. No snaps will need to change. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1575053 Title:

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2019-01-11 Thread Gustavo Niemeyer
Viktoria, We have been working non-stop on snapd over those three years, including features that will improve the situation for this folder. The fact it is marked as Wishlist reflects more on the fact nothing is in fact broken, other than you and me would both like to have a nicer folder

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-12-21 Thread Gustavo Niemeyer
Hi Carl, This is likely what we will do indeed, as it's a nice partner to the other standard options already there, is language-agnostic, and thus easier to handle on the confinement sense. We'll also clean it up a bit on the way, by stashing the non-current revisions in a better place. -- You

[Bug 1768625] Re: Bluetooth headset HSP/HFP mode not working in Bionic

2018-11-07 Thread Gustavo Niemeyer
The issue is most probably that your headset implements the HFP profile, but not the HSP profile, and pulseaudio does not yet support the HFP profile despite what that line says (HSP/HFP). To confirm, run bluetoothctl, and type something like: > devices (...) > info 11:22:33:44:55:66 Where the

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-10-24 Thread Gustavo Niemeyer
> This is by design so not easy to fix if at all possible at this stage It is by design, but as I said the solution not only is possible, but is elegant, and is almost done. The foundations of snapshots is done and is landing (https://github.com/snapcore/snapd/pull/5955). In the coming weeks,

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-10-24 Thread Gustavo Niemeyer
The picture might not be completely clear if you haven't been watching, so let me help: - We have snaps by default in Ubuntu for years now - There are thousands of snaps published - There are more than 100 thousand snap installs per day - There are more than 3 million new snap installs a month -

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-10-23 Thread Gustavo Niemeyer
Snapshots, which is mostly finished by now, will allow keeping data past the removal of the snap itself. That said, it will only hold the data saved for some time. The design applied there is a trade off between leaving data behind forever, and risking removing data unintendedly as you reported.

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-09-26 Thread Gustavo Niemeyer
> having a directory not hidden with a fixed name in the home directory is not a common practice. The vast majority of Ubuntu users in the desktop have directories named similar to "Video", "Pictures", "Documents", "Downloads", "Music", etc there, which means that in fact this is a common

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-09-26 Thread Gustavo Niemeyer
> I believe this is a very incorrect line of argumentation. Your position is "others have done it too". This is not an excuse. Also they have done it differently. This whole thread is about consistency and common practices, Ivàn. Consistency and common practices for the placement of a single

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-09-26 Thread Gustavo Niemeyer
That's not the only concern, Zygmunt. We also need to design what we'll move towards when it actually happens. As was detailed much earlier in this thread, there are considerations about both the kind of content that is inside those directories (which isn't something that typically goes hidden),

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-09-19 Thread Gustavo Niemeyer
We listen, even to harsh comments like that one. I'm sorry that we cannot implement the exact changes you want on the exact time frames you want. Rest assured we are working hard on this project, though, and for years now we've been landing major improments like clock work. There are actually

[Bug 1791814] Re: [2.35.1] /v2/interfaces returns "system" instead of "core" as owning snap of core interface slots

2018-09-12 Thread Gustavo Niemeyer
Hi Eric, Thanks for the call yesterday. Similar to other cases we covered yesterday, and unlike stated above, the translation of the alias in "snap get system" to "snap get core" is actually made inside the daemon, so there shouldn't be any difference in results, whether via the command line or

[Bug 1779948] Re: Snapd gets stuck when starting Ubuntu.

2018-09-11 Thread Gustavo Niemeyer
Woonjas, if you're having an issue, it's probably not this one as the problem was found and fixed. Can you please open a separate bug, and include the same details requested above for your machine, so we can investigate in more detail? Thank you. -- You received this bug notification because

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-08-29 Thread Gustavo Niemeyer
For the record, the epoch feature is being actively worked on and it's not that far hopefully. You can track progress in the forum: https://forum.snapcraft.io/t/epochs-stepped-upgrades/1757/57 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 1607067] Re: Add a dotfiles / hidden files interface

2018-08-27 Thread Gustavo Niemeyer
There's some further discussion about the topic of this PR here: https://forum.snapcraft.io/t/access-to-specific-hidden-file-path-in- users-home/6948/8 Josh, we're are researching about a way to solve problems similar to the ones you describe. It's still not ready for prime time, but I believe

[Bug 1746710] Re: Snap creates redundant duplicate directories in home folder

2018-08-21 Thread Gustavo Niemeyer
Sergio, see comment from Seb above. It's the launcher, and rebuilding apparently solves the problem. We won't pack the launcher in snapd. If you have some more information about why that's still a bug in snapd, then please talk to us or provide good details about why the affected applications

[Bug 1533899] Re: Add support for proxies

2018-08-21 Thread Gustavo Niemeyer
This is supposed to work indeed, even outside of Ubuntu Core. It's also documented: https://snapdocs.labix.org/configuration-options/87 (this will go into snapcraft.io/docs soon) I'm going to close this issue for now. Please reopen if I'm missing something. ** Changed in: snapd (Ubuntu)

[Bug 1779948] Re: Snapd gets stuck when starting Ubuntu.

2018-07-11 Thread Gustavo Niemeyer
The problem here is lack of entropy in the kernel. A CVE was reported in the kernel related to low entropy, and the modification prevented the data from going out. Unfortunately that means any programs at early boot that attempted to obtain a few bytes of random data would get stuck, potentially

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-06-06 Thread Gustavo Niemeyer
It can be translated. It's software.. everything _can_ be done. It's just more complex, and not necessarily the best idea given potential options. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1575053

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-06-05 Thread Gustavo Niemeyer
Hi Krisztian, There's no test here. Those are just user data files which need to be exposed, whether you're young or not. That said, your general sense is right: we want those exposed, and nicely so. You're also hitting the right points when you raise symlink and confinement issues. That's part

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-06-05 Thread Gustavo Niemeyer
Hi Tony, Stepping up on a culture pedestal and looking down on others is pretty unhealthy, even more if you do that blindly. As was repeated many times in this thread, the files inside ~/snap must *not* be hidden. Those are going to be music files, documents, pictures, which strict snaps want to

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-06-04 Thread Gustavo Niemeyer
It's not even just that. Part of the confusion here is that people think this is content that should be hidden, but it's really not. This is closer to "~/Documents" than it is to "~/.config". The directories under ~/snap hold the $HOME for snaps. They are the place strict snaps can write to,

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-05-02 Thread Gustavo Niemeyer
The snap infrastructure is used in production by us and many of our customers, and we also regularly hear about success stories from the community. So in that sense, yes it's production quality, today. That said, Ubuntu will not replace all debs by snaps. These are complementary technologies, and

[Bug 1730159] Re: Snapd should not start if there are no Snaps installed

2018-04-12 Thread Gustavo Niemeyer
It's way too late for that behavior right now. Many features expect snapd to be live to work. Seeding happens the first time snapd runs, which means a new system will by default start without any snaps installed. The data for command-not-found is acquired by snapd while running as well. We also

[Bug 1758211] Re: snap 2.31.2 broke almost all my snaps

2018-03-22 Thread Gustavo Niemeyer
*** This bug is a duplicate of bug 1756793 *** https://bugs.launchpad.net/bugs/1756793 Sorry for the trouble, James. A reboot is the most trivial workaround, and the fix is being released. We got bitten by a misbehavior in systemd, which got hidden due to lack of testing for double updates

[Bug 1756793] Re: Can't run snaps on Ubuntu 18.04

2018-03-20 Thread Gustavo Niemeyer
Hi Colin, We discussed in the sprint two weeks ago how we could prevent this from happening again. Part of the problem here is that this only shows up in a multi-stage upgrade, because it's a misbehavior of systemd that was triggered on the prerm script. So normal upgrade tests do not catch it.

[Bug 1756793] Re: Can't run snaps on Ubuntu 18.04

2018-03-20 Thread Gustavo Niemeyer
There are two recent issues in 18.04 that we're aware about. For one of them, the most trivial fix is to reboot the system. It's a problem in systemd ignoring a Condition on the snap.mount being inside a container and stopping the snap.mount unit, which chains into unmounting all snaps during the

[Bug 1749777] Re: Syntax tweaks for snap-friendly output

2018-02-27 Thread Gustavo Niemeyer
Yeah, we spent a lot of time trying to make the output both compact and showing command lines. The problem is that once you have more than a few options, it gets wild and unfriendly as a dump of information after a typo. That said, I think we can improve these headings indeed. The output I see

[Bug 1575053] Re: Please move the "$HOME/snap" directory to a less obtrusive location

2018-02-25 Thread Gustavo Niemeyer
No worries, Joel Teixeira, we'll still be here if you need us, working on developing modern package management for Linux, and hopefully making it good enough that people will be excited to use despite the name of a directory not being their preferred one. In fact, we can definitely work allowing

[Bug 1575053] Re: Please move snap user data from "$HOME/snap" to "$HOME/.snap" (or to "$HOME/.local/share/snap" in accordance with the XDG spec)

2018-02-24 Thread Gustavo Niemeyer
This is the second hottest bug because it's very easy to have an opinion about it without any strings attached. As I believe was explained multiple times above the real reason this is not "hidden" is that snap/ is not just a configuration directory. This is where the writable space for all snaps

[Bug 1585403] Re: please support parallel operation

2018-01-16 Thread Gustavo Niemeyer
Per conversation on IRC: I think it can be closed 18:44:34 snapd indeed operates closer to make -j than it does to apt or deb in that regard Those really serialize all steps of the installation, while snapd goes wild and only rejects known conflicts as you pointed out pedronis make -j also

[Bug 1662552] Re: snaps don't work with NFS home

2017-10-23 Thread Gustavo Niemeyer
It's in master now. ** Changed in: snapd Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1662552 Title: snaps don't work with NFS home To manage

[Bug 1504657] Re: ntp servers should be configurable on snappy

2017-05-10 Thread Gustavo Niemeyer
Discussing here: https://forum.snapcraft.io/t/allow-disabling-system-services-on-ubuntu- core/531/2 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1504657 Title: ntp servers should be configurable

[Bug 1663060] Re: Add a title field to snap metadata

2017-05-04 Thread Gustavo Niemeyer
*** This bug is a duplicate of bug 169 *** https://bugs.launchpad.net/bugs/169 We just got a bug report saying gnome-software is actually showing summaries as a title: https://forum.snapcraft.io/t/title-summary-pulled-from/469 -- You received this bug notification because you are a

[Bug 1674509] Re: Unable to find bluetooth device on RPi3 running Ubuntu Core 16

2017-04-07 Thread Gustavo Niemeyer
Sorry, it CANNOT be a regular expression. I wish Launchpad allowed edits. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1674509 Title: Unable to find bluetooth device on RPi3 running Ubuntu Core 16

[Bug 1674509] Re: Unable to find bluetooth device on RPi3 running Ubuntu Core 16

2017-04-07 Thread Gustavo Niemeyer
Jamie's suggestion seems spot on for the time being. This is really something for the gadget to expose, and it should be made in an explicit way. It can be a regular expression as suggested because then you cannot assign a particular snap plug to a particular serial port anymore. The upcoming

[Bug 1677417] Re: /etc/ld.so.conf.d/conjure-up.conf breaks apt on host system

2017-03-30 Thread Gustavo Niemeyer
Sorry, by "there" I mean in the forum Zyga mentioned above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1677417 Title: /etc/ld.so.conf.d/conjure-up.conf breaks apt on host system To manage

[Bug 1677417] Re: /etc/ld.so.conf.d/conjure-up.conf breaks apt on host system

2017-03-30 Thread Gustavo Niemeyer
The bug is really in the snap. It shouldn't be doing that. I've provided a longer rationale and a fix proposal there, where we have more eyes watching. I would like to close this bug as "Invalid". -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 1665102] Re: Snap refresh not working as expected on devmode snaps

2017-02-23 Thread Gustavo Niemeyer
The current behavior was the precise outcome of a very long conversation we (Mark and I) had in Heidelberg, about the subtle properties of such updates. We agreed to block devmode => strict refreshes because we could not get a clear agreement on what was the proper way to treat those updates.

[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-12 Thread Gustavo Niemeyer
Sounds good. We'll add something along those lines to the API. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661590 Title: GNOME Software only supports running one application from a snap To

[Bug 1663060] Re: Add a title field to snap metadata

2017-02-12 Thread Gustavo Niemeyer
If gnome-software is using summary as a name, it needs to be fixed to not do that, ASAP. Whether to have a different field is an unrelated conversation which is of less urgency than that. We have a name field today, and it should be used. -- You received this bug notification because you are a

[Bug 1663060] Re: Add a title field to snap metadata

2017-02-10 Thread Gustavo Niemeyer
Yes, but the discussion above also implies that we have multiple naming fields, and that gnome-software is currently using summary as it ("Currently gnome-software is using sumary or name instead of this field."). We should discuss the possibility of another field, per above note, but let's

[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
@Mark: The command is not duplicated. The desktop file will call the actual command defined in the snap.yaml. It may provide additional arguments, but those will indeed be _in addition_ to the ones in snap.yaml. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
More food for thought on the above note: the desktop file cannot call the real underlying command by itself! That would break confinement. It calls the confined binary under /snap/bin instead, which is what the "command:" attribute specifies. So, necessarily respected. -- You received this bug

[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Another side note: there's no special meaning to the order of commands in snap.yaml. We can reorder it, and snapcraft can reorder it, so please don't take it to mean something specific as that'll easily break. -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Robert: what do you actually need here? We already support multiple desktop files, and they already hold metadata. gnome-software can already inspect to see which of these is available, I believe? What are the missing pieces? -- You received this bug notification because you are a member of

[Bug 1663060] Re: Add a title field to snap metadata

2017-02-10 Thread Gustavo Niemeyer
The bug description is misleading. There's a single name field in snaps today, and its called "name". Summary is not a name, and description is not a name. If gnome-software or anything else is using "summary" as a name, that's a pretty obvious bug that would be great to see fixed. We can discuss

[Bug 1661590] Re: GNOME Software only supports running one application from a snap

2017-02-10 Thread Gustavo Niemeyer
Every application may already have an associated desktop file under meta/gui/.desktop today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661590 Title: GNOME Software only supports running one

[Bug 1581713] Re: Ubuntu Software always asks for an Ubuntu Single Sign-On account when installing or removing a snap package

2017-02-09 Thread Gustavo Niemeyer
As we discussed the last time this came up, yes, that seems fine. Handing out a token to root that provides an authorization to manipulate the system is analogous to allowing root itself to be doing removals without further store information, which we allow. The necessary infrastructure for that

[Bug 1662603] Re: snap refresh hang during download

2017-02-07 Thread Gustavo Niemeyer
Almost all of the logged messages are unrelated to snapd. Can you please show "snap changes" and then "snap change" on the latest refresh operation? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1662603] Re: snap refresh hang during download

2017-02-07 Thread Gustavo Niemeyer
Indeed. We need a way to distinguish between lack of purchase and other reasons for lack of access rights. Along similar lines, would be great to be able to distinguish between real not found (bogus endpoint) and semantic content not found (unknown snap). -- You received this bug notification

[Bug 1636934] Re: snapctl seem to cache values even if snap is removed and then installed again

2017-01-10 Thread Gustavo Niemeyer
We should just clear config up from the state when the last revision from the snap is going away. That needs to be done in a careful way to take undoing into account. Eventually we should actually migrate to a model where configuration is keyed by (snap, revision) instead of simply (snap), so

[Bug 1624322] Re: console-conf wlan race on pi3

2016-11-21 Thread Gustavo Niemeyer
** Changed in: snappy Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1624322 Title: console-conf wlan race on pi3 To manage notifications about this bug go to:

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-17 Thread Gustavo Niemeyer
If it never stops growing, it's obviously a leak.. somewhere! If it stabilizes after a while, then it's a side effect of Go being a non- deterministic garbage collected language. Again, data. If the goal is testing this particular code path, it'd be best to have a tiny test case exercising it,

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-17 Thread Gustavo Niemeyer
@Colin, Sorry if it sounds different, but this is not a wish of mine. It's just about respecting the data we have. Not even Valgrind itself is reporting this as a leak. It's saying "block possibly lost". Unless we have either very basic empirical evidence of a leak (e.g. offending code alone in a

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-17 Thread Gustavo Niemeyer
Once more, unless we have evidence showing otherwise, there were no leaks before either. Let's please stop pretending otherwise. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642068 Title: snapd

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-17 Thread Gustavo Niemeyer
@Colin, That's what I understood previously, but thanks for confirming it. The question was whether you had digged further to see whether that warning made any sense, or whether you had any further data confirming the leak to be real. I'll take your response as a no, which is fine. -- You

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-17 Thread Gustavo Niemeyer
Did you did into that problem? I don't see the potential leak looking at the function. All of the arguments other than *ThreadStart are allocated in the stack, and ts is freed on threadentry which is the function provided as the start_routine parameter of pthread_create. What is the actual issue

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-17 Thread Gustavo Niemeyer
@Colin, Sure it definitely needs to be improved. As I said above, this is just a cheap way to get us going, and the proper fix is a transactional storage on disk. @Mark, Yes, we can prune based on number of changes as well. It's not expensive. That's a good trick to get us going farther. @John,

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-16 Thread Gustavo Niemeyer
As mentioned above, unsuccessful changes are aborted after a few days, and pruned thereafter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642068 Title: snapd memory sizes grows huge over time

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-16 Thread Gustavo Niemeyer
Btw, there's a "snap changes" command you can see which changes currently exist. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1642068 Title: snapd memory sizes grows huge over time To manage

[Bug 1642068] Re: snapd memory sizes grows huge over time

2016-11-16 Thread Gustavo Niemeyer
If you install/remove on a loop, this will create changes which are kept in memory until they are pruned. This happens in the period of three days for successful ones, and a week for unsuccessful ones (which are aborted, and later pruned). Eventually we'll need to move to a model where this data

[Bug 1640514] Re: /snap/bin is not added to the PATH when using zsh

2016-11-09 Thread Gustavo Niemeyer
Indeed. The right fix is probably a trivial change in /etc/zsh/zshenv. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1640514 Title: /snap/bin is not added to the PATH when using zsh To manage

[Bug 1630145] Re: out of disk space needs better handling

2016-10-20 Thread Gustavo Niemeyer
Let's please keep the original topic as handling space issues in snapd needs to be improved indeed. If there's a specific request about ubuntu-image, this needs another bug. ** Summary changed: - ubuntu-image should add the regular 5% reserved space for root when creating filesystem for

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Gustavo Niemeyer
About where the notion came from, I've heard about this potential problem pretty much since we considered using the current mount-based model of snaps. Sounds like there's a wide belief that there is such a limit, perhaps backed by actual reality:

[Bug 1635228] Re: Increase number of loopback devices

2016-10-20 Thread Gustavo Niemeyer
Thank you very much for the test. I heard this morning that the limit was 256 based on an error on a test yesterday, but it must be something else then. I'll go back and ask for more details. ** Changed in: linux (Ubuntu) Status: Triaged => Invalid -- You received this bug notification

[Bug 1635228] [NEW] Increase number of loopback devices

2016-10-20 Thread Gustavo Niemeyer
Public bug reported: Hello, As discussed today in the sprint in The Hague, the number of available loopback devices limits the number of snaps that may be installed on a given system. Would it be possible to increase the number of loopback devices to at least 4096 or 8192, so that we can

[Bug 1612783] Re: snapd requires U1 account to install local packages

2016-09-06 Thread Gustavo Niemeyer
The Ubuntu Software team is already working on an alternative for that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1612783 Title: snapd requires U1 account to install local packages To manage

[Bug 1592088] Re: snap command doesn't finish when snapd already gave up

2016-09-02 Thread Gustavo Niemeyer
This symptom is fixed in the current master code (and likely in the latest SRU that is going in now). The umount will happen synchronously even if there are still processes alive. That said, please note that the old behavior was not as bad as it sounds from the description. The snapd daemon is

[Bug 1586400] Re: Snap type: change from "os" to "core"

2016-09-02 Thread Gustavo Niemeyer
We are doing a last minute push to get "ubuntu-core" renamed to "core", so that the images going out on RTM have the logic in place for testing, but this is unrelated to the topic here. This specific bug is simply about having the "core" snap with the "core" type, and this transition needs to be

[Bug 1586400] Re: Snap type: change from "os" to "core"

2016-09-02 Thread Gustavo Niemeyer
We went back and forth on this issue a bit, but I believe the latest agreement is actually that we want snaps of type "core" indeed. There's no reason to keep the inconsistency of naming something "os" internally when everything else refers to those as "core". We'll need to support snaps with the

[Bug 1606212] Re: getpwuid is failing on classic image

2016-08-11 Thread Gustavo Niemeyer
It is only a serious problem if we find a serious bug about it. Meanwhile it's an inconvenience which we should try to fix when the cost-benefit pays off. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1606212] Re: getpwuid is failing on classic image

2016-08-11 Thread Gustavo Niemeyer
Apparently the message indicates this is about uid 0, which would hint at it being unrelated to user id mapping. On a quick search, this issue covers the same problem: https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/649917 with the relevant comment from Evan Broder: Apparently an

[Bug 1603018] Re: snap create-user gets bad username

2016-08-06 Thread Gustavo Niemeyer
** Changed in: snapd (Ubuntu) Status: New => Fix Committed ** Changed in: snappy Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1603018 Title: snap

[Bug 1600260] Re: Support paravirtualization

2016-07-08 Thread Gustavo Niemeyer
Also virtio_net, virtio_blk, virtio_pci.. these are builtin in the standard Ubuntu images, so probably also builtin there? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1600260 Title: Support

[Bug 1600260] Re: Support paravirtualization

2016-07-08 Thread Gustavo Niemeyer
virtio_scsi is the obvious one. Not sure if there's anything else necessary. Might be a good idea to catch up with the cloud image maintainers and ask. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1599783] Re: snapd is dead and panic when trying to start

2016-07-07 Thread Gustavo Niemeyer
This is not just UX. There's an actual panic in doDisconnect. No UX issue should result in a panic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1599783 Title: snapd is dead and panic when trying

[Bug 1593213] Re: snap install --channel=beta not working when snap already installed

2016-07-06 Thread Gustavo Niemeyer
You don't need to remove the snap. Just use "refresh" instead. We need to improve the error message. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1593213 Title: snap install --channel=beta not

[Bug 1593213] Re: snap install --channel=beta not working when snap already installed

2016-07-06 Thread Gustavo Niemeyer
Note that the unlike the bug description states, snapcraft.io is correct. It mentions refresh explicitly, and only talks about the install option when the goal is to install it new. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1597390] Re: Screen unlocked on external monitor plugged?

2016-06-29 Thread Gustavo Niemeyer
Here it goes: ii unity 7.4.0+16.04.20160526.1-0 amd64 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1597390 Title: Screen unlocked on external monitor plugged? To manage notifications about

[Bug 1597390] Re: Screen unlocked on external monitor plugged?

2016-06-29 Thread Gustavo Niemeyer
There's no time in most lines in that file unfortunately, but this might be it: WARN 2016-06-28 20:36:08 nux.inputmethod.ibus InputMethodIBus.cpp:67 Impossible to connect to connect to ibus [2378:2411:0629/100015:ERROR:connection_factory_impl.cc(367)] Failed to connect to MCS endpoint with

[Bug 1597390] [NEW] Screen unlocked on external monitor plugged?

2016-06-29 Thread Gustavo Niemeyer
Public bug reported: This morning I experienced an interaction which left me a bit concerned. I took a sleeping laptop to the office, opened it, and the usual login dialog came up. I then plugged in an external monitor, and it unlocked. Anybody experienced something similar recently? Looking

[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2016-06-21 Thread Gustavo Niemeyer
As we discussed today on the channel, we should give a try at using attributes to produce the final interface we want here. This is supported for some time, and really not too much work compared making the interface global. I suggest something like this (whitespaces => underlines to make

[Bug 1585806] Re: snap remove while in /snap/foo/current/... not robust

2016-06-16 Thread Gustavo Niemeyer
No, please see the discussion above. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1585806 Title: snap remove while in /snap/foo/current/... not robust To manage notifications about this bug go

[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2016-06-09 Thread Gustavo Niemeyer
That's a very good point, Jamie. Let me sleep over that, please, to ponder whether there's something else entirely that we could do. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1590679 Title:

[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2016-06-09 Thread Gustavo Niemeyer
If it's a blank check, I don't see many advantages over asking for unity7 itself. Once we want to force the declaration, we can just introduce the actual interface. Might also be a good thing because unity7 will eventually be deprecated, and we might use that timeframe to deprecate the general

[Bug 1590679] Re: Apps can't own session bus names (unity7 interface)

2016-06-09 Thread Gustavo Niemeyer
We already do that today for existing interfaces. But I wonder if we should open up a slightly wider door for name registration on the session bus specifically (IOW, not system session, not communication), so that applications can run even if they don't bother about interfaces. This would unblock

  1   2   3   >