From owner-freebsd-questions@FreeBSD.ORG Wed Oct 2 06:01:35 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 B568527A for ; Wed, 2 Oct 2013 06:01:35 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 26E472E98 for ; Wed, 2 Oct 2013 06:01:34 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r9261TXd067937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Oct 2013 08:01:29 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r9261TsY067934; Wed, 2 Oct 2013 08:01:29 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 2 Oct 2013 08:01:29 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: alexus Subject: Re: mtree: line 21: unknown user auditdistd In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1394716603-1380693689=:70367" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: "freebsd-questions@freebsd.org" 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: Wed, 02 Oct 2013 06:01:35 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1394716603-1380693689=:70367 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 1 Oct 2013 12:19-0400, alexus wrote: > 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 ~]# You need to semi-manually install a new version of mergemaster: cd /usr/src/usr.sbin/mergemaster && make install See the 20130430 entry in /usr/src/UPDATING. > 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/ -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-1394716603-1380693689=:70367--