Re: makeworld problem - my first attempt at this

2002-05-16 Thread Chip Wiegand

On Thu, 2002-05-16 at 13:59, Nuno Teixeira wrote:
 Hi Chip,
 
 I has the same problem (and a lot of more problems) when I use 
 mergemaster in my first update.
 
 At the time, someone said to me to use mergemaster in this form:
 
 # mergemaster -svia
 # mergemaster -svir
 
 The first command puts in /var/temproot all the files that differ from 
 installed versions.
 
 The second one is manual.
 
 I always used this method and never had a problem.
 
 Bye,
 
   Nuno Teixeira

I'll keep that handy. On my spare box I just reinstalled fbsd-4.4 and
now am doing cvsup stable-supfile. I'm going to do the whole process
over again to make sure I got it down. After all, what's a spare box for
anyway?

--
Chip W
www.wiegand.org
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Jonathan Chen

On Wed, May 15, 2002 at 04:23:08PM -0700, Chip Wiegand wrote:

[...]
 #make installworld
   faild again, same message as before - required smmsp user ismissing.
 According to UPDATING running mergemaster would take care of  this
 problem.
 
 That is where I am stuck. What to do now?

You can add the smmsp user and group manually to /etc/master.passwd and 
/etc/group. Remember to run pwd_mkdb, and then try the mergemaster again
-- 
Jonathan Chen [EMAIL PROTECTED]
--
   Lots of folks confuse bad management with destiny
 - Kin Hubbard

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Jonathan Chen

On Thu, May 16, 2002 at 11:27:08AM +1200, Jonathan Chen wrote:
 On Wed, May 15, 2002 at 04:23:08PM -0700, Chip Wiegand wrote:
 
 [...]
  #make installworld
  faild again, same message as before - required smmsp user ismissing.
  According to UPDATING running mergemaster would take care ofthis
  problem.
  
  That is where I am stuck. What to do now?
 
 You can add the smmsp user and group manually to /etc/master.passwd and 
 /etc/group. Remember to run pwd_mkdb, and then try the mergemaster again

The actual uids and gids can be found in /usr/src/etc/master.passwd
and /usr/src/etc/group.

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead. -- RFC 1925

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Mike Hoskins

On 15 May 2002, Chip Wiegand wrote:

 #make buildworld
 #make buildkernel KERNCONF=GENERIC
 #make installkernel KERNCONF=GENERIC
 #shutdown now
 #make installworld
   failed - required smmsp user is missing #/usr/src/usr.sbin/mergemaster
 -p
   -p not recognized option
 /usr/src/usr.sbin/mergemaster; make all install (without any options)
snip

Not sure why mergmaster doesn't have a -p option if it's built from latest
sources (mine does).  You could always add the user and group yourself
(installworld needs it to set file permissions...):

in /etc/passwd (broken by me):
  smmsp:*:25:25::0:0:Sendmail Submission User:\
/var/spool/clientmqueue:/sbin/nologin

in /etc/group:
  smmsp:*:25:

Did you modify your kernel at all?  Maybe you want to get building world
down first...  but you might as well tackle the kernel config file now, so
you build a kernel optimized for your system.  That would involve a cd to
/sys/i386/conf, cp GENERIC YOURKERNEL, then vi (or your favorite editor)
and commenting/adding as needed.  Refer to LINT for more detail on
specific options (and handbook).

Later,
-Mike

--
They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety.  --Benjamin Franklin


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Chip Wiegand

On Wed, 2002-05-15 at 17:27, Jonathan Chen wrote:
 On Wed, May 15, 2002 at 04:23:08PM -0700, Chip Wiegand wrote:
 
 [...]
  #make installworld
  faild again, same message as before - required smmsp user ismissing.
  According to UPDATING running mergemaster would take care ofthis
  problem.
  
  That is where I am stuck. What to do now?
 
 You can add the smmsp user and group manually to /etc/master.passwd and 
 /etc/group. Remember to run pwd_mkdb, and then try the mergemaster again
 -- 
 Jonathan Chen [EMAIL PROTECTED]

