[Bug 1549730] Re: launcher inserts new apps at #1

2016-03-01 Thread John Lenton
** Changed in: unity (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1549730

Title:
  launcher inserts new apps at #1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1549730/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1555567] Re: License information from the store not being used

2016-04-26 Thread John Lenton
I can confirm snappy receives the license information from the store,
and promptly forgets about it.

Ooops.

** Changed in: snappy
   Status: New => Confirmed

** Changed in: snappy
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/167

Title:
  License information from the store not being used

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/167/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575129] Re: snapd installs files in /etc which break bzr (via etckeeper)

2016-04-27 Thread John Lenton
One thing we *could* do is create them every boot, under
/run/systemd/system, but that's part of a bigger piece of work

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575129

Title:
  snapd installs files in /etc which break bzr (via etckeeper)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575129/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1575129] Re: snapd installs files in /etc which break bzr (via etckeeper)

2016-04-27 Thread John Lenton
Unfortunately AFAIK that name is mandated by systemd for a mount unit
that mounts /snap/ubuntu-core/109.2

  Mount units must be named after the mount point directories they control. 
Example: the mount point
   /home/lennart must be configured in a unit file home-lennart.mount. For 
details about the escaping
   logic used to convert a file system path to a unit name, see 
systemd.unit(5). Note that mount units
   cannot be templated.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575129

Title:
  snapd installs files in /etc which break bzr (via etckeeper)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1575129/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-11 Thread John Lenton
It's because /etc isn't hidden; the snap sees the host's /etc.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580018

Title:
  ubuntu-core image missing awk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1580018/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1580018] Re: ubuntu-core image missing awk

2016-05-11 Thread John Lenton
** Changed in: snapd (Ubuntu)
   Status: Incomplete => Confirmed

** Changed in: snapd (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580018

Title:
  ubuntu-core image missing awk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1580018/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1572463] Re: setup-profile configures security based on snap.Info from DisconnectSnap, which still sees older revision

2016-05-12 Thread John Lenton
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1572463

Title:
  setup-profile configures security based on snap.Info from
  DisconnectSnap, which still sees older revision

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1572463/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1571721] Re: Removing when an app is running results in a half removal

2016-05-12 Thread John Lenton
@tim yes, run zyga's reset-state script from
https://github.com/zyga/devtools/blob/master/reset-state

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571721

Title:
  Removing when an app is running results in a half removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1571721/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1569577] Re: please remove var/lib/snapd/apparmor/additional from debian/snapd.dirs

2016-05-12 Thread John Lenton
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1569577

Title:
  please remove var/lib/snapd/apparmor/additional from debian/snapd.dirs

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1569577/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1570280] Re: snap and snappy man pages incomplete

2016-05-12 Thread John Lenton
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570280

Title:
  snap and snappy man pages incomplete

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1570280/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1579553] Re: 'snap help' is not well handled

2016-05-08 Thread John Lenton
I'm assuming you mean that the help command doesn't provide help for
subcommands. Shout if not.

Looking at the library we're using, and unless I'm missing something,
fixing this is going to require working on the library. As that is
probably going to take a while, maybe we should remove the help
subcommand entirely until that's done.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579553

Title:
  'snap help' is not well handled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1579553/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1579553] Re: 'snap help' is not well handled

2016-05-08 Thread John Lenton
Ah! That's fixed on master:

john@feuille:~/canonical/snappy/src/github.com/ubuntu-core/snappy$ 
GOPATH=~/canonical/snappy go build -o /tmp/snp 
github.com/ubuntu-core/snappy/cmd/snap && /tmp/snp help 
Usage:
  snp [OPTIONS] 

Help Options:
  -h, --help  Show this help message

Available commands:
  abort   Abort a pending change
  ack Adds an assertion to the system
  changes List system changes
  connect Connects a plug to a slot
  disconnect  Disconnects a plug from a slot
  findFinds packages to install
  helpHelp
  install Install a snap to the system
  interfaces  Lists interfaces in the system
  known   Shows known assertions of the provided type
  listList installed snaps
  login   Authenticates on snapd and the store
  logout  Log out of the store
  refresh Refresh a snap in the system
  remove  Remove a snap from the system

but it doesn't work for subcommands:

john@feuille:~/canonical/snappy/src/github.com/ubuntu-core/snappy$ /tmp/snp 
abort --help
Usage:
  snp [OPTIONS] abort change-id

The abort command attempts to abort a change that still has pending
tasks.

Help Options:
  -h, --help   Show this help message
john@feuille:~/canonical/snappy/src/github.com/ubuntu-core/snappy$ /tmp/snp 
help abort
Usage:
  snp [OPTIONS] 

Help Options:
  -h, --help  Show this help message

Available commands:
  abort   Abort a pending change
  ack Adds an assertion to the system
  changes List system changes
  connect Connects a plug to a slot
  disconnect  Disconnects a plug from a slot
  findFinds packages to install
  helpHelp
  install Install a snap to the system
  interfaces  Lists interfaces in the system
  known   Shows known assertions of the provided type
  listList installed snaps
  login   Authenticates on snapd and the store
  logout  Log out of the store
  refresh Refresh a snap in the system
  remove  Remove a snap from the system

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579553

Title:
  'snap help' is not well handled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1579553/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1579553] Re: 'snap help' is not well handled

2016-05-08 Thread John Lenton
Well... it'd be an improvement. It'd still need us to either take over
handling help, or an upstream patch; I'm not sure which one is easier.
(yes, the lib offers no way to customise that help message).

Question: what if `snap ---help` (but not `snap -h`) were to work like
`snap man | man -l -`?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579553

Title:
  'snap help' is not well handled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1579553/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1609368] Re: 'snap find' no longer lists all available snaps

2016-08-03 Thread John Lenton
It isn't that we can't do it; it's that it's a lot of work to do it
properly, and there isn't a clear need. 'snap find .' will still only
give you an arbitrary set of 100 packages.

