[Bug 1709155] Re: Better error message for unsupported kernel
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
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
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
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
** 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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