Re: [systemd-devel] systemd user instance and raising limits

2017-11-19 Thread Jeff Solomon
> I didn't think that systemd paid one bit of attention to the settings >> controlled by pam_limits? >> > > The user@ instance runs user-controlled processes, much like cron would, > so its service unit has PAM enabled as well. > When I change pam_limits for a user via a file /etc/security/limits.

Re: [systemd-devel] systemd user instance and raising limits

2017-11-19 Thread Mantas Mikulėnas
On Mon, Nov 20, 2017, 02:27 Jeff Solomon wrote: > Understood. > > I didn't think that systemd paid one bit of attention to the settings > controlled by pam_limits? > The user@ instance runs user-controlled processes, much like cron would, so its service unit has PAM enabled as well. > I'm only

Re: [systemd-devel] systemd user instance and raising limits

2017-11-19 Thread Jeff Solomon
Understood. I didn't think that systemd paid one bit of attention to the settings controlled by pam_limits? I'm only interested in a user instance that is lingering and operates outside of a session. My goal is that the child processes of the user instance will have limits that I set. If I under

Re: [systemd-devel] systemd user instance and raising limits

2017-11-19 Thread Mantas Mikulėnas
On Sun, Nov 19, 2017, 22:01 Jeff Solomon wrote: > Hi, > > Two questions. > > I want to raise the "number of files" limits for the user instance. > > First, I set DefaultLimitNOFILE to something higher than the global system > default in /etc/systemd/user.conf and I rebooted. > > Then I confirmed

[systemd-devel] systemd user instance and raising limits

2017-11-19 Thread Jeff Solomon
Hi, Two questions. I want to raise the "number of files" limits for the user instance. First, I set DefaultLimitNOFILE to something higher than the global system default in /etc/systemd/user.conf and I rebooted. Then I confirmed that the setting has taken effect: "systemctl --user show" showed