From owner-freebsd-questions@FreeBSD.ORG Tue Oct 1 16:20:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 238C844C for ; Tue, 1 Oct 2013 16:20:01 +0000 (UTC) (envelope-from alexus@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E270E2724 for ; Tue, 1 Oct 2013 16:20:00 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id o17so4938651oag.4 for ; Tue, 01 Oct 2013 09:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=OqpgzOtqAmOreklKwLhyqJGv7ybciGcNcR2kbDn5vc4=; b=KUCq8S2inOU5iaV4lUBYgIbPyIfjmfJgIQQsidr/qlmGHF/vJUZGaLiWVXjlkI4PZd hpgPrM5XJ7YY2D7iLcDBdTA5PeSTyDJ4flaygUsx07HMYOj7qK8bQVGXco7iCOm46vyz TgXInjYkcA6iCDNOn3wZqci7z3nT/1E4DfMP2gQ6b0zuzzzRAl2d1wrRDMpZxDm70CtJ 4jVkb8MCdhmwzd8qMnEHaqNggXiVDUG3BadR6iq1Crs95MZ6IzhF0oeAfNUwGIpjYJmZ khOsXGC8D5RG/gWgzVbJ+xbBnQM2Bm2VoT3ZQ0xF/24DjniCYBehXYkHAggpqUCoK/D3 ngzw== MIME-Version: 1.0 X-Received: by 10.60.173.145 with SMTP id bk17mr555090oec.64.1380644399857; Tue, 01 Oct 2013 09:19:59 -0700 (PDT) Received: by 10.76.95.201 with HTTP; Tue, 1 Oct 2013 09:19:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Oct 2013 12:19:59 -0400 Message-ID: Subject: Re: mtree: line 21: unknown user auditdistd From: alexus To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Oct 2013 16:20:01 -0000 I've re-run pwd_mkdb now auditdistd user is there, yet back to mergemaster issues: [root@f9 ~]# pwd_mkdb -p /etc/master.passwd [root@f9 ~]# id auditdistd uid=78(auditdistd) gid=77(audit) groups=77(audit) [root@f9 ~]# mergemaster *** Creating the temporary root environment in /var/tmp/temproot *** /var/tmp/temproot ready for use *** Creating and populating directory structure in /var/tmp/temproot install: illegal option -- l usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to the temproot environment [root@f9 ~]# On Tue, Oct 1, 2013 at 11:52 AM, alexus wrote: > I even sort of have that user... > > f9# grep auditdistd /etc/*passwd > /etc/master.passwd:auditdistd:*:78:77::0:0:Auditdistd unprivileged > user:/var/empty:/usr/sbin/nologin > /etc/passwd:auditdistd:*:78:77:Auditdistd unprivileged > user:/var/empty:/usr/sbin/nologin > f9# > > > > On Tue, Oct 1, 2013 at 11:32 AM, alexus wrote: > >> I've tried upgrading my FreeBSD 9.1 to 9.2 via freebsd-update and I guess >> I did something wrong and now I'm trying to run mergemaster and I'm unable >> to do so, although I do remember merging passwd file w/ new user auditdistd >> >> how can I re-run mergemaster? >> >> f9# mergemaster >> >> *** The directory specified for the temporary root environment, >> /var/tmp/temproot, exists. This can be a security risk if untrusted >> users have access to the system. >> >> Use 'd' to delete the old /var/tmp/temproot and continue >> Use 't' to select a new temporary root directory >> Use 'e' to exit mergemaster >> >> Default is to use /var/tmp/temproot as is >> >> How should I deal with this? [Use the existing /var/tmp/temproot] >> >> *** Leaving /var/tmp/temproot intact >> >> *** Creating the temporary root environment in /var/tmp/temproot >> *** /var/tmp/temproot ready for use >> *** Creating and populating directory structure in /var/tmp/temproot >> >> mtree: line 21: unknown user auditdistd >> >> *** FATAL ERROR: Cannot 'cd' to /usr/src and install files to >> the temproot environment >> >> f9# >> >> > > > -- > http://alexus.org/ > -- http://alexus.org/