[FUGSPBR] CVSUP: Erro no make installworld
    Patrick Tracanelli 
    eksffa em bsd.com.br
       
    Sáb Maio 25 14:35:07 BRT 2002
    
    
  
Cesar Cantarella wrote:
[..]
> buildworld. Qdo fui fazer o make buildkernel KERNCONF=GENERIC (o meu 
> kernel nao eh esse, mas ele nao encontrava o meu kernel e fiz com o 
> GENERIC mesmo), depois fiz o make installkernel KERNCONF=GENERIC e por 
> ultimo o make installeworld, nessa hora olha o que deu:
pode fazer make buildkernel KERNEL=SEU_KERNEL && make installkernel 
KERNEL=SEU_KERNEL ele assume a variavel correta... KERNCONF nao 
raramente insiste no GENERIC...
> # ERROR: Required smmsp user is missing, see /usr/src/UPDATING.
> # *** Error code 1
Conforme historico do /usr/src/UPDATING:
	Due to the import of sendmail 8.12.2, a new user and group are
         required in order for sendmail to run as a set-group-ID
         binary.  A 'make installworld' will use the new user and group
         to set the owner and group of /var/spool/clientmqueue and will
         fail if the new user and group do not exist.  The 'smmsp' user
         and group must be merged from src/etc/group and
         src/etc/master.passwd before using 'make installworld'.
         'mergemaster -p' will do this.  You may need to install
         mergemaster before this will work if you are updating from a
         very old version of current.  The updating recipe has changed
         as of this date.
  A partir do freeze da arvore do freebsd 4.5 portanto, a ordem do make 
world inclui o mergepaster -p logo antes do make installworld... mais um 
  MFC, isso ja acontecia no freebsd 5, entao podemos assumir a ordem
cd /usr/src
make buildworld
make buildkernel KERNEL=SEU_KERNEL
make installkernel KERNEL=SEU_KERNEL
( aki tu decide se vai entrar em modo monousuariou ou continuar em multi...)
mergemaster -p
make installworld
mergemaster
shutdown -r now
   Se nao me engano o Maia teve problema com esse mesmo usuario do 
sendmail ainda no freebsd 4.5...segundo consta no historico do -CURRENT 
essa alteracao eh do snapshot 20020217, desde Fevereiro desse ano 
portanto, mas nao sei quando passou a ser MFC, de qualquer forma se voce 
*nao* for usar sendmail da um 'pw user add smmsp' qualquer soh pra 
passar  por essa fase (pw group add smmsp tambem) mas caso voce for usar 
sendmail a entrada tem que ser assim:
smmsp:*:25:25::0:0:Sendmail Submission 
User:/var/spool/clientmqueue:/sbin/nologin
E grupo:
smmsp:*:25:
Mas se o sendmail for seu MTA de escolha:
pw groupadd -n smmsp -g 25
pw useradd smmp -c "Sendmail Submission User" -u 25 -d 
/var/spool/clientmqueue -g 25 -s /sbin/nologin
Isso vai resolver - igual mergemaster -p resolveria
Espero q esse seja o unico problema ;-)
Paz Profunda,
[]'z Patrick Tracanelli
-- 
+-----------------------------------------------+---------+
| Patrick Leandro Tracanelli do Carmo           | (   )   |
| Parallel Processing & BSD Unix enthusiastic   | (O_O)   |
| FreeBSD 5.0-CURRENT i386 SMP #21              | \`-'/  w|
| Faculdade de Tecnologia Taquaritinga / Unesp  | (   )__||
|===============================================| /m`m\   |
| eksffa em bsd.com.br, eksffa em fatectq.com.br      | FreeBSD |
+-----------------------------------------------+---------+
Long live Hanin Elias, Kim Deal!!! ;-)
~
~
______________________________________________
http://www2.fugspbr.org/mailman/listinfo/fugspbr
    
    
Mais detalhes sobre a lista de discussão freebsd