'apt list' is a local query; 'snap find' is a remote one. Having 'snap
find' return all snap packages is expensive, both on server resources
(to get, collate and serialise everything), network bandwidth (to
transmit the dump), and client resources (to display all of that). It
would also force us to support pagination of the store queries in snapd,
and of snapd respones in the client (as well as making supporting
caching a higher-priority issue), which is a lot of work for a use case
that is not at all clear is that interesting.

Especially considering that the (ubuntu) store has a public, documented
REST API you can query directly if you absolutely need the list of snaps
for some reason. http://search.apps.ubuntu.com/docs/#snap-specific-
endpoints

We'll probably bring back empty "snap find" as part of the discovery
story, but that's down the road a while.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1609368

Title:
  'snap find' no longer lists all available snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1609368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1303354] Re: [Apps Scope] App Summary appears to be part of Description

2016-07-15 Thread John Lenton
@rodney ooh, I can answer that one!
Existing 15.04 snappy core devices.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1303354

Title:
  [Apps Scope] App Summary appears to be part of Description

To manage notifications about this bug go to:
https://bugs.launchpad.net/click-package-index/+bug/1303354/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1598657] Re: No error id for username/password error returned from snapd

2016-07-18 Thread John Lenton
In #1562 I'm returning a 400 with `invalid-auth-data` when e.g. the
email provided is not valid (the value will describe the validation
error in detail); a 401 with `login-required` will be returned by other
unauthorised results (e.g. provided email/password is not correct.).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1598657

Title:
  No error id for username/password error returned from snapd

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1598657/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1598657] Re: No error id for username/password error returned from snapd

2016-08-05 Thread John Lenton
** Changed in: snappy
 Assignee: (unassigned) => John Lenton (chipaca)

** 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/1598657

Title:
  No error id for username/password error returned from snapd

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1598657/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1609754] Re: Cannot install suggested 'hello-world' example

2016-08-05 Thread John Lenton
Your squid probably needs holes poked in it to reach the CDN. Could you
try that and update the bug if it doesn't fix it? Thanks.


** Changed in: snapd (Ubuntu)
   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/1609754

Title:
  Cannot install suggested 'hello-world' example

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1609754/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1609754] Re: Cannot install suggested 'hello-world' example

2016-08-05 Thread John Lenton
The hole poked needs to be for https://068ed04f23.site.internapcdn.net
/download-snap/ FWIW.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1609754

Title:
  Cannot install suggested 'hello-world' example

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1609754/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1609754] Re: Cannot install suggested 'hello-world' example

2016-08-06 Thread John Lenton
The only thing SNAPD_DEBUG_HTTP does is turn on the logging of the
requests; the codepath is otherwise exactly the same.

The timeout is set to 10 seconds for things other than download; for
downloads it isn't set, so a timeout at download comes from elsewhere in
the stack. And yet curl doesn't suffer from this problem.

How long does the download of e.g. hello-world take? could you time
that?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1609754

Title:
  Cannot install suggested 'hello-world' example

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1609754/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1574487] Re: possibly unclean shutdown

2017-01-23 Thread John Lenton
** Also affects: initramfs-tools-ubuntu-core (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574487

Title:
  possibly unclean shutdown

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1574487/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1637410] Re: Resolve snap ID / Name confusion

2017-01-27 Thread John Lenton
the buy api is the only case where we need the client to talk to the
store about a snap that doesn't exist locally. For that case, snap ids
are the only reasonable choice. For cases where a snap exists locally,
snap name is the only reasonable choice.


** Changed in: snapd (Ubuntu)
   Status: Triaged => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637410

Title:
  Resolve snap ID / Name confusion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1637410/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-02-10 Thread John Lenton
I should point out that there isn't a clear 1:1 mapping between desktop
files and apps, and that some of the things mentioned here would impose
this.

FWIW IMHO if gnome software needs to choose one app from a snap to run
because of its own limitations it should choose the default app, the one
that has the same name as the snap.

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1661590/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1658719] Re: `snap refresh` doesn't show progress when checking for a large number of snaps

2017-01-23 Thread John Lenton
`snap refresh` speed should be mostly independent of number of installed
snaps (there are components of the time that are linearly proportional
to the number, but most of the times should be independent of it). When
there is an update you get the progress bar so I'm assuming you're not
talking about the time spent because of an update being there.

What snapd version are you using? Could you enable debug in snapd, run a
refresh, and show me the logs?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1658719

Title:
  `snap refresh` doesn't show progress when checking for a large number
  of snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1658719/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1658719] Re: `snap refresh` doesn't show progress when checking for a large number of snaps

2017-01-23 Thread John Lenton
Just to be clear:

$ snap list | wc -l
51
$ time snap refresh
All snaps up to date.

real0m3.953s
user0m0.008s
sys 0m0.008s

is this the "long time" you're talking about?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1658719

Title:
  `snap refresh` doesn't show progress when checking for a large number
  of snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1658719/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1517553] Re: Push Notifications Delayed or Missing

2016-08-05 Thread John Lenton
has anybody checked manually sending a push notification (either using
the user+device token for telegram itself (it used to print it
somewhere), or using "shove")? Historically the delays were on
telegram's end.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1517553

Title:
  Push Notifications Delayed or Missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/telegram-app/+bug/1517553/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1609754] Re: Cannot install suggested 'hello-world' example

2016-08-05 Thread John Lenton
Oh, that's interesting. I thought you'd said that you'd downloaded the
snap elsewhere.

The CDN is only used for the actual snap; the search hits the store
directly, hence why i thought it was that.

Can you set up snapd to run with SNAPD_DEBUG_HTTP=7 (adding it to
/etc/environment and restarting snapd.service should work)? And then
repeat the dance, and paste “journalctl -u snapd” somewhere.

If you've logged in to the store there will be auth headers in there so
maybe set the bug to private first if you're pasting it here (or use the
private pastebin). Also note the logs might get rather big so maybe turn
it off again afterwards.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1609754

