Re: [gentoo-user] Unable to unshare: EINVAL

2019-03-28 Thread Andrew Savchenko
On Thu, 28 Mar 2019 01:17:01 +0100 (CET) k...@aspodata.se wrote:
> Marc Joliet:
> > Am Mittwoch, 27. März 2019, 11:01:41 CET schrieb Hervé Guillemet:
> > > Le 26/03/2019 à 14:37, k...@aspodata.se a écrit :
> > > > I sometimes get:
> > > >   Unable to unshare: EINVAL
> > > Your kernel is probably missing a features used by the new versions of
> > > portage. I'd say something like CONFIG_PID_NS from the General
> > > Setup/Namespaces support section.
> 
> Ok, I see, I don't have that, thanks for the info.
> 
> > > If you built your own kernel, try to activate this feature.
> > If you use gentoo-sources, the option GENTOO_LINUX_PORTAGE ("Gentoo Linux" 
> > -> 
> > "Gentoo Linux Support" -> "Select options required by Portage features") 
> > will 
> > automatically select them.
> 
> emerge-ing seems work, can't I just ignore the message (I don't need 
> that namespace elsewhere in the system) ?

It provides extra isolation features. If you are sure you don't need
that, ignore it.

Best regards,
Andrew Savchenko


pgpMJhV6uGoAC.pgp
Description: PGP signature


Re: [gentoo-user] Unable to unshare: EINVAL

2019-03-27 Thread karl
Marc Joliet:
> Am Mittwoch, 27. März 2019, 11:01:41 CET schrieb Hervé Guillemet:
> > Le 26/03/2019 à 14:37, k...@aspodata.se a écrit :
> > > I sometimes get:
> > >   Unable to unshare: EINVAL
> > Your kernel is probably missing a features used by the new versions of
> > portage. I'd say something like CONFIG_PID_NS from the General
> > Setup/Namespaces support section.

Ok, I see, I don't have that, thanks for the info.

> > If you built your own kernel, try to activate this feature.
> If you use gentoo-sources, the option GENTOO_LINUX_PORTAGE ("Gentoo Linux" -> 
> "Gentoo Linux Support" -> "Select options required by Portage features") will 
> automatically select them.

emerge-ing seems work, can't I just ignore the message (I don't need 
that namespace elsewhere in the system) ?

Regards,
/Karl Hammar




Re: [gentoo-user] Unable to unshare: EINVAL

2019-03-27 Thread Marc Joliet
Am Mittwoch, 27. März 2019, 11:01:41 CET schrieb Hervé Guillemet:
> Le 26/03/2019 à 14:37, k...@aspodata.se a écrit :
> > I sometimes get:
> >   Unable to unshare: EINVAL
> > 
> > when "emerge"-ing packages.
> > 
> > Does anybody know what that is about ?
> 
> Your kernel is probably missing a features used by the new versions of
> portage. I'd say something like CONFIG_PID_NS from the General
> Setup/Namespaces support section.
> If you built your own kernel, try to activate this feature.

If you use gentoo-sources, the option GENTOO_LINUX_PORTAGE ("Gentoo Linux" -> 
"Gentoo Linux Support" -> "Select options required by Portage features") will 
automatically select them.

HTH
-- 
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Unable to unshare: EINVAL

2019-03-27 Thread Hervé Guillemet

Le 26/03/2019 à 14:37, k...@aspodata.se a écrit :

I sometimes get:
  Unable to unshare: EINVAL
when "emerge"-ing packages.

Does anybody know what that is about ?


Your kernel is probably missing a features used by the new versions of 
portage. I'd say something like CONFIG_PID_NS from the General 
Setup/Namespaces support section.

If you built your own kernel, try to activate this feature.

--
Hervé Guillemet