Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5UkH-0000wd-BH for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 03 Jun 2023 17:08:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1q5UjG-0000Jv-5t for pgsql-pkg-debian@arkaria.postgresql.org; Sat, 03 Jun 2023 17:07:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q5UjB-0000Fw-Ao for pgsql-pkg-debian@lists.postgresql.org; Sat, 03 Jun 2023 17:07:49 +0000 Received: from mail-yb1-xb2c.google.com ([2607:f8b0:4864:20::b2c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1q5Uj5-0000es-DS for pgsql-pkg-debian@postgresql.org; Sat, 03 Jun 2023 17:07:44 +0000 Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-bacfa9fa329so3427064276.0 for ; Sat, 03 Jun 2023 10:07:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pavely.net; s=google; t=1685812057; x=1688404057; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=D8rnz5EMhtntVVExJOZSR4JNo2SRrKAoQ2LuKVBr5ZM=; b=iCSmmSN7gob2Fr96Nlx9ftxjmZAThQ9XsnzaSp//tAO/iJrwvHHItvnwuk+bfJWI2X SMe3It59a6DwSnZYUyIbXzrQEX4QlTWA1u0jvr2GJfyTR9zIrCtwsl+WCdIHvSIHoBKT u0ivyyLvdCIaAQJMsxWf2qOqYanmBEV9zEnls= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685812057; x=1688404057; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=D8rnz5EMhtntVVExJOZSR4JNo2SRrKAoQ2LuKVBr5ZM=; b=f4HgQoa3LX2VDAzYLI+ps7h0q/H83/zZVbL/KtzmLOUP7PZOK18o9fZ7xp37idnj0b Jtj1BBoYGzQxGHre3idWEfDdpXvl/SXexJlyXozRrOjHLZHbnxQvLx7yTMDoBBGcUseW InUVCQYIXRPhaLG68xijQJEecJSqrKyvG+9Z32N3JbG3fzHnjC/7PhwylDs85G1MxhGm u695eo/vYv2ONm6Xow6er7AcMw2Tj0OMP93AHZykvDdHnE5RcDFp0tdj8MRjCM+LydqP +iXVOPCyndGV3ahPavFMTtIuU/EpVj8pQ1KLX4BKbtJZy5mi2Sue/CAf04cHv3Zzo+ea W9Mg== X-Gm-Message-State: AC+VfDxDu1dwkrzPxgBiIKmlUsfynunTqtJ4bpRAlx2a6uTXB3SlzeuS WW0xy8rs4UT02rfW/UBXoydAsavnXDhqG4SFngLG1Q== X-Google-Smtp-Source: ACHHUZ6/F+Fy0ZwHioRYhrfq5BNr725Cslr/t/JykROp+CIXX9XeXXw3VO89Jw67lPE2/3krWu8y9VUf0sWE72ldxRg= X-Received: by 2002:a0d:df93:0:b0:55a:26cf:33e with SMTP id i141-20020a0ddf93000000b0055a26cf033emr3659158ywe.42.1685812057590; Sat, 03 Jun 2023 10:07:37 -0700 (PDT) MIME-Version: 1.0 References: <3AE83A09-6E05-4DC8-BAA7-4C447FB57887@df7cb.de> In-Reply-To: From: Aaron Pavely Date: Sat, 3 Jun 2023 12:07:26 -0500 Message-ID: Subject: Re: postgres user home dir To: Don Seiler Cc: Christoph Berg , pgsql-pkg-debian@lists.postgresql.org, pgsql-pkg-debian@postgresql.org Content-Type: multipart/alternative; boundary="000000000000d9e07705fd3cb4fc" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000d9e07705fd3cb4fc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Jun 3, 2023 at 9:41=E2=80=AFAM Don Seiler wrote: > On Sat, Jun 3, 2023, 02:07 Christoph Berg wrote: > >> >> You can configure it by creating the user before installing the package >> > > Ok but otherwise the package will always use /var/lib/postgresql then if > it is the one creating the user? > > Thanks, > Don. > Correct. https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/debian/= postgresql-common.postinst#L31-35 Aaron --000000000000d9e07705fd3cb4fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, Jun 3, 2023 at 9:41=E2=80=AFAM Do= n Seiler <don@seiler.us> wrote:<= br>
On Sat, Jun 3, 2023, 02:07 Christoph Berg <cb@df7cb.de> wrote:

Yo= u can configure it by creating the user before installing the package

= Ok but otherwise the package will always use /var/lib/postgresql then if it= is the one creating the user?

Thanks,
Don.
--000000000000d9e07705fd3cb4fc--