Title:
  Cannot install suggested 'hello-world' example

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1609754/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1609368] Re: 'snap find' no longer lists all available snaps

2016-08-03 Thread John Lenton
There seems to be an issue with it not being displayed as required in
the help output. For now at least it _is_ required.

There is another issue about the error message being unclear.

"snap find" without arguments has not shown "all available snaps" in
quite a while; it would show 100 arbitrary snaps. That is expensive and
never what the user wanted, so in 2.11 we stopped doing that.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1609368

Title:
  'snap find' no longer lists all available snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1609368/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1594297] Re: Snapd packages restart in rsync style matter when update/install

2016-09-01 Thread John Lenton
** Changed in: snapd (Ubuntu)
   Status: Triaged => Confirmed

** Changed in: snapd (Ubuntu)
   Importance: Wishlist => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594297

Title:
  Snapd packages restart in rsync style matter when update/install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1594297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1611485] Re: "snap revert" doesn't remove the reverted version

2016-09-07 Thread John Lenton
snap remove does have --revision (I'm not sure that's released into
Ubuntu, but if it's not there yet it will be soon).

An explicit snap refresh of the snap will move you forwards to the
locally available revision you reverted away from (this is WIP but
should land later this week, and released perhaps with the next drop).

If the snap gets further updated in the store, snap refresh will pick up
the new revision; this already works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611485

Title:
  "snap revert" doesn't remove the reverted version

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1611485/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1585403] Re: please support parallel operation

2016-09-16 Thread John Lenton
Installing a package is not a CPU-intensive process; it's an IO-
intensive one.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1585403

Title:
  please support parallel operation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1585403/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1592074] Re: ubuntu-core is change in progress after interrupt "snap install"

2016-10-26 Thread John Lenton
The issue is that interrupting snap does not abort the change. We have a
card to implement that, but it's not done.

If you look at 'snap changes' you'll see the change you requested is
still in progress. You can stop it by doing "snap abort NN" where NN is
the change id as reported by snap changes.

One related issue is that 'snap abort' does not interrupt a download,
which makes things slightly more awkward.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1592074

Title:
  ubuntu-core is change in progress after interrupt "snap install"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1592074/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1634392] [NEW] have a snap command to wait for a change

2016-10-18 Thread John Lenton
Public bug reported:

It would be nice to have a "snap watch" or similar that would allow one
to monitor the progress of a change. Scenarios like dropped shell, or
waiting on the terminal for a process started in via the browser or in a
different session, for example.

$ snap watch 3
Downloading foo [3.20 MB / 3.32 MB [===>] 96.45 
% 845.31 KB/s

bonus points if you can just "snap watch" with no change id.

** Affects: snapd (Ubuntu)
 Importance: Undecided
 Status: New

** Description changed:

  It would be nice to have a "snap watch" or similar that would allow one
  to monitor the progress of a change. Scenarios like dropped shell, or
- waiting on the terminal for a process started in a different session or
- via the browser, for example.
+ waiting on the terminal for a process started in via the browser or in a
+ different session, for example.
  
  $ snap watch 3
  Downloading foo [3.20 MB / 3.32 MB [===>] 
96.45 % 845.31 KB/s
  
- 
  bonus points if you can just "snap watch" with no change id.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1634392

Title:
  have a snap command to wait for a change

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1634392/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1632453] Re: snapd won't start on dragonboard

2016-10-20 Thread John Lenton
*** This bug is a duplicate of bug 1628914 ***
https://bugs.launchpad.net/bugs/1628914

** This bug is no longer a duplicate of bug 1631791
   ubuntu-core/core unconditionally switches to the stable channel on all-snap 
images
** This bug has been marked a duplicate of bug 1628914
   ubuntu-core edge image switched to stable channel unpredictably and became 
unusable

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1632453

Title:
  snapd won't start on dragonboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1632453/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1635194] Re: Issues when activating a large number of applications at the same time

2016-10-20 Thread John Lenton
Coincidence; there were over 200 loopbacks active in the system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1635194

Title:
  Issues when activating a large number of applications at the same time

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1635194/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1571770] Re: Returns 500 when it can't find mounted snap

2016-10-24 Thread John Lenton
** Changed in: snapd (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1571770

Title:
  Returns 500 when it can't find mounted snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1571770/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1569892] Re: /etc/profile.d/apps-bin-path.sh comment talks about /snaps/bin (which doesn't exist) when in reality it uses /snap/bin

2016-10-24 Thread John Lenton
** Changed in: hundredpapercuts
   Status: Fix Committed => Fix Released

** Changed in: snapd (Ubuntu)
   Status: Fix Committed => Fix Released

** Changed in: snappy
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1569892

Title:
  /etc/profile.d/apps-bin-path.sh comment talks about /snaps/bin (which
  doesn't exist) when in reality it uses /snap/bin

To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1569892/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1587477] Re: snapd should not use /tmp to unpack snaps on systems where /tmp is a tmpfs (and thus limited in size)

2016-10-24 Thread John Lenton
** Changed in: snappy
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1587477

Title:
  snapd should not use /tmp to unpack snaps on systems where /tmp is a
  tmpfs (and thus limited in size)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1587477/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1645447] Re: snap info not finding all packages

2016-11-28 Thread John Lenton
** Changed in: snapd (Ubuntu)
   Importance: Undecided => Medium

** Changed in: snapd (Ubuntu)
   Status: New => Confirmed

** Changed in: snapd (Ubuntu)
 Assignee: (unassigned) => John Lenton (chipaca)

** Changed in: snapd (Ubuntu)
   Status: Confirmed => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645447

Title:
  snap info not finding all packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1645447/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1645447] Re: snap info not finding all packages

