Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Lightdm Ignores Limit Values
@ 2022-11-02 20:33 TrueTechie
  2023-02-20  0:42 ` bsduck
  0 siblings, 1 reply; 2+ messages in thread
From: TrueTechie @ 2022-11-02 20:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

New issue by TrueTechie on void-packages repository

https://github.com/void-linux/void-packages/issues/40305

Description:
### Is this a new report?

Yes

### System Info

Void 5.19.17_1 x86_64 GenuineIntel uptodate FFFFF

### Package(s) Affected

pam-1.5.2_2 lightdm-1.32.0_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

After setting up Lightdm and modifying `/etc/security/limits.conf` and restarting the system, the output of `ulimit -Hn` should be the same as that defined in the configuration file. 

For example, mine has the following line for playing games with ESync:
```
elliot hard nofile 524288
```
So the output of `ulimit -Hn` would be: `524288`

### Actual behaviour

No matter what is written in `/etc/security/limits.conf`, the output of `ulimit -Hn` is just the default of `4096`. According to [this issue](https://github.com/void-linux/void-packages/issues/20105) in 2020, this can be fixed by adding `session required pam_limits.so` to `/etc/pam.d/lightdm`. This should be enabled by default, but the issue was automatically closed due to inactivity.

### Steps to reproduce

1. Install and configure Lightdm
2. Set limits in `/etc/security/limits.conf`
3. Restart system
4. Log in via Lightdm
5. Run `ulimit -Hn`

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Lightdm Ignores Limit Values
  2022-11-02 20:33 [ISSUE] Lightdm Ignores Limit Values TrueTechie
@ 2023-02-20  0:42 ` bsduck
  0 siblings, 0 replies; 2+ messages in thread
From: bsduck @ 2023-02-20  0:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 445 bytes --]

New comment by bsduck on void-packages repository

https://github.com/void-linux/void-packages/issues/40305#issuecomment-1436152778

Comment:
I can confirm that this problem which I reported in 2020 is still present.

This is really easy to fix, and should preferably be done upstream because `/etc/pam.d/lightdm` is provided by LightDM and I guess other non-systemd Linux distributions are similarly affected (I'll try on Alpine to compare).

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-20  0:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-02 20:33 [ISSUE] Lightdm Ignores Limit Values TrueTechie
2023-02-20  0:42 ` bsduck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).