Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713872 - net-im/skypeforlinux install should fail if kernel options are not enabled
Summary: net-im/skypeforlinux install should fail if kernel options are not enabled
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-21 23:41 UTC by pogosyan
Modified: 2020-04-14 15:58 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pogosyan 2020-03-21 23:41:39 UTC
With recent deletion of chrome-sandbox from skypeforlinux distribution,  skypeforlinux does not start if appropriate options are not enabled in the kernel configuration.

Thus install should abort after finding that kernel is not configured properly rather than proceed with installing package that does not work, possibly removing the previously installed and working version.
Comment 1 Jonas Stein gentoo-dev 2020-03-22 22:33:48 UTC
Which exact kernel options?
Comment 2 Eugene Cormier 2020-04-06 18:25:39 UTC
I had this problem as well, searched all over for how to solve it by choosing the right kernel options, but what actually fixed it for me was to update to the newest stable kernel. Everything started working again after that (old kernel not working was 4.14.65, update to 5.4.28 fixed it without changing any kernel modules)
Hope this helps...
Comment 3 David Seifert gentoo-dev 2020-04-14 09:43:50 UTC
Aborting on missing kernels is generally not an option as it excludes the possibility of people running binary kernels.
Comment 4 pogosyan 2020-04-14 15:40:49 UTC
(In reply to Jonas Stein from comment #1)
> Which exact kernel options?

USER_NS

on many (older ?) kernels it was not set be default, and often used workaround was to chmod 4755 /opt/skypeforlinux/sandbox  instead.  Such installations become inoperational after the update, until kernel is recompiled, which may not be immediately possible.
Comment 5 pogosyan 2020-04-14 15:48:03 UTC
(In reply to David Seifert from comment #3)
> Aborting on missing kernels is generally not an option as it excludes the
> possibility of people running binary kernels.

I understand if ebuild cannot detect what options kernel was compiled with and
whether it has the required USER_NS set, which may be the case with binary kernels.  But why to proceed with installing the package that will not work when ebuild did it job and has detected that USER_NS is missing ?   I do not understand the logic.
Comment 6 David Seifert gentoo-dev 2020-04-14 15:58:57 UTC
(In reply to pogosyan from comment #5)
> (In reply to David Seifert from comment #3)
> > Aborting on missing kernels is generally not an option as it excludes the
> > possibility of people running binary kernels.
> 
> I understand if ebuild cannot detect what options kernel was compiled with
> and
> whether it has the required USER_NS set, which may be the case with binary
> kernels.  But why to proceed with installing the package that will not work
> when ebuild did it job and has detected that USER_NS is missing ?   I do not
> understand the logic.

Ok so if the ebuild can't detect the kernel options, it should proceed, but if it can detect them, and detect them as missing, it should error out?