rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Anton Shterenlikht
The fbsd manual states in section 24.7 Rebuilding world:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

in subsection 24.7.6 Remove /usr/obj

*quote*
Some files below /usr/obj may have the immutable flag set (see chflags(1) for 
more information) which must be removed first.

# cd /usr/obj
# chflags -R noschg *
*end quote*

I've never seen a file under /usr/obj/ with immutable flag set.

Why would there be object files with immutable flag set?
Is this step really necessary?

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Polytropon
On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht me...@bristol.ac.uk 
wrote:
 I've never seen a file under /usr/obj/ with immutable flag set.

I think it was a directory called empty/ that couldn't be removed
unless the flag was unset. This makes this step neccessary when
you rm -rf /usr/obj the object subtree.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Arthur Chance

On 09/23/10 15:10, Polytropon wrote:

On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikhtme...@bristol.ac.uk  
wrote:

I've never seen a file under /usr/obj/ with immutable flag set.


I think it was a directory called empty/ that couldn't be removed
unless the flag was unset. This makes this step neccessary when
you rm -rf /usr/obj the object subtree.


I think you're thinking of /var/empty, not something under /usr/obj. On 
my machine find fails to find anything immutable under /usr/obj.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Balázs Mátéffy
Hello!

Anton is right, really the handbook says that it MAY contain, so it's not
necessary that after every build there will be some files with the immutable
flag.

OFF: Long long time ago one night when I was playing with jails (to be exact
I was building and making work my first jail by hand) I got to know this
little thing known as immutable, after building a jail, and after #@$ing it
up (sry :)) I could not delete it. It was a funny discovery I remember I was
new to FBSD and unix in general:).
ON:

I think maybe in older releases the build process may have used the
immutable flag at build??, but the test machine I tried, started out as
maybe 5.2, and I never had this issue once. Now I'm at 8.1-REL. After you
make installworld you get some files immutable, check this:

# cd /usr/src/
# make installworld DESTDIR=/usr/home/testworld/
# cd /usr/home/testworld
# find . -xdev -flags +schg -exec ls -la {} \;
-r-sr-xr-x  1 root  wheel  18584 Sep 23 16:54 ./bin/rcp
-r--r--r--  1 root  wheel  1150968 Sep 23 16:53 ./lib/libc.so.7
-r--r--r--  1 root  wheel  32104 Sep 23 16:53 ./lib/libcrypt.so.5
-r--r--r--  1 root  wheel  76412 Sep 23 16:54 ./lib/libthr.so.3
-r-xr-xr-x  1 root  wheel  220596 Sep 23 16:54 ./libexec/ld-elf.so.1
-r-xr-xr-x  1 root  wheel  663616 Sep 23 16:55 ./sbin/init
-r-sr-xr-x  6 root  wheel  18588 Sep 23 16:56 ./usr/bin/chpass
-r-sr-xr-x  6 root  wheel  18588 Sep 23 16:56 ./usr/bin/chfn
-r-sr-xr-x  6 root  wheel  18588 Sep 23 16:56 ./usr/bin/chsh
-r-sr-xr-x  6 root  wheel  18588 Sep 23 16:56 ./usr/bin/ypchpass
-r-sr-xr-x  6 root  wheel  18588 Sep 23 16:56 ./usr/bin/ypchfn
-r-sr-xr-x  6 root  wheel  18588 Sep 23 16:56 ./usr/bin/ypchsh
-r-sr-xr-x  1 root  wheel  21836 Sep 23 16:56 ./usr/bin/login
-r-sr-xr-x  1 root  wheel  4792 Sep 23 16:56 ./usr/bin/opieinfo
-r-sr-xr-x  1 root  wheel  11868 Sep 23 16:56 ./usr/bin/opiepasswd
-r-sr-xr-x  2 root  wheel  6160 Sep 23 16:56 ./usr/bin/passwd
-r-sr-xr-x  2 root  wheel  6160 Sep 23 16:56 ./usr/bin/yppasswd
-r-sr-xr-x  1 root  wheel  11244 Sep 23 16:56 ./usr/bin/rlogin
-r-sr-xr-x  1 root  wheel  8896 Sep 23 16:56 ./usr/bin/rsh
-r-sr-xr-x  1 root  wheel  14500 Sep 23 16:56 ./usr/bin/su
-r-sr-xr-x  1 root  wheel  27044 Sep 23 16:56 ./usr/bin/crontab
-r--r--r--  1 root  wheel  16604 Sep 23 16:54 ./usr/lib/librt.so.1
total 4
dr-xr-xr-x   2 root  wheel  512 Sep 23 16:53 .
drwxr-xr-x  22 root  wheel  512 Sep 23 16:53 ..

# rm -rf testworld/
rm: testworld/bin/rcp: Operation not permitted
rm: testworld/bin: Directory not empty
rm: testworld/lib/libc.so.7: Operation not permitted
rm: testworld/lib/libcrypt.so.5: Operation not permitted
rm: testworld/lib/libthr.so.3: Operation not permitted
rm: testworld/lib: Directory not empty
rm: testworld/libexec/ld-elf.so.1: Operation not permitted
rm: testworld/libexec: Directory not empty
rm: testworld/sbin/init: Operation not permitted
and so on...

Anton if you wanna be sure just do it, or test it with the version you are
using, but I don't think you will find any immutable files in /usr/obj

/usr/obj]# find . -flags +schg -exec ls -la {} \;
/usr/obj]#


Sorry if this was a bit long, but I hope it helpded!

Regards,

Balazs.



