2.25-rc2: how to disable prlimit?
Running ./configure I get this:
-----
checking for syscall prlimit64... no
configure: WARNING: Unable to detect syscall prlimit64.
configure: WARNING: prlimit64 syscall not found; do not build prlimit
-----
There were several other messages, like "do not build nsenter" and "do not build runuser". All of those are suppressed when using the appropriate --disable flags. But when I try --disable-prlimit, it says:
configure: WARNING: unrecognized options: --disable-prlimit
How does one prevent prlimit from being built?
Benno
Signature · 2 lines
http://www.fastmail.fm - One of many happy users: http://www.fastmail.fm/help/overview_quotes.html
Quoted 1 line · Benno Schulenberg
configure: WARNING: prlimit64 syscall not found; do not build prlimit
For me the build used to break when not passing things like --disable-runuser and --disable-login to ./configure, but now programs that cannot be built get automatically disabled. Which is nice. But the message could be a little clearer:
"do not build" seems to say the user should do something. A simple "not building" would be better. Upcoming patch makes that change.
Benno
Signature · 2 lines
http://www.fastmail.fm - Accessible with your email software
or over the webKarel Zak
maintainerQuoted 1 line · Benno Schulenberg
How does one prevent prlimit from being built?
We currently does not have --disable-* options for all utils, and we don't have any strict policy about it (I hate when people blindly follow rules, common sense is better).
We usually have the option for large things (e.g. libs), things that are not unique to util-linux (e.g. kill, login), too old things or very new utils (e.g. nsenter).
And many utils we assume everywhere (e.g. ipcs or swapon).
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com