2016-11-28 Thread John Lenton
$ /tmp/snp info quagga
name:quagga
summary: "Quagga BGP/OSPFv2/OSPFv3/ISIS/RIP/RIPng/PIM routing daemon"
publisher:   osr
channels: 
  candidate: 1.0.20160315-rc1-git.c01f37e (4) -
  beta:  1.0.20160315-rc1-git.c01f37e (4) -
  edge:  1.0.20160315-rc1-git.c01f37e (4) -

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645447

Title:
  snap info not finding all packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1645447/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-16 Thread John Lenton
Out of curiosity, how many changes per second were you doing?

On 16 Nov 2016 23:20, "Colin Ian King" <1642...@bugs.launchpad.net>
wrote:

> Well, until it's fixed, does that mean that unsuccessful transactions
> will cause snapd to eat memory - and if so, that seems like a DoS vector
> to me.
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to snapd in Ubuntu.
> https://bugs.launchpad.net/bugs/1642068
>
> Title:
>   snapd memory sizes grows huge over time
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/
> 1642068/+subscriptions
>

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
Unless I'm misreading something, it's growing at about 2MB every 60 sec.
180 changes should use a *lot* less than 2MB. So there probably is
something else going on...

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
I've put a branch up that drops a few things so that building snapd
without cgo is possible. Could you take it from
https://github.com/chipaca/snappy/tree/no-c and either build it, and
repeat the memory tests?

You can either build it entirely by hand setting CGO_ENABLED=0 to force
it to build a static binary, or build it normally (using dpkg-
buildpackage) and then force the resolver to use the pure go one with
GODEBUG=netdns=go

Thanks!

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
(if you'd rather I put the binary somewhere for you, do let me know)

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
attached

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
(that one has a static binary; the only caveat is because it's master
it'll bump your state.json to the latest thing, which might then not let
you go back to whatever you were using before)

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
** Attachment added: "snapd.deb"
   
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+attachment/4778656/+files/snapd.deb

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
Could you try again with this one? This one is dynamically linked but
has an Environment line in /lib/systemd/system/snapd.service to force it
to use the Go resolver.

And, lastly, if you can remove that line from the service file and try
again, then it should use the cgo resolver.

** Attachment added: "snapd_dyn.deb"
   
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+attachment/4778684/+files/snapd_dyn.deb

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2016-11-17 Thread John Lenton
For example, doing `snap find` in a loop grows snapd. I struggle to not
call that a leak.

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1642068/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628612] Re: prefer "core" rather than "ubuntu-core" if installed

2016-10-10 Thread John Lenton
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628612

Title:
  prefer "core" rather than "ubuntu-core" if installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1628612/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628612] Re: prefer "core" rather than "ubuntu-core" if installed

2016-10-10 Thread John Lenton
To test:
 * start with an empty state
 * snap install ubuntu-core
 * snap install hello-world
 * hello-world
reset state, repeat with core. If it fails at the "snap install core" step, 
your snapd is too old; check that and *start over* (i.e. make sure things still 
work with ubuntu-core and the updated snapd before moving to check core).

This is passing travis, e.g. https://travis-
ci.org/snapcore/snapd/builds/164975664

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628612

Title:
  prefer "core" rather than "ubuntu-core" if installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-confine/+bug/1628612/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1645815] [NEW] apt install of local debs does not tab-complete

2016-11-29 Thread John Lenton
Public bug reported:

this fails:

$ touch xyzzy.deb
$ apt install xyzzy

because the completion support for install is using _filedir wrong.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: apt 1.2.15
ProcVersionSignature: Ubuntu 4.4.0-47.68-generic 4.4.24
Uname: Linux 4.4.0-47-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Nov 29 17:51:57 2016
InstallationDate: Installed on 2016-07-05 (147 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt (Ubuntu)
 Importance: Undecided
 Assignee: John Lenton (chipaca)
 Status: Incomplete


** Tags: amd64 apport-bug xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1645815

Title:
  apt install of local debs does not tab-complete

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1645815/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1643910] Re: BAMF_DESKTOP_FILE_HINT not set in correct place for unity7

2016-12-05 Thread John Lenton
The way we're currently doing it is by setting the environment from the
desktop file, and that works OK for things launched from that desktop
file (right?).

So if when running a snap we find that env key not set, I think we need
to set BAMF_DESKTOP_FILE_HINT to *something*. Otherwise things (bamf in
this instance, but I'm sure other desktops do something similar) can and
will pick up the unwrapped binary, in cases where the app is actually a
wrapper shell script.

So, I think what we do today in snappy is OK, in that we copy the snap-
provided desktop files over, but it's not enough: we need to be a bit
smarter, and ensure that every app that requests unity7 (and x11,
methinks) has a desktop file, either generating it ourselves or denying
the interface when missing, and we need to set that env key to point to
something ourselves if it isn't set already.

If a snap provides multiple desktop files per app, and the env key isn't
provided, I think just matching the shortest exec line would work. If
the app needs more control they can provide multiple apps that map to
the same binary.

If an app is launched that requests one of these interfaces and we can't
match it with a desktop file, we should bail. This'll cover corner cases
related to weird upgrade paths, amongst other things.

To recap, I think:

* `snap install` and friends should start creating desktop files when needed 
and missing (iow, if snap run won't be able to find it)
* `snap run` figures out if the thing should have BAMF_DESKTOP_FILE_HINT, find 
the right desktop file, and set it to that; bailing if missing (if there's a 
way to know we were launched not-from-command-line, pop up a dialog?)
* `snap-confine` should bail if an interface that we know needs this doesn't 
have it

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1643910

Title:
  BAMF_DESKTOP_FILE_HINT not set in correct place for unity7

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1643910/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1678040] Re: snap version on arch shows 'unknown'

2017-03-31 Thread John Lenton
Looks like “go generate” isn't being run during package build.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1678040

Title:
  snap version on arch shows 'unknown'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1678040/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1631514] Re: snap doesnt work. error: cannot communicate with server