On 23 September 2010 16:42, Arthur Chance free...@qeng-ho.org wrote:

 On 09/23/10 15:10, Polytropon wrote:

 On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht
 me...@bristol.ac.uk  wrote:

 I've never seen a file under /usr/obj/ with immutable flag set.


 I think it was a directory called empty/ that couldn't be removed
 unless the flag was unset. This makes this step neccessary when
 you rm -rf /usr/obj the object subtree.


 I think you're thinking of /var/empty, not something under /usr/obj. On my
 machine find fails to find anything immutable under /usr/obj.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Anton Shterenlikht
On Thu, Sep 23, 2010 at 05:17:40PM +0200, Bal?zs M?t?ffy wrote:
 
 I think maybe in older releases the build process may have used the
 immutable flag at build??, but the test machine I tried, started out as
 maybe 5.2, and I never had this issue once.

*skip*

 Anton if you wanna be sure just do it, or test it with the version you are
 using, but I don't think you will find any immutable files in /usr/obj

I'm thinking about updating the handbook on this issue.
So I was hoping to hear a definite answer that there will
not be any files under /usr/obj/ with immutable flags.

I can't see a need for immutable flag for obj files,
but I have been wrong before..

thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: rebuilding world - is chflags -R noschg * necessary?

2010-09-23 Thread Rob Farmer
On Thu, Sep 23, 2010 at 04:02, Anton Shterenlikht me...@bristol.ac.uk wrote:
 The fbsd manual states in section 24.7 Rebuilding world:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

 in subsection 24.7.6 Remove /usr/obj

 *quote*
 Some files below /usr/obj may have the immutable flag set (see chflags(1) for 
 more information) which must be removed first.

 # cd /usr/obj
 # chflags -R noschg *
 *end quote*

 I've never seen a file under /usr/obj/ with immutable flag set.

 Why would there be object files with immutable flag set?
 Is this step really necessary?

It will happen on amd64 if you build the lib32 bits (i386
compatibility libraries).

-- 
Rob Farmer


 many thanks
 anton

 --
 Anton Shterenlikht
 Room 2.6, Queen's Building
 Mech Eng Dept
 Bristol University
 University Walk, Bristol BS8 1TR, UK
 Tel: +44 (0)117 331 5944
 Fax: +44 (0)117 929 4423
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
I have a problem with amd.  It's not working right, and I don't think I 
can fix it without rebuilding it.


Here's the problems:

# uname -a
FreeBSD utd65257.utdallas.edu 7.2-STABLE FreeBSD 7.2-STABLE #12: Wed May 
6 12:12:16 CDT 2009 
r...@utd65257.utdallas.edu:/usr/obj/usr/src/sys/GENERIC  i386


amd appears to be obtaining the correct information from my system:

# amd -r
May  9 13:38:22 utd65257 amd[22655]/info:  no logfile defined; using stderr
May  9 13:38:22 utd65257 amd[22655]/info:  AM-UTILS VERSION INFORMATION:
May  9 13:38:22 utd65257 amd[22655]/info:  Copyright (c) 1997-2006 Erez 
Zadok
May  9 13:38:22 utd65257 amd[22655]/info:  Copyright (c) 1990 Jan-Simon 
Pendry
May  9 13:38:22 utd65257 amd[22655]/info:  Copyright (c) 1990 Imperial 
College of Science, Technology  Medicine
May  9 13:38:22 utd65257 amd[22655]/info:  Copyright (c) 1990 The Regents 
of the University of California.
May  9 13:38:22 utd65257 amd[22655]/info:  am-utils version 6.1.5 (build 
702100).
May  9 13:38:22 utd65257 amd[22655]/info:  Report bugs to 
https://bugzilla.am-utils.org/ or am-ut...@am-utils.org.
May  9 13:38:22 utd65257 amd[22655]/info:  Configured by David O'Brien 
obr...@freebsd.org on date 4-December-2007 PST.
May  9 13:38:22 utd65257 amd[22655]/info:  Built by 
r...@utd65257.utdallas.edu on date Wed May  6 11:44:19 CDT 2009.
May  9 13:38:22 utd65257 amd[22655]/info:  cpu=i386 (little-endian), 
arch=i386, karch=i386.
May  9 13:38:22 utd65257 amd[22655]/info:  full_os=freebsd7.2, 
os=freebsd7, osver=7.2, vendor=undermydesk, distro=The FreeBSD Project.
May  9 13:38:22 utd65257 amd[22655]/info:  domain=utdallas.edu, 
host=utd65257, hostd=utd65257.utdallas.edu.
May  9 13:38:22 utd65257 amd[22655]/info:  Map support for: root, passwd, 
union, nis, ndbm, file, exec, error.
May  9 13:38:22 utd65257 amd[22655]/info:  AMFS: nfs, link, nfsx, nfsl, 
host, linkx, program, union, ufs, cdfs,
May  9 13:38:22 utd65257 amd[22655]/info:pcfs, auto, direct, 
toplvl, error, inherit.
May  9 13:38:22 utd65257 amd[22655]/info:  FS: cd9660, nfs, nfs3, nullfs, 
msdosfs, ufs, unionfs.
May  9 13:38:22 utd65257 amd[22655]/info:  Network: wire=129.110.3.0 
(netnumber=129.110.3).

May  9 13:38:22 utd65257 amd[22655]/info:  My ip addr is 127.0.0.1

But it can't seem to parse the amd.conf file correctly:

# amd -F /etc/amd.conf
AMDCONF: syntax error on line 2 (section global)

However the conf file is correct:

# cat -n /etc/amd.conf
1   # GLOBAL OPTIONS SECTION
2   [global]
3   auto_dir=/.amd_net

I have tried putting spaces on either side of global without success.  I 
have tried using different types of brackets without success.  The global 
line is correct yet amd claims that it is not.


