From owner-freebsd-riscv@freebsd.org Mon Nov 12 19:08:03 2018 Return-Path: Delivered-To: freebsd-riscv@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24378110EECC for ; Mon, 12 Nov 2018 19:08:03 +0000 (UTC) (envelope-from mhorne063@gmail.com) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6C62C7E304 for ; Mon, 12 Nov 2018 19:08:02 +0000 (UTC) (envelope-from mhorne063@gmail.com) Received: by mail-oi1-x231.google.com with SMTP id x63-v6so8087111oix.9 for ; Mon, 12 Nov 2018 11:08:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=HAUs96tL1Rnt7rRtTc6cMI0hpVZ/x7WaI6yz7bMlqJM=; b=OIEwxx7tZlihQ+wb975usX2VTLt00qT9w6d8LCihSXis5hnPYAIJr9CVRg5N5z8XYH sGqzulfsoJGnEvkIHm8klMzU4mpeGIy6eSU5KT0/Dc3NsB2gEM33MkNkL9LcRvHTzEIE 529Gs9qo50LynbpqEcQDvMkWxa5sAZzmigqricrB31bQezd23mGGPT8FfHw1ziUTU8z0 3ZadNT5UfLVy1qVB27Hv1yROmmVe/cSVfaVP7urrlDcW4LPbps37GQS9CO8kOrxJm36O shabQrtmq6TY0YSL9wYjp3ab5atH8pLEzydAD2HZ8v06FrWH4l8mCnuTiOjgiYr5Jt6w 1xrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HAUs96tL1Rnt7rRtTc6cMI0hpVZ/x7WaI6yz7bMlqJM=; b=UA4fkNkTsVXIyncuRrBnBLcyW5oTO/bt1ASiNhtdftiRm8BBrdsf8xTt5kNtVdO43O jaO39UhCiZDvKXUX/Tq+DSx2JHJpPFNCIfIUjxfZu/fU+JKtNZBGVXtxraAdHrcZjnhK W1C55E8BsubCfY1NizGhKWZIpSdM1CM3AUc6L/ivHbAtI0N+qtJwRjLDXtyUFtqh+jzZ tkmkexN2H1aq3kJ6/bd9vu0nVvdw05ReN2jYhfx+PQ/klu/OgLNPjGzQO4FHYYBtMTMK Bn04Q7u55L02VgTEiA3Ooh4vt5Fue44DZWVZKY7rUJFM3vBlDlmnSOWd9aDNKAhGwZAK mufA== X-Gm-Message-State: AGRZ1gJfVpoKviKPVwc/jwfMivlfcVRHbraw/UE1Wqwr33arjQLSs4AL t+yHerOu+Pwsj8kyRzl3VwQicDNME5fb2ltCAnA= X-Google-Smtp-Source: AJdET5cYxGYoQ0fi/TD9c9soSBWjJJEnQX0HVFFnKb+lfifFSaJmRu7zRkV0qTRjS1S+shRNts2A8S9Bq292C30N5Rw= X-Received: by 2002:a54:4d01:: with SMTP id v1-v6mr1292675oix.81.1542049681650; Mon, 12 Nov 2018 11:08:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mitchell Horne Date: Mon, 12 Nov 2018 11:07:50 -0800 Message-ID: Subject: Re: installworld complains about a missing user ntpd To: dinesh.thirumurthy@gmail.com Cc: freebsd-riscv@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 6C62C7E304 X-Spamd-Result: default: False [-4.95 / 200.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TAGGED_RCPT(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-riscv@freebsd.org]; TO_DN_NONE(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.94)[-0.939,0]; RCVD_IN_DNSWL_NONE(0.00)[1.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(-1.00)[ipnet: 2607:f8b0::/32(-2.94), asn: 15169(-1.96), country: US(-0.09)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-riscv@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD on the RISC-V instruction set architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2018 19:08:03 -0000 I take it you're trying to update an older build, as this is from a change added back in July. Did you follow all the steps listed in /usr/src/UPDATING? > 20180719: > New uid:gid added, ntpd:ntpd (123:123). Be sure to run mergemaster > or take steps to update /etc/passwd before doing installworld on > existing systems. Do not skip the "mergemaster -Fp" step before > installworld, as described in the update procedures near the bottom > of this document. Also, rc.d/ntpd now starts ntpd(8) as user ntpd > if the new mac_ntpd(4) policy is available, unless ntpd_flags or > the ntp config file contain options that change file/dir locations. > When such options (e.g., "statsdir" or "crypto") are used, ntpd can > still be run as non-root by setting ntpd_user=ntpd in rc.conf, after > taking steps to ensure that all required files/dirs are accessible > by the ntpd user. On Mon, Nov 12, 2018 at 2:48 AM Dinesh Thirumurthy wrote: > > Hi, > > I am using the instructions at > > https://wiki.freebsd.org/riscv > > to build a freebsd to boot on spike. > > I am at this step on installworld. I get this error. > > root@box:~/dt/freebsd-riscv # make TARGET_ARCH=riscv64 -DNO_ROOT > DESTDIR=${DESTDIR} installworld > make[1]: "/root/obj/root/dt/freebsd-riscv/riscv.riscv64/ > toolchain-metadata.mk" line 1: Using cached toolchain metadata from build > at box on Sun Nov 11 17:00:57 IST 2018 > ERROR: Required ntpd user is missing, see /usr/src/UPDATING. > *** Error code 1 > > Stop. > make[1]: stopped in /root/dt/freebsd-riscv > *** Error code 1 > > Stop. > make: stopped in /root/dt/freebsd-riscv > root@box:~/dt/freebsd-riscv # > > -- > So, how do I get past this in the correct way? > > I have manually added and ntpd user and group in /etc/passwd,group. I still > run into the same error. > > Appreciate your help. > > Thank you. > > Dinesh > _______________________________________________ > freebsd-riscv@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-riscv > To unsubscribe, send any mail to "freebsd-riscv-unsubscribe@freebsd.org"