#3101 RLIMIT_OFILE option is old
Closed: Fixed by tkopecek. Opened by jcupova.

RLIMIT_OFILE option in hub conf is old now. This option is old name for current RLIMIT_NOFILE.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.27

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.28 (was: 1.27)

I would add a new option, but leave older one as alias.

Metadata Update from @tkopecek:
- Issue tagged with: bug

the new option should be there already:

        ['RLIMIT_NOFILE', 'string', None],
        ['RLIMIT_NPROC', 'string', None],
        ['RLIMIT_OFILE', 'string', None],

Note that the resource lib in python treats it as an alias, so we are technically ok to simply allow both.

the new option should be there already

Correct. We've supported both RLIMIT_NOFILE and RLIMIT_OFILE since the feature was first added in 2011.

Unless we expect resource to drop its alias, I don't think we actually need to do anything at all. Perhaps add some comments and a docs note?

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

Metadata Update from @jobrauer:
- Issue tagged with: testing-done

Commit e149e6b2 fixes this issue

Commit d80f956d fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/3101

Please continue any further discussion there.

Metadata
Related Pull Requests