Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 11:37:10 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        "Vanco, Juraj" <juraj.vanco@intel.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD 11.1 - unknown group wheel
Message-ID:  <CAOtMX2iGkJtWoOnnHgL2EDyMf6BfzWG3V4N8SpVxqr3XQbx9JA@mail.gmail.com>
In-Reply-To: <996B37956731CF40B1A674B085ACCE9440BFA2B9@IRSMSX103.ger.corp.intel.com>
References:  <996B37956731CF40B1A674B085ACCE9440BFA2B9@IRSMSX103.ger.corp.intel.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Check your /etc/nsswitch.conf file.  It's possible to screw that up so
that /etc/groups doesn't even get checked.
-Alan

On Tue, Aug 1, 2017 at 11:27 AM, Vanco, Juraj <juraj.vanco@intel.com> wrote:
> Hello,
>
> I am trying to build a kernel in FreeBSD 11.0, however I am getting a message
>
> mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist  -p /usr/obj/usr/src/tmp/usr >/dev/null
> mtree: unknown group `wheel'
> mtree: failed at line 6 of the specification
> *** Error code 1
>
>
> However the group is known:
> # cat /etc/group | head -n 3
> # $FreeBSD: releng/11.0/etc/group 294896 2016-01-27 06:28:56Z araujo $
> #
> wheel:*:0:root
>
>
> and currently used:
> # groups
> 0
>
>
> Running any query on group result with zero answer:
> # getent group wheel
> #
> # getent group video
> #
>
>
> Similar result gives mergemaster:
> # mergemaster -p
>
> *** 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] d
>
>    *** Deleting the old /var/tmp/temproot
>
> *** 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: unknown group wheel
>
>
> I cannot find if this is any known issue... Any clue?
>
> jv
> --------------------------------------------------------------
> Intel Research and Development Ireland Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
>
>
> This e-mail and any attachments may contain confidential material for the sole
> use of the intended recipient(s). Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient, please contact the
> sender and delete all copies.
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



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