Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDyM1-0002rJ-80 for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 19:55:41 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eDyM0-00049n-Qk for pgsql-general@arkaria.postgresql.org; Sun, 12 Nov 2017 19:55:40 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eDyJS-0007Zu-Go for pgsql-general@postgresql.org; Sun, 12 Nov 2017 19:53:02 +0000 Received: from mail-qk0-x22b.google.com ([2607:f8b0:400d:c09::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eDyJL-0000hn-Gc for pgsql-general@postgresql.org; Sun, 12 Nov 2017 19:53:01 +0000 Received: by mail-qk0-x22b.google.com with SMTP id v137so17451988qkb.1 for ; Sun, 12 Nov 2017 11:52:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:cc:date:in-reply-to:references :mime-version:content-transfer-encoding; bh=RKiV6uZC8v2Oc7bW99bPZZoejEI4J9FaBYXdRZSj/94=; b=Qh6KcLDyGsWnueC/L9LdF26GwYxpOdOV87STQsaI40O4Fz9pJ+X1a2LuqkqQjFqSoK m2t+k7Sol8lesuTt+EsC3TVPh7Bc5K9Rzg92BWZYur8DiRfyAmWL6/kfdtQqk+QDrxh7 YzKMzyVCse31H8DXOZ/x/25pP/epzfbCHQbpGrFfozqWoUC/YWa3pKARVejy9G801wH1 9V1J5a5j12JXp2paMeeGCLOfJfraqqJl/q3WsiSPgnA2STknBWCBopNdLlPBMhGeNdFH kSnesjkfrwfv+G9HiVP4pAdex2xHxC1q9573W2YyaXPJGBIU8iWBx3p7Oyr4O5q/V+I1 /tTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:cc:date:in-reply-to :references:mime-version:content-transfer-encoding; bh=RKiV6uZC8v2Oc7bW99bPZZoejEI4J9FaBYXdRZSj/94=; b=NUMUbhnbSnMXP3NzouE2tdNZxVbnI64VBU8NJetCBCZoqAQYE7nWpzcW4OTn56MsJC v2pJSESifNQpLtEbf0FwRZ3IBXq1IaTmneHtnZ889/N2zqpWgF1W5Qel3v6lolExzC3P K27wbY66mv/8To6+SRDrVzDeB+AIZOxoejgAFqocWLnCZd2pB2j6k9kgTaLlPZXZOt8K WhG3ABuZZK1Wrs5+L5yIvcuGoa4ruwpyzHIrYbAEmrZttBT94jtuRKmNqcLOnzzDCXoZ IwSR0OlzB9tsjP5omP7uWMx9J1Tfe2eYuaU6lud4uL6bMFrX2BPY8E9+jxGZjk0WbF/R Wlrw== X-Gm-Message-State: AJaThX42wcCCBcz1H5ZaL8sc0U2Hpag3tSp3f32mcFylmzPCo2nLKnAL oHFsi5lnf098/bPJuFQH5iT+ik3t X-Google-Smtp-Source: AGs4zMYTNVHWHzjbRV4h+old2Zkqg35GOzKPYSLwBLJVx1Ie2QrKd4ec7QtNlGJf8SCP/57daiKHeQ== X-Received: by 10.55.245.23 with SMTP id l23mr10186977qkk.278.1510516374420; Sun, 12 Nov 2017 11:52:54 -0800 (PST) Received: from roblaptop ([2804:14d:baa0:8491:461e:a1ff:fe19:c7bd]) by smtp.gmail.com with ESMTPSA id s22sm9868255qta.67.2017.11.12.11.52.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Nov 2017 11:52:53 -0800 (PST) Message-ID: <1510516369.4986.11.camel@gmail.com> Subject: Re: pg on Debian servers From: rob stone To: Magnus Hagander Cc: Mark Morgan Lloyd , "pgsql-general@postgresql.org" Date: Mon, 13 Nov 2017 06:52:49 +1100 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.2-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org On Sat, 2017-11-11 at 14:30 +0100, Magnus Hagander wrote: > > > > The init.d script is not used with systemd. > > > Hello Magnus, Many months ago on a bog standard Debian set-up did a re-boot and ended up with postmasters running for 9.2, 9.4, 9.5 and 9.6 all started one after the other. There was a script in init.d which read thru /usr/lib/postgresql and it started running Postgres for each version it found. Fortunately, all listening on different ports. The fix was to disable that script as well as the systemd service. Doing the upgrade to 10 in a few weeks. Will let you know how it goes. I assume you are aware of this DSA:- Debian Security Advisory DSA-4029-1 ----------------------------------------------------------------------- Package : postgresql-common CVE ID : CVE-2017-8806 It was discovered that the pg_ctlcluster, pg_createcluster and pg_upgradecluster commands handled symbolic links insecurely which could result in local denial of service by overwriting arbitrary files. For the oldstable distribution (jessie), this problem has been fixed in version 165+deb8u3. For the stable distribution (stretch), this problem has been fixed in version 181+deb9u1. Cheers, Rob -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general