https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235122

Mateusz Piotrowski <0...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |0...@freebsd.org

--- Comment #5 from Mateusz Piotrowski <0...@freebsd.org> ---
I think that I've accidentally discovered a hack/workaround:

    $ limits -C default echo ok
    limits: setrlimit datasize: Operation not permitted
    $ limits -C nonexistent echo ok
    login class 'nonexistent' non-existent, using default
    limits: setrlimit datasize: Operation not permitted
    $ limits -C me echo ok
    login class 'me' non-existent, using current settings
    ok

It turns out that setting the login class to "me" causes limits(1) to only
print a warning, instead of failing. I am not sure why it is so. Please note
that I do in fact have a "me" entry in my ~/.login_conf.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-rc@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-rc
To unsubscribe, send any mail to "freebsd-rc-unsubscr...@freebsd.org"

Reply via email to