Re: Issues with building snap packages and psql

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Issues with building snap packages and psql
Date: 2016-10-26 17:22:24
Message-ID: 185a8eb7-6f96-b3d4-87d4-a692accd4855@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/26/2016 10:16 AM, Tom Lane wrote:
> "Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
>> Is psql getting the home directory from /etc/passwd?
>
> Yes, of course.
>
>> If so what can we do about that?
>
> Fix your /etc/passwd entry? Seems unlikely that psql is the only
> program that believes that entry.

It isn't that simple. Snap packages are similar to a chroot. My home
directory *is* /home/jd but snap packages can't write to that because of
the isolation.

Sincerely,

JD

--
Command Prompt, Inc. http://the.postgres.company/
+1-503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Everyone appreciates your honesty, until you are honest with them.
Unless otherwise stated, opinions are my own.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2016-10-26 17:26:08 Re: Issues with building snap packages and psql
Previous Message Tom Lane 2016-10-26 17:20:53 Re: Improving RLS planning