[Buildroot] [PATCH 1/2] uclibc-ng: enable fts in default config file.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Jul 15 19:48:09 UTC 2017


Hello,

On Sat, 15 Jul 2017 17:15:51 +0200, Peter Korsgaard wrote:

>  > Note that contrary to what Adam commit log says, the size increase is
>  > 7.5 KB.  
> 
> Hmm, 7.5KB isn't much - But fts isn't enabled by default in uClibc-nc,
> it is a legacy BSD feature and it also isn't supported by musl.

Agreed.

> It is easy to enable uClibc options, but difficult to disable them again
> later (as users of the affected packages get caught).
> 
> Looking around, it seems we are only talking about 3 packages (if the
> annotations are correct):
> 
> git grep -l 'fts.h' **/Config.in
> package/libcgroup/Config.in
> package/libselinux/Config.in
> package/libsemanage/Config.in
> 
> Do we care enough for selinux users on uClibc (libcgroup seems to only
> be an optional dependency for gst1-rtsp-server) to let all other
> uClibc-ng users pay?

I would personally say no. The driving reason for Adam was to be able
to build the SELinux stuff. But indeed, if you're adding all the
SELinux overhead on your system, you most likely have the filesystem
space needed to switch to glibc.

So I'm fine if we decide to say "no". It should hopefully increase the
pressure on the upstream projects to move away from a legacy BSD
interface, and use the POSIX interface instead.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list