2017-03-16 Thread John Lenton
@Joseph, that looks like a different issue; could you file a new bug?
Include the output of “journalctl -u snapd.service” when you do. Thank
you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1631514

Title:
  snap doesnt work. error: cannot communicate with server

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1631514/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1672819] [NEW] exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-03-14 Thread John Lenton
Public bug reported:

This can be reproduced with
https://gist.github.com/chipaca/806c90d96c437444f27f45a83d00a813

With that, and go 1.8, if you run “make” and then

for i in `seq 99`; do ./a_go; done

you'll see a variable number of ”GOT 1000” (or whatever your user id
is). If you don't, add one or two more 9s on there.

That's a simple go reproducer. You can also use “a_p” instead of “a_go”
to see one that only uses pthreads. “a_c” is a C version that does *not*
reproduce the issue.

But it's not pthreads: if in a_go.go you comment out the “import "C"”,
you'll still see the “GOT 1000” messages, in a static binary that uses
no pthreads, just clone(2). You'll also see a bunch of warnings because
it's not properly handling an EAGAIN from clone, but that's unrelated.

If you pin the process to a single thread using taskset, you don't get
the issue from a_go; a_p continues to reproduce the issue. In some
virtualized environments we haven't been able to reproduce the issue
either (e.g. some aws instances), but kvm works (you need -smp to see
the issue from a_go).

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-64-generic 4.4.0-64.85
ProcVersionSignature: Ubuntu 4.4.0-64.85-generic 4.4.44
Uname: Linux 4.4.0-64-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
AudioDevicesInUse:
 USERPID ACCESS COMMAND
 /dev/snd/pcmC0D0p:   john   2354 F...m pulseaudio
 /dev/snd/controlC0:  john   2354 F pulseaudio
CurrentDesktop: Unity
Date: Tue Mar 14 17:17:23 2017
HibernationDevice: RESUME=UUID=b9fd155b-dcbe-4337-ae77-6daa6569beaf
InstallationDate: Installed on 2014-04-27 (1051 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Dell Inc. Latitude E6510
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-64-generic 
root=/dev/mapper/ubuntu--vg-root ro enable_mtrr_cleanup mtrr_spare_reg_nr=8 
mtrr_gran_size=32M mtrr_chunk_size=32M quiet splash
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-64-generic N/A
 linux-backports-modules-4.4.0-64-generic  N/A
 linux-firmware1.157.8
SourcePackage: linux
SystemImageInfo: Error: command ['system-image-cli', '-i'] failed with exit 
code 2:
UpgradeStatus: Upgraded to xenial on 2015-06-18 (634 days ago)
dmi.bios.date: 12/05/2013
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A16
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvrA16:bd12/05/2013:svnDellInc.:pnLatitudeE6510:pvr0001:rvnDellInc.:rn:rvr:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6510
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.

** Affects: linux (Ubuntu)
 Importance: High
 Status: Triaged

** Affects: linux (Ubuntu Xenial)
 Importance: High
 Status: Triaged


** Tags: amd64 apport-bug kernel-key xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672819

Title:
  exec'ing a setuid binary from a threaded program sometimes fails to
  setuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1672819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-03-14 Thread John Lenton
I also tried this in 4.10.0-11-generic, same results.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672819

Title:
  exec'ing a setuid binary from a threaded program sometimes fails to
  setuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1672819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1589210] Re: snap remove "core" on classic not allowed

2017-03-17 Thread John Lenton
@Florin, USB mounting broken? Could you file a separate bug about that?
(it certainly works here! :-) )

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589210

Title:
  snap remove "core" on classic not allowed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1589210/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1673539] Re: snapd doesn't clean up imported (snap) assertions

2017-03-16 Thread John Lenton
Could you share the output of “sudo du -sh /var/lib/snapd/assertions/”
on a system where you consider this to be sizeable?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1673539

Title:
  snapd doesn't clean up imported (snap) assertions

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1673539/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-04-03 Thread John Lenton
Might this be related to https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=857909 ?

** Bug watch added: Debian Bug tracker #857909
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857909

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672819

Title:
  exec'ing a setuid binary from a threaded program sometimes fails to
  setuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1672819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1638537] Re: snapd eats 100% CPU for about 5 minutes on first boot causing a load of >2.0

2017-03-03 Thread John Lenton
Until the device key is generated there is nothing it _can_ do (in fact
it might not even be listening to requests yet; not sure offhand). That
said, on the pi2 it takes a little over a minute to do the keygen (and
that's too long, but not much we can do about it without better hardware
support for vector multiplication), so you should be seeing times
significantly shorter than that.

Would you be able to build a profiling snapd and do a first boot with
that?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1638537

Title:
  snapd eats 100% CPU for about 5 minutes on first boot causing a load
  of >2.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1638537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1628289] Re: snapd should depend on squashfuse (for use in containers)

2017-07-24 Thread John Lenton
I understand this is high priority, but the PR you just wrote is a poor
copy of the older one from February where we attempted the same thing,
and it's just as wrong for the same reasons.

Is there really no other way to pull squashfuse onto the lxd images? I
don't know how they're built, but can't whatever pulls lxd also pull
squashfuse in? Or whatever pulls snapd? Are those seeded? I honestly
know next to nothing about how that's accomplished.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1628289

Title:
  snapd should depend on squashfuse (for use in containers)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1628289/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[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)

2017-07-04 Thread John Lenton
We can't really do this in a way that won't have unwanted consequences
before we have epochs. Those are coming sometime soon (work will start
in the next few months, at least based on the discussion at the snappy
sprint: see the second whiteboard on https://forum.snapcraft.io/t
/development-sprint-june-26th-2017/415/39?u=chipaca and possibly
https://forum.snapcraft.io/t/when-are-epochs-stepped-upgrades-
coming/758?u=chipaca for context), and after that we should be able to
do this change (concretely, move from ~/snap to ~/.snap) if we agreed
we'd like it to be this way (I think we do) and we agree on how to make
the transition (I don't think we have).

-- 
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:
  Please move snap user data from "$HOME/snap" to "$HOME/.snap" (or to
  "$HOME/.local/share/snap" in accordance with the XDG spec)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1575053/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1685755] Re: Can install snaps

