Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2013 12:57:00 +0200
From:      Alexandre <axelbsd@ymail.com>
To:        =?UTF-8?Q?Trond_Endrest=C3=B8l?= <Trond.Endrestol@fagskolen.gjovik.no>
Cc:        alexus <alexus@gmail.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: mtree: line 21: unknown user auditdistd
Message-ID:  <CA%2B8gk9-Z3rWMaHcr6ANMJBR_B4NW_j3TGPaDR7An0j%2BnesTv6w@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1310020758530.70367@mail.fig.ol.no>
References:  <CAJxePNKkLpFdX6yh6Y02QoKcLWt26YW-XEBnajxOcsXLWUubgA@mail.gmail.com> <CAJxePNJ%2BHHbDoxOAquwBSGi4mCzmMJi7SfJ8Ok46GLOBQWiWbA@mail.gmail.com> <CAJxePNJYVGtem%2BXyqZH9WSL-5acWeyzcehKuYFhzYt963%2BrXVg@mail.gmail.com> <alpine.BSF.2.00.1310020758530.70367@mail.fig.ol.no>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <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/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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B8gk9-Z3rWMaHcr6ANMJBR_B4NW_j3TGPaDR7An0j%2BnesTv6w>