Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2008 18:04:26 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "Redd Vinylene" <reddvinylene@gmail.com>
Cc:        bugs@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: I can't make world without the "games" group?
Message-ID:  <87wsi3q0lh.fsf@kobe.laptop>
In-Reply-To: <87abezx5yr.fsf@kobe.laptop> (Giorgos Keramidas's message of "Tue, 26 Aug 2008 16:26:36 %2B0300")
References:  <f1019d520808010831s39c803fan9a35fcd17f010fc5@mail.gmail.com> <87abf487wg.fsf@kobe.laptop> <f1019d520808260201o27009529v43aa7ae8c35d7304@mail.gmail.com> <87abezx5yr.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 26 Aug 2008 16:26:36 +0300, Giorgos Keramidas <keramida@freebsd.org> wrote:
> # Removing <advocacy@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@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@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




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