[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-18 Thread Xaver Hugl
Thanks. 'sudo snap refresh core --beta' worked. Kernel 4.18.3 64bit

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-17 Thread Qwerty Chouskie
Now you can just `sudo snap refresh core --beta` for the 4.18 problem
(tested on 4.18.2 aarch64 from the mainline ppa).

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-10 Thread Ben Aceler
Found this thread about Apparmor confioguration changes to support
kernel 4.18. Give it a try: https://forum.snapcraft.io/t/custom-kernel-
error-on-readlinkat-in-mount-namespace/6097/18

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-10 Thread Lars
I have the same problem. I would use canonical livepatch, but I get this
error also.

Syslogentry:

Aug 11 07:25:15 h2744217 kernel: [47190.238359] audit: type=1400
audit(1533965115.540:93): apparmor="DENIED" operation="ptrace"
profile="/snap/core/5145/usr/lib/snapd/snap-confine" pid=30532 comm
="snap-confine" requested_mask="read" denied_mask="read"
peer="unconfined"

Kernel: 4.18.0-041800rc7-generic

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-09 Thread Ahmed Mansour
** Tags added: affects install. it libreoffice me snap using

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-06 Thread John Lenton
It's always bee the case that a properly configured kernel is needed for
snapd to work. There even have been features added, and bugs fixed, in
the kernel as a direct result of needing features working for snapd (and
in those cases the Ubuntu kernel has often shipped the patches before
they were upstream, and in fact there might be still patches that need
upstreaming; for example I'm not sure if the fix for
https://bugzilla.kernel.org/show_bug.cgi?id=195453 has been picked up or
not).

Just saying 'newest' carries no information as to whether the needed
features are available and enabled on the kernel you're running.

What snapd should do, what we're trying to have it do, is determine what
features are available and use them, and work around those that are
missing.

This might result in some snaps not working properly or, in extreme
cases, snaps running with only partial confinement (in these cases snapd
should be warning about it). _This_ bug is about our failure to do this
properly, at least in some scenarios.

If your bug is about something else, yes you should file a new bug.
However, if you run a random kernel with an arbitrary feature set, I'm
not sure what support you expect beyond snapd printing a warning about
things not working properly (which is this bug).

** Bug watch added: Linux Kernel Bug Tracker #195453
   https://bugzilla.kernel.org/show_bug.cgi?id=195453

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-05 Thread Axel
Hmm... I see.

So the misbehavior I see does not fit this bug, because this bug does
not deal with the root-cause but with just an error message, a
consequence of it.

I've used in the past year always the newest kernels with my Ubuntu
installations. They have their hickups here and there but I did never
see this behavior. Snaps always worked with the newest kernels.

Doesn't a bug-tracker like launchpad exist to collect the misbehavior of 
software, here especially Ubuntu?
 
What do you suggest for this case. Shall I open a new bug for the fact that 
snaps do not work with  the new kernels?

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-05 Thread Oliver Grawert
the title is perfectly fine, this bug is about printing a proper error
instead of a cryptic readlinkat() message when there is a kernel in use
that lacks the necessary features (which a proper ubuntu kernel
provides) for snapd to operate correctly. in case there will be 4.18
ubuntu supported kernels (i.e. in 18.10) they will work and not print
this error. it is not depending on a version (you'D likely also see it
if you'd build 4.2 mainline with upstreams defconfig or some such).

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-04 Thread Axel
In my opinion the title of the bug is misleading.

I see rather something like 'Snaps do not work in Linux-Kernels v4.18'.

Can someone update the title to a more precise one?

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-04 Thread Ben Aceler
Got the same bug on Linux 4.18rc6, which is obviously not an outdated
kernel.

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-08-03 Thread Axel
Am I the only one really affected by this bug?

Can I contribute more to a solution?

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-30 Thread Axel
Is there any idea or plan when this will be resolved?

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

Title:
  Better error message for unsupported kernel

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

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

Re: [Bug 1709155] Re: Better error message for unsupported kernel

2018-07-25 Thread Zygmunt Krynicki
Yes, that's exactly it.


On Wed, Jul 25, 2018 at 2:20 PM Axel <1709...@bugs.launchpad.net> wrote:

> Do you mean something like this?
>
> kernel: [11610.173703] audit: type=1400 audit(1532519381.361:111):
> apparmor="DENIED" operation="ptrace" profile="/usr/lib/snapd/snap-
> confine" pid=4487 comm="snap-confine" requested_mask="read"
> denied_mask="read" peer="unconfined"
>
> --
> You received this bug notification because you are a member of Snappy
> Developers, which is subscribed to Snappy.
> Matching subscriptions: xxx-bugs-on-snapd
> https://bugs.launchpad.net/bugs/1709155
>
> Title:
>   Better error message for unsupported kernel
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/snappy/+bug/1709155/+subscriptions
>

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-25 Thread Axel
Do you mean something like this?

kernel: [11610.173703] audit: type=1400 audit(1532519381.361:111):
apparmor="DENIED" operation="ptrace" profile="/usr/lib/snapd/snap-
confine" pid=4487 comm="snap-confine" requested_mask="read"
denied_mask="read" peer="unconfined"

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-25 Thread Jamie Strandboge
For people seeing the "cannot perform readlinkat() on the mount
namespace file descriptor of the init process", are there any security
denials in journald at the time of the error?

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-25 Thread Ashot Nazaryan
Effecting 4.18.0-041800rc6-generic

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-18 Thread Axel
Same with nextcloud-client.

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-18 Thread Axel
So it's not because the kernel is too old, but because it is too new
:-\.

This means snaps render unuseful with these new kernels.

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-17 Thread Axel
I see the same log when trying to start KeePassXC: cannot perform
readlinkat() on the mount namespace file descriptor of the init process:
Permission denied.

4.18.0-041800rc5-generic

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-16 Thread josh
Same problem: 
4.18.0-041800rc1-generic

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-15 Thread Tom Seewald
I can confirm this is affecting mainline 4.18.0-rc4.

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-07-10 Thread Mario Limonciello
I'm also encountering 
cannot perform readlinkat() on the mount namespace file descriptor of the init 
process

When trying to use a snap with an upstream kernel.

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-06-24 Thread josh
Having this problem on 4.18.0-041800rc1-generic

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-02-22 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

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

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

Title:
  Better error message for unsupported kernel

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

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

[Bug 1709155] Re: Better error message for unsupported kernel

2018-02-11 Thread Felicia Hendrickson
It was the same error with kernel 3.13.0-95-generic.  Once I updated to
4.4.0-112-generic, the snap works.

** Also affects: 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/1709155

Title:
  Better error message for unsupported kernel

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

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