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 1jWmGA-0004Ta-Nd for pgsql-general@arkaria.postgresql.org; Thu, 07 May 2020 19:32:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jWmG9-0000IE-LK for pgsql-general@arkaria.postgresql.org; Thu, 07 May 2020 19:32:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWmG9-0000I7-DL for pgsql-general@lists.postgresql.org; Thu, 07 May 2020 19:32:41 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jWmG7-0001WG-3M for pgsql-general@lists.postgresql.org; Thu, 07 May 2020 19:32:40 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1C8955C013B; Thu, 7 May 2020 15:32:38 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 07 May 2020 15:32:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=/ zx0c211B1ELSQPLsfm/7AuUp8qLynxXmsM61EYWXPs=; b=A0QRIMQdoaW3spOdY k4riI2CwmgFAD6Mb1MvKPEt6QxpLwJXq6lo9EdJG4Gj2aEEgihYcwzc9vHmJ7iV2 wj3St9IYPQBffHtfRVGg1dOTGpg4YJ9mgJvGBulvP0U9hk8KYWO0lUOTs88QxcH0 1PTQrowQUAW+cFAmW1IM6oOMBTd3tGx0ZPZOSYHTDgyOGBIGhgROkt0nPGXu7HfF iNvHoLA2p2j+6VL+MaFq8lwAsTGXBa70RcrkseFRpeD60IuZ61i+o+v7bofzmDkW M0YXuqWvxR9159oQGiTwYFPLPXajK5GYUUOinOy1S3HwwjVydfTjWwba8d9CVDGz Pqz7g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=/zx0c211B1ELSQPLsfm/7AuUp8qLynxXmsM61EYWX Ps=; b=jMq3J8TJFdi/SwJOcFzSeFgvtkrRYM9hnHpAEmHmVcx2/4FRbIWGw/yyr IjMbINucK0u/8eC/cdBnAlKMMjM+d+euVB5usSRAVXZ3CnJZGYPllWwJQX0fG/s8 oRx9CgIA9wdldW9tkqMhN7h9XKCSOkV6iLk6rim9Yqaj23RB/Tgn2X5zYFmpAi/Z 4fVVrKJJdzK7778TUfVFAxTwtKNEO97kZmZjeBwgHfRjn82wbRNihU5qKJWWvAH4 XQRC/Abhnz/OPfzlF0UmfFD1gHaR+2J+EX1U0QT9ZZghg6S8j3LB2O8i3lh68EZI RydsBzCmF6ZddN4J+DdJ4pBmBgm/g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrkedtgddufeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeduudefjeetveffhefgudehtdfhvdetkeeiueehfeev veduteekleeuheegudehhfenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgne cukfhppeejhedrudejvddrhedrvdefudenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrd gtohhm X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 5A6AA3280060; Thu, 7 May 2020 15:32:37 -0400 (EDT) Subject: Re: Odd postgres12 upgrade is changing or munging a password? To: Tory M Blue Cc: "pgsql-generallists.postgresql.org" References: From: Adrian Klaver Message-ID: <399093be-0a96-2432-8dd3-e1b8339bbb37@aklaver.com> Date: Thu, 7 May 2020 12:32:36 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/7/20 12:24 PM, Tory M Blue wrote: > Yes same password, I'm usingĀ a basic alter command to put the right > password back. > > I'm doing another upgrade in an hour, and will do some more checks to > see if it's trying to use another password or what. I obviously can't > read the password from the file , so knowing if it's munged or other, > I'm not sure is possible. > > Upgrade command i'm running > > time /usr/pgsql-12/bin/pg_upgrade --old-bindir /usr/pgsql-9.5/bin/ > --new-bindir /usr/pgsql-12/bin/ --old-datadir /pgsql/9.5/data > --new-datadir /pgsql/12/data --link > > So it's very odd. and I've not experienced this in other environments, > it's just this one. Now it's a bigger data set, but very odd. Anything different about this environment e.g. locale? What is the encoding/character set for the database? > > I'm also not seeing any other data issues, just seems to be this one > password. I'm assuming you have super user access so you could look at the password in: https://www.postgresql.org/docs/12/view-pg-shadow.html on the old server and then on the new server. > > Thanks, > > If there are commands I can run on the data before I do an alter, to > give someone more info, let me know > > Tory > > On Thu, May 7, 2020 at 12:08 PM Adrian Klaver > wrote: > > On 5/7/20 11:55 AM, Tory M Blue wrote: > > Going from 9.5 to 12 and 2 times now, I've had a password either go > > missing or munged. I've had to add an alter statement at the end > of the > > upgrade. > > What are the commands you are using? > > Is it the same password? > > > > > The DB is functioning fine, shut it down, do the upgrade and the > > password is munged. Seems like an odd occurrence, we have not > noted any > > other weird issues. > > > > Anyone else see or hear of this? > > > > Thanks > > Tory > > > -- > Adrian Klaver > adrian.klaver@aklaver.com > -- Adrian Klaver adrian.klaver@aklaver.com