On 11 Dec 2022, at 08:28, Piotr Karbowski <slashbeast@gentoo.org> wrote:up joining as co-maintainer there in the result.
Hi,
I'd like to touch base on the topic of pam_limits and the defaults that we ended up with in Gentoo.
[...]
Any thoughts?
Unless there's strong opposition to not bump those 1024/4096 current defaults, I'd like to bump those limits. Normally I'd create a bug and assign it to maintainer, however our sys-libs/pam maintainer has not been seen in last half a year, so I'd end
You should still file a bug for two reasons:
1. Paper trail
2. sys-auth/pambase has another maintainer who*is* active :)
As for the question in your post, I'll have a think. Thanks!
What I'd like to do is to bump the limits.conf we ship with pam toDrawbacks:
following
* hard nproc 16384
* soft nproc 16384
* hard nofile 16384
* soft nofile 16384
Those are still reasonable defaults that are much more suitable the
modern systems. I can only see benefits in it and am unable to think
about the potential drawbacks of bumping *defaults*.
Please do file a bug tracking this proposal, and reference the
discussion thread.
On Sun, Dec 11, 2022 at 09:28:14AM +0100, Piotr Karbowski wrote:
What I'd like to do is to bump the limits.conf we ship with pam toDrawbacks:
following
* hard nproc 16384
* soft nproc 16384
* hard nofile 16384
* soft nofile 16384
Those are still reasonable defaults that are much more suitable the
modern systems. I can only see benefits in it and am unable to think
about the potential drawbacks of bumping *defaults*.
- The "*" would apply it to all users on a system, not just the
interactive ones, and reduce overall security posture.
- Does this also need a sysctl change for raising fs.file-max?
With those in mind, how can we deploy these defaults for interactive
users, while still trying to maintain the good security posture overall?
- Is using "@users" instead of "*" good enough? (I think yes)
- Should it be limited to shiny logins on X or should it also take
effect via remote logins? (conceptually yes, but I don't see a way to
do it today within the scope of only pam_limits**)
** The closest other solution I can find is using a distinct limits.conf
for interactive logins, selected via pam.d trickery, and I don't like
that proposal.
On 12 Dec 2022, at 21:55, Piotr Karbowski <slashbeast@gentoo.org> wrote:navigating it would be difficult.
Hi,
On 12/12/2022 06.52, Robin H. Johnson wrote:
Please do file a bug tracking this proposal, and reference the
discussion thread.
On Sun, Dec 11, 2022 at 09:28:14AM +0100, Piotr Karbowski wrote:
What I'd like to do is to bump the limits.conf we ship with pam toDrawbacks:
following
* hard nproc 16384
* soft nproc 16384
* hard nofile 16384
* soft nofile 16384
Those are still reasonable defaults that are much more suitable the
modern systems. I can only see benefits in it and am unable to think
about the potential drawbacks of bumping *defaults*.
- The "*" would apply it to all users on a system, not just the
interactive ones, and reduce overall security posture.
- Does this also need a sysctl change for raising fs.file-max?
With those in mind, how can we deploy these defaults for interactive
users, while still trying to maintain the good security posture overall?
- Is using "@users" instead of "*" good enough? (I think yes)
- Should it be limited to shiny logins on X or should it also take
effect via remote logins? (conceptually yes, but I don't see a way to
do it today within the scope of only pam_limits**)
** The closest other solution I can find is using a distinct limits.conf
for interactive logins, selected via pam.d trickery, and I don't like
that proposal.
Since both you and Sam requested bug[1], so be it -- though I still find it excessive and I do not remember any other case where discussion about change in package were tracked in bug, I just hope it will not branch discussion to be in two places,
It's unusual to have discussion about a single package on the mailing lists. I tend to keep an eye on PAM
bugs because I maintained pambase.
Bugs are the primary method of discussing changes to packages.
On 12 Dec 2022, at 22:26, Piotr Karbowski <slashbeast@gentoo.org> wrote:still zealously challenge it.
On 12/12/2022 23.06, Sam James wrote:
It's unusual to have discussion about a single package on the mailing lists. I tend to keep an eye on PAM
bugs because I maintained pambase.
Bugs are the primary method of discussing changes to packages.
You really came strong on this one. I did explain why it went to mailing list, that very few people would notice bug on undeclared maintainer-needed package, unlike mailing list, assigning it to zlogene and hoping for few people to catch it up, yet you
I feel really burnt out from this exchange and I see that you already base-system'd the sys-libs/pam tactically preventing me joining and introducing changes, last time I wanted join base-system there was push back and I was informed that only invitedmembers can join. Do your thing Sam, I will step back now and will take note to throw ideas into void of bugzilla next time.
On 12/12/2022 23.06, Sam James wrote:
It's unusual to have discussion about a single package on the mailing lists. I tend to keep an eye on PAM
bugs because I maintained pambase.
Bugs are the primary method of discussing changes to packages.
You really came strong on this one. I did explain why it went to mailing list, that very few people would notice bug on undeclared
maintainer-needed package, unlike mailing list, assigning it to zlogene
and hoping for few people to catch it up, yet you still zealously
challenge it.
I feel really burnt out from this exchange and I see that you already base-system'd the sys-libs/pam tactically preventing me joining and introducing changes, last time I wanted join base-system there was push
back and I was informed that only invited members can join. Do your
thing Sam, I will step back now and will take note to throw ideas into
void of bugzilla next time.
-- Piotr.
On 12/12/2022 23.06, Sam James wrote:
It's unusual to have discussion about a single package on the mailing
lists. I tend to keep an eye on PAM
bugs because I maintained pambase.
Bugs are the primary method of discussing changes to packages.
You really came strong on this one. I did explain why it went to mailing list, that very few people would notice bug on undeclared
maintainer-needed package, unlike mailing list, assigning it to zlogene
and hoping for few people to catch it up, yet you still zealously
challenge it.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 399 |
Nodes: | 16 (2 / 14) |
Uptime: | 101:25:57 |
Calls: | 8,363 |
Calls today: | 2 |
Files: | 13,165 |
Messages: | 5,897,912 |