From owner-freebsd-questions@FreeBSD.ORG Wed Oct 2 10:57:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 93FF0F0B for ; Wed, 2 Oct 2013 10:57:29 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm13-vm3.bullet.mail.gq1.yahoo.com (nm13-vm3.bullet.mail.gq1.yahoo.com [98.136.218.222]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 579192C06 for ; Wed, 2 Oct 2013 10:57:28 +0000 (UTC) Received: from [98.137.12.57] by nm13.bullet.mail.gq1.yahoo.com with NNFMP; 02 Oct 2013 10:57:22 -0000 Received: from [208.71.42.199] by tm2.bullet.mail.gq1.yahoo.com with NNFMP; 02 Oct 2013 10:57:22 -0000 Received: from [127.0.0.1] by smtp210.mail.gq1.yahoo.com with NNFMP; 02 Oct 2013 10:57:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1380711442; bh=djLgiYM186TC5GiVSk/ZK+5VGSg3P6NvxcIw2jruTJs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Google-DKIM-Signature:X-Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=FImLgFQipFNpjwAyeVLIHtyZ0im8obCwaLw9vYMlWJ2vzNvIOOzGmGBRtZFzEOSRxXRjHu4mVuME9kK0tKZTmBzqqGTRDXDOvgErG+yCByDspta27+o+wQWIPR4Vqrw07d6tzwwMZPnoo4PEtLZ648gq4oK0fJW6K2YAh/SffGY= X-Yahoo-Newman-Id: 648932.11904.bm@smtp210.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 4d5FS3EVM1m6y_Vf6IwYoFMH2q2MzgcqPc4j2HwjQhaekhC A1jAlkMZhBNiDaeQzw0tf1zS3eIIVFJFhTGRyUS576.IWvTpgi73wSoLbE3W LsbTwv7UxA1CH53WyktZ59FJkTkwA3lILEdRTRhZAB_boWhSj2dczlj0LWdi HwWdkpPH9ac.rwZYiqWIJjSwFFfqTI8l95vBswXaVBO46z5spYR2y6dUcF9o 647lyFBJuWd48JhXxL4R9TLal_LcdwSm6ksp7TqvsyTyvU4WRIAByzPB0wnP 3CFx3Er51O0D268WyKc2iOOqBw1s.hKvPHbfQ1QrHhRc9d6obRbFqc6UyleI B0i.YWQIn6D634hW1AAw4OkIlPXHuuXnUY4hxHJArrrrEJp5Nc9nAP_gANwU jScXJKZC9FBJetQ9Kroc1NlPNA8IdshfpwIxNRCvJXF8vvj_.r96kXxHs.YH ERZQKnHKwd3E3WwINNIYx2eenunjAcAwx_uOOXCUGAedzI021F.jWoOUmd2r p1cwP0XDnp_W9cYs7VuR9HNUY_n.Zfgxq3tIs8c8Yo44LTl1t7_71zIZBjIt Bp4oT3obEJZDp6s7bIPVG5VHNCp_ft7Jxk5A37ezpotF4EYnOSVfyVFm_Y0z Pk17Y5w-- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u X-Rocket-Received: from mail-vb0-f41.google.com (axelbsd@209.85.212.41 with ) by smtp210.mail.gq1.yahoo.com with SMTP; 02 Oct 2013 03:57:22 -0700 PDT Received: by mail-vb0-f41.google.com with SMTP id g17so372108vbg.14 for ; Wed, 02 Oct 2013 03:57:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=djLgiYM186TC5GiVSk/ZK+5VGSg3P6NvxcIw2jruTJs=; b=N+/FS6vMubU8Wa77Y/hZsA0JyA+wpkoisZ6BlGArk/8YkWiVyZPtIH/QblQD/ynIUH /MGNTKRvmjN4w6kSzY+OU1gRvCE2B4utGQC1A+n1IAZHfqZRzW0tZq7eTcXqTgbPNsJ+ i/OhaTgaXGhB7tLiCAHAtyvXBUS0jI6tzpv5K9wYBef2X3NOX/SGt5/PRpulOWkd/Qbz H560qW/qe1wL29P9nrWlda6tr65ldzjjz6Ojx0dg7GLLEHiSFWbui/60xw/iObDb3P3R 2TvxAd5f8YDRd9PWn14HzL9IvECWnNR+QL+c/TXEMrybz//NvCmjx47Xu8c6lZg2/SQg 8qFg== X-Received: by 10.220.88.13 with SMTP id y13mr1498144vcl.20.1380711441243; Wed, 02 Oct 2013 03:57:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.59.10.199 with HTTP; Wed, 2 Oct 2013 03:57:00 -0700 (PDT) In-Reply-To: References: From: Alexandre Date: Wed, 2 Oct 2013 12:57:00 +0200 Message-ID: Subject: Re: mtree: line 21: unknown user auditdistd To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: alexus , "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 10:57:29 -0000 On Wed, Oct 2, 2013 at 8:01 AM, Trond Endrest=C3=B8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > 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=3D78(auditdistd) gid=3D77(audit) groups=3D77(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/temproo= t > > >> > > >> 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=C3=B8l, | Trond Endrest=C3=B8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=C3=B8vik Technical College, Norway, = | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Hi Trond and Alexus, The tool used by freebsd-update to merge system files is "merge(1)", not "mergemaster(8)". See manpage merge(1) http://www.freebsd.org/cgi/man.cgi?query=3Dmerge&apropos=3D0&sektion=3D0&ma= npath=3DFreeBSD+9.2-RELEASE&arch=3Ddefault&format=3Dhtml for more information. I use mergemaster(8) tool if I deal with sources system upgrade process. Kind regards, Alexandre