From owner-freebsd-stable@freebsd.org Thu Dec 12 10:15:33 2019 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A53A1CBEDF for ; Thu, 12 Dec 2019 10:15:33 +0000 (UTC) (envelope-from tomas.engin@teleservice.net) Received: from b-halon-backup.teleservice.net (b-halon-backup.teleservice.net [85.30.129.128]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47YV6p5gptz4MZ1 for ; Thu, 12 Dec 2019 10:15:30 +0000 (UTC) (envelope-from tomas.engin@teleservice.net) Received: from S-MAIL-2.internal.teleservice.net (unknown [85.30.129.6]) by b-halon-1.teleservice.net (Halon) with ESMTPS id 4fc7c424-1cc8-11ea-bf39-00505689b487; Thu, 12 Dec 2019 11:15:24 +0100 (CET) Received: from S-MAIL-2.internal.teleservice.net (192.168.101.8) by S-MAIL-2.internal.teleservice.net (192.168.101.8) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 12 Dec 2019 11:15:24 +0100 Received: from S-MAIL-2.internal.teleservice.net ([fe80::9971:9649:aa77:8416]) by S-MAIL-2.internal.teleservice.net ([fe80::9971:9649:aa77:8416%12]) with mapi id 15.00.1347.000; Thu, 12 Dec 2019 11:15:24 +0100 From: Tomas Engin To: "freebsd-stable@freebsd.org" Subject: Re: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user? Thread-Topic: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user? Thread-Index: AQHVsI3AgA0M7FpeoEqTXTrtykeXNKe13Y8AgABrFag= Date: Thu, 12 Dec 2019 10:15:23 +0000 Message-ID: <1576145930466.55454@teleservice.net> References: , <20191212045046.GA87026@geeks.org> In-Reply-To: <20191212045046.GA87026@geeks.org> Accept-Language: en-CA, sv-SE, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.219.66] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Rspamd-Queue-Id: 47YV6p5gptz4MZ1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=teleservice.net; spf=pass (mx1.freebsd.org: domain of tomas.engin@teleservice.net designates 85.30.129.128 as permitted sender) smtp.mailfrom=tomas.engin@teleservice.net X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:85.30.129.128]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; DMARC_POLICY_ALLOW(-0.50)[teleservice.net,none]; RCVD_IN_DNSWL_NONE(0.00)[128.129.30.85.list.dnswl.org : 127.0.10.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; IP_SCORE(-0.01)[country: SE(-0.03)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:34244, ipnet:85.30.128.0/18, country:SE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Dec 2019 10:15:33 -0000 I've had similar problems with 11.3 and 12.0 (unsure of patchlevel) when ad= ding users using Ansible. Had to add a step in our script that runs pwd_mkd= b after each user is added to make sure it is reliable. =0A= ________________________________________=0A= From: owner-freebsd-stable@freebsd.org o= n behalf of Doug McIntyre =0A= Sent: December 12, 2019 05:50=0A= To: Mel Pilgrim=0A= Cc: freebsd-stable@freebsd.org=0A= Subject: Re: 11.3->12.1 upgrade, pwd db not rehashed after adding ntpd user= ?=0A= =0A= On Wed, Dec 11, 2019 at 05:44:27PM -0800, Mel Pilgrim wrote:=0A= > I used freebsd-update to upgrade several 11.3-p5 systems to 12.1-p1.=0A= > The etc update process added the ntpd/ntpd user/group. It showed the=0A= > line changes in the plaintext passwd/group files, but the process=0A= > appears to omit the pwd_mkdb step.=0A= >=0A= > After the upgrade, ntpd fails to start:=0A= >=0A= > # service ntpd start=0A= > Starting ntpd.=0A= > su: unknown login: ntpd=0A= > /etc/rc.d/ntpd: WARNING: failed to start ntpd=0A= >=0A= > Running the usual pwd_mkdb command fixes the issue.=0A= =0A= I've had varied results with the same thing from 11.2 to 12.1.=0A= Sometimes it works, oftentimes it does not. pwd_mkdb does fix it=0A= up, but would be nice to not have to do that.=0A= _______________________________________________=0A= freebsd-stable@freebsd.org mailing list=0A= https://lists.freebsd.org/mailman/listinfo/freebsd-stable=0A= To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"= =0A=