mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] host-libcap: do not use setcap on itself
@ 2017-01-11 20:33 Clemens Gruber
  2017-01-12  8:24 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Clemens Gruber @ 2017-01-11 20:33 UTC (permalink / raw)
  To: ptxdist; +Cc: Clemens Gruber

Set RAISE_SETFCAP=no in host-libcap.make.

Fixes an error in the install stage:
unable to set CAP_SETFCAP effective capability: Operation not permitted

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
---
 rules/host-libcap.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/host-libcap.make b/rules/host-libcap.make
index 0c753b8e4..251f2d56b 100644
--- a/rules/host-libcap.make
+++ b/rules/host-libcap.make
@@ -19,6 +19,6 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap
 # ----------------------------------------------------------------------------
 
 HOST_LIBCAP_MAKE_OPT := prefix= PAM_CAP=no LIBATTR=no lib=lib
-HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) install
+HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install
 
 # vim: syntax=make
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] host-libcap: do not use setcap on itself
  2017-01-11 20:33 [ptxdist] [PATCH] host-libcap: do not use setcap on itself Clemens Gruber
@ 2017-01-12  8:24 ` Michael Olbrich
  2017-01-12  8:29   ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Olbrich @ 2017-01-12  8:24 UTC (permalink / raw)
  To: ptxdist

On Wed, Jan 11, 2017 at 09:33:21PM +0100, Clemens Gruber wrote:
> Set RAISE_SETFCAP=no in host-libcap.make.
> 
> Fixes an error in the install stage:
> unable to set CAP_SETFCAP effective capability: Operation not permitted

Thanks, applied. Not sure why you get this error and I don't. Maybe some
strange interaction of fakeroot and the underlying filesystem.

Michael

> Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
> ---
>  rules/host-libcap.make | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rules/host-libcap.make b/rules/host-libcap.make
> index 0c753b8e4..251f2d56b 100644
> --- a/rules/host-libcap.make
> +++ b/rules/host-libcap.make
> @@ -19,6 +19,6 @@ HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap
>  # ----------------------------------------------------------------------------
>  
>  HOST_LIBCAP_MAKE_OPT := prefix= PAM_CAP=no LIBATTR=no lib=lib
> -HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) install
> +HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install
>  
>  # vim: syntax=make
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ptxdist] [PATCH] host-libcap: do not use setcap on itself
  2017-01-12  8:24 ` Michael Olbrich
@ 2017-01-12  8:29   ` Michael Olbrich
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2017-01-12  8:29 UTC (permalink / raw)
  To: ptxdist

On Thu, Jan 12, 2017 at 09:24:48AM +0100, Michael Olbrich wrote:
> On Wed, Jan 11, 2017 at 09:33:21PM +0100, Clemens Gruber wrote:
> > Set RAISE_SETFCAP=no in host-libcap.make.
> > 
> > Fixes an error in the install stage:
> > unable to set CAP_SETFCAP effective capability: Operation not permitted
> 
> Thanks, applied. Not sure why you get this error and I don't. Maybe some
> strange interaction of fakeroot and the underlying filesystem.

I just noticed, that our nightly build failed with this error. So it fails
on Debian wheezy but not on Debian stretch (testing). Strange.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-12  8:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-11 20:33 [ptxdist] [PATCH] host-libcap: do not use setcap on itself Clemens Gruber
2017-01-12  8:24 ` Michael Olbrich
2017-01-12  8:29   ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox