From owner-freebsd-security Thu Sep 28 6:47:12 2000 Delivered-To: freebsd-security@freebsd.org Received: from mirage.nlink.com.br (mirage.nlink.com.br [200.249.195.3]) by hub.freebsd.org (Postfix) with SMTP id 5BD8F37B422 for ; Thu, 28 Sep 2000 06:47:07 -0700 (PDT) Received: (qmail 1447 invoked by uid 501); 28 Sep 2000 13:46:55 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 28 Sep 2000 13:46:55 -0000 Date: Thu, 28 Sep 2000 10:46:55 -0300 (EST) From: Paulo Fragoso To: freebsd-security@freebsd.org Subject: Jail + PostgreSQL Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, We've got two jails's in same FreeBSD box. Sendmail, httpd, sshd are running fine but postgresql fails on startup in two jails (jails environment): pg_ctl: It seems another postmaster is running. Try to start postmaster anyway. pg_ctl: Cannot start postmaster. Is another postmaster is running? IpcSemaphoreCreate: semget failed (No space left on device) key=5432015, num=16, permission=600 This type of error is usually caused by an improper shared memory or System V IPC semaphore configuration. For more information, see the FAQ and platform-specific FAQ's in the source directory pgsql/doc or on our web site at http://www.postgresql.org. FATAL 1: InitProcGlobal: IpcSemaphoreCreate failed If we kill all postgres in all jails and we start postgresql manually on frist jail after this we start postgresql on second jail all work fine. Are there any problem with shared memory using jail? Is this a security problem? Many thanks, Paulo. -- __O _-\<,_ Why drive when you can bike? (_)/ (_) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message