profiles/ist-shell: Fix root limits
Description of changes
Root limits were being materialized as the main configuration file for user-0.slice
. Since the limits for other users are specified as overrides for user-.slice
, this results in the root limits being overriden by the general limits, when it should be the other way round.
This MR changes root limits to be materialized as overrides as well, which will hopefully let them take precedence over general limits. Needs testing.
If this does not work, a different solution is required. One possibility is to modify the user slice at login time using pam_exec
.
Things done
-
Tested -
Updated documentation (Wiki/NetBox) -
Breaking change