Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#49418 - [flatpak] not working as it tries to create a namespace but the arch kernel does not support it

Attached to Project: Arch Linux
Opened by Thibault Saunier (thiblahute) - Friday, 20 May 2016, 17:10 GMT
Last edited by Jan Alexander Steffens (heftig) - Monday, 23 May 2016, 17:45 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Trying to launch a sandbox I am getting:

Creating new namespace failed, likely because the kernel does not support user namespaces. bwrap must be installed setuid on such systems.

We should probably add bwrap as a flatpak dep, but I am not even sure where that is.

Additional info:
* package version: 0.6.0-2


Steps to reproduce:

Install pitivi flatpak (http://wiki.pitivi.org/wiki/Install_with_xdg-app)

run
$ flatpak run org.pitivi.Pitivi


(same issue with any bundle)
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Monday, 23 May 2016, 17:45 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.6.1
Comment by Thibault Saunier (thiblahute) - Friday, 20 May 2016, 17:26 GMT
> We should probably add bwrap as a flatpak dep, but I am not even sure where that is.

That sentence makes no sense :) We should make bwrap installed with setuid.
Comment by Jan Alexander Steffens (heftig) - Saturday, 21 May 2016, 11:52 GMT
bwrap is in flatpak as a submodule.

setuid on bwrap only helps if USER_NS is available for root. Since it isn't available at all on the ARCH kernel, flatpak is broken right now.

This should get fixed in flatpak 0.6.1, assuming --unshare-user-try from https://github.com/alexlarsson/bubblewrap/commits/user-ns-setuid is included. Then setuid bwrap will work without USER_NS.
Comment by Thibault Saunier (thiblahute) - Sunday, 22 May 2016, 00:10 GMT
OK, so the package that is now avalaible for arch is just plain broken and we need to wait for another upstream release? Can't we do something meanwhile to make sure we do not have broken packes?

Loading...