I can't make world without the "games" group?

Giorgos Keramidas keramida at ceid.upatras.gr
Tue Aug 26 15:04:40 UTC 2008


On Tue, 26 Aug 2008 16:26:36 +0300, Giorgos Keramidas <keramida at freebsd.org> wrote:
> # Removing <advocacy at freebsd.org> from the recipient list.  This isn't
> # really a thread about marketing or promoting FreeBSD, so it's a bit
> # off-topic for that list.
>
> On Tue, 26 Aug 2008 11:01:03 +0200, "Redd Vinylene" <reddvinylene at gmail.com> wrote:
>>> Have you tried building with an src.conf file that includes:
>>>
>>>    WITHOUT_GAMES='yes'
>>>
>>> It' not a matter of `kindergarten or not', but a matter of providing a
>>> predictable `base system' by default and all the knob and documentation
>>> to customize it at will.  That's why you can find a lot of customization
>>> options in the manpage of src.conf(5).
>>
>> Hello hello!
>> Yeah I actually tried that, but I got the same error.
>
> Ok, this may be a bug in the makefiles then.  My apologies if you have
> already written all that.  I caught the email thread some time after it
> started, and I replied while being offline on a trip.

Hi Redd,

You are right I think.  I just reproduced this a few minutes ago, by
deleting the `games' group and user from my password file and installing
a userland compiled with WITHOUT_GAMES=yes.

Apparently, you can *build* everything when `WITHOUT_GAMES=yes', but
when I tried to installworld the resulting distribution, the initial
steps of the installation fail with:

% --------------------------------------------------------------
% >>> Making hierarchy
% --------------------------------------------------------------
% cd /home/build/src; make -f Makefile.inc1 hierarchy
% cd /home/build/src/etc;         make distrib-dirs
% mtree -eU  -f /home/build/src/etc/mtree/BSD.root.dist -p /
% mtree -eU  -f /home/build/src/etc/mtree/BSD.var.dist -p /var
% mtree: line 48: unknown group games
% *** Error code 1
%
% Stop in /home/build/src/etc.
% *** Error code 1
%
% Stop in /home/build/src.
% *** Error code 1
%
% Stop in /home/build/src.
% *** Error code 1
%
% Stop in /home/build/src.
% *** Error code 1
%
% Stop in /home/build/src.
% root at kobe:/home/build/src#

That's because src/etc/mtree/BSD.usr.dist and BSD.var.dist include
references to the `games' user and group.  I'll try to split the
relevant bits in a new `BSD.games.dist' file which will be conditionally
passed to mtree(8) depending on WITHOUT_GAMES.

Is this the same error as the one you are seeing?  When I prepare a
patch for this, would you be willing to test it for me?

- Giorgos



More information about the freebsd-questions mailing list