That's not all.  There are some settings for amd_flags in 
/etc/defaults/rc.conf:


grep amd_flags= /etc/defaults/rc.conf
bootparamd_flags=   # Flags to bootparamd
amd_flags=-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map

If I override those flags by adding amd_flags to /etc/rc.conf, amd will 
not run:


# grep amd_flags /etc/rc.conf
amd_flags=-l /var/log/amd.log

# /etc/rc.d/amd start
NFS access cache time=60
Starting amd.

[r...@utd65257 ~]# /etc/rc.d/amd status
amd is not running.

It runs fine with the default flags:

# grep amd_flags /etc/rc.conf
#amd_flags=-l /var/log/amd.log

# /etc/rc.d/amd start
NFS access cache time=60
Starting amd.

# /etc/rc.d/amd status
amd is running as pid 23091.

I'd like to rebuild amd without having to rebuild world as well, although 
I'll do that if I have to.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Michael Powell
Paul Schmehl wrote:

 I have a problem with amd.  It's not working right, and I don't think I
 can fix it without rebuilding it.
[snip]
 
 I'd like to rebuild amd without having to rebuild world as well, although
 I'll do that if I have to.
 
[...]

I think you can just cd to /usr/src/sys/modules/amd and do:

make obj  make depend  make  make install to rebuild the kernel
module by itself.

For the userland side it would be cd /usr/src/usr.sbin/amd/amd and

make obj  make depend  make  make install

I think.

-Mike




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Michael Powell
Michael Powell wrote:

 Paul Schmehl wrote:
 
 I have a problem with amd.  It's not working right, and I don't think I
 can fix it without rebuilding it.
 [snip]
 
 I'd like to rebuild amd without having to rebuild world as well, although
 I'll do that if I have to.
 
 [...]
 
 For the userland side it would be cd /usr/src/usr.sbin/amd/amd and

OOPs - make that: cd /usr/src/usr.sbin/amd   typo on me
 
 make obj  make depend  make  make install
 
-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 3:40:23 PM -0500 Michael Powell nightre...@verizon.net 
wrote:




Paul Schmehl wrote:


I have a problem with amd.  It's not working right, and I don't think I
can fix it without rebuilding it.

[snip]


I'd like to rebuild amd without having to rebuild world as well,
although I'll do that if I have to.


[...]

I think you can just cd to /usr/src/sys/modules/amd and do:

make obj  make depend  make  make install to rebuild the kernel
module by itself.

For the userland side it would be cd /usr/src/usr.sbin/amd/amd and

make obj  make depend  make  make install

I think.


Thanks.  That worked (with the correction you posted later), but I still 
have the same problem.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 3:45:43 PM -0500 Michael Powell nightre...@verizon.net 
wrote:



[...]

For the userland side it would be cd /usr/src/usr.sbin/amd/amd and


OOPs - make that: cd /usr/src/usr.sbin/amd   typo on me


make obj  make depend  make  make install



There are two related files in /boot/kernel:

# ls -lsa /boot/kernel/amd.ko*
24 -r-xr-xr-x  1 root  wheel  24414 May  9 16:37 /boot/kernel/amd.ko
78 -r-xr-xr-x  1 root  wheel  79484 May  6 12:36 
/boot/kernel/amd.ko.symbols


The amd.ko.symbols file was created when I upgraded to 7.2 last Wednesday. 
What creates that file?  And how do I update it?  Could it be the cause of 
the problem?


All the other related files were updated today.

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Michel Talon
Paul Schmehl wrote:
 The amd.ko.symbols file was created when I upgraded to 7.2 last
 Wednesday.  What creates that file?  And how do I update it?  Could it
 be the cause of the problem?

The amd.ko kernel module has nothing to do with the automounter. It is a
device driver for some hardware (man 4 amd).

As for your config file, it seems fine at first sight, but perhaps there
are some invisible characters in it causing problems. The syntax is
explained in 
man amd.conf


-- 

Michel TALON

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 5:54:28 PM -0500 Michel Talon ta...@lpthe.jussieu.fr 
wrote:




Paul Schmehl wrote:

The amd.ko.symbols file was created when I upgraded to 7.2 last
Wednesday.  What creates that file?  And how do I update it?  Could it
be the cause of the problem?


The amd.ko kernel module has nothing to do with the automounter. It is a
device driver for some hardware (man 4 amd).

As for your config file, it seems fine at first sight, but perhaps there
are some invisible characters in it causing problems. The syntax is
explained in
man amd.conf



Thanks.  I moved the amd.conf file to amd.conf.bak and created a new one. 
Amd still thinks there's a problem:


# amd -F /etc/amd.conf
AMDCONF: syntax error on line 2 (section global)

# cat /etc/amd.conf
# GLOBAL OPTIONS SECTION
[global]

I think I'm going to csup sources again and rebuild world.

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Rebuilding world

2007-10-27 Thread Bruce Cran

Aryeh M. Friedman wrote:

Roberth Sjonøy wrote:

Hello, i am updating FreeBSD to 8-CURRENT, and im at the 23.4.1 The
Canonical Way to Update Your System part of the handbook, when
running make buildworld, this occours:
  


Before anyone gets on my friends case he is using 6.2 (i386) with the
current cvsup files on a dual core (1MB RAM).   Also note I told him to
post this note.


May I ask why you want to run 8-CURRENT?  It's almost certainly not 
suitable for someone just starting out with FreeBSD due to the constant 
breakages which occur, both in terms of kernel code and compatibility 
with installed software.


--
Bruce
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding world

2007-10-23 Thread Erik Cederstrand

Roberth Sjonøy wrote:

Hello, i am updating FreeBSD to 8-CURRENT, and im at the 23.4.1 The
Canonical Way to Update Your System part of the handbook, when
running make buildworld, this occours:

install -o root -g wheel -m 444 dir-tmpl /usr/share/info/dir
install:No such file or directory
***Error code 1

Stop in /usr/src/share/info.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.

Anyone know what to do?


Apparently, make buildworld can't find the program install. What does 
which install tell you? Also, do you happen to have built world 
earlier with a NO_INFO/WITHOUT_INFO set?


Erik
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rebuilding world

2007-10-21 Thread Roberth Sjonøy
Hello, i am updating FreeBSD to 8-CURRENT, and im at the 23.4.1 The
Canonical Way to Update Your System part of the handbook, when
running make buildworld, this occours:

install -o root -g wheel -m 444 dir-tmpl /usr/share/info/dir
install:No such file or directory
***Error code 1

Stop in /usr/src/share/info.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.

Anyone know what to do?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding world

2007-10-21 Thread Aryeh M. Friedman
Roberth Sjonøy wrote:
 Hello, i am updating FreeBSD to 8-CURRENT, and im at the 23.4.1 The
 Canonical Way to Update Your System part of the handbook, when
 running make buildworld, this occours:
   

Before anyone gets on my friends case he is using 6.2 (i386) with the
current cvsup files on a dual core (1MB RAM).   Also note I told him to
post this note.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding world

2007-10-21 Thread Bruce Cran

Roberth Sjonøy wrote:

Hello, i am updating FreeBSD to 8-CURRENT, and im at the 23.4.1 The
Canonical Way to Update Your System part of the handbook, when
running make buildworld, this occours:

install -o root -g wheel -m 444 dir-tmpl /usr/share/info/dir
install:No such file or directory
***Error code 1

Stop in /usr/src/share/info.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.
***Error code 1

Stop in /usr/src.

Anyone know what to do?


I don't know what to do about the error, but are you *sure* you want to 
be running 8-CURRENT?  It's very very new and will probably break in 
many ways in the coming months.  You almost certainly want to be running 
7-BETA1 (from the RELENG_7 branch) which is current at BETA1 stage - 
HEAD recently changed from 7-CURRENT to become 8-CURRENT.


--
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding world

2007-10-21 Thread Jonathan Chen
On Sun, Oct 21, 2007 at 01:22:51AM +0200, Roberth Sjon?y wrote:
 Hello, i am updating FreeBSD to 8-CURRENT, and im at the 23.4.1 The
 Canonical Way to Update Your System part of the handbook, when
 running make buildworld, this occours:
 
 install -o root -g wheel -m 444 dir-tmpl /usr/share/info/dir
 install:No such file or directory

[...]
 Anyone know what to do?

I hope you realise that if you're running 8-CURRENT (aka Bleeding Edge),
the expected course of actions are:

1. ask at freebsd-current@
2. fix it yourself (and inform -current).

Cheers.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding World Failed

2007-04-03 Thread Dominique Goncalves

Hi,

On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:

Hello,

I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
world. I have followed the steps in the handbook at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

I used csup to get the latest updates of both ports-all tag=. and src-all
tag=RELENG_6

What I did:
-updated via csup
-droped to single user mode
-cleared out /usr/obj
-make -j4 buildworld
-make buildkernel KERNCONF=my kern config
-make installkernel KERNCONF=my kern config
-rebooted into the new kernel; everything worked fine
-dropped to single user mode
-make installworld

During the installworld process I got the following output (Caught with
script installworld.out):


Script started on Mon Apr  2 23:42:05 2007
# pwd
/usr/src
# make installworld
mkdir -p /tmp/install.hC53vnAg
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl
test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
/usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
awk: Permission denied
/usr/src/Makefile.inc1, line 101: warning: awk
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
/usr/include/osreldate.h returned non-zero status
echo:Permission denied
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# exit

Script done on Mon Apr  2 23:42:14 2007




Do you have your root partitions (/, /usr ...) in r/w mode ?
There is a paragraph in the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER

Hope this helps.
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding World Failed

2007-04-03 Thread Schiz0

Hey,

I normally boot into multi-user mode, then drop down to single user mode via
shutdown now. When I run fsck and mount, those commands aren't found. I
checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when I
boot into multiuser mode, then drop down to single user, the filesystems are
still mounted, aren't they? I recompiled world, but I messed up my system
and had to reinstall FreeBSD alltogether. When I did it the first time, I
did it the same way and it worked fine.

On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:


Hi,

On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
 Hello,

 I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
 world. I have followed the steps in the handbook at:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

 I used csup to get the latest updates of both ports-all tag=. and
src-all
 tag=RELENG_6

 What I did:
 -updated via csup
 -droped to single user mode
 -cleared out /usr/obj
 -make -j4 buildworld
 -make buildkernel KERNCONF=my kern config
 -make installkernel KERNCONF=my kern config
 -rebooted into the new kernel; everything worked fine
 -dropped to single user mode
 -make installworld

 During the installworld process I got the following output (Caught with
 script installworld.out):

 
 Script started on Mon Apr  2 23:42:05 2007
 # pwd
 /usr/src
 # make installworld
 mkdir -p /tmp/install.hC53vnAg
 for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
 grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
sysctl
 test true uname wc zic; do  cp `which $prog`
/tmp/install.hC53vnAg;  done
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
 CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac

PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
 /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
 awk: Permission denied
 /usr/src/Makefile.inc1, line 101: warning: awk
 '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
 /usr/include/osreldate.h returned non-zero status
 echo:Permission denied
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 # exit

 Script done on Mon Apr  2 23:42:14 2007

 