Thanks for the tips guys, it's running right now, has been for a while.
I ran pwd_mkdb /etc/master.passwd, then ran mergemaster -p, and this
time it worked. I don't know why mergemaster -p didn't work before. Even
the -help screen did not show -p as an available option.
Anyway, my first time at this and it appears to be going okay for now.

Thanks,
Chip W
www.wiegand.org
[EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread JJ Behrens

  [...]
   #make installworld
 faild again, same message as before - required smmsp user ismissing.
   According to UPDATING running mergemaster would take care of  this
   problem.
   
   That is where I am stuck. What to do now?
  
  You can add the smmsp user and group manually to /etc/master.passwd and 
  /etc/group. Remember to run pwd_mkdb, and then try the mergemaster again
  -- 
  Jonathan Chen [EMAIL PROTECTED]
 
 Thanks for the tips guys, it's running right now, has been for a while.
 I ran pwd_mkdb /etc/master.passwd, then ran mergemaster -p, and this
 time it worked. I don't know why mergemaster -p didn't work before. Even
 the -help screen did not show -p as an available option.
 Anyway, my first time at this and it appears to be going okay for now.

Hey everyone,

Do you think this is because he was running an older very of mergemaster?
Perhaps it was necessary to run the recently built mergemaster.  Afterall, 
mergemaster -p is run *before* make installworld and is thus an older version.
Whereas, when running mergemaster after make installworld, the newer version
is being used.  Perhaps we should document that when you use mergemaster -p,
it's probably safer to use the full path to the recently built mergemaster.

-jj

-- 
Users of C++ should consider hanging themselves rather than shooting their 
legs off--it's best not to use C++ simply as a better C.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Mike Hoskins

On Wed, 15 May 2002, JJ Behrens wrote:

 Do you think this is because he was running an older very of mergemaster?

That seemed likely, but as I recall (maybe I read the post wrong), he was
trying to specify the full path to the newly-built mergemaster residing
under /usr/src/usr.sbin...  (Using the correct mergemaster is mentioned in
UPDATING, which he said he'd read.)

Later,
-Mike

--
They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety.  --Benjamin Franklin


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Chip Wiegand

On Wed, 2002-05-15 at 18:51, Mike Hoskins wrote:
 On Wed, 15 May 2002, JJ Behrens wrote:
 
  Do you think this is because he was running an older very of mergemaster?
 
 That seemed likely, but as I recall (maybe I read the post wrong), he was
 trying to specify the full path to the newly-built mergemaster residing
 under /usr/src/usr.sbin...  (Using the correct mergemaster is mentioned in
 UPDATING, which he said he'd read.)
 
 Later,
 -Mike

Yes, I did use the full path to mergemaster. After it failed I tried
again inside the directory /usr/src/use.sbin/, and it still did not
work. This was before make installworld, as specified in UPDATING, of
course. After I ran pwd_mkdb I ran mergemaster again with the -p option
and it worked. I don't know if that utility had anything to do with it.
But it did finally work, and now make installworld is running,
half-an-hour now.
Another question -
In the handbook, 19.4.11 Update /dev, is the next step, but it is
unnecessary if using devfs. I don't know if I am using devfs. UPDATING
does not specify this step. Do I assume I am using devfs and assume
another mergemaster will take care of it?
Also in the handbook, 19.4.12 Update /stand, is not mentioned in the
UPDATING file. I know the handbook says it is not necessary, but is this
recommended?
The UPDATING file specifies to run mergemaster again after installworld,
I assume I run it without any options, correct?
Then a reboot should finish up the process.

Regards,
Chip W
www.wiegand.org
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message



Re: makeworld problem - my first attempt at this

2002-05-15 Thread Mike Hoskins

On 15 May 2002, Chip Wiegand wrote:

 The UPDATING file specifies to run mergemaster again after installworld,
 I assume I run it without any options, correct?
 Then a reboot should finish up the process.

I usually do `mergemaster -i` after installworld.  That will sync up any
config changes between your system and the new src tree.  If something
like MAKEDEV gets installed, it will prompt you to rebuild your devices.

*another pat on back for Douglas Barton*

Later,
-Mike

--
They that can give up essential liberty to obtain a little temporary
 safety deserve neither liberty nor safety.  --Benjamin Franklin


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-stable in the body of the message