2017-04-24 Thread John Lenton
Hello Turan, thank you for the bug report!


could you add the output of “journalctl -u snapd” to this?

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1685755

Title:
  Can install snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1685755/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1685755] Re: Can install snaps

2017-04-24 Thread John Lenton
Note the user has also reported this in the forum:
https://forum.snapcraft.io/t/cant-install-snap-app/376/3

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1685755

Title:
  Can install snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1685755/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1576411] Re: UTF-8 is not very well supported inside snaps

2017-08-23 Thread John Lenton
If we're doing this, we should have a core config as to what locales to
generate. That way on small core devices we just generate what's needed
(often: nothing). On non-core we can make that unsettable and proxy to
whatever the host uses for the 'get' step.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1576411

Title:
  UTF-8 is not very well supported inside snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1576411/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-05-10 Thread John Lenton
With the kernel from #16 I am no longer able to reproduce the issue, not
with the simplified reproducers described in this bug, nor with the
original (slower and more convoluted) snapd reproducer.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672819

Title:
  exec'ing a setuid binary from a threaded program sometimes fails to
  setuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1672819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1672819] Re: exec'ing a setuid binary from a threaded program sometimes fails to setuid

2017-05-11 Thread John Lenton
** Changed in: linux (Ubuntu Xenial)
   Status: Incomplete => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1672819

Title:
  exec'ing a setuid binary from a threaded program sometimes fails to
  setuid

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1672819/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1689578] Re: Lack of shell completion installation support for command line apps

2017-05-09 Thread John Lenton
Added a snapcraft bug task for the 'completer' support there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689578

Title:
  Lack of shell completion installation support for command line apps

To manage notifications about this bug go to:
https://bugs.launchpad.net/review-tools/+bug/1689578/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1689578] Re: Lack of shell completion installation support for command line apps

2017-05-09 Thread John Lenton
Yes there is. http://chipaca.com/post/160369439977/in-snap-tab-
completion

** No longer affects: snappy

** Changed in: snapd (Ubuntu)
   Status: New => Fix Committed

** Changed in: snapd (Ubuntu)
 Assignee: (unassigned) => John Lenton (chipaca)

** Also affects: snapcraft
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1689578

Title:
  Lack of shell completion installation support for command line apps

To manage notifications about this bug go to:
https://bugs.launchpad.net/review-tools/+bug/1689578/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1650846] Re: shellcheck: unable to decommit memory: Invalid argument (0.4.4)

2017-05-22 Thread John Lenton
Where are you getting shellcheck 0.4.4 to run under travis? In Ubuntu
0.4.4 is from 17.04, and afaik travis is still on 14.04. So it could
indeed be that you're running a shellcheck built for a newer kernel than
you have.

** Changed in: shellcheck (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1650846

Title:
  shellcheck: unable to decommit memory: Invalid argument (0.4.4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shellcheck/+bug/1650846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1650846] Re: shellcheck: unable to decommit memory: Invalid argument (0.4.4)

2017-05-22 Thread John Lenton
I just tested, and running shellcheck 0.4.4 from artful (not 17.04; my
bad: 17.10) on 16.04 or 14.04 will print that error. Downloading 0.4.4's
package sources from http://packages.ubuntu.com/artful/shellcheck and
rebuilding it does not print that error.

Closing this as Invalid; afaict it's not the package's fault. If I'm
wrong feel free to reopen.

** Changed in: shellcheck (Ubuntu)
   Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1650846

Title:
  shellcheck: unable to decommit memory: Invalid argument (0.4.4)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shellcheck/+bug/1650846/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1650261] Re: snaps with hyphens in their names get badly-named systemd mount definitions

2017-06-14 Thread John Lenton
Sciri, how is this not a dupe? In both cases it's bzr having an
expecation about what's a valid filename that is not supported by
systemd mount units.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1650261

Title:
  snaps with hyphens in their names get badly-named systemd mount
  definitions

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/1650261/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1722003] Re: Some free (gratis) packages require logging in with a Snap Store account

2017-10-09 Thread John Lenton
*** This bug is a duplicate of bug 1581713 ***
https://bugs.launchpad.net/bugs/1581713

** This bug has been marked a duplicate of bug 1581713
   Ubuntu Software always asks for an Ubuntu Single Sign-On account when 
installing or removing a snap package

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1722003

Title:
  Some free (gratis) packages require logging in with a Snap Store
  account

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1722003/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1636016] Re: snapcraft should warn of invalid name

2017-10-13 Thread John Lenton
For what it's worth, "12to8" is a valid snap name, and a valid app name.
There was a bug in snapd (getting fixed right now).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1636016

Title:
  snapcraft should warn of invalid name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1636016/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[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)

2017-10-11 Thread John Lenton
Oliver, the argument that ~/snap/ is “not just simply a
configuration dir” isn't particularly good, I think, as the same could
be said about the triple XDG directories for data, config and cache (all
of which default to be hidden).

It is the nature of the confinement that we build that these directories
cannot be relocatable by simply setting something in the user's
environment, and so we need to find something that works for all users.

We've already agreed to move it, and are slowly taking the steps towards
that. We'll get there.


On the subject of having access to e.g. XDG user directories, again it's tricky 
because they're relocatable by the user, but I think something like the phone's 
trusted helpers (like the content hub), which the flatpak people are now 
calling portals, are the way to handle that.

-- 
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:
  Please move snap user data from "$HOME/snap" to "$HOME/.snap" (or to
  "$HOME/.local/share/snap" in accordance with the XDG spec)

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1575053/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread John Lenton
I don't know which app you're testing this with, but I suspect it
needs to add a StartupWMClass entry in its .desktop file

