Re: Bug#1080956: SaunaFS
On 04/11/2025 13:33, Urmas Rist wrote:
[...]
More importantly, Tony discovered a bug with the pam limits on open
files. There's still the old Lizardfs limits file (actually I checked,
there's also another lizardfs file). I think it's a big bug, so I'm
wondering if one could resubmit the package to FTP again with a fix?
Hi, Urmas.
These are the vestigial LizardFS files that I found in the Salsa repo:
saunafs/debian/etc/pam.d/lizardfs
saunafs/debian/etc/security/limits.d/10-lizardfs.conf
saunafs/debian/suspend/etc__pm__sleep.d/25-lizardfs-chunkserver
saunafs/debian/suspend/lib__systemd__system-sleep/lizardfs-chunkserver
As I mentioned on our SaunaFS Slack chat, I renamed:
/etc/security/limits.d/10-lizardfs.conf
As:
/etc/security/limits.d/10-saunafs.conf
And changed the uusername from "lizardfs" to "saunafs":
saunafs soft nofile 131072
saunafs hard nofile 131072
To enable "session required pam_limits.so" I renamed:
saunafs/debian/etc/pam.d/lizardfs
As:
saunafs/debian/etc/pam.d/saunafs
I've not done anything about the other two files.
Bye,
Tony.
Reply to: