Conversation
|
Not as familiar with the systemd changes, but the pam and |
|
Yes. I held back on merging because I found a bug in the systemd changes: it seems |
|
It seems that the issue is |
|
Seems there is already an issue for that: systemd/systemd#2305 |
|
This is stuck waiting on systemd/systemd#2556 |
|
@hashbang/administrators Sorry for the erroneous PR close. |
|
Don't our user ids for public users start at 3000? Otherwise, why doesn't the 'users' group work? |
pam.d/common-session-noninteractive
Outdated
| session required pam_limits.so | ||
|
|
||
| # Environment setup | ||
| session required pam_env.so |
There was a problem hiding this comment.
pam_env should remain first to unset any dangerous environmental variables.
|
@daurnimator Each user has their own group, the Also, there are some legacy users with UID < 3000: |
Set per-user limits for the number fo processes and open files. This is only effective now, as the “users” group is wrong (LDAP cruft), and the right PAM module wasn't in use...
|
@ChickenNuggers reviewed too. |
|
Deployed |
|
@KellerFuchs look at this way of setting per-user CPU and memory limits. Personally I think it is more flexible than templating |
|
@BerserkerTroll interesting solution: slightly racey (though users will be constrained after the fact, so no issue?), but I think it's as good as we are going to get. |
|
It could also be helpful for the (very long term) plans for allowing users to run "large" jobs - we were planning a system where users could "request" power to run a large job for a time, this could help with it. |
|
@BerserkerTroll That would be much better done with |
|
@KellerFuchs didn't know about |
|
Created #182 to track. |
|
The second task is still not completed? |
|
@BerserkerTroll Which “second task” ? |
|
@KellerFuchs the second checkbox was unchecked until recently. |
|
@BerserkerTroll Yes, this has been done in a separate pull request, you are commenting on a change from late 2015 |
Given the urgency of this, I will take a lack of (dis)approval as an approval by timeout in 15h30 (2015-12-30, 11:00 UTC).