Re: postgresql in a jail: manually starts but not while booting

From: Boris Samorodov <bsam_at_ipt.ru>
Date: Sun, 22 Jul 2007 03:05:55 +0400
On Sun, 22 Jul 2007 00:42:00 +0400 Boris Samorodov wrote:

> I've got a recent amd64-current with postgresql in a jail. The
> database master process starts from command line but not when
> the host system is booted (and the jail is auto-started):
> -----
> Jul 22 00:10:17 pg postgres[1134]: [2-1] FATAL:  could not create shared memory segment: Function not implemented
> Jul 22 00:10:17 pg postgres[1134]: [2-2] ποδςοβξοστι:  Failed system call was shmget(key=5432001, size=39149568, 03600).
> -----

OK, I found the culprit. Seems that man jail(8) may be polished a
little. From man jail(8), section "Starting the Jail":
-----
It is possible to have jails started at boot time.  Please refer to the
``jail_*'' variables in rc.conf(5) for more information.
-----

I propose to add the following note to man jail(8):
-----
Note: those variables override sysctl values (both current and from
/etc/sysctl.conf).
-----


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Received on Sat Jul 21 2007 - 21:05:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC