Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2013 08:01:29 +0200 (CEST)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        alexus <alexus@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: mtree: line 21: unknown user auditdistd
Message-ID:  <alpine.BSF.2.00.1310020758530.70367@mail.fig.ol.no>
In-Reply-To: <CAJxePNJYVGtem%2BXyqZH9WSL-5acWeyzcehKuYFhzYt963%2BrXVg@mail.gmail.com>
References:  <CAJxePNKkLpFdX6yh6Y02QoKcLWt26YW-XEBnajxOcsXLWUubgA@mail.gmail.com> <CAJxePNJ%2BHHbDoxOAquwBSGi4mCzmMJi7SfJ8Ok46GLOBQWiWbA@mail.gmail.com> <CAJxePNJYVGtem%2BXyqZH9WSL-5acWeyzcehKuYFhzYt963%2BrXVg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
  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 <alexus@gmail.com> 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 <alexus@gmail.com> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1310020758530.70367>