On 28 September 2017 at 03:49, Merlijn Sebrechts
 wrote:
> ** Tags added: artful
>
> ** Also affects: gnome-shell-extension-ubuntu-dock (Ubuntu)
>Importance: Undecided
>Status: New
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to Snappy.
> https://bugs.launchpad.net/bugs/1718942
>
> Title:
>   running favorited snap shows two icons in Ubuntu dock
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718942

Title:
  running favorited snap shows two icons in Ubuntu dock

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Re: [Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-09-28 Thread John Lenton
bamfdaemon is a unity thing, i believe

On 28 September 2017 at 08:24, Merlijn Sebrechts
 wrote:
> Easy to test with keepassx, both available in software center (keepassx)
> and as a snap (keepassx-elopio)
>
>
> I can confirm that setting `StartupWMClass=keepassx-elopio_keepassx` in
> `/var/lib/snapd/desktop/applications/keepassx-elopio_keepassx.desktop`
> fixes the issue.
>
> However, the snap's desktop file already includes the
> `BAMF_DESKTOP_FILE_HINT`: `Exec=env
> BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/keepassx-
> elopio_keepassx.desktop /snap/bin/keepassx-elopio.keepassx %U`
>
> Why is this not working? Is BAMF a unity-only thing?
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to Snappy.
> https://bugs.launchpad.net/bugs/1718942
>
> Title:
>   running favorited snap shows two icons in Ubuntu dock
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718942

Title:
  running favorited snap shows two icons in Ubuntu dock

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1710051] Re: xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ... chrome ... reason: Hang on render ring, action: reset

2017-09-01 Thread John Lenton
The package description of xserver-xorg-video-intel says,

 The use of this driver is discouraged if your hw is new enough (ca.
 2007 and newer). You can try uninstalling this driver and let the
 server use it's builtin modesetting driver instead.

did you try removing the package entirely?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1710051

Title:
  xorg crash/freeze when Chrome uses WebGL, caused by: GPU HANG: ...
  chrome ... reason: Hang on render ring, action: reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1710051/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1718942] Re: running favorited snap shows two icons in Ubuntu dock

2017-10-08 Thread John Lenton
@Merlijn, I don't think there's a way for snapd to know the WMClass of
an app in a snap.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1718942

Title:
  running favorited snap shows two icons in Ubuntu dock

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1718942/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1702297] Re: Compiz ignores _MOTIF_WM_HINTS set from xprop

2017-12-14 Thread John Lenton
Verified that 1:0.9.12.3+16.04.20171116-0ubuntu1 fixes the issue on
xenial: before upgrading, I confirmed xprop didn't disable the
decorations on an xterm window; after upgrading, it did.

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1702297

Title:
  Compiz ignores _MOTIF_WM_HINTS set from xprop

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1702297/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1673950] Re: Tooltips in the Unity launcher have a wrong padding and position

2017-12-14 Thread John Lenton
I verified that 1:0.9.12.3+16.04.20171116-0ubuntu1 fixes the issue for
me in 16.04: before the upgrade, with the horizontal launcher and at a
high scaling factor the padding was wrong. After the upgrade, it was ok.

Thank you!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1673950

Title:
  Tooltips in the Unity launcher have a wrong padding and position

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1673950/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1668950] Re: Unity doesn't provide an easy way to enable/disable the low graphics mode

2017-12-14 Thread John Lenton
I can verify that after upgrading to 1:0.9.12.3+16.04.20171116-0ubuntu1,
that gsetting controls low graphics mode.

I had low graphics mode enabled before upgrading, using
~$ cat .config/upstart/lowgfx.conf 
start on starting unity7
pre-start script
initctl set-env -g UNITY_LOW_GFX_MODE=1
end script

which was how it was suggested to enable it at some point in the past.
This script is still there after upgrade, but it seems people that have
the script need to still set the new gsettings key to get the full
benefit. (I'm not sure there's a better way, fwiw; I don't think this
should block things, but I do think it's a little bit untidy).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668950

Title:
  Unity doesn't provide an easy way to enable/disable the low graphics
  mode

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1668950/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2017-11-05 Thread John Lenton
I don't think systemd lets you express this, so it'd have to be logic
inside snapd itself.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1730159

Title:
  Snapd should not start if there are no Snaps installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1730159/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-05-14 Thread John Lenton
Michal, have you done the things described in
https://forum.snapcraft.io/t/snaps-and-nfs-home/438 ?
On Mon, 14 May 2018 at 14:46, Michal Kukuča <1662...@bugs.launchpad.net>
wrote:

> With Ubuntu Bionic 18.04, snapd version 2.32, Snap still doesn’t work
> correctly with home folders mounted via NFS. I’m even unable to use
> basic applications like System monitor:

> kernel: nfs: RPC call returned error 13
> kernel: audit: type=1400 audit(1526303580.147:309): apparmor=“DENIED”
operation=“sendmsg” profile="/snap/core/4571/usr/lib/snapd/snap-confine"
pid=32548 comm=“snap-confine” laddr=10.0.1.198 lport=1003 faddr=10.0.1.98
fport=2049 family=“inet” sock_type=“stream” protocol=6
requested_mask=“send” denied_mask="send"
> gnome-system-monitor_gnome-system-monitor.desktop[31416]: cannot change
current working directory to the original directory: Permission denied
> cannot create user data directory:
/home/michalmaria/snap/gnome-system-monitor/39: Stale file handle

> Our configuration:
> 1. Ubuntu server 18.04, provides home folders, OpenLDAP+Kerberos+NFS.
> 2. Ubuntu 18.04 clients. Home folders are mapped directly to /home,
everything works (as it always did), but snaps won't run.

> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to snapd in Ubuntu.
> https://bugs.launchpad.net/bugs/1662552

> Title:
>snaps don't work with NFS home

> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snapd/+bug/1662552/+subscriptions

-- 
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 notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1662552/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767896] Re: Live 18.04 with persistence snapd high CPU usage

