Date: Thu, 22 Aug 2019 13:15:45 +0200 From: Andrea Brancatelli <abrancatelli@schema31.it> To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Alan Somers <asomers@freebsd.org>, Tom Samplonius <tom@samplonius.org>, FreeBSD <freebsd-stable@freebsd.org> Subject: Re: chsh corrupts /etc/pwd.db Message-ID: <31255120717af8e13d9ee4addf9edb30@schema31.it> In-Reply-To: <c749c935-a3a6-e383-1994-2d79e7517be6@quip.cz> References: <CAOtMX2gTTerT5q3Ooku%2BwMOg_tZysFCBeHeBPkH_49aJFBu47A@mail.gmail.com> <208B5647-9D41-4F0E-9111-32CBFF8491D1@samplonius.org> <CAOtMX2ibvCW1_7UQ7_Udb1tqR2BfGVzPfqhhaH0sRxeZZfXJBw@mail.gmail.com> <7f7ff711-342e-fc8a-d2c9-50dd1a90acd8@quip.cz> <c749c935-a3a6-e383-1994-2d79e7517be6@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2019-08-22 12:43, Miroslav Lachman wrote: >> I run in to something similar from time to time from about 10.x or 8.x (i skipped 9.x) >> I do not remember exactly what command did the corruption, if it was vipw or chsh or something else to manipulate user database. The fix was easy - run it again or use pwd_mkdb > > I searched our archive of issues and found it. It was error with "pw" command which sometimes failed in very weird way: > > # pw useradd -n user1 -u 1003 -G wheel -s /bin/tcsh -m -M 0700 -c "User One" > > pw: user 'user1' disappeared during update > > It was on FreeBSD 8.x. So it is different error than yours. It still happens nowadays when you upgrade from FreeBSD 10.x to 11.x or from 11.x to 12.x. It doesn't happens deterministically but after upgrading the machines I often find myself with PKG unable to upgrade some programs because it cannot delete/add users. The fix is, as already said, pwd_mkdb (-p) --- Andrea Brancatelli From owner-freebsd-stable@freebsd.org Thu Aug 22 11:20:11 2019 Return-Path: <owner-freebsd-stable@freebsd.org> 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 D7E90C5854; Thu, 22 Aug 2019 11:20:11 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Dhs75ML5z4Ldc; Thu, 22 Aug 2019 11:20:11 +0000 (UTC) (envelope-from lwhsu@freebsd.org) Received: by freefall.freebsd.org (Postfix, from userid 1129) id B095E1F3DF; Thu, 22 Aug 2019 11:20:11 +0000 (UTC) Date: Thu, 22 Aug 2019 11:20:11 +0000 From: Li-Wen Hsu <lwhsu@freebsd.org> To: freebsd-testing@freebsd.org Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: FreeBSD CI Weekly Report 2019-08-18 Message-ID: <20190822112011.GA1504@freefall.freebsd.org> Reply-To: freebsd-testing@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/> List-Post: <mailto:freebsd-stable@freebsd.org> List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>, <mailto:freebsd-stable-request@freebsd.org?subject=subscribe> X-List-Received-Date: Thu, 22 Aug 2019 11:20:11 -0000 (Please send the followup to freebsd-testing@ and note Reply-To is set.) FreeBSD CI Weekly Report 2019-08-18 =================================== Here is a summary of the FreeBSD Continuous Integration results for the period from 2019-08-12 to 2019-08-18. During this period, we have: * 2205 builds (93.3% (+2.3) passed, 6.7% (-2.3) failed) were executed on aarch64, amd64, armv6, armv7, i386, mips, mips64, powerpc, powerpc64, powerpcspe, riscv64, sparc64 architectures for head, stable/12, stable/11 branches. * 401 test runs (63.3% (-21.8) passed, 34.7% (+19.8) unstable, 2% (+2) exception) were executed on amd64, i386, riscv64 architectures for head, stable/12, stable/11 branches. * 8 doc builds (100% (+0) passed) Test case status (on 2019-08-18 23:59): | Branch/Architecture | Total | Pass | Fail | Skipped | | ------------------- | ---------- | --------- | ------- | -------- | | head/amd64 | 7511 (+4) | 7446 (-3) | 2 (+2) | 63 (+5) | | head/i386 | 7509 (+4) | 7437 (-6) | 2 (+2) | 70 (+8) | | 12-STABLE/amd64 | 7392 (0) | 7341 (-7) | 2 (+2) | 49 (+5) | | 12-STABLE/i386 | 7390 (0) | 7332 (-7) | 2 (+2) | 56 (+5) | | 11-STABLE/amd64 | 6845 (0) | 6794 (-7) | 0 (0) | 51 (+7) | | 11-STABLE/i386 | 6843 (0) | 6756 (-7) | 34 (0) | 53 (+7) | (The statistics from experimental jobs are omitted) If any of the issues found by CI are in your area of interest or expertise please investigate the PRs listed below. The latest web version of this report is available at https://hackmd.io/s/S1ueobKEH and archive is available at http://hackfoldr.org/freebsd-ci-report/, any help is welcome. ## News * [FCP 20190401-ci_policy: CI policy ](https://github.com/freebsd/fcp/blob/master/fcp-20190401-ci_policy.md) is in "feedback" state, please check and provide comments. ## Failing Tests * https://ci.freebsd.org/job/FreeBSD-head-amd64-test/12237/ * https://ci.freebsd.org/job/FreeBSD-head-i386-test/6383/ * sys.acl.00.main * sys.acl.02.main These are due to /usr/local/bin/perl changed to be installed by lang/perl5.30 (fixed now). * sys.netpfil.pf.forward.v4 * sys.netpfil.pf.icmp.cve_2019_5598 * https://ci.freebsd.org/job/FreeBSD-stable-11-i386-test/ * local.kyua.* (31 cases) * local.lutok.* (3 cases) ## Failing and Flaky Tests (from experimental jobs) * https://ci.freebsd.org/job/FreeBSD-head-amd64-dtrace_test/ * Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d https://bugs.freebsd.org/237641 * https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/ * There are ~60 failing cases, including flakey ones, see https://ci.freebsd.org/job/FreeBSD-head-amd64-test_zfs/lastCompletedBuild/testReport/ for more details ## Disabled Tests * lib.libc.sys.mmap_test.mmap_truncate_signal https://bugs.freebsd.org/211924 * sys.fs.tmpfs.mount_test.large https://bugs.freebsd.org/212862 * sys.fs.tmpfs.link_test.kqueue https://bugs.freebsd.org/213662 * sys.kqueue.libkqueue.kqueue_test.main https://bugs.freebsd.org/233586 * sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop https://bugs.freebsd.org/220841 * usr.bin.procstat.procstat_test.command_loogle.com/ine_arguments https://bugs.freebsd.org/233587 * usr.bin.procstat.procstat_test.environment https://bugs.freebsd.org/233588 * lib.libc.regex.exhaust_test.regcomp_too_big (i386 only) https://bugs.freebsd.org/237450 * sys.netinet.socket_afinet.socket_afinet_bind_zero (new) https://bugs.freebsd.org/238781 * sys.netpfil.pf.names.names * sys.netpfil.pf.synproxy.synproxy https://bugs.freebsd.org/238870 * sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger https://bugs.freebsd.org/239292 * sys.netpfil.pf.forward.v4 (i386 only) * sys.netpfil.pf.forward.v6 (i386 only) * sys.netpfil.pf.set_tos.v4 (i386 only) https://bugs.freebsd.org/239380 * sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger https://bugs.freebsd.org/239397 * sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger https://bugs.freebsd.org/239399 * sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger https://bugs.freebsd.org/239425 ## Issues ### Cause build fails * https://bugs.freebsd.org/233735 Possible build race: genoffset.o /usr/src/sys/sys/types.h: error: machine/endian.h: No such file or directory * https://bugs.freebsd.org/233769 Possible build race: ld: error: unable to find library -lgcc_s * https://bugs.freebsd.org/238828 Possible build race: lib/libsysdecode/tables.h:948: error: 'IPV6_MIN_MEMBERSHIPS' undeclared A fix is committed: https://svnweb.freebsd.org/changeset/base/351151 ### Cause kernel panics * https://bugs.freebsd.org/238870 sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxy cause panic Patch exists: * https://reviews.freebsd.org/D20868 * https://reviews.freebsd.org/D20869 ### Open * https://bugs.freebsd.org/237403 Tests in sys/opencrypto should be converted to Python3 * https://bugs.freebsd.org/237641 Flakey test case: common.misc.t_dtrace_contrib.tst_dynopt_d * https://bugs.freebsd.org/237656 "Freed UMA keg (rtentry) was not empty (18 items). Lost 1 pages of memory." seen when running sys/netipsec tests * https://bugs.freebsd.org/237657 sys.kern.pdeathsig.signal_delivered_ptrace timing out periodically on i386 Fixed are committed: https://svnweb.freebsd.org/changeset/base/351210 https://svnweb.freebsd.org/changeset/base/351211 * https://bugs.freebsd.org/238781 sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded * https://bugs.freebsd.org/239292 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger * https://bugs.freebsd.org/239380 sys.netpfil.pf.forward.{v4,v6} and sys.netpfil.pf.set_tos.v4 fail on i386 * https://bugs.freebsd.org/239397 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger * https://bugs.freebsd.org/239399 Flakey test case: sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger * https://bugs.freebsd.org/239425 Flakey test case: sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger ### Others * [Tickets related to testing@](https://preview.tinyurl.com/y9maauwg)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31255120717af8e13d9ee4addf9edb30>