[Pkg-postgresql-public] Bug#694454: ... and PAM, too

Christoph Berg myon at debian.org
Fri Dec 28 12:30:36 UTC 2012


Control: retitle -1 pg_ctlcluster should have support for numactl and PAM

Re: To Debian Bug Tracking System 2012-11-26 <20121126143747.GA21564 at msgid.df7cb.de>
> Package: postgresql-common
> Version: 134
> Severity: wishlist
> 
> We should probably consider adding something like the following patch
> to pg_ctlcluster. It wraps pg_ctl using numactl. Other uses might be
> strace, gdb, and similar things. /etc/postgresql/*/*/pg_ctl.conf seems
> like the right spot to configure this, for example using
> pg_ctl_wrapper = '...'

Here's yet another idea which will touch the same code region:
pg_ctlcluster should support PAM, or more specifically pam_limits.so,
so people can set proper limits in /etc/security/limits.conf.

This is probably the easiest to achieve if we simply use su(1) instead
of doing the PID change etc in pure perl.

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20121228/70a6164f/attachment.pgp>


More information about the Pkg-postgresql-public mailing list