On Wed, Dec 11, 2019, at 21:20, Tom Ivar Helbekkmo wrote:
> Mark Felder <[email protected]> writes:
> 
> > I suppose this is rarely-tested functionality but it looks like aox
> > cannot connect to a postgres unix socket.
> 
> That's because it chroots into the "jail" directory under its main
> configuration directory at startup.
> 
> You'll want something like this in your postgresql.conf:
> 
> unix_socket_directories = '/var/shared, /etc/aox/jail/var/shared'
> 

Ahh, good catch. I forgot it chroots. I'm already running it in a FreeBSD jail, 
so this is kind of pointless but I can easily work around this. I guess I'll 
have to ensure syslog's socket is in there too. I wonder how many people are 
missing syslog because it doesn't ensure that /var/run/log exists in the chroot?


-- 
  Mark Felder
  [email protected]

Reply via email to