FreeBSD Bugzilla – Attachment 171592 Details for
Bug 206291
rc.subr: limits(1) is unavailable before /usr is mounted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible rc.subr patch to only add limit to command string if it can be executed.
rc.subr.patch (text/plain), 498 bytes, created by
Cy Schubert
on 2016-06-20 05:47:40 UTC
(
hide
)
Description:
Possible rc.subr patch to only add limit to command string if it can be executed.
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2016-06-20 05:47:40 UTC
Size:
498 bytes
patch
obsolete
>Index: rc.subr >=================================================================== >--- rc.subr (revision 302001) >+++ rc.subr (working copy) >@@ -1071,8 +1071,13 @@ > fi > fi > >+ # Before we prepend limits, test if limits is >+ # available (/usr is mounted) so that limits can0 >+ # be run. >+ if limits >/dev/null 2>&1; then > # Prepend default limits >- _doit="limits -C $_login_class $_doit" >+ _doit="limits -C $_login_class $_doit" >+ fi > > # run the full command > #
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206291
: 171592 |
171593