mtree: line 21: unknown user auditdistd

Trond Endrestøl Trond.Endrestol at fagskolen.gjovik.no
Wed Oct 2 06:01:35 UTC 2013


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 at f9 ~]# pwd_mkdb -p /etc/master.passwd
> [root at f9 ~]# id auditdistd
> uid=78(auditdistd) gid=77(audit) groups=77(audit)
> [root at 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 at 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 at 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 at 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.      |
+-------------------------------+------------------------------------+


More information about the freebsd-questions mailing list