Do you have your root partitions (/, /usr ...) in r/w mode ?
There is a paragraph in the handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER

Hope this helps.
___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding World Failed

2007-04-03 Thread Schiz0

I'm using 6.2-STABLE. Nothing is set read-only.

[EMAIL PROTECTED] ~]$ mount
/dev/ad0s1a on / (ufs, local, noatime)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, noatime, noexec, nosuid, soft-updates)
/dev/ad0s1f on /usr (ufs, local, noatime, soft-updates)
/dev/ad0s1d on /var (ufs, local, noatime, soft-updates)

On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:


On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
 Hey,

 I normally boot into multi-user mode, then drop down to single user mode
via
 shutdown now. When I run fsck and mount, those commands aren't found.
I
 checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when
I
 boot into multiuser mode, then drop down to single user, the filesystems
are
 still mounted, aren't they? I recompiled world, but I messed up my
system
 and had to reinstall FreeBSD alltogether. When I did it the first time,
I
 did it the same way and it worked fine.

In doubt check with the 'mount' command to see if your filesystems are
read-only.
Usually, I don't boot in single user mode to make instalworld but it
depends on what your box do, mine is just a desktop :-)

By the way, what release are you tracking ? I never had such problem
with RELEASE or -STABLE branch.


 On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:
  Hi,
 
  On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
   Hello,
  
   I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to
rebuild
   world. I have followed the steps in the handbook at:
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  
   I used csup to get the latest updates of both ports-all tag=. and
 src-all
   tag=RELENG_6
  
   What I did:
   -updated via csup
   -droped to single user mode
   -cleared out /usr/obj
   -make -j4 buildworld
   -make buildkernel KERNCONF=my kern config
   -make installkernel KERNCONF=my kern config
   -rebooted into the new kernel; everything worked fine
   -dropped to single user mode
   -make installworld
  
   During the installworld process I got the following output (Caught
with
   script installworld.out):
  
  
 
   Script started on Mon Apr  2 23:42:05 2007
   # pwd
   /usr/src
   # make installworld
   mkdir -p /tmp/install.hC53vnAg
   for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
find
   grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
 sysctl
   test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;
 done
   cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj
 MACHINE_ARCH=i386  MACHINE=i386
   CPUTYPE=
 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
  

PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
   /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
   awk: Permission denied
   /usr/src/Makefile.inc1, line 101: warning: awk
   '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
   /usr/include/osreldate.h returned non-zero status
   echo:Permission denied
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   # exit
  
   Script done on Mon Apr  2 23:42:14 2007
  
  
 
 
  Do you have your root partitions (/, /usr ...) in r/w mode ?
  There is a paragraph in the handbook
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER
 
  Hope this helps.
  ___
   freebsd-questions@freebsd.org mailing list
  
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
  Regards.
 
  --
  There's this old saying: Give a man a fish, feed him for a day. Teach
  a man to fish, feed him for life.
 



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding World Failed

2007-04-03 Thread Schiz0

My box is going to be used as a server. But I'm just setting it up now, so
there aren't any other users nor major daemon's running on the system.

So I don't have to be a single user mode to do all this? Rebuild the kernel
and world, that is?

On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:


On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
 Hey,

 I normally boot into multi-user mode, then drop down to single user mode
via
 shutdown now. When I run fsck and mount, those commands aren't found.
I
 checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when
I
 boot into multiuser mode, then drop down to single user, the filesystems
are
 still mounted, aren't they? I recompiled world, but I messed up my
system
 and had to reinstall FreeBSD alltogether. When I did it the first time,
I
 did it the same way and it worked fine.

In doubt check with the 'mount' command to see if your filesystems are
read-only.
Usually, I don't boot in single user mode to make instalworld but it
depends on what your box do, mine is just a desktop :-)

By the way, what release are you tracking ? I never had such problem
with RELEASE or -STABLE branch.


 On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:
  Hi,
 
  On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
   Hello,
  
   I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to
rebuild
   world. I have followed the steps in the handbook at:
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  
   I used csup to get the latest updates of both ports-all tag=. and
 src-all
   tag=RELENG_6
  
   What I did:
   -updated via csup
   -droped to single user mode
   -cleared out /usr/obj
   -make -j4 buildworld
   -make buildkernel KERNCONF=my kern config
   -make installkernel KERNCONF=my kern config
   -rebooted into the new kernel; everything worked fine
   -dropped to single user mode
   -make installworld
  
   During the installworld process I got the following output (Caught
with
   script installworld.out):
  
  
 
   Script started on Mon Apr  2 23:42:05 2007
   # pwd
   /usr/src
   # make installworld
   mkdir -p /tmp/install.hC53vnAg
   for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
find
   grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
 sysctl
   test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;
 done
   cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj
 MACHINE_ARCH=i386  MACHINE=i386
   CPUTYPE=
 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
  

PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
   /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
   awk: Permission denied
   /usr/src/Makefile.inc1, line 101: warning: awk
   '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
   /usr/include/osreldate.h returned non-zero status
   echo:Permission denied
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   # exit
  
   Script done on Mon Apr  2 23:42:14 2007
  
  
 
 
  Do you have your root partitions (/, /usr ...) in r/w mode ?
  There is a paragraph in the handbook
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER
 
  Hope this helps.
  ___
   freebsd-questions@freebsd.org mailing list
  
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
  Regards.
 
  --
  There's this old saying: Give a man a fish, feed him for a day. Teach
  a man to fish, feed him for life.
 



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding World Failed

2007-04-03 Thread [EMAIL PROTECTED]

