RLIM_INFINITY is set to a high or low values on certain platforms. We need to be able to detect and manage this if it is set. This especially affects 32bit systems (IE embedded arm)
/* Value to indicate that there is no limit. */
# define RLIM_INFINITY ((__rlim_t) -1)
# define RLIM_INFINITY 0xffffffffffffffffuLL
In some cases this can prevent installation as dsktune fails, and may cause cache sizechecking to behave incorrectly.
ERROR : processes are limited by RLIMIT_DATA to -1 MB in size.
ERROR : processes are limited by RLIMIT_AS to -1 MB in size.
ERROR : The above errors MUST be corrected before proceeding.
Supplementary patch, both needed to be applied.
It looks good to me. But please double-check that using RLIM_INFINITY does not introduce any compiler warnings...
$ egrep RLIM_INFINITY /usr/include/.h /usr/include//*.h
/usr/include/asm-generic/resource.h:# define RLIM_INFINITY (~0UL)
/usr/include/bits/resource.h:# define RLIM_INFINITY ((__rlim_t) -1)
/usr/include/bits/resource.h:# define RLIM_INFINITY 0xffffffffffffffffuLL
Writing objects: 100% (20/20), 3.08 KiB | 0 bytes/s, done.
Total 20 (delta 14), reused 0 (delta 0)
d4eb7d0..636c89b master -> master
Metadata Update from @firstyear:
- Issue assigned to firstyear
- Issue set to the milestone: 188.8.131.52
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here:
If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)
to comment on this ticket.