2018-05-09 Thread John Lenton
That's very interesting!
Could you paste the output of "snap tasks --last=seed" ?

Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767896

Title:
  Live 18.04 with persistence snapd high CPU usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1767896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767896] Re: Live 18.04 with persistence snapd high CPU usage

2018-05-10 Thread John Lenton
If you seed a snap, then you also need to seed that snap's base, and
snaps providing any plugs that snap requires, otherwise it'll fail to
seed.

A failure to seed it pretty bad, as snapd will be stuck in a loop trying
to do that. I don't think this is a bug in snapd, because if you have
network, this same retrying will mean that the missing bases and missing
content interfaces that have default providers specified will be
downloaded automatically, and seeding will succeed. There might be some
things we can do to make it use less CPU, but they're a lot of work. The
only *sensible* thing snapd could in this case is alert the user,
although there's nothing the user can do beyond contact the creator of
the seed so it's not very useful.

Marking as "Won't fix" for snapd. Feel free to point out why I'm wrong
on that.

** Changed in: snapd (Ubuntu)
   Status: Confirmed => Won't Fix

** Summary changed:

- Live 18.04 with persistence snapd high CPU usage
+ Live 18.04 with broken seed causes snapd high CPU usage

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767896

Title:
  Live 18.04 with broken seed causes snapd high CPU usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1767896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767896] Re: Live 18.04 with broken seed causes snapd high CPU usage

2018-05-10 Thread John Lenton
I am not a publisher for that snap, so I can't do that. I'll ask on
#snapd to see if anybody is.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767896

Title:
  Live 18.04 with broken seed causes snapd high CPU usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1767896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1767896] Re: Live 18.04 with persistence snapd high CPU usage

2018-05-10 Thread John Lenton
it looks like the seed is missing gtk-common-themes

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1767896

Title:
  Live 18.04 with persistence snapd high CPU usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1767896/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1771714] Re: List more `snap changes`

2018-05-17 Thread John Lenton
The changes are garbage-collected after a certain time, or after a
certain number of changes, both of which are hard-coded.

If there's a bug it's in the hardcodedness of this :-)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771714

Title:
  List more `snap changes`

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1771714/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768794] Re: Snap branches all show with same name

2018-05-17 Thread John Lenton
OTOH what the client should be doing is looking at 'tracks' to get the
order of the channels, and then using that to look up each track in the
map; this would've avoided the issue (but not the info leak which is
still a bug)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768794

Title:
  Snap branches all show with same name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1768794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1768794] Re: Snap branches all show with same name

2018-05-17 Thread John Lenton
FWIW there's a bug store-side, as it shouldn't be exposing branches at
all.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768794

Title:
  Snap branches all show with same name

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1768794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772844] Re: snapd didn't initialize all the seeded snaps

2018-05-23 Thread John Lenton
What are the contents of seed.yaml?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772844

Title:
  snapd didn't initialize all the seeded snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1772844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772844] Re: snapd didn't initialize all the seeded snaps

2018-05-23 Thread John Lenton
As a workaround, in seed.yaml, ensure content providers are before the
snaps that need them; the seeding step does not sort things.

It's unclear whether it should, but at least we should warn about it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772844

Title:
  snapd didn't initialize all the seeded snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1772844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1772844] Re: snapd didn't initialize all the seeded snaps

2018-05-23 Thread John Lenton
Note that seed change is still ongoing (it's still got tasks in Doing
state). You can watch the progress with 'snap watch --last=seed'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772844

Title:
  snapd didn't initialize all the seeded snaps

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1772844/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1724537] Re: The revert features is not revert completed.

2017-10-20 Thread John Lenton
Alfie,

thank you for the extra info. Could we also see

snap info stlouis-kernel

?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1724537

Title:
  The revert features is not revert completed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1724537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745342] Re: touchscreen that worked in artful with 4.12 no longer works with 4.13

2018-01-26 Thread John Lenton
$ uname -a
Linux flimsy 4.12.0-041200-generic #201801261443 SMP Fri Jan 26 14:46:56 UTC 
2018 x86_64 x86_64 x86_64 GNU/Linux

did _not_ work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745342

Title:
  touchscreen that worked in artful with 4.12 no longer works with 4.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745342/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745342] Re: touchscreen that worked in artful with 4.12 no longer works with 4.13

2018-01-26 Thread John Lenton
Sorry for the delay :-) was at the doc's.

$ uname -a
Linux flimsy 4.12.0-041200-generic #201801261650 SMP Fri Jan 26 16:51:44 UTC 
2018 x86_64 x86_64 x86_64 GNU/Linux

did _not_ work.

Thanks,

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745342

Title:
  touchscreen that worked in artful with 4.12 no longer works with 4.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745342/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745342] Re: touchscreen that worked in artful with 4.12 no longer works with 4.13

2018-01-25 Thread John Lenton
With

john@flimsy:~$ uname -a
Linux flimsy 4.13.0-041300rc1-generic #201707151931 SMP Sat Jul 15 23:32:39 UTC 
2017 x86_64 x86_64 x86_64 GNU/Linux

the touchscreen does not work.

With

john@flimsy:~$ uname -a
Linux flimsy 4.12.14-041214-generic #201709200843 SMP Wed Sep 20 12:46:23 UTC 
2017 x86_64 x86_64 x86_64 GNU/Linux

from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.12.14/

the touchscreen _does_ work.

HTH,

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745342

Title:
  touchscreen that worked in artful with 4.12 no longer works with 4.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745342/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745342] Re: touchscreen that worked in artful with 4.12 no longer works with 4.13

2018-01-25 Thread John Lenton
Linux flimsy 4.12.0-041200-generic #201707022031 SMP Mon Jul 3 00:32:52
UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745342

Title:
  touchscreen that worked in artful with 4.12 no longer works with 4.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1745342/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

<    2   3   4   5   6   7   8   9   10   >