| From: | Christoph Berg <cb(at)df7cb(dot)de> |
|---|---|
| To: | Colin 't Hart <colinthart(at)gmail(dot)com> |
| Cc: | "pgsql-pkg-debian(at)postgresql(dot)org" <pgsql-pkg-debian(at)postgresql(dot)org> |
| Subject: | Re: pg_createcluster not obeying default for socket directory |
| Date: | 2013-08-02 08:43:50 |
| Message-ID: | 20130802084350.GB6495@msgid.df7cb.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-pkg-debian |
Re: Colin 't Hart 2013-08-01 <CAMon-aRowt7ECfd1skCHL-NqRUZ50fE_FosO=-v3WecDeF3EGw(at)mail(dot)gmail(dot)com>
> Hi,
>
> Just installed 9.3b2 from the PG group's APT repository. Because I'm
> upgrading from 9.3b1 I need to recreate my cluster.
>
> I get this warning when creating the cluster:
>
> colin(at)corundum:~$ sudo pg_createcluster 9.3 main --start
> Creating new cluster 9.3/main ...
> config /etc/postgresql/9.3/main
> data /var/lib/postgresql/9.3/main
> locale en_US.UTF-8
> Warning: The socket directory for owners other than 'postgres'
> defaults to /tmp. You might want to change the unix_socket_directories parameter
> in postgresql.conf to a more secure directory.
Hi Colin,
can you run a few commands so we have more details about your system?
getent passwd postgres
ls -ld /var/lib/postgresql/9.3/main /var/run/postgresql
dpkg -l 'postgresql-*common'
Christoph
--
cb(at)df7cb(dot)de | http://www.df7cb.de/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Colin 't Hart | 2013-08-05 08:09:09 | Re: pg_createcluster not obeying default for socket directory |
| Previous Message | Dimitri Fontaine | 2013-08-01 10:04:17 | Re: Odd table ownership for PostgreSQL |