[Buildroot] [PATCH 4/4] package/iputils: fix build without setcap
Arnout Vandecappelle
arnout at mind.be
Mon Jun 10 12:00:48 UTC 2019
On 10/06/2019 00:39, Petr Vorel wrote:
> Hi,
>
>> Could you send the patch setting back IPUTILS_PERMISSIONS and using
>> NO_SETCAP_OR_SUID?
> Going to do it.
I wonder a bit about the setcap though. As I understand it, you would use
*either* setcap *or* setuid. Before the bump, IPUTILS_PERMISSIONS would do
setuid. Clearly, setcap is way better.
Is there any reason not to use setcap (or actually, xattrs)? Maybe some
filesystems don't support xattrs - iso9660 for example?
>> From my understanding, permissions should be set to ping and
>> traceroute6 as done before the dump but also to clockdiff and arping.
> Also it's needed to create symlink from ping to ping6.
> But haven't find a way how.
Just do it in a post-install hook, no?
Regards,
Arnout
More information about the buildroot
mailing list