On 03/04/07, Schiz0 [EMAIL PROTECTED] wrote:

I'm using 6.2-STABLE. Nothing is set read-only.

. . .

/dev/ad0s1e on /tmp (ufs, local, noatime, noexec, nosuid, soft-updates)


Unset noexec on /tmp or use a different
TMPDIR on installworld.

Also, please don't top post.

--
--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rebuilding World Failed

2007-04-02 Thread Schiz0

Hello,

I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
world. I have followed the steps in the handbook at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

I used csup to get the latest updates of both ports-all tag=. and src-all
tag=RELENG_6

What I did:
-updated via csup
-droped to single user mode
-cleared out /usr/obj
-make -j4 buildworld
-make buildkernel KERNCONF=my kern config
-make installkernel KERNCONF=my kern config
-rebooted into the new kernel; everything worked fine
-dropped to single user mode
-make installworld

During the installworld process I got the following output (Caught with
script installworld.out):


Script started on Mon Apr  2 23:42:05 2007
# pwd
/usr/src
# make installworld
mkdir -p /tmp/install.hC53vnAg
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl
test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
/usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
awk: Permission denied
/usr/src/Makefile.inc1, line 101: warning: awk
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
/usr/include/osreldate.h returned non-zero status
echo:Permission denied
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# exit

Script done on Mon Apr  2 23:42:14 2007


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


rebuilding world

2007-03-12 Thread Michael P. Soulier

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

This document says that after the make installkernel, you reboot in
single user mode, and then run mergemaster -p.

This gives me errors about a read-only filesystem. Can't create
/var/tmp/temproot.

Do the instructions need updating?

Thanks,
Mike
--
Michael P. Soulier [EMAIL PROTECTED]
Any intelligent fool can make things bigger and more complex... It takes a
touch of genius - and a lot of courage to move in the opposite direction.
--Albert Einstein
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rebuilding world

2007-03-12 Thread Bill Moran
In response to Michael P. Soulier [EMAIL PROTECTED]:

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 
 This document says that after the make installkernel, you reboot in
 single user mode, and then run mergemaster -p.
 
 This gives me errors about a read-only filesystem. Can't create
 /var/tmp/temproot.

fsck; mount -a

 Do the instructions need updating?

Might not hurt to add that information to the docs.  You could file a PR
or submit an update to the doc projects.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


New install, rebuilding world

2006-06-27 Thread AB
I'm new to FreeBSD, but I've been reading alot in the
Handbook about building custom kernels and rebuilding
world, and still can't seem to find what I'm looking
for.

I want to be able to recompile my whole system so that
it's optimized for my hardware, but I'd rather not
track -Stable and have to rebuild a whole slew of
stuff every few days.

Can someone give me some advice (or point me to some
documentation) on recompiling the -Release6.1 and then
doing light maintenance (bug fixes, security updates)
afterwards?


Thanks,
Adam

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New install, rebuilding world

2006-06-27 Thread Reko Turja

From: AB [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, June 27, 2006 5:31 PM
Subject: New install, rebuilding world



I'm new to FreeBSD, but I've been reading alot in the
Handbook about building custom kernels and rebuilding
world, and still can't seem to find what I'm looking
for.

I want to be able to recompile my whole system so that
it's optimized for my hardware, but I'd rather not
track -Stable and have to rebuild a whole slew of
stuff every few days.


Track RELEASE security fix branch - the brach you want to cvsup is for 
example RELENG_6_1 for the bugfix and maintenance release for 6.1 
(cvsupping RELENG_6 would get you stable from 6 branch, which is at 
the moment 6.1 stable).


For the hardware etc - just tweak the make.conf and kernel config file 
to suit your needs.



Can someone give me some advice (or point me to some
documentation) on recompiling the -Release6.1 and then
doing light maintenance (bug fixes, security updates)
afterwards?


The rest of if goes by the handbook - you can cvsup by hand or just 
make a script running once a week or so and alerting you if there are 
changes in release sources. Basically the regular buildworld - 
buildkernel - installkernel - installworld process is the recommended 
way to update, but now and then you can do smaller fixes just going to 
directory and doing a make install from there (but doing that you're 
on your own).


-Reko 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New install, rebuilding world

2006-06-27 Thread Derek Ragona

Read the Makefile in /usr/src, and UPDATING in /usr/src as well.

What you will want to do is track the security branch, and subscribe to the 
security list to get any reports of issues.  If an issue arises, you can 
choose to cvsup and rebuild, or not.  If the issue is not in a subsystem 
you use, you can ignore it.


-Derek

At 09:31 AM 6/27/2006, AB wrote:

I'm new to FreeBSD, but I've been reading alot in the
Handbook about building custom kernels and rebuilding
world, and still can't seem to find what I'm looking
for.

I want to be able to recompile my whole system so that
it's optimized for my hardware, but I'd rather not
track -Stable and have to rebuild a whole slew of
stuff every few days.

Can someone give me some advice (or point me to some
documentation) on recompiling the -Release6.1 and then
doing light maintenance (bug fixes, security updates)
afterwards?


Thanks,
Adam

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New install, rebuilding world

2006-06-27 Thread Nick Withers
On Tue, 27 Jun 2006 07:31:20 -0700 (PDT)
AB [EMAIL PROTECTED] wrote:

 I'm new to FreeBSD,

Welcome!

 but I've been reading alot in the Handbook about building
 custom kernels and rebuilding world, and still can't seem to
 find what I'm looking for.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html;
should sort you out, but please feel free to ask if you'd like
a trimmed-down, dot-point, step-by-step guide, just to get that
first one under the belt!

 I want to be able to recompile my whole system so that
 it's optimized for my hardware, but I'd rather not
 track -Stable and have to rebuild a whole slew of
 stuff every few days.

Fair enough, though do keep in mind that ports aren't covered
by a buildworld et al. procedure.

As Reko suggested, you'll want to track the RELENG_6_1 CVS
branch at this point, to keep up-to-date with 6.1-RELEASE and
its security updates.

 Can someone give me some advice (or point me to some
 documentation) on recompiling the -Release6.1 and then
 doing light maintenance (bug fixes, security updates)
 afterwards?

See the URL given above.

Security updates can often be applied in a variety of ways
(for instance, an issue in tcsh(1) might mean you can get away
with simply rebuilding and reinstalling tcsh(1), rather than
world), but for now, until at least you're pretty comfortable
with rebuilding world, it's probably best to simply rebuild
world and the kernel each time a security update for
6.1-RELEASE comes out.

Rebuilding world can seem pretty scary at first, but you'll
soon be able to do it almost without thinking about it!

 Thanks,
 Adam
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems rebuilding world

2005-12-21 Thread Tofik Suleymanov

Justin Pessa wrote:


I'm rebuilding world to upgrade from 5.4 to 6.0 on my laptop. The
original build worked find then crapped out when running install world
with an error saying that /usr/share/locale/uk_UA.CP1251/LC_COLLATE
could not be found. So now I can't load any additional applications
because almost everything segfaults.

I removed my /usr/src directory and cvsup'd everything fresh. I can
build my 6.0 kernel without problem but I get the following make error
when building world:

 


Maybe try to 'rm -rf /usr/obj/*' also before buildworld ?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems rebuilding world

2005-12-17 Thread Justin Pessa
I'm rebuilding world to upgrade from 5.4 to 6.0 on my laptop. The
original build worked find then crapped out when running install world
with an error saying that /usr/share/locale/uk_UA.CP1251/LC_COLLATE
could not be found. So now I can't load any additional applications
because almost everything segfaults.

I removed my /usr/src directory and cvsup'd everything fresh. I can
build my 6.0 kernel without problem but I get the following make error
when building world:

 === share/termcap (all)
gzip -cn /usr/src/share/termcap/termcap.5  termcap.5.gz
TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src 
/usr/src/share/termcap/reorder
cap_mkdb -l termcap
cap_mkdb: illegal option -- l
usage: cap_mkdb [-v] [-f outfile] file [file ...]

I know this is related to my original the borked partial installworld.
I'm stumped as to what I should try from here. Any thoughts?

Please CC me on your response. Thanks a lot!

Best,

--
- justin

Whatever I feel like I wanna do. Gosh!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems rebuilding world

2005-12-17 Thread Frank Steinborn
Justin Pessa wrote:
  === share/termcap (all)
 gzip -cn /usr/src/share/termcap/termcap.5  termcap.5.gz
 TERM=dumb TERMCAP=dumb: ex - /usr/src/share/termcap/termcap.src 
 /usr/src/share/termcap/reorder
 cap_mkdb -l termcap
 cap_mkdb: illegal option -- l
 usage: cap_mkdb [-v] [-f outfile] file [file ...]
 
 I know this is related to my original the borked partial installworld.
 I'm stumped as to what I should try from here. Any thoughts?

Go to /usr/src/usr.bin/cap_mkdb/ and do make and make install, then
try again.

Frank


pgpfLBmBLCdrP.pgp
Description: PGP signature


Re: First questions: rebuilding world

2004-11-07 Thread David Jenkins
On Sun, 7 Nov 2004 00:59:50 -0500, Joseph H. Fry [EMAIL PROTECTED] wrote:
 Thanks!  So you can do everything in multiuser mode, or do you still
 have to drop to single user mode to actually install the new kernel and
 new system binaries?
 
 Also, does doing all of this bring me to the most recent stable release?
 (I noticed that 5.3 was released yesterday, presumably just after I
 downloaded 5.2.1).

I've done it once in multiuser mode and it all went fine. I did read
somewhere that if you do have to do it this way because getting
physical access to the machine is difficult, then make sure you shut
down as many services/processes as you can. i.e just make sure sshd is
the only daemon running etc ...

If you've used the correct TAG in your cvsup files and have cvsup'd
over the last day or so, then you should build 5.3-RELEASE.

Hope this helps.

David
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First questions: rebuilding world

2004-11-07 Thread Matthew Seaman
On Sun, Nov 07, 2004 at 11:49:03AM +, David Jenkins wrote:
 On Sun, 7 Nov 2004 00:59:50 -0500, Joseph H. Fry [EMAIL PROTECTED] wrote:
  Thanks!  So you can do everything in multiuser mode, or do you still
  have to drop to single user mode to actually install the new kernel and
  new system binaries?
  
  Also, does doing all of this bring me to the most recent stable release?
  (I noticed that 5.3 was released yesterday, presumably just after I
  downloaded 5.2.1).
 
 I've done it once in multiuser mode and it all went fine. I did read
 somewhere that if you do have to do it this way because getting
 physical access to the machine is difficult, then make sure you shut
 down as many services/processes as you can. i.e just make sure sshd is
 the only daemon running etc ...
 
 If you've used the correct TAG in your cvsup files and have cvsup'd
 over the last day or so, then you should build 5.3-RELEASE.

Another alternative, if you have more than one unixoid machine in your
basement, is to set up your FreeBSD box to use a serial console, and
string a null-modem cable from it to another machine.  On the second
machine you can use a terminal emulation program -- tip(1), kermit,
even Windows Hyperterm to access the serial console on the FreeBSD
box.  This lets you drop to single user and still have remote access.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpoHVeeOARqb.pgp
Description: PGP signature


RE: First questions: rebuilding world

2004-11-07 Thread Joseph H. Fry

  Also, does doing all of this bring me to the most recent stable
  release? (I noticed that 5.3 was released yesterday,
 presumably just
  after I downloaded 5.2.1).

 If you've used the correct TAG in your cvsup files and have
 cvsup'd over the last day or so, then you should build 5.3-RELEASE.


Which tag is the correct tag?

 Joe Fry 
([EMAIL PROTECTED])



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First questions: rebuilding world

2004-11-07 Thread David Jenkins
On Sun, 7 Nov 2004 11:28:50 -0500, Joseph H. Fry [EMAIL PROTECTED] wrote:
  If you've used the correct TAG in your cvsup files and have
  cvsup'd over the last day or so, then you should build 5.3-RELEASE.
 

 Which tag is the correct tag?

In your source-tree supfile you should have a line like:

*default tag=RELENG_5_3

Hope that helps.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First questions: rebuilding world

2004-11-06 Thread Gerard Samuel
Joseph H. Fry wrote:
Hello everyone!
Seeing as how this is my first post to this fine mailing list, I first
want to make sure that my message is formatted properly.  I'm using MS
Outlook (cringe) and don't want to offend anyone if it's formatted
incorrectly.
 

Looks fine to me in Thunderbird...
Anyway, on to my real question.  I have my system installed, and have
CVSup-ed my source... So I think I'm ready to rebuild the world.
However, considering that my BSD box is in a remote out of the way
location in my basement, I am using ssh to do as much as possible on the
box.  Can I rebuild my system via ssh, or do I NEED to work directly on
the machine?  Can I drop into single user mode and still access the
system via ssh (I know, sounds like I answered my own question, but hey
we newbies never know)
 

Once in single user mode, ssh is out of the question.  In single user 
mode, only
*person* can login, and that is at the actual terminal.
Depending on the situation, for example.  My firewall is at the other 
side of the
house, without a keyboard/monitor.
Since the box doesn't have any other logged in users, I normally
build world in multi user mode.
Doing so is taking a chance with the success of the build world,
but like I said, it depends on the situation...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: First questions: rebuilding world

2004-11-06 Thread Joseph H. Fry
 Once in single user mode, ssh is out of the question.  In single user
 mode, only
 *person* can login, and that is at the actual terminal.
 Depending on the situation, for example.  My firewall is at the other
 side of the
 house, without a keyboard/monitor.
 Since the box doesn't have any other logged in users, I
 normally build world in multi user mode. Doing so is taking a
 chance with the success of the build world, but like I said,
 it depends on the situation...

Thanks!  So you can do everything in multiuser mode, or do you still
have to drop to single user mode to actually install the new kernel and
new system binaries?

Also, does doing all of this bring me to the most recent stable release?
(I noticed that 5.3 was released yesterday, presumably just after I
downloaded 5.2.1).

Thanks again,

 Joe Fry 
([EMAIL PROTECTED])


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: First questions: rebuilding world

2004-11-06 Thread Gerard Samuel
Joseph H. Fry wrote:
Once in single user mode, ssh is out of the question.  In single user
mode, only
*person* can login, and that is at the actual terminal.
Depending on the situation, for example.  My firewall is at the other
side of the
house, without a keyboard/monitor.
Since the box doesn't have any other logged in users, I
normally build world in multi user mode. Doing so is taking a
chance with the success of the build world, but like I said,
it depends on the situation...
   

Thanks!  So you can do everything in multiuser mode, or do you still
have to drop to single user mode to actually install the new kernel and
new system binaries?
 

I've done everything in multiuser mode on more than one occasion.
Also, does doing all of this bring me to the most recent stable release?
(I noticed that 5.3 was released yesterday, presumably just after I
downloaded 5.2.1).
You probably will have 5.3 sources if you used RELENG_5.3.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Rebuilding world

2004-10-05 Thread Ralph M. Los
OK, so I'm trying to follow the instructions in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
, and failed repeatedly.  Everything appears to go OK, except
mergemaster -p seems to fail with some variable errors, and make
installworld fails with the error:

-
bonkers# make installworld
ERROR: Required proxy user is missing, see /usr/src/UPDATING.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

-
What does this mean?!

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  Ralph | Internet Systems  Security   +
+   Boundariez.com   | -Specializing in Paranoia-  +
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  ralph[!at]boundariez[dot!]com |  Never understimate the power +
+AIM: SekurityWizard | stupid people +
+ICQ: 2206039|in large groups+
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Rebuilding world

2004-10-05 Thread Andrew Moran
Your installworld error is saying that it can't install without the new  
proxy user being added.the proxy user is added during the  
mergemaster -p.. So because your mergemaster -p is failing, your  
installworld is failing.  Fix the mergemaster problem, and your  
installworld problem should go away.

So what kind of error is your 'mergemaster -p' giving you?
--Andy
On Oct 5, 2004, at 9:15 PM, Ralph M. Los wrote:
OK, so I'm trying to follow the instructions in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
makeworld.html
, and failed repeatedly.  Everything appears to go OK, except
mergemaster -p seems to fail with some variable errors, and make
installworld fails with the error:

-
bonkers# make installworld
ERROR: Required proxy user is missing, see /usr/src/UPDATING.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
-
What does this mean?!
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  Ralph | Internet Systems  Security   +
+   Boundariez.com   | -Specializing in Paranoia-  +
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+  ralph[!at]boundariez[dot!]com |  Never understimate the power +
+AIM: SekurityWizard | stupid people +
+ICQ: 2206039|in large groups+
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to  
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]