Re: issues compiling world

2013-06-27 Thread Chris Knipe
Hi,

Followed those and recompiled.  Precisely the same issue :-(


On Thu, Jun 27, 2013 at 4:44 PM, Jerry  wrote:
> On Thu, 27 Jun 2013 16:10:54 +0200
> Chris Knipe articulated:
>
>> Hi all,
>>
>> I've been battling the whole day now trying to compile 9 STABLE
>> I've svn'ed the source from branch base/stable/9 numerious times and
>> the code base as far as I can tell is up to date...
>>
>> cc -O2 -pipe  -I/usr/src/usr.sbin/tcpdump/tcpdump
>> -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump
>> -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN
>> -I/usr/obj/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO
>> -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector
>> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
>> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
>> -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
>> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c
>> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:
>> In function 'print_src_dst':
>> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
>> error: 'tcpstates' undeclared (first use in this function)
>> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
>> error: (Each undeclared identifier is reported only once
>> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
>> error: for each function it appears in.)
>> *** [print-pfsync.o] Error code 1
>>
>> Stop in /usr/src/usr.sbin/tcpdump/tcpdump.
>> *** [all] Error code 1
>>
>> Can someone perhaps recommend a course of action?
>
> Have you followed all of the directions precisely as stated on
> ,
> especially
> 
> and
> .
>
> --
> Jerry ♔
>
> Disclaimer: off-list followups get on-list replies or get ignored.
> Please do not ignore the Reply-To header.
> __
> There is a fine line between genius and insanity. I have erased this line.
> ___
> 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"



-- 

Regards,
Chris Knipe
___
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: issues compiling world

2013-06-27 Thread Jerry
On Thu, 27 Jun 2013 16:10:54 +0200
Chris Knipe articulated:

> Hi all,
> 
> I've been battling the whole day now trying to compile 9 STABLE
> I've svn'ed the source from branch base/stable/9 numerious times and
> the code base as far as I can tell is up to date...
> 
> cc -O2 -pipe  -I/usr/src/usr.sbin/tcpdump/tcpdump
> -I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump
> -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN
> -I/usr/obj/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO
> -DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c
> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:
> In function 'print_src_dst':
> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
> error: 'tcpstates' undeclared (first use in this function)
> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
> error: (Each undeclared identifier is reported only once
> /usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
> error: for each function it appears in.)
> *** [print-pfsync.o] Error code 1
> 
> Stop in /usr/src/usr.sbin/tcpdump/tcpdump.
> *** [all] Error code 1
> 
> Can someone perhaps recommend a course of action?

Have you followed all of the directions precisely as stated on
,
especially

and
.

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
There is a fine line between genius and insanity. I have erased this line. 
___
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: issues compiling world

2013-06-27 Thread Volodymyr Kostyrko

27.06.2013 17:10, Chris Knipe написав(ла):

Hi all,

I've been battling the whole day now trying to compile 9 STABLE
I've svn'ed the source from branch base/stable/9 numerious times and
the code base as far as I can tell is up to date...


As me. As I reported my local glitches in the past I prefer now to 
retest everything twice before pointing out some bugs.




cc -O2 -pipe  -I/usr/src/usr.sbin/tcpdump/tcpdump
-I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump
-DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN
-I/usr/obj/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO
-DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:
In function 'print_src_dst':
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
error: 'tcpstates' undeclared (first use in this function)
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
error: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
error: for each function it appears in.)
*** [print-pfsync.o] Error code 1

Stop in /usr/src/usr.sbin/tcpdump/tcpdump.
*** [all] Error code 1

Can someone perhaps recommend a course of action?


Perhaps the good choice would be waiting for tinderbox to stop mumbling 
about this. You can check reports @stable.


--
Sphinx of black quartz, judge my vow.
___
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"

issues compiling world

2013-06-27 Thread Chris Knipe
Hi all,

I've been battling the whole day now trying to compile 9 STABLE
I've svn'ed the source from branch base/stable/9 numerious times and
the code base as far as I can tell is up to date...

cc -O2 -pipe  -I/usr/src/usr.sbin/tcpdump/tcpdump
-I/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump
-DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -DINET6 -DLBL_ALIGN
-I/usr/obj/usr/src/tmp/usr/include/openssl -DHAVE_LIBCRYPTO
-DHAVE_OPENSSL_EVP_H -DHAVE_NET_PFVAR_H -std=gnu99 -fstack-protector
-Wsystem-headers -Werror -Wall -Wno-format-y2k -W
-Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
-Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:
In function 'print_src_dst':
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
error: 'tcpstates' undeclared (first use in this function)
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
error: (Each undeclared identifier is reported only once
/usr/src/usr.sbin/tcpdump/tcpdump/../../../contrib/tcpdump/print-pfsync.c:330:
error: for each function it appears in.)
*** [print-pfsync.o] Error code 1

Stop in /usr/src/usr.sbin/tcpdump/tcpdump.
*** [all] Error code 1

Can someone perhaps recommend a course of action?

--

Regards,
Chris Knipe
___
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: Installing new world failed (install -l)

2013-04-28 Thread Eir Nym
What should I do in this situation?

-- Eir Nym


On 28 April 2013 23:36, Eir Nym  wrote:
> Since -l switch introduced into install(8), I can't build new FreeBSD
> box at all.
>
> I do following command set to build new box: (http://eroese.org/mkw.sh)
> 1) cd /usr/head/src && svn up
> 2) make buildworld
> 3) make DESTDIR=/path/to/directory hierarchy distrib-dirs distribution
> installworld
>
> This worked for long time but after some point it had been broken. I
> found only 20130425 in UPDATING about this, but installing mergemaster
> gives nothing, obviously.
> I can't compile new install(8) since I have old system like
> FreeBSD-9-RELEASE (FreeBSD-CURRENT, r226748) and it doesn't have
> needed functions.
>
> The tail of install log is below.
>
> .. (lines removed)
> mtree -deU -f /usr/head/src/etc/mtree/BSD.sendmail.dist -p
> /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/
> ./var/spool/clientmqueue missing (created)
> install -l s usr/src/sys 
> /usr/home/root/logs/2013-04-28/16.18.03/distro.i386/sys
> install: illegal option -- l
> usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>[-o owner] file1 file2
>install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>[-o owner] file1 ... fileN directory
>install -d [-v] [-g group] [-m mode] [-o owner] directory ...
> *** [distrib-dirs] Error code 64
>
> Stop in /usr/head/src/etc.
> *** [hierarchy] Error code 1
>
> Stop in /usr/head/src.
> *** Error code 1
>
> Stop in /usr/head/src.
>
> -- Eir Nym
___
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: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED

2013-03-20 Thread Polytropon
On Tue, 19 Mar 2013 14:06:41 -0700, Drew Tomlinson wrote:
> Thanks for the replies.  Using freebsd-update seemed the simplest method 
> since it was already included.  Worked just fine for getting the 
> sources.

Probably in the future there will be a csup-equivalent
included with the OS, plus configuration templates that
can be used to do a source incorporation via SVN.



> And following the steps listed in comments in 
> /usr/src/Makefile worked for building and installing the sources.

I've relied on them for many years, and they seem to work
happily. :-)



-- 
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: Current Way To Update Sources & Rebuild World/Kernel? -- SOLVED

2013-03-19 Thread Drew Tomlinson

On 3/17/2013 3:16 PM, Polytropon wrote:

On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote:

I've been away for a while.  In the past, the proper way to update a
system was to grab current sources via cvsup and then rebuild world and
kernel.  But now I see cvsup is no longer supported.

Correct. The new way to obtain sources is via Subversion.
The OS will hopefully soon get a csup equivalent (svnup)
so you don't need to install a port with heavy dependencies.




The handbook talks
about freebsd-update.  I do not want binary upgrades but is this the
tool to replace cvsup to update sources?

Basically freebsd-update updates the system binarily, as you
said. But it can also be used to only update sources. In order
to do this, edit /etc/freebsd-update.conf to contain the line
"Components src" (means: you remove all the other components
such as "world" and "kernel"). Then you proceed to reinstall
from source as known.




How do I use it to replace the
old way that went something like this:

cvsup sources
make buildworld
make buildkernel
make installkernel
mergemaster
make installworld

(I'm not sure I have that in the exact proper order but it was something
like that).

The exact proper order can be found in the comment header of
/usr/src/Makefile. You should stick to that order to avoid
problems. Also see the corresponding handbook section.




So is freebsd-update what I need?

As explained above - or make yourself familiar with SVN, which
is the CVSup / csup replacement.




Is there a page that describes the
steps to accomplish this?

See "man freebsd-update" and the comments in /etc/freebsd-update.conf
for details. Also see the Handbook's section about updating.


Thanks for the replies.  Using freebsd-update seemed the simplest method 
since it was already included.  Worked just fine for getting the 
sources.  And following the steps listed in comments in 
/usr/src/Makefile worked for building and installing the sources.


Cheers,

Drew

--
Like card tricks?

Visit The Alchemist's Warehouse to
learn card magic secrets for free!

http://alchemistswarehouse.com


___
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: Current Way To Update Sources & Rebuild World/Kernel?

2013-03-18 Thread Damien Fleuriot
On Mar 17, 2013 11:07 PM, "Drew Tomlinson"  wrote:
>
> I've been away for a while.  In the past, the proper way to update a
system was to grab current sources via cvsup and then rebuild world and
kernel.  But now I see cvsup is no longer supported.  The handbook talks
about freebsd-update.  I do not want binary upgrades but is this the tool
to replace cvsup to update sources?  How do I use it to replace the old way
that went something like this:
>
> cvsup sources
> make buildworld
> make buildkernel
> make installkernel
> mergemaster
> make installworld
>
> (I'm not sure I have that in the exact proper order but it was something
like that).
>
> So is freebsd-update what I need?  Is there a page that describes the
steps to accomplish this?
>
> Thanks,
>
> Drew
>

http://www.wonkity.com/~wblock/docs/html/stable.html

Buildworld
Buildkernel
Installkernel
Reboot
Mergemaster -p
Installworld
Mergemaster
Rebuild ports
Delete-old
Delete-old-libs
Delete-old-dirs

Less /usr/src/Makefile
___
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: Current Way To Update Sources & Rebuild World/Kernel?

2013-03-18 Thread Patrick Lamaiziere
Le Sun, 17 Mar 2013 15:07:35 -0700,
Drew Tomlinson  a écrit :

> I've been away for a while.  In the past, the proper way to update a 
> system was to grab current sources via cvsup and then rebuild world
> and kernel.  But now I see cvsup is no longer supported.  The
> handbook talks about freebsd-update.  I do not want binary upgrades
> but is this the tool to replace cvsup to update sources?  How do I
> use it to replace the old way that went something like this:
> 
> cvsup sources
> make buildworld
> make buildkernel
> make installkernel
> mergemaster
> make installworld

Instead cvsup you have to use svn to retrieve the sources :
http://www.freebsd.org/doc/handbook/svn.html

The good way is (and was) mergemaster -p before make installworld and
mergemaster after.

regards
___
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: Current Way To Update Sources & Rebuild World/Kernel?

2013-03-17 Thread Polytropon
On Sun, 17 Mar 2013 15:07:35 -0700, Drew Tomlinson wrote:
> I've been away for a while.  In the past, the proper way to update a 
> system was to grab current sources via cvsup and then rebuild world and 
> kernel.  But now I see cvsup is no longer supported. 

Correct. The new way to obtain sources is via Subversion.
The OS will hopefully soon get a csup equivalent (svnup)
so you don't need to install a port with heavy dependencies.



> The handbook talks 
> about freebsd-update.  I do not want binary upgrades but is this the 
> tool to replace cvsup to update sources?

Basically freebsd-update updates the system binarily, as you
said. But it can also be used to only update sources. In order
to do this, edit /etc/freebsd-update.conf to contain the line
"Components src" (means: you remove all the other components
such as "world" and "kernel"). Then you proceed to reinstall
from source as known.



> How do I use it to replace the 
> old way that went something like this:
> 
> cvsup sources
> make buildworld
> make buildkernel
> make installkernel
> mergemaster
> make installworld
> 
> (I'm not sure I have that in the exact proper order but it was something 
> like that).

The exact proper order can be found in the comment header of
/usr/src/Makefile. You should stick to that order to avoid
problems. Also see the corresponding handbook section.



> So is freebsd-update what I need?

As explained above - or make yourself familiar with SVN, which
is the CVSup / csup replacement.



> Is there a page that describes the 
> steps to accomplish this?

See "man freebsd-update" and the comments in /etc/freebsd-update.conf
for details. Also see the Handbook's section about updating.




-- 
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"


Current Way To Update Sources & Rebuild World/Kernel?

2013-03-17 Thread Drew Tomlinson
I've been away for a while.  In the past, the proper way to update a 
system was to grab current sources via cvsup and then rebuild world and 
kernel.  But now I see cvsup is no longer supported.  The handbook talks 
about freebsd-update.  I do not want binary upgrades but is this the 
tool to replace cvsup to update sources?  How do I use it to replace the 
old way that went something like this:


cvsup sources
make buildworld
make buildkernel
make installkernel
mergemaster
make installworld

(I'm not sure I have that in the exact proper order but it was something 
like that).


So is freebsd-update what I need?  Is there a page that describes the 
steps to accomplish this?


Thanks,

Drew

--
Like card tricks?

Visit The Alchemist's Warehouse to
learn card magic secrets for free!

http://alchemistswarehouse.com


___
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"


[solved] How to fix a broken owner for files from world & build from ports?

2013-01-30 Thread Ralf Mardorf

It were > 20 directories/files with a wrong owner.
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf
I don't use space in filenames, I just wanted to ensure, that file names  
with spaces will be handled partly correctly.
At the moment I'm not working intensively. Every once in a while I take a  
look at a directory and compare it with the backups. If there's something  
wrong, I manually run chown. I copy each step I'm doing to a file.  
Overcautious, without haste and without a script ;), I fix it step by step.


Regards,
Ralf
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Polytropon
On Tue, 29 Jan 2013 12:23:09 +0100, Ralf Mardorf wrote:
> On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote:
> > This is a mayor damage and can only be repaired by a new installation.
> 
> Perhaps true, but if such a simple mistake can't be fixed, [...]

Excuse me, it's not a _simple_ mistake. It may have initially
been even a typo, but anything executed with root privileges
is not simple; root has the power to do anything, even to
completely destroy the system, and that can also be as simple
as calling rm or dd with "carefully carelessly crafted options",
and there is no simple fix for this.



> [...] what happens
> when somebody makes a big mistake?

The size of the mistake doesn't even matter. :-)



> Perhaps more people stay with Linux
> than other *NIX, regarding to the policy, that issues should be fixed
> instead of always starting from the beginning. ;)?

The fix to your issue is, in pseudocode:

for part in ( OS , ports ) do:
determine owner rocketmouse:* for all files
compare with list with correct owner
for each deviating file do:
if owner != correct owner then:
chown file to correct user
fi
od
od

Of course OS and ports have to be treated seperately.

As you have mentioned to own a backup where the permissions
(owners) are correct, obtaining the required reference data
from that backup would be the easiest part.

The alternative: reinstall world, reinstall ports. To avoid
this task, you need to activate your admin skills. :-)



> Of course, if I simply would restore from a dump, it will be less time
> consuming and it wouldn't annoy you, but I would have the bad feeling,
> that if ever needed, thinks can't be fixed, I always would have to
> restore from backups. And what happens, if for what reason ever a backup
> shouldn't be available?

In that case, you would need other references to get the correct
file owners. Files are usually installed to the system by the
"install" command, and it is employed in the Makefiles for the
OS and also for ports. As you correctly recognized, not simply
all files belong to root, so everything "non-standard" could
be derived from such "control files".

Of course, the more files you have to treat (see wc -l of your
result list), the harder the task can become, and maybe installing
the port again is faster than finding out where permissions are
set for the install program call. If you only have 10 files or
so, do it manually, but if there are 100 and more files, coming
from several different ports, reinstalling them sounds easier,
and it's not a big deal to do that with portmaster.



-- 
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Polytropon
On Tue, 29 Jan 2013 03:54:55 +0100, Ralf Mardorf wrote:
> On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom  wrote:
> > On 1/28/2013 7:56 PM, Ralf Mardorf wrote:
> >> Still not perfect, I guess I need something similar to ls -RAl for some
> >> directories :S and I didn't test what awk will do with names including a
> >> space.
> >
> > Try `find /dir -ls`.  You can pipe it into sed like this `find /dir -ls|  
> > sed -e 's%/dir%%g'` and then get something easily comparable.
> 
> Cool, it does display the path, but there's still the other issue:
> 
> $ touch test\ test
> $ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}'
> rocketmouse test
> 
> Perhaps awk isn't that important, but it e.g. will filter different file  
> sizes, for e.g. configurations I edited in the meantime.

A thing regarding awk: For extended formatting, use the
printf() command which works the same as in sh and C, os
if you need, you can do things like

printf "%s '%s'", $1, $2;

Also note that you can have a custom delimiter for parsing
the input, e. g. -F ":" (if you would generate input lists
in :-separated CSV format).

Additionally, it seems you're running into the fun of spaces
in file names. Even though you can put them there, it doesn't
imply it's good to do it. Spaces are separators (for commands
and options), and everytime they're _not_ (e. g. when they
appear in file names), you need to care for this fact, by
escaping or quoting them.

Maybe those articles by David A. Wheeler are interesting
to you to learn about this annoyance for people writing
short shell scripts to automate tasks:

Filenames and Pathnames in Shell: How to do it correctly

http://www.dwheeler.com/essays/filenames-in-shell.html

Fixing Unix/Linux/POSIX Filenames:
Control Characters (such as Newline), Leading Dashes, and Other Problems

http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html



-- 
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"


How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf

I'm surprised, there's no /bin/sh for the backup:
# ls -ld /bin/sh
-r-xr-xr-x  1 rocketmouse  wheel  142952 Dec 23 18:38 /bin/sh
# ls -ld /usr/TMP4DIFF/bin/sh
ls: /usr/TMP4DIFF/bin/sh: No such file or directory


This is an error in reasoning :D. I compared the original /bin, with a  
restore from /usr, so it seems to be /bin, but it is /usr/bin ;).


I have to keep the system as it is for at least a day, need to do  
something different and than I can continue, when I'm refreshed.


root@freebsd:/usr/TMP4DIFF/ROOT # ls -l bin/sh
-r-xr-xr-x  1 root  wheel  142952 Dec 23 18:38 bin/sh

:D

There definitively is need for a real rest, to avoid mistakes.

--
Sent from my PC while wearing my Relox watch and Iccug handback.
If you pay me, product placement for your lemon could be placed here too,  
just mailto:/dev/null.

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf

On Tue, 29 Jan 2013 14:58:18 +0100,  wrote:

mtree


I was confused, since the existing files only provide directories. Ok, I  
guess I understand, I can let mtree generate new files using the backup. I  
anyway need to take care about files that are missing by the backup.


Thank you.

--
Sent from my PC while wearing my Relox watch and Iccug handback.
If you pay me, product placement for your lemon could be placed here too,  
just mailto:/dev/null.

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf
I suspect it's less effort to use Thunar and instead of scrolling, as I  
did before (when I missed some wrong owners), to switch sorting by owner  
between ascending and descending, to ensure not to miss a bad owner again.


I'm surprised, there's no /bin/sh for the backup:

/bin

# find /usr/TMP4DIFF/bin -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11"  
"$12" "$13}' > bin.TMP.txt
# find /bin -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}'  

bin.BSD.txt

# diff bin.TMP.txt bin.BSD.txt > bin.DIF.txt
# grep rocketmouse bin.DIF.txt

rocketmouse /bin/sh

# ls -ld /bin/sh
-r-xr-xr-x  1 rocketmouse  wheel  142952 Dec 23 18:38 /bin/sh
# ls -ld /usr/TMP4DIFF/bin/sh
ls: /usr/TMP4DIFF/bin/sh: No such file or directory

/lib

[snip ... no differences]

I anyway will unpack /usr too and take a look at the directories from the  
backup. I won't bother you with each detail, but report a list of  
differences, if there should be something very strange.


Regards,
Ralf

--
Sent from my PC while wearing my Relox watch and Iccug handback.
If you pay me, product placement for your lemon could be placed here too,  
just mailto:/dev/nul.

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Michael Powell
Ralf Mardorf wrote:

> On Tue, 29 Jan 2013 12:44:55 +0100, Erich Dollansky
>  wrote:
>> It cannot get worse. His experience will show also others how robust
>> FreeBSD is in case of failures.
> 
> Indeed. Linux users ask me why I play with FreeBSD. I already could make a
> list with drawbacks and advantages of both OS. Some of my guesses might be
> wrong, since I'm a FreeBSD novice, so this list wouldn't be absolutely
> correct.

>From what I've followed since you've come on the list my impression is you 
are just experiencing a learning curve with a new OS. There may be many 
similarities and much carry over from other *Nixes but you still have to 
work it to learn it. In the past when I've headed into something completely 
new I mess a lot of things up (foot shooting) for a while. Once it gets past 
a certain point I give up and reinstall. Then I refer to all the notes I 
took whilst messing things up so as to not make the same mistakes again. 
Usually it was a new list and the cycle repeats. Eventually things 'click', 
you stop making mistakes as well as understand the OS enough now to fix 
things should they need.

After this sysadmin break-in period clears things get much better very fast. 
You are well on your way. I've been using FreeBSD for 12 years now, but I 
remember my initial learning curve (it was quite ugly there for a while). 
But now things are easy, the machines are very stable and reliable. If I 
don't break them and no hardware fails they just sit there and do their 
thing. Stick with it for a while and I bet you find your way.

[snip]

-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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Erich Dollansky
Hi,

On Tue, 29 Jan 2013 12:57:30 +0100
"Ralf Mardorf"  wrote:

> On Tue, 29 Jan 2013 12:44:55 +0100, Erich Dollansky  
>  wrote:
> > It cannot get worse. His experience will show also others how robust
> > FreeBSD is in case of failures.
> 
> Indeed. Linux users ask me why I play with FreeBSD. I already could
> make a list with drawbacks and advantages of both OS. Some of my
> guesses might be wrong, since I'm a FreeBSD novice, so this list
> wouldn't be absolutely correct.
> 
> Regarding to the annoyance, I won't switch the thread regarding to
> this issue anymore. I'll continue with this thread "Re: How to fix a
> broken owner for files from world & build from ports?" if this should
> be ok for the list, if not I can be quiet, no hard feelings. The
> thread could easily be filtered by most MUAs.
> 
just continue.

erich
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf
On Tue, 29 Jan 2013 12:44:55 +0100, Erich Dollansky  
 wrote:

It cannot get worse. His experience will show also others how robust
FreeBSD is in case of failures.


Indeed. Linux users ask me why I play with FreeBSD. I already could make a  
list with drawbacks and advantages of both OS. Some of my guesses might be  
wrong, since I'm a FreeBSD novice, so this list wouldn't be absolutely  
correct.


Regarding to the annoyance, I won't switch the thread regarding to this  
issue anymore. I'll continue with this thread "Re: How to fix a broken  
owner for files from world & build from ports?" if this should be ok for  
the list, if not I can be quiet, no hard feelings. The thread could easily  
be filtered by most MUAs.


Regards,
Ralf
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Erich Dollansky
Hi,

On Tue, 29 Jan 2013 10:08:20 +0100
Matthias Apitz  wrote:

> El día Monday, January 28, 2013 a las 10:28:06PM -1000, parv escribió:
> 
> 
> In general, I find all this thread (wrong file owner) a bit boring.

I find it very interesting.

> This is a mayor damage and can only be repaired by a new
> installation. A lot of files and directories in the systems

This is what I am doubting. Shouldn't an installation of the world
solve this problem? Or are the current owners of a directory ignored
when the world is reinstalled?

> filesystem, in / /var /usr, have dedicated owner to allow certain
> processes which does not run as 'root' to do their correct work
> there, for exmample 'mail'; i.e. you can not do just a complete
> "chown -R root  " and expect that the system still works;

It cannot get worse. His experience will show also others how robust
FreeBSD is in case of failures.

Erich
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Matthias Apitz
El día Tuesday, January 29, 2013 a las 12:23:09PM +0100, Ralf Mardorf escribió:

> On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote:
> > This is a mayor damage and can only be repaired by a new installation.
> 
> Perhaps true, but if such a simple mistake can't be fixed, what happens
> when somebody makes a big mistake? Perhaps more people stay with Linux
> than other *NIX, regarding to the policy, that issues should be fixed
> instead of always starting from the beginning. ;)?
> 
> Of course, if I simply would restore from a dump, it will be less time
> consuming and it wouldn't annoy you, but I would have the bad feeling,
> that if ever needed, thinks can't be fixed, I always would have to
> restore from backups. And what happens, if for what reason ever a backup
> shouldn't be available?

A damage like this can only be done with root privs and if you are root
you should be careful and think twice before; this is true for any UNIX
and Linux type system.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211   |  - Respect for open standards
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf
On Tue, 2013-01-29 at 10:08 +0100, Matthias Apitz wrote:
> This is a mayor damage and can only be repaired by a new installation.

Perhaps true, but if such a simple mistake can't be fixed, what happens
when somebody makes a big mistake? Perhaps more people stay with Linux
than other *NIX, regarding to the policy, that issues should be fixed
instead of always starting from the beginning. ;)?

Of course, if I simply would restore from a dump, it will be less time
consuming and it wouldn't annoy you, but I would have the bad feeling,
that if ever needed, thinks can't be fixed, I always would have to
restore from backups. And what happens, if for what reason ever a backup
shouldn't be available?

2 Cents,
Ralf

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Ralf Mardorf
On Mon, 2013-01-28 at 22:28 -1000, parv wrote:
> in message ,
> wrote Ralf Mardorf thusly...
> >
> > Hi :)
> >
> > I hope it's ok, when I open a new thread for this issue.
> > First I need to know what files have a bad owner.
> >
> > I'm running
> > # freebsd-update IDS >> outfile_28Jan2013.ids
> > perhaps this will give some useful output, regarding to a wrong owner for
> > files from world.
> >
> > It's still running.
> >
> > I still have no idea how to check this for the files build from ports.
> 
> If I understand your problem correctly, it is of incorrect owner &
> group. If so, are there any problems with just running "chown -R" on
> the parent directory (say /usr/local, where ports are installed by
> default)?
> 
> 
>   - parv

It's only the owner and yes, the problem is, that the owner not always
is root for important directories. I had to switch the uid for the owner
from 1001 to 1000, when I changed the owner for all files from 1001 to
1000, some owners in */bin and */lib directories were accidentally
changed too, for what reason ever.

Regards,
Ralf

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread Matthias Apitz
El día Monday, January 28, 2013 a las 10:28:06PM -1000, parv escribió:

> in message ,
> wrote Ralf Mardorf thusly...
> >
> > Hi :)
> >
> > I hope it's ok, when I open a new thread for this issue.
> > First I need to know what files have a bad owner.
> >
> > I'm running
> > # freebsd-update IDS >> outfile_28Jan2013.ids
> > perhaps this will give some useful output, regarding to a wrong owner for
> > files from world.
> >
> > It's still running.
> >
> > I still have no idea how to check this for the files build from ports.
> 
> If I understand your problem correctly, it is of incorrect owner &
> group. If so, are there any problems with just running "chown -R" on
> the parent directory (say /usr/local, where ports are installed by
> default)?

In general, I find all this thread (wrong file owner) a bit boring. This
is a mayor damage and can only be repaired by a new installation. A lot
of files and directories in the systems filesystem, in / /var /usr, have
dedicated owner to allow certain processes which does not run as 'root'
to do their correct work there, for exmample 'mail'; i.e. you can not
do just a complete "chown -R root  " and expect that the system
still works;

the same is true for the ports below /usr/local; just run on a correct
system something like:

# find /usr/local -exec ls -ld {} \; | fgrep -v root

to get a list about what I am talking.

HIH

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |  - No proprietary attachments
phone: +49-170-4527211   |  - Respect for open standards
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-29 Thread parv
in message ,
wrote Ralf Mardorf thusly...
>
> Hi :)
>
> I hope it's ok, when I open a new thread for this issue.
> First I need to know what files have a bad owner.
>
> I'm running
> # freebsd-update IDS >> outfile_28Jan2013.ids
> perhaps this will give some useful output, regarding to a wrong owner for
> files from world.
>
> It's still running.
>
> I still have no idea how to check this for the files build from ports.

If I understand your problem correctly, it is of incorrect owner &
group. If so, are there any problems with just running "chown -R" on
the parent directory (say /usr/local, where ports are installed by
default)?


  - parv

-- 

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 04:19:08 +0100, Ralf Mardorf  
 wrote:


On Tue, 29 Jan 2013 04:15:17 +0100, Ralf Mardorf  
 wrote:


On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom   
wrote:



On 1/28/2013 8:54 PM, Ralf Mardorf wrote:
On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom   
wrote:

On 1/28/2013 7:56 PM, Ralf Mardorf wrote:
Still not perfect, I guess I need something similar to ls -RAl for  
some
directories :S and I didn't test what awk will do with names  
including a

space.


Try `find /dir -ls`.  You can pipe it into sed like this `find /dir
-ls| sed -e 's%/dir%%g'` and then get something easily comparable.


Cool, it does display the path, but there's still the other issue:

$ touch test\ test
$ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}'
rocketmouse test

Perhaps awk isn't that important, but it e.g. will filter different  
file

sizes, for e.g. configurations I edited in the meantime.

:(


You're basically getting down to the dirty tedious parts.  Unless you  
know a full featured scripting language with a find library to find  
and compare ownership, or you want a custom c program for a rare  
occurrence, you're just going to have to do it the tedious way.   
Computer's aren't always fun and glory.  For every beautiful network,  
someone had to run the wires into the wall, through the dirt, and to  
the other building.


I already have an idea. Since $11 is the last output I might be able to  
check whether there is a space followed by a sign, by a loop, assumed  
there should be several spaces, interrupted by signs. I guess to care  
for several spaces one after the other and exotic signs that might  
"break" awk IMO isn't needed.


It might become a very long "command line" ;). Perhaps I don't need it,  
I have to test it. I extracted the first dump, but need a rest now.


Thank you :).


Solved!

# find * -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}'

I can add $14 to $83635484 ;).


I guess $[...] is limited, but even with 12 and 13, it should be enough.
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 04:15:17 +0100, Ralf Mardorf  
 wrote:



On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom  wrote:


On 1/28/2013 8:54 PM, Ralf Mardorf wrote:
On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom   
wrote:

On 1/28/2013 7:56 PM, Ralf Mardorf wrote:
Still not perfect, I guess I need something similar to ls -RAl for  
some
directories :S and I didn't test what awk will do with names  
including a

space.


Try `find /dir -ls`.  You can pipe it into sed like this `find /dir
-ls| sed -e 's%/dir%%g'` and then get something easily comparable.


Cool, it does display the path, but there's still the other issue:

$ touch test\ test
$ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}'
rocketmouse test

Perhaps awk isn't that important, but it e.g. will filter different  
file

sizes, for e.g. configurations I edited in the meantime.

:(


You're basically getting down to the dirty tedious parts.  Unless you  
know a full featured scripting language with a find library to find and  
compare ownership, or you want a custom c program for a rare  
occurrence, you're just going to have to do it the tedious way.   
Computer's aren't always fun and glory.  For every beautiful network,  
someone had to run the wires into the wall, through the dirt, and to  
the other building.


I already have an idea. Since $11 is the last output I might be able to  
check whether there is a space followed by a sign, by a loop, assumed  
there should be several spaces, interrupted by signs. I guess to care  
for several spaces one after the other and exotic signs that might  
"break" awk IMO isn't needed.


It might become a very long "command line" ;). Perhaps I don't need it,  
I have to test it. I extracted the first dump, but need a rest now.


Thank you :).


Solved!

# find * -ls | sed -e 's%/dir%%g' | awk '{print $5" "$11" "$12" "$13}'

I can add $14 to $83635484 ;).
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf

On Tue, 29 Jan 2013 04:04:21 +0100, Joshua Isom  wrote:


On 1/28/2013 8:54 PM, Ralf Mardorf wrote:
On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom   
wrote:

On 1/28/2013 7:56 PM, Ralf Mardorf wrote:
Still not perfect, I guess I need something similar to ls -RAl for  
some
directories :S and I didn't test what awk will do with names  
including a

space.


Try `find /dir -ls`.  You can pipe it into sed like this `find /dir
-ls| sed -e 's%/dir%%g'` and then get something easily comparable.


Cool, it does display the path, but there's still the other issue:

$ touch test\ test
$ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}'
rocketmouse test

Perhaps awk isn't that important, but it e.g. will filter different file
sizes, for e.g. configurations I edited in the meantime.

:(


You're basically getting down to the dirty tedious parts.  Unless you  
know a full featured scripting language with a find library to find and  
compare ownership, or you want a custom c program for a rare occurrence,  
you're just going to have to do it the tedious way.  Computer's aren't  
always fun and glory.  For every beautiful network, someone had to run  
the wires into the wall, through the dirt, and to the other building.


I already have an idea. Since $11 is the last output I might be able to  
check whether there is a space followed by a sign, by a loop, assumed  
there should be several spaces, interrupted by signs. I guess to care for  
several spaces one after the other and exotic signs that might "break" awk  
IMO isn't needed.


It might become a very long "command line" ;). Perhaps I don't need it, I  
have to test it. I extracted the first dump, but need a rest now.


Thank you :).
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Joshua Isom

On 1/28/2013 8:54 PM, Ralf Mardorf wrote:

On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom  wrote:

On 1/28/2013 7:56 PM, Ralf Mardorf wrote:

Still not perfect, I guess I need something similar to ls -RAl for some
directories :S and I didn't test what awk will do with names including a
space.


Try `find /dir -ls`.  You can pipe it into sed like this `find /dir
-ls| sed -e 's%/dir%%g'` and then get something easily comparable.


Cool, it does display the path, but there's still the other issue:

$ touch test\ test
$ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}'
rocketmouse test

Perhaps awk isn't that important, but it e.g. will filter different file
sizes, for e.g. configurations I edited in the meantime.

:(


You're basically getting down to the dirty tedious parts.  Unless you 
know a full featured scripting language with a find library to find and 
compare ownership, or you want a custom c program for a rare occurrence, 
you're just going to have to do it the tedious way.  Computer's aren't 
always fun and glory.  For every beautiful network, someone had to run 
the wires into the wall, through the dirt, and to the other building.

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf

On Tue, 29 Jan 2013 03:41:34 +0100, Joshua Isom  wrote:

On 1/28/2013 7:56 PM, Ralf Mardorf wrote:

Still not perfect, I guess I need something similar to ls -RAl for some
directories :S and I didn't test what awk will do with names including a
space.


Try `find /dir -ls`.  You can pipe it into sed like this `find /dir -ls|  
sed -e 's%/dir%%g'` and then get something easily comparable.


Cool, it does display the path, but there's still the other issue:

$ touch test\ test
$ find * -ls| sed -e 's%/dir%%g'| awk '{print $5" "$11}'
rocketmouse test

Perhaps awk isn't that important, but it e.g. will filter different file  
sizes, for e.g. configurations I edited in the meantime.


:(
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Joshua Isom

On 1/28/2013 7:56 PM, Ralf Mardorf wrote:


Still not perfect, I guess I need something similar to ls -RAl for some
directories :S and I didn't test what awk will do with names including a
space.


Try `find /dir -ls`.  You can pipe it into sed like this `find /dir -ls| 
sed -e 's%/dir%%g'` and then get something easily comparable.

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf
On Tue, 29 Jan 2013 02:21:55 +0100, Ralf Mardorf  
 wrote:


The output of "freebsd-update IDS >> outfile_28Jan2013.ids" is useless  
for this purpose.


I now will do it like that:

root@freebsd:/mnt/dump/tmp # bzcat  
../dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore rf -


unfortunately it happened:

/mnt/dump: write failed, file system is full
write error extracting inode 2078075, name  
./local/share/locale/id/LC_MESSAGES/GConf2.mo

write: No space left on device
^Crestore interrupted, continue? [yn] n

;)

I still have to solve this.

Then I will run

# ls -l /usr/bin | awk '{print $3" "$9}' > foo_original.txt

# ls -l /dump_dir/usr/bin | awk '{print $3" "$9}' > foo_dump.txt

and diff both text files. After that I'll do it for all relevant  
directories.

How to continue depends to the output of diff.


Still not perfect, I guess I need something similar to ls -RAl for some  
directories :S and I didn't test what awk will do with names including a  
space.

___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf
The output of "freebsd-update IDS >> outfile_28Jan2013.ids" is useless for  
this purpose.


I now will do it like that:

root@freebsd:/mnt/dump/tmp # bzcat  
../dump-9.1-RELEASE-20130123_193142-usr_f.dump | restore rf -


unfortunately it happened:

/mnt/dump: write failed, file system is full
write error extracting inode 2078075, name  
./local/share/locale/id/LC_MESSAGES/GConf2.mo

write: No space left on device
^Crestore interrupted, continue? [yn] n

;)

I still have to solve this.

Then I will run

# ls -l /usr/bin | awk '{print $3" "$9}' > foo_original.txt

# ls -l /dump_dir/usr/bin | awk '{print $3" "$9}' > foo_dump.txt

and diff both text files. After that I'll do it for all relevant  
directories.

How to continue depends to the output of diff.

Regards,
Ralf
___
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: How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Polytropon
On Mon, 28 Jan 2013 18:18:05 +0100, Ralf Mardorf wrote:
> I still have no idea how to check this for the files build from ports.

Are there _many_ on the list (rocketmouse:* in /usr/local)?

If not: A simple reinstallation of that port would be sufficient,
except you can easily spot the installation permissions from
the port's Makefile (in that case: do it manually).

The "find | grep" solution you're already using is sufficient
for checking. For correcting... it depends. In ultra-worst case,
re-install _all_ ports (portmaster -af plus options to avoid
undesired interactivity).


-- 
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"


How to fix a broken owner for files from world & build from ports?

2013-01-28 Thread Ralf Mardorf

Hi :)

I hope it's ok, when I open a new thread for this issue.
First I need to know what files have a bad owner.

I'm running
# freebsd-update IDS >> outfile_28Jan2013.ids
perhaps this will give some useful output, regarding to a wrong owner for  
files from world.


It's still running.

I still have no idea how to check this for the files build from ports.

Regards,
Ralf
___
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"


The biggest mag^ic ga^me since the beginning of time, which is making the entire world go crazy

2012-04-21 Thread gbmovie

In the following text, you will find many many names.
You can choose only… 5… no more… no less.
You have only one sh^ot to choose them.
The second time it will not work, the mag^ic will be gone.

The names you have chosen will give you the answers to some questions you
have been dealing with for a very long time that only you know about.
You will not believe what is happening in front of your eyes.
Don’t even try to understand how it works, you stand no cha^nce.
The best minds are busy trying, and nobody is even close.

Choose the names you want then copy and paste them, follow the instructions
after the following lists (some names are with ^ sign in them; please
ignore it and delete it when you copy them):

Names: Michael; Jessica; Christopher; Ashley; Matthew; Brittany; Joshua;
Amanda; Daniel; Samantha; David; Sarah; Andrew; Stephanie; Ames; Jennifer;
Justin; Elizabeth; Joseph; Lauren; Ryan; Megan; John; Emily; Robert;
Nicole; Nicholas; Kayla; Anthony; Amber; William; Rachel; Jonathan;
Courtney; Kyle; Danielle; Brandon; Heather; Jacob; Melissa; Tyler; Rebecca;
Chary; Michelle; Kevin; Tiffany; Eric; Chelsea; Steven; Christina; Thomas;
Katherine; Brian; Alyssa; Alexander; Jasmine; Jordan; Laura; Timothy;
Hannah; Cody; Kimberly; Adam; Kelsey; Benjamin; Victoria; Aaron; Sara;
Richard; Mary; Patrick; Erica; Sean; Alexandra; Charles; Amy; Stephen;
Crystal; Jeremy; Andrea; Jose; Kelly; Travis; Kristen; Jeffrey; Erin;
Nathan; Brittney; Samuel; Anna; Mark; Taylor; Jason; Maria; Jesse; Allison;
Paul; Cassandra; Dustin; Caitlin.

Movies: Bruce Almighty; Forest Gump; Big; Koyaanisqatsi; What the Bleep Do
We Know!?; Amadeus; Gandhi; Siddhartha; Requiem for a Dream; Hit^ler: The
Rise of Evil; Schindler's List; The Pianist; Monty Python; The Phantom of
the Ope^ra; Close Encounters of the Third Kind; Threshold; Doc^tor Who;
Billy Elliot; Waterland; Flying High; The Mask; Timecop; 9.5 Weeks;
Paycheck; Men in Black; Ghostbusters; Dune; 24; Vanilla Sky; Taken;
Andromeda; Spanglish; E.T.: The Extra-Terrestrial; A.I. Artificial
Intelligence; 2001: A Space Odyssey; Brazil; Scarface; The Godfather;
Legally Blond; The Princess Diaries; Cinderella Man; Rocky; The Double Life
of Veronique; Cine^ma Paradiso; Green Card; Pulp Fiction; Saturday Night
Fever; Grease; Dawson's Creek; I Robot; The Hitchhiker's Gui^de to the
Galaxy; Hair; Marry Poppins; Casablanca; 1984; Planet of the Apes; Basic
Instinct; Species; Gladiator; Rain Man; Finding Neverland; The Chronicles
of Narnia; Heroes; The X-Files; Ally McBeal; The West Wing; Pretty Woman.

Companies: Starbucks; Dunkin’; McDonald's; KFC; Costco; Chase; JetBlue;
Samsung; Google; Microsoft; Calvin Klein; Hugo Boss; Honda; Sony;
Kellogg’s; Coca-Cola; Kraft foods; AT&T; Netflix; Lenovo; Logitech;
Delta.

Actors: David Duchovny; Brooke Skye; Ben Stiller; John Travolta; Liv Tyler;
Richard Gere; Nicole Kidman; Michelle Pfeiffer; Sylvester Stallone; Van
Damme; Harrison Ford; Cher; Jack Nicholson; Jennifer Ariston; Woody Allen.

Mu^sic: Enigma; Deep Forest, Era; Bowie; Genesis; Yes; Minimal Compact;
Peter Hammill; Faithless; Yahel; Infected Mushroom; The Cure; Kate Bush;
Air Supply; Bee Gees; Robert Wyatt; The Velvet Underg^round; The Legendary
Pi^nk Dots; Nick Cave; Adiemus; Buddha Bar; Seal, Vengo; Bartok, Purcell.
Stockhausen; Philip Glass; Arvo Part; Eminem; Alphaville; Madonna; The Alan
Parsons Project; Enya; Emma Shapplin; Thomas Otten; Steve Reich; Julee
Cru^ise; Sarah Brightman; Made To Measure; Tuxedomoon; Oliver Shanti;
Sacred Spirit; Mike Oldfield; Dao Dezi; Abba; Poliker; Jasmin Even; Hair;
Pixies; The Doors; Peter Gabriel; Project Pitchfork; John Cale.

General: love; ha^te; dan^ce; hot; dark; mother; guitar; mu^sic; sugar.

Now you have your 5 words. Remember that the mag^ic works only one time and
only if you follow the rules of the ga^me exactly as they are presented.

The place you will be directed to has 5 blank fields.
In each one copy and paste one of your choosing.
Then hit the search key.
You will get 5 paragraphs to read.
Together they are joined into a short story, built especially for… you.

Good lu^ck -
But just remember one thing; there is no such thing.

Follow the link:
http://www.howtorubit.com/link.php?M=1283799&N=31&L=29&F=T

http://www.howtorubit.com/unsubscribe.php?M=1283799&C=ba7c209c779deed02e8854286befbda0&L=27&N=31

___
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: make world error 9.0-RELEASE #0 i386

2012-04-14 Thread Janos Dohanics
On Sat, 14 Apr 2012 12:28:52 -0400
Janos Dohanics  wrote:

> Hello All,
> 
> I'm trying to build world after having csupped, but the build fails
> with:
> 
> [...]
> c++ -O2 -pipe
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema
> -I.
> -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include
> -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS -DLLVM_HOSTTRIPLE=\"i386-unknown-freebsd9.0
> \" -fstack-protector -fno-exceptions -fno-rtti
> -c 
> /usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp
> {standard input}: Assembler messages: {standard input}:57706:
> Warning: end of file not at end of a line; newline inserted {standard
> input}: Assembler messages: {standard input}:71548: Warning: end of
> file not at end of a line; newline inserted {standard input}:71876:
> Error: no such instruction: `su' {standard input}:58857: Error:
> suffix or operands invalid for `mov' c++: Internal error: Killed: 9
> (program cc1plus) Please submit a full bug report. See
> http://gcc.gnu.org/bugs.html> for instructions. *** Error code 1
> c++: Internal error: Killed: 9 (program cc1plus) Please submit a full
> bug report. See http://gcc.gnu.org/bugs.html> for instructions.
> *** Error code 1
> [...]

I wanted to note that the error occurred when I used make buildworld
with the -j8 switch. Without the -j8 switch the build completed
without errors. 

-- 
Janos Dohanics
___
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"


make world error 9.0-RELEASE #0 i386

2012-04-14 Thread Janos Dohanics
Hello All,

I'm trying to build world after having csupped, but the build fails
with:

c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\"i386-unknown-freebsd9.0\" -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp
c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\"i386-unknown-freebsd9.0\" -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaType.cpp
c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\"i386-unknown-freebsd9.0\" -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/TargetAttributesSema.cpp
c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\"i386-unknown-freebsd9.0\" -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp
{standard input}: Assembler messages:
{standard input}:57706: Warning: end of file not at end of a line; newline 
inserted
{standard input}: Assembler messages:
{standard input}:71548: Warning: end of file not at end of a line; newline 
inserted
{standard input}:71876: Error: no such instruction: `su'
{standard input}:58857: Error: suffix or operands invalid for `mov'
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See http://gcc.gnu.org/bugs.html> for instructions.
*** Error code 1


2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

The build log is at:

http://wwwp.3dresearch.com/KONSTANZE2012041401_buildworld

Would you please advise?

-- 
Janos Dohanics
___
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: Problem installing world in jail template [Solved] 

2012-01-12 Thread bsd
Le 12 janv. 2012 à 19:46, bsd a écrit :

> 
> Le 12 janv. 2012 à 17:29, ss griffon a écrit :
> 
>> On Thu, Jan 12, 2012 at 8:09 AM, bsd  wrote:
>>> Hi,
>>> 
>>> 
>>> I am following the FBSD handbook tutorial in order to install the world in 
>>> my jail template :
>>> 
>>> # cd /usr/src
>>> # make installworld DESTDIR=/jails/j/mroot
>>> 
>>> 
>>> The directory already exists.
>>> 
>>> I have the following errors :
>>> 
>>> 
>>>> ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so
>>>> install -C -o root -g wheel -m 444  
>>>> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h 
>>>> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h 
>>>> /jails/j/mroot/usr/include
>>>> install -o root -g wheel -m 444 com_err.3.gz  
>>>> /jails/j/mroot/usr/share/man/man3
>>>> ===> lib/libcom_err/doc (install)
>>>> install-info --quiet  --defsection="Programming & development tools."  
>>>> --defentry="* libcom_err: (com_err).A Common Error Description 
>>>> Library for UNIX."  com_err.info /jails/j/mroot/usr/share/info/dir
>>>> install-info: /jails/j/mroot/usr/share/info/dir: empty file
>>>> *** Error code 1
>>>> 
>>>> Stop in /usr/src/lib/libcom_err/doc.
>>>> *** Error code 1
>>>> 
>>>> Stop in /usr/src/lib/libcom_err.
>>>> *** Error code 1
>>>> 
>>>> Stop in /usr/src/lib.
>>>> *** 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.
>>>> 
>>> 
>>> 
>>> 
>>> 
>>> Target OS is 9.0-RC3.
>>> 
>>> 
>>> Thanks for your help.
>>> 
>>> 
>>> ––
>>> -> Grégory Bernard Director <-
>>> ---> www.osnet.eu <---
>>> --> Your provider of OpenSource appliances <--
>>> ––
>>> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
>>> 
>>> ___
>>> 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 you check if any of the directories in the path:
>> /jails/j/mroot/usr/share/info/dir are actually created as empty files?
>> It seems like I have had that problem before but I don't remember what
>> the cause was.  I fixed it by deleting the file and making it a
>> directory.
> 
> As far as I can tell all directories are "directories" and not empty files. 
> 
> 
> [root@surf /jails]# cd j
> [root@surf /jails/j]# ls -al 
> total 6
> drwxr-xr-x   4 root  wheel   4 Jan 12 18:16 .
> drwxr-xr-x   4 root  wheel   4 Jan 12 18:08 ..
> drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 mroot
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:16 skel
> [root@surf /jails/j]# cd mroot/
> [root@surf /jails/j/mroot]# ls -al 
> total 26
> drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 .
> drwxr-xr-x   4 root  wheel   4 Jan 12 18:16 ..
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 bin
> drwxr-xr-x   7 root  wheel   7 Jan 12 18:18 boot
> dr-xr-xr-x   2 root  wheel   2 Jan 12 18:18 dev
> drwxr-xr-x  20 root  wheel  20 Jan 12 18:18 etc
> drwxr-xr-x   3 root  wheel   4 Jan 12 23:43 lib
> drwxr-xr-x   3 root  wheel   3 Jan 12 18:18 libexec
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 media
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 mnt
> dr-xr-xr-x   2 root  wheel   2 Jan 12 18:18 proc
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 rescue
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 root
> drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 sbin
> lrwxr-xr-x   1 root  wheel  11 Jan 12 23:43 sys -> usr/src/sys
> drwxrwxrwt   2 root  wheel   2 Jan 12 18:18 tmp
> drwxr-xr-x  14 root  wheel  14 Jan 12 18:18 usr
> drwxr-xr-x  23 root  wheel  23 Jan 12 18:18 var
> [root@surf /jails/j/mroot]# cd usr/
> [root@surf /jails/j/mroot/usr]# ls -al 
> total 22
> drwxr-xr-x  14 root  wheel  14 Jan 12 18:18 .
> drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 ..
> drwxr-xr-x   2 root  w

Re: Problem installing world in jail template

2012-01-12 Thread bsd

Le 12 janv. 2012 à 17:29, ss griffon a écrit :

> On Thu, Jan 12, 2012 at 8:09 AM, bsd  wrote:
>> Hi,
>> 
>> 
>> I am following the FBSD handbook tutorial in order to install the world in 
>> my jail template :
>> 
>> # cd /usr/src
>> # make installworld DESTDIR=/jails/j/mroot
>> 
>> 
>> The directory already exists.
>> 
>> I have the following errors :
>> 
>> 
>>> ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so
>>> install -C -o root -g wheel -m 444  
>>> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h 
>>> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h 
>>> /jails/j/mroot/usr/include
>>> install -o root -g wheel -m 444 com_err.3.gz  
>>> /jails/j/mroot/usr/share/man/man3
>>> ===> lib/libcom_err/doc (install)
>>> install-info --quiet  --defsection="Programming & development tools."  
>>> --defentry="* libcom_err: (com_err).A Common Error Description 
>>> Library for UNIX."  com_err.info /jails/j/mroot/usr/share/info/dir
>>> install-info: /jails/j/mroot/usr/share/info/dir: empty file
>>> *** Error code 1
>>> 
>>> Stop in /usr/src/lib/libcom_err/doc.
>>> *** Error code 1
>>> 
>>> Stop in /usr/src/lib/libcom_err.
>>> *** Error code 1
>>> 
>>> Stop in /usr/src/lib.
>>> *** 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.
>>> 
>> 
>> 
>> 
>> 
>> Target OS is 9.0-RC3.
>> 
>> 
>> Thanks for your help.
>> 
>> 
>> ––
>> -> Grégory Bernard Director <-
>> ---> www.osnet.eu <---
>> --> Your provider of OpenSource appliances <--
>> ––
>> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO
>> 
>> ___
>> 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 you check if any of the directories in the path:
> /jails/j/mroot/usr/share/info/dir are actually created as empty files?
> It seems like I have had that problem before but I don't remember what
> the cause was.  I fixed it by deleting the file and making it a
> directory.

As far as I can tell all directories are "directories" and not empty files. 


[root@surf /jails]# cd j
[root@surf /jails/j]# ls -al 
total 6
drwxr-xr-x   4 root  wheel   4 Jan 12 18:16 .
drwxr-xr-x   4 root  wheel   4 Jan 12 18:08 ..
drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 mroot
drwxr-xr-x   2 root  wheel   2 Jan 12 18:16 skel
[root@surf /jails/j]# cd mroot/
[root@surf /jails/j/mroot]# ls -al 
total 26
drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 .
drwxr-xr-x   4 root  wheel   4 Jan 12 18:16 ..
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 bin
drwxr-xr-x   7 root  wheel   7 Jan 12 18:18 boot
dr-xr-xr-x   2 root  wheel   2 Jan 12 18:18 dev
drwxr-xr-x  20 root  wheel  20 Jan 12 18:18 etc
drwxr-xr-x   3 root  wheel   4 Jan 12 23:43 lib
drwxr-xr-x   3 root  wheel   3 Jan 12 18:18 libexec
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 media
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 mnt
dr-xr-xr-x   2 root  wheel   2 Jan 12 18:18 proc
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 rescue
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 root
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 sbin
lrwxr-xr-x   1 root  wheel  11 Jan 12 23:43 sys -> usr/src/sys
drwxrwxrwt   2 root  wheel   2 Jan 12 18:18 tmp
drwxr-xr-x  14 root  wheel  14 Jan 12 18:18 usr
drwxr-xr-x  23 root  wheel  23 Jan 12 18:18 var
[root@surf /jails/j/mroot]# cd usr/
[root@surf /jails/j/mroot/usr]# ls -al 
total 22
drwxr-xr-x  14 root  wheel  14 Jan 12 18:18 .
drwxr-xr-x  17 root  wheel  18 Jan 12 23:43 ..
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 bin
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 games
drwxr-xr-x  51 root  wheel  53 Jan 12 20:21 include
drwxr-xr-x   7 root  wheel  28 Jan 12 23:43 lib
drwxr-xr-x   4 root  wheel   4 Jan 12 18:18 lib32
drwxr-xr-x   5 root  wheel   5 Jan 12 18:18 libdata
drwxr-xr-x   6 root  wheel   6 Jan 12 18:18 libexec
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 local
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 obj
drwxr-xr-x   2 root  wheel   2 Jan 12 18:18 sbin
drwxr-xr-x  27 root  wheel  27 Jan 12 18:18 share
drwxr-xr-x   2 root  whe

Problem installing world in jail template

2012-01-12 Thread bsd
Hi, 


I am following the FBSD handbook tutorial in order to install the world in my 
jail template : 

# cd /usr/src
# make installworld DESTDIR=/jails/j/mroot


The directory already exists. 

I have the following errors : 


> ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so
> install -C -o root -g wheel -m 444  
> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h 
> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h 
> /jails/j/mroot/usr/include
> install -o root -g wheel -m 444 com_err.3.gz  
> /jails/j/mroot/usr/share/man/man3
> ===> lib/libcom_err/doc (install)
> install-info --quiet  --defsection="Programming & development tools."  
> --defentry="* libcom_err: (com_err).A Common Error Description 
> Library for UNIX."  com_err.info /jails/j/mroot/usr/share/info/dir
> install-info: /jails/j/mroot/usr/share/info/dir: empty file
> *** Error code 1
> 
> Stop in /usr/src/lib/libcom_err/doc.
> *** Error code 1
> 
> Stop in /usr/src/lib/libcom_err.
> *** Error code 1
> 
> Stop in /usr/src/lib.
> *** 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.
> 




Target OS is 9.0-RC3. 


Thanks for your help. 


––
-> Grégory Bernard Director <-
---> www.osnet.eu <---
--> Your provider of OpenSource appliances <--
––
OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO

___
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: Problems building world with 9.0 RC3 [SOLVED]

2012-01-10 Thread Patrick Mahan
>-Original Message-
>From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
>questi...@freebsd.org] On Behalf Of Patrick Mahan
>Sent: Monday, January 09, 2012 4:28 PM
>To: freebsd-questions@freebsd.org
>Subject: Problems building world with 9.0 RC3
>
>All,
>
>I am having an issue with getting buildworld to work for me.  It is failing
>while building zfs -
>
>cc -DADARA_OS  -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib
>/opensolaris/lib/libzpool/common -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/
>opensolaris/include -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/
>opensolaris/lib/libumem -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/com
>pat/opensolaris -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib
>/opensolaris/head -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib
>/opensolaris/lib/libuutil/common -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib
>/opensolaris/lib/libzfs/common -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib
>/opensolaris/lib/libumem/common -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib
>/opensolaris/lib/libnvpair -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con
>trib/opensolaris/uts/common -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con
>trib/opensolaris/uts/common/fs/zfs -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con
>trib/opensolaris/uts/common/sys -
>I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/con
>trib/opensolaris/common/zfs -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-
>protector -Wno-pointer-sign -Wno-unknown-pragmas  -o zfs zfs_main.o
>zfs_iter.o -lbsdxml -lgeom -lm -lnvpair -lsbuf -lumem -lutil -luutil -lzfs
>/lib/libthr.so.3: undefined reference to `__pselect@FBSDprivate_1.0'
>/data/pmahan/devel/pm_ipr9.0/ipr9.0/amd64/obj/data/pmahan/devel/pm_ipr9.0/ip
>r9.0/src/tmp/usr/lib/libzfs.so: undefined reference to `openat@FBSD_1.2'
>
>Now, when I take a look at libpthr.so.3 I for '__pselect' I find -
>
>pmahan@libthr 90 > readelf --symbols libthr.so.3 | grep "__pselect"
>   455: c000   120 FUNCGLOBAL DEFAULT   11
>___pselect@@FBSDprivate_1.0
>   624: c000   120 FUNCGLOBAL DEFAULT   11 ___pselect
>
>So I see the symbol there but with a double "@" not a single.  I don't see
>any errors generated
>when libthr.so.3 is being built so I'm a bit of a loss to understand this.
>I saw in my googling that
>the wacky symbol naming was introduced sometime in 8.x, but I I couldn't
>find anything explaining
>the symbol generation.
>
>So I am looking for pointers on how to track this one down.  Is this a
>compiler issue?
>

I figured this out today, thanks to a colleague who was building just fine.
It turns out that I had LD_LIBRARY_PATH set in my environment (no particular
reason, just left over environmental stuff from years of abuse).

It pointed to '/lib:/usr/lib:/usr/local/lib'

So I'm guessing the it was picking up a library "outside" of the buildworld
sandbox.  Looking at the failed command I notice that there are no "-L"
directives.  Wouldn't this have over-ridden my LD_LIBRARY_PATH?  In any case
I have removed that from my shell environment and everything is now building.

Thanks,

Patrick

Patrick Mahan
Lead Technical Kernel Engineer
Adara Networks
Disclaimer: The opinions expressed here are solely the responsibility of the 
author and are not to be
construed as an official opinion of Adara Networks.

___
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"


Problems building world with 9.0 RC3

2012-01-09 Thread Patrick Mahan
All,

I am having an issue with getting buildworld to work for me.  It is failing
while building zfs -

cc -DADARA_OS  
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libzpool/common
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/opensolaris/include
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/compat/opensolaris/lib/libumem
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/compat/opensolaris
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/head
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libuutil/common
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libzfs/common
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libumem/common
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../cddl/contrib/opensolaris/lib/libnvpair
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/uts/common
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/fs/zfs
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/uts/common/sys
 
-I/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/cddl/sbin/zfs/../../../sys/cddl/contrib/opensolaris/common/zfs
 -DNEED_SOLARIS_BOOLEAN -std=gnu89 -fstack-protector -Wno-pointer-sign 
-Wno-unknown-pragmas  -o zfs zfs_main.o zfs_iter.o -lbsdxml -lgeom -lm -lnvpair 
-lsbuf -lumem -lutil -luutil -lzfs
/lib/libthr.so.3: undefined reference to `__pselect@FBSDprivate_1.0'
/data/pmahan/devel/pm_ipr9.0/ipr9.0/amd64/obj/data/pmahan/devel/pm_ipr9.0/ipr9.0/src/tmp/usr/lib/libzfs.so:
 undefined reference to `openat@FBSD_1.2'

Now, when I take a look at libpthr.so.3 I for '__pselect' I find -

pmahan@libthr 90 > readelf --symbols libthr.so.3 | grep "__pselect" 
   
   455: c000   120 FUNCGLOBAL DEFAULT   11 
___pselect@@FBSDprivate_1.0
   624: c000   120 FUNCGLOBAL DEFAULT   11 ___pselect

So I see the symbol there but with a double "@" not a single.  I don't see any 
errors generated
when libthr.so.3 is being built so I'm a bit of a loss to understand this.  I 
saw in my googling that
the wacky symbol naming was introduced sometime in 8.x, but I I couldn't find 
anything explaining
the symbol generation.

So I am looking for pointers on how to track this one down.  Is this a compiler 
issue?

Thanks,

Patrick___
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: First World

2011-08-22 Thread Daniel Staal
--As of August 22, 2011 2:15:24 PM -0500, Gary Gatten is alleged to have 
said:



Interesting analogy.  Osama - er, I mean Obama could really use people
like you to explain things better to him, 'cause obviously he has NO idea
what his various and numerous Czars and advisors are saying.  Or maybe
they're all barely functional and don't know any better


--As for the rest, it is mine.

What analogy?  I was answering a question posed as an aside, in a typically 
geeky 'ha ha, only serious' way.


The distinction between what is considered a 'First World Country' and a 
'Third World County' is hard to define, but easy to feel if you've traveled 
through a bunch of both.  It's some combination of average wealth, 
stability of the economy, the wealth distribution, and possibly a few other 
factors.  Sodas are actually a decent proxy for them: They are a cheap, 
low-end, consumable, _luxury_ item.  An economy that can support a large 
number of different manufacturers with a large variety is going to have a 
certain average wealth, fairly evenly distributed, and have been stable in 
that situation for a while.  So it's an indicator.  A bit of an odd one, 
but it's easy to check, and does a surprisingly good job.  ;)


It's no major insight, and wouldn't really help make any policy decisions, 
but it's something I'll check given the chance in a new country: What the 
selection is, and what the price is.  It will tell you a surprising amount 
about the country.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
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: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Gary Gatten
You're welcome!

FBSD is awesome - LINUX SUX!

-Original Message-
From: Chris Hill [mailto:ch...@monochrome.org] 
Sent: Monday, August 22, 2011 5:24 PM
To: Gary Gatten
Cc: 'Daniel Staal'; freebsd-questions@freebsd.org
Subject: RE: First World (Was: What dialup modem WILL work with 8.x and uart?)

On Mon, 22 Aug 2011, Gary Gatten wrote:

> Interesting analogy.  Osama - er, I mean Obama could really use people 
> like you to explain things better to him, 'cause obviously he has NO 
> idea what his various and numerous Czars and advisors are saying.  Or 
> maybe they're all barely functional and don't know any better

I'm sure the OP found that extremely helpful. Thanks for the trenchant 
incisiveness. Right on topic, too.

> Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!

Right.

>
> On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:
>> I live in some 3rd world country (BTW, how does one become 1st world?)
>
> Back in the day, you'd have needed to join NATO...  (2nd world, of course,
> required joining the Warsaw Pact.)
>
> These days, I subscribe to the 'soda theory'.  At the lowest level of an
> economy, you can only buy one of Pepsi or Coke.  A step up, and you will
> have a choice.  The next step beyond that, you have a choice between
> Sprite and 7-Up.  A first world economy will have multiple choices for any
> flavor of soda, including things like Root Beer, Grape, or Sport Drinks.
> In fact, you will have specialty sodas in most flavors, that are in
> limited distribution by area, but still in major market retailers.  They
> will often be sold at prices near or above half an hour's wage (at minimum
> wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
> half that or less.)
>
> ;)
>
> Daniel T. Staal
>
> (How is Kenya these days?  I haven't been there in 10 years or so...)
>
> ---
> This email copyright the author.  Unless otherwise noted, you
> are expressly allowed to retransmit, quote, or otherwise use
> the contents for non-commercial purposes.  This copyright will
> expire 5 years after the author's death, or in 30 years,
> whichever is longer, unless such a period is in excess of
> local copyright law.
> ---
>
> ___
> 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"
>
>
>
>
>
> 
> 
> 
> "This email is intended to be reviewed by only the intended recipient
> and may contain information that is privileged and/or confidential.
> If you are not the intended recipient, you are hereby notified that
> any review, use, dissemination, disclosure or copying of this email
> and its attachments, if any, is strictly prohibited.  If you have
> received this email in error, please immediately notify the sender by
> return email and delete this email from your system."
> 
>
> ___
> 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"
>

-- 
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Chris Hill

On Mon, 22 Aug 2011, Gary Gatten wrote:

Interesting analogy.  Osama - er, I mean Obama could really use people 
like you to explain things better to him, 'cause obviously he has NO 
idea what his various and numerous Czars and advisors are saying.  Or 
maybe they're all barely functional and don't know any better


I'm sure the OP found that extremely helpful. Thanks for the trenchant 
incisiveness. Right on topic, too.



Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!


Right.



On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:

I live in some 3rd world country (BTW, how does one become 1st world?)


Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks.
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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"








"This email is intended to be reviewed by only the intended recipient
and may contain information that is privileged and/or confidential.
If you are not the intended recipient, you are hereby notified that
any review, use, dissemination, disclosure or copying of this email
and its attachments, if any, is strictly prohibited.  If you have
received this email in error, please immediately notify the sender by
return email and delete this email from your system."


___
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"



--
Chris Hill   ch...@monochrome.org
** [ Busy Expunging  ]
___
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: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Gary Gatten

Interesting analogy.  Osama - er, I mean Obama could really use people like you 
to explain things better to him, 'cause obviously he has NO idea what his 
various and numerous Czars and advisors are saying.  Or maybe they're all 
barely functional and don't know any better

Oh wait, this is a FBSD list...  Ah, FBSD Rules!  Long live FBSD!



On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:
> I live in some 3rd world country (BTW, how does one become 1st world?)

Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks. 
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: First World (Was: What dialup modem WILL work with 8.x and uart?)

2011-08-22 Thread Daniel Staal

On Mon, August 22, 2011 7:19 am, Odhiambo Washington wrote:
> I live in some 3rd world country (BTW, how does one become 1st world?)

Back in the day, you'd have needed to join NATO...  (2nd world, of course,
required joining the Warsaw Pact.)

These days, I subscribe to the 'soda theory'.  At the lowest level of an
economy, you can only buy one of Pepsi or Coke.  A step up, and you will
have a choice.  The next step beyond that, you have a choice between
Sprite and 7-Up.  A first world economy will have multiple choices for any
flavor of soda, including things like Root Beer, Grape, or Sport Drinks. 
In fact, you will have specialty sodas in most flavors, that are in
limited distribution by area, but still in major market retailers.  They
will often be sold at prices near or above half an hour's wage (at minimum
wage) for a single soda.  (Vs. Coke or Pepsi, which are usually sold at
half that or less.)

;)

Daniel T. Staal

(How is Kenya these days?  I haven't been there in 10 years or so...)

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---

___
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: Build World fails on 7-stable with cvs sources

2010-12-02 Thread Adam Vande More
On Thu, Dec 2, 2010 at 6:30 PM, Martes G Wigglesworth <
mailinglistmem...@mgwigglesworth.net> wrote:

> I am now testing with the same sources tree on three different virtual
> machines to see if it will fail. If it won't, then I will just have to
> accept that one of the other poster's indications that it may be hardware
> related, is the cause, and look at replacing that equipment. So far, two of
> them are still running without error with the same sources tree. (Just
> started the third on another system for good measure.)
>
> I am running them on different host architectures as both a test of the vm,
> and as a test to make sure that a clean install of 7.3-Release will not fail
> upon building world on them.
>
>
> On 11/28/2010 10:14 PM, Michael Eubanks wrote:
>
>> Curious. What does your ``make'' command look like?
>>
> My make command is as follows:
> make buildworld
>
> I actually have the entire process built into a simple shell script which
> runs the commands and throws their output to log files, and then reports
> back to the central "updater" script with any errors at any level of the
> process. Nothing fancy, because I forgot that it was their about a month
> later when I didn't need to update anymore systems.
>

You should follow ***ALL*** the steps on the handbook page on buildworld.
>From what you have stated so far, you have not done that.  If that still
proves unsuccessful, booting off of a USB FreeBSD clean install drive should
allow you to test a buildworld without attempting to run down an elusive
hardware issue.  If it's still broken in that situation, it would give the
hardware problem theory a lot more credence.

-- 
Adam Vande More
___
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: Build World fails on 7-stable with cvs sources

2010-12-02 Thread Michael Eubanks
On Thu, 2010-12-02 at 19:30 -0500, Martes G Wigglesworth wrote:
> Greetings Mickael
> 
> I am now testing with the same sources tree on three different virtual 
> machines to see if it will fail. If it won't, then I will just have to 
> accept that one of the other poster's indications that it may be 
> hardware related, is the cause, and look at replacing that equipment. So 
> far, two of them are still running without error with the same sources 
> tree. (Just started the third on another system for good measure.)
> 
Yes. This is probably dead on. The documentation will tell you the same
thing.

> I am running them on different host architectures as both a test of the 
> vm, and as a test to make sure that a clean install of 7.3-Release will 
> not fail upon building world on them.
> 
> On 11/28/2010 10:14 PM, Michael Eubanks wrote:
> > Curious. What does your ``make'' command look like?
> My make command is as follows:
> make buildworld
> 
The only thing that I would suggest you might try, assuming that there
are some options on the command line or in make.conf, is to remove those
options (e.g., -j, etc.).  This is what I was getting at before.  If
your other builds are successful and all else fails, though, you have a
hardware issue on that machine.

> I actually have the entire process built into a simple shell script 
> which runs the commands and throws their output to log files, and then 
> reports back to the central "updater" script with any errors at any 
> level of the process. Nothing fancy, because I forgot that it was their 
> about a month later when I didn't need to update anymore systems.
> 

-Michael


___
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: Build World fails on 7-stable with cvs sources

2010-12-02 Thread Martes G Wigglesworth


Greetings Mickael

I am now testing with the same sources tree on three different virtual 
machines to see if it will fail. If it won't, then I will just have to 
accept that one of the other poster's indications that it may be 
hardware related, is the cause, and look at replacing that equipment. So 
far, two of them are still running without error with the same sources 
tree. (Just started the third on another system for good measure.)


I am running them on different host architectures as both a test of the 
vm, and as a test to make sure that a clean install of 7.3-Release will 
not fail upon building world on them.


On 11/28/2010 10:14 PM, Michael Eubanks wrote:

Curious. What does your ``make'' command look like?

My make command is as follows:
make buildworld

I actually have the entire process built into a simple shell script 
which runs the commands and throws their output to log files, and then 
reports back to the central "updater" script with any errors at any 
level of the process. Nothing fancy, because I forgot that it was their 
about a month later when I didn't need to update anymore systems.


--

Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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: Build World fails on 7-stable with cvs sources

2010-11-28 Thread Michael Eubanks
On Sun, 2010-11-28 at 03:14 -0500, Martes G Wigglesworth wrote:
> Greetings.
> 
> I have cvs'd to the most current 7-stable source tree and have compiled 
> a kernel using these sources.
> However, when I attempt to complete the buildworld process, I keep 
> getting failures in the below-listed areas.
> 
> Does anyone know of an issue with these sources?  I see that this 
> release is now considered "legacy" so I hope I am not at end of life on 
> this source tree.
> 
> The system is just an edge router so I am just updating to the newest 
> stable release due to the assumptions that there may be some fixes 
> included in the sources.
> 
> I have my own patched ipfirewall sources, (don't feel like writing a 
> script for ipfw to run and figure out why it isn't running at boot, 
> etc),however, I have not installed them yet, since I have not 
> patched anything on this test upgrade box, yet.
> 
> I have the full logs from build world and kernel build, if someone would 
> like to see them. (very long, and don't fail until the point listed below)
> 
> The kernel kept failing as well, until I used the old method by hand, in 
> the /usr/src/sys/i386/conf directory.
> 
> That is another question that I would like to ask.
> 
> Why am I able to compile and install a kernel just fine using the old 
> method, however, using the make buildkernel... method fails on some 
> obscure module that I usually don't even have included within the config 
> file?
> 
> gnu/lib/libgomp (buildincludes)
> sed -e 's/@OMP_LOCK_ALIGN@/4/g'  -e 's/@OMP_LOCK_KIND@/4/g'  -e 
> 's/@OMP_LOCK_SIZE@/4/g'  -e 's/@OMP_NEST_LOCK_ALIGN@/4/g'  -e 
> 's/@OMP_NEST_LOCK_KIND@/8/g'  -e 's/@OMP_NEST_LOCK_SIZE@/8/g' < 
> /usr/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/omp.h.in > omp.h
> ===> gnu/lib/libregex (buildincludes)
> sed 's===g' < 
> /usr/src/gnu/lib/libregex/regex.h > regex.h.patched
> ===> gnu/lib/libregex/doc (buildincludes)
> ===> gnu/lib/libreadline (buildincludes)
> ===> gnu/lib/libreadline/history (buildincludes)
> ===> gnu/lib/libreadline/history/doc (buildincludes)
> ===> gnu/lib/libreadline/readline (buildincludes)
> ===> gnu/lib/libreadline/readline/doc (buildincludes)
> ===> gnu/lib/libstdc++ (buildincludes)
> Segmentation fault (core dumped)
> *** Error code 139
> 
> Stop in /usr/src/gnu/lib.
> *** Error code 1
> 
> Stop in /usr/src/gnu.
> *** Error code 1
> 
> Stop in /usr/src/gnu.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
> 


Curious. What does your ``make'' command look like?



___
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"


Build World fails on 7-stable with cvs sources

2010-11-28 Thread Martes G Wigglesworth


Greetings.

I have cvs'd to the most current 7-stable source tree and have compiled 
a kernel using these sources.
However, when I attempt to complete the buildworld process, I keep 
getting failures in the below-listed areas.


Does anyone know of an issue with these sources?  I see that this 
release is now considered "legacy" so I hope I am not at end of life on 
this source tree.


The system is just an edge router so I am just updating to the newest 
stable release due to the assumptions that there may be some fixes 
included in the sources.


I have my own patched ipfirewall sources, (don't feel like writing a 
script for ipfw to run and figure out why it isn't running at boot, 
etc),however, I have not installed them yet, since I have not 
patched anything on this test upgrade box, yet.


I have the full logs from build world and kernel build, if someone would 
like to see them. (very long, and don't fail until the point listed below)


The kernel kept failing as well, until I used the old method by hand, in 
the /usr/src/sys/i386/conf directory.


That is another question that I would like to ask.

Why am I able to compile and install a kernel just fine using the old 
method, however, using the make buildkernel... method fails on some 
obscure module that I usually don't even have included within the config 
file?


gnu/lib/libgomp (buildincludes)
sed -e 's/@OMP_LOCK_ALIGN@/4/g'  -e 's/@OMP_LOCK_KIND@/4/g'  -e 
's/@OMP_LOCK_SIZE@/4/g'  -e 's/@OMP_NEST_LOCK_ALIGN@/4/g'  -e 
's/@OMP_NEST_LOCK_KIND@/8/g'  -e 's/@OMP_NEST_LOCK_SIZE@/8/g' < 
/usr/src/gnu/lib/libgomp/../../../contrib/gcclibs/libgomp/omp.h.in > omp.h

===> gnu/lib/libregex (buildincludes)
sed 's===g' < 
/usr/src/gnu/lib/libregex/regex.h > regex.h.patched

===> gnu/lib/libregex/doc (buildincludes)
===> gnu/lib/libreadline (buildincludes)
===> gnu/lib/libreadline/history (buildincludes)
===> gnu/lib/libreadline/history/doc (buildincludes)
===> gnu/lib/libreadline/readline (buildincludes)
===> gnu/lib/libreadline/readline/doc (buildincludes)
===> gnu/lib/libstdc++ (buildincludes)
Segmentation fault (core dumped)
*** Error code 139

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

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

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

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

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

Stop in /usr/src.

--
Respectfully,


Martes G Wigglesworth
M. G. Wigglesworth Holdings, LLC
www.mgwigglesworth.net

___
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: zfs on 7.3 with 7.2 world

2010-11-15 Thread krad
On 15 November 2010 08:56, cronfy  wrote:

> Hello,
>
>
> > > I want to start using ZFS v13 and I have FreeBSD 7.2 world with 7.3
> > kernel.
> > >
> > > And if I need to upgrade something in the world - what should it be?
> >
> > Why do you not update FreeBSD properly? If you want to use 7.3, install
> > kernel _and_ world. (I would suggest using 8.1 though.)
> >
> >
> If it would be my own desktop I surely did upgrade it as described and
> switched to 8.1 too. But this is a production server, so I am trying to
> keep
> changes as minimal as possible and only if changes are required indeed.
>
>
> --
> // cronfy
> ___
> 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"
>

but you now have a critical box in an unsupportable inconsistent state. If I
were your boss and knew you were doing that I would be asking serious
questions
___
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: zfs on 7.3 with 7.2 world

2010-11-15 Thread cronfy
Hello,


> > I want to start using ZFS v13 and I have FreeBSD 7.2 world with 7.3
> kernel.
> >
> > And if I need to upgrade something in the world - what should it be?
>
> Why do you not update FreeBSD properly? If you want to use 7.3, install
> kernel _and_ world. (I would suggest using 8.1 though.)
>
>
If it would be my own desktop I surely did upgrade it as described and
switched to 8.1 too. But this is a production server, so I am trying to keep
changes as minimal as possible and only if changes are required indeed.


-- 
// cronfy
___
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: zfs on 7.3 with 7.2 world

2010-11-14 Thread Andreas Rudisch
On Mon, 15 Nov 2010 09:22:06 +0300
cronfy  wrote:

> I want to start using ZFS v13 and I have FreeBSD 7.2 world with 7.3 kernel.
>
> And if I need to upgrade something in the world - what should it be?

Why do you not update FreeBSD properly? If you want to use 7.3, install
kernel _and_ world. (I would suggest using 8.1 though.)

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

It is far easier to help you once you run into problems, if your system
is consistent.

Andreas
--
GnuPG key  : 0x2A573565|http://www.gnupg.org/howtos/de/
Fingerprint: 925D 2089 0BF9 8DE5 9166  33BB F0FD CD37 2A57 3565


pgpHmEbUBA9CS.pgp
Description: PGP signature


zfs on 7.3 with 7.2 world

2010-11-14 Thread cronfy
Hello,

I want to start using ZFS v13 and I have FreeBSD 7.2 world with 7.3 kernel.
Do I have to upgrade zfs/zpool binaries (and maybe some libraries) to 7.3 or
only recent kernel version is required to work with ZVS v13 safely?

And if I need to upgrade something in the world - what should it be?

Thanks.

-- 
// cronfy
___
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  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"


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 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  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 Arthur Chance

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

On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht  
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 Polytropon
On Thu, 23 Sep 2010 12:02:17 +0100, Anton Shterenlikht  
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"


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: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 5:54:28 PM -0500 Michel Talon  
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: 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 3:45:43 PM -0500 Michael Powell  
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 Paul Schmehl
--On May 9, 2009 3:40:23 PM -0500 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.


[...]

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 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 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"


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 
 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: Build/Install world via ssh

2009-04-02 Thread Simon Griffiths
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Bruce Cran
> Sent: 01 April 2009 23:12
> To: Simon Griffiths
> Cc: freebsd-questions@freebsd.org
> Subject: Re: Build/Install world via ssh
> 
> On Wed, 1 Apr 2009 22:38:47 +0100
> "Simon Griffiths"  wrote:

[snip]

Thank you all for your advice.  The build went through fine and the box came
back lovely even though I did have a backup plan if that didn't work.

Great stuff, saves a 300 mile journey :-)

Simon

___
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: Build/Install world via ssh

2009-04-01 Thread Bruce Cran
On Wed, 1 Apr 2009 22:38:47 +0100
"Simon Griffiths"  wrote:

> Hello,
> 
> I tried to get an answer to this via web searches etc.  I have a
> freebsd 7 box that I plan on upgrading remotely via 
> 
> Make buildworld
> Make buildkernel KERNCONF=xyz
> 
> Now im stuck,  I cannot get it down to single user because I only have
> access via ssh.  Would it hurt to 
> 
> Make installkernel KERNCONF=xyz
> Make installworld
> 
> Mergemaster etc.
> 
> Reboot
> 
> ?
> 

Don't forget a 'mergemaster -p' too before installing.

Officially running installworld in multi-user mode isn't supported
because although it usually works, it can fail.  What I do when
upgrading over ssh is to kill off everything except sshd and essential
things like ppp so as little as possible is left that could cause
problems - that includes cron and syslogd.  I've never had any problems
but I know it's discouraged because you could be left with a broken
system if something does go wrong.

-- 
Bruce Cran
___
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: Build/Install world via ssh

2009-04-01 Thread APseudoUtopia
On Wed, Apr 1, 2009 at 5:38 PM, Simon Griffiths
 wrote:
> Hello,
>
> I tried to get an answer to this via web searches etc.  I have a freebsd 7
> box that I plan on upgrading remotely via
>
> Make buildworld
> Make buildkernel KERNCONF=xyz
>
> Now im stuck,  I cannot get it down to single user because I only have
> access via ssh.  Would it hurt to
>
> Make installkernel KERNCONF=xyz
> Make installworld
>
> Mergemaster etc.
>
> Reboot
>
> ?
>
> TIA,
>
> Simon
>

I upgrade, compile, and install kernels and the world remotely on a
semi-regular basis. You just have to be careful with things, such as
installing the kernel to an alternate dir in /boot/ and using
nextboot(8) to test the kernel. You ABSOLUTELY have a chance of
something going wrong and hosing your system. Make sure you back up
files (and transfer those backups to another system).
___
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: Build/Install world via ssh

2009-04-01 Thread John Nielsen
On Wednesday 01 April 2009 05:38:47 pm Simon Griffiths wrote:
> Hello,
>
> I tried to get an answer to this via web searches etc.  I have a
> freebsd 7 box that I plan on upgrading remotely via
>
> Make buildworld
> Make buildkernel KERNCONF=xyz
>
> Now im stuck,  I cannot get it down to single user because I only have
> access via ssh.  Would it hurt to
>
> Make installkernel KERNCONF=xyz
> Make installworld
>
> Mergemaster etc.
>
> Reboot

What specific versions are you upgrading to/from?

I personally do upgrades over SSH all the time (by skipping the 
single-user step) but there are reasons it's not recommended. If your new 
kernel doesn't work or play nicely for some reason you don't want to be 
stuck with a world newer than your (reinstalled) old kernel. If the 
system doesn't come back up multi-user for any of a variety of reasons 
then you won't have SSH access, etc.

You should have good backups and a way to get console access if it's 
needed. That said, it usually works--especially for small incremental 
upgrades (7.0 to 7.1 or just different points along the same -STABLE 
branch, etc).

So in a nutshell there are no guarantees but if you have an adequate 
bailout plan it can be a timesaver.

JN

___
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"


Build/Install world via ssh

2009-04-01 Thread Simon Griffiths
Hello,

I tried to get an answer to this via web searches etc.  I have a freebsd 7
box that I plan on upgrading remotely via 

Make buildworld
Make buildkernel KERNCONF=xyz

Now im stuck,  I cannot get it down to single user because I only have
access via ssh.  Would it hurt to 

Make installkernel KERNCONF=xyz
Make installworld

Mergemaster etc.

Reboot

?

TIA,

Simon

___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Jerry McAllister
On Tue, Mar 24, 2009 at 10:54:31AM +0100, Matthias Apitz wrote:

> 
> Hello,
> 
> I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
> problem); but I'm unsure now how to bring the ports tree /usr/ports to
> CURRENT;
> 
> normally in 7.0-REL I've used 'portsnap fetch update', but this will
> perhaps not bring the ports tree to CURRENT; I've read a lot the
> handbook about, but it is not clear for me; should I use CVS as well to
> bring the /usr/ports to CURRENT, or something else?

Just put the line

ports-all tag=.

in your supfile whenever you do the csup.   

Remember what the ports tree is - a skeleton for installing ports.
Doing this will just bring the tree up to date.   Then you will need
to build and install the desired ports to get the actual utilities
updated.

You might also add
 
doc-all tag=.

to the supfile to get the latest docs.

jerry


> 
> Thx for a pointer
> 
>   matthias
> -- 
> Matthias Apitz
> Manager Technical Support - OCLC GmbH
> Gruenwalder Weg 28g - 82041 Oberhaching - Germany
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e  - w http://www.oclc.org/ http://www.UnixArea.de/
> ___
> 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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Matthias Apitz
El día Tuesday, March 24, 2009 a las 12:06:43PM +, RW escribió:

> On Tue, 24 Mar 2009 11:21:10 +0100
> Matthias Apitz  wrote:
> 
> > El día Tuesday, March 24, 2009 a las 10:07:14AM +, Bruce Cran
> > escribió:
> > 
> > > The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
> > > always fetch the latest copy from cvs mainline, and the only way to
> > > go back to a branch (e.g RELENG_5_5_0) is by using csup, which you
> > > would only really want to do if you're using a release of FreeBSD
> > > which has gone out of support, such as 5.x.
> > 
> > What made me worry about this was reading
> > 
> > http://www.freebsd.org/ports/index.html
> > 
> > The Ports Collection supports the latest release on the
> > FreeBSD-CURRENT and FreeBSD-STABLE branches
> 
> You should still rebuild all your ports, since you have crossed a major
> version boundary. 

Yes, of course I should do that; but this is a clean system; I've just
installe 70R and CVS updated to CURRENT; no packages have been in
/var/db/pkg;

I now CVS check'ed out /usr/ports and will build what I need.

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread RW
On Tue, 24 Mar 2009 11:21:10 +0100
Matthias Apitz  wrote:

> El día Tuesday, March 24, 2009 a las 10:07:14AM +, Bruce Cran
> escribió:
> 
> > The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
> > always fetch the latest copy from cvs mainline, and the only way to
> > go back to a branch (e.g RELENG_5_5_0) is by using csup, which you
> > would only really want to do if you're using a release of FreeBSD
> > which has gone out of support, such as 5.x.
> 
> What made me worry about this was reading
> 
> http://www.freebsd.org/ports/index.html
> 
> The Ports Collection supports the latest release on the
> FreeBSD-CURRENT and FreeBSD-STABLE branches

You should still rebuild all your ports, since you have crossed a major
version boundary. 

___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Matthias Apitz
El día Tuesday, March 24, 2009 a las 10:07:14AM +, Bruce Cran escribió:

> On Tue, Mar 24, 2009 at 10:54:31AM +0100, Matthias Apitz wrote:
> > 
> > Hello,
> > 
> > I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
> > problem); but I'm unsure now how to bring the ports tree /usr/ports to
> > CURRENT;
> > 
> > normally in 7.0-REL I've used 'portsnap fetch update', but this will
> > perhaps not bring the ports tree to CURRENT; I've read a lot the
> > handbook about, but it is not clear for me; should I use CVS as well to
> > bring the /usr/ports to CURRENT, or something else?
> > 
> 
> The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
> always fetch the latest copy from cvs mainline, and the only way to go back to
> a branch (e.g RELENG_5_5_0) is by using csup, which you would only
> really want to do if you're using a release of FreeBSD which has gone
> out of support, such as 5.x.

What made me worry about this was reading

http://www.freebsd.org/ports/index.html

The Ports Collection supports the latest release on the FreeBSD-CURRENT
and FreeBSD-STABLE branches

I have now thrown away the /usr/ports which came from the 70R CDROM and
did a

# cvs checkout ports

now, for example, ports/UPDATING is bleeding edge;

Thx for your feedback in any case

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Bruce Cran
On Tue, Mar 24, 2009 at 10:54:31AM +0100, Matthias Apitz wrote:
> 
> Hello,
> 
> I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
> problem); but I'm unsure now how to bring the ports tree /usr/ports to
> CURRENT;
> 
> normally in 7.0-REL I've used 'portsnap fetch update', but this will
> perhaps not bring the ports tree to CURRENT; I've read a lot the
> handbook about, but it is not clear for me; should I use CVS as well to
> bring the /usr/ports to CURRENT, or something else?
> 

The ports tree isn't versioned like /usr/src; 'portsnap fetch' will
always fetch the latest copy from cvs mainline, and the only way to go back to
a branch (e.g RELENG_5_5_0) is by using csup, which you would only
really want to do if you're using a release of FreeBSD which has gone
out of support, such as 5.x.

-- 
Bruce Cran
___
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"


updated "world" to CURRENT, how to update ports to CURRENT?

2009-03-24 Thread Matthias Apitz

Hello,

I've updated FreeBSD in some VM from 7.0-REL to CURRENT (without any
problem); but I'm unsure now how to bring the ports tree /usr/ports to
CURRENT;

normally in 7.0-REL I've used 'portsnap fetch update', but this will
perhaps not bring the ports tree to CURRENT; I've read a lot the
handbook about, but it is not clear for me; should I use CVS as well to
bring the /usr/ports to CURRENT, or something else?

Thx for a pointer

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.oclc.org/ http://www.UnixArea.de/
___
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: How do I determine the FreeBSD "world" revision/version?

2009-03-07 Thread Robert Huff

Polytropon writes:
>  > If you do 'mix-and-match' where different parts of your system 
>  > come from different versions of FreeBSD you will have to keep
>  >  track of this yourself.
>
>  Such differences can occur if you
>   1st - make update
>   2nd - build and install world and kernel
>   3rd - make update again
>   4th - build and install kernel only
>  
>  It can as well happen if you "make install" for a certain part of
>  the OS (from the /usr/src tree) only.

I would consider these wearing a giant karmic "Kick Me!" sign.
I've done it, but only rarely, with parts that don't change much,
and with code bases that are _at most_ a few days apart.


Robert Huff

___
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: How do I determine the FreeBSD "world" revision/version?

2009-03-06 Thread Polytropon
Just an addition:

On Fri, 6 Mar 2009 21:54:02 +0100, Erik Trulsson  wrote:
> No, there is no such information.  The version stored in the kernel applies
> to both kernel and userland.

This is correct for the sources which usually are updated both
(running "make update" in /usr/src).



> If you do 'mix-and-match' where different parts of your system come from
> different versions of FreeBSD you will have to keep track of this yourself.

Such differences can occur if you
1st - make update
    2nd - build and install world and kernel
3rd - make update again
4th - build and install kernel only

It can as well happen if you "make install" for a certain part of
the OS (from the /usr/src tree) only.



An indication of the current version of any part of the OS or the
kernel can be obtained from the $FreeBSD$ CVS tag on a per-file
basis. But note that these don't refer to a RELEASE or STABLE
notation.



-- 
Polytropon
>From 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: How do I determine the FreeBSD "world" revision/version?

2009-03-06 Thread Erik Trulsson
On Fri, Mar 06, 2009 at 03:12:26PM -0500, Ian Bonnycastle wrote:
> Good afternoon everyone,
> 
> I'm asking this question here because I honestly don't know where to turn to
> otherwise. I've looked through forums, Google search results and the FreeBSD
> handbook without a specific answer. I understand the concept that FreeBSD is
> actually an OS, which is a combination of the kernel and the "world". Ports
> are the extraneous userland which is not mandatory for a working system.
> Now, in order to explain my question, I have to use an analogy: In Linux,
> you can have a kernel version, a distribution version and software versions.
> If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash
> (another example) 3.2, you know that upgrading can occur at any of those
> levels.
> 
> My actual question is this: Is there a way to tell what version of the
> FreeBSD world you're running outside of "uname -a", which tells you what
> *kernel* version you're running? I do know that any of these can be patched
> to different levels outside of what you've installed from scratch (or
> upgraded to at any particular level), but with Linux, when you run the
> respective commands, you get the *base* revision you started from. In
> FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give
> you the software revision base for a particular port/package. If I have a
> particular FreeBSD system, and know its a modified kernel, how can I tell
> what base was originally on it? I've often updated the kernel on a
> 7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the
> base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or
> 7.x-RELEASE and after upgrading the kernel, is this informaiton stored
> anywhere?

No, there is no such information.  The version stored in the kernel applies
to both kernel and userland.
If you do 'mix-and-match' where different parts of your system come from
different versions of FreeBSD you will have to keep track of this yourself.
Having kernel and userland from different FreeBSD versions is not supported
and can somtimes cause problems.



-- 

Erik Trulsson
ertr1...@student.uu.se
___
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: How do I determine the FreeBSD "world" revision/version?

2009-03-06 Thread Ivan "Rambius" Ivanov
Hello,

On Fri, Mar 6, 2009 at 3:12 PM, Ian Bonnycastle  wrote:
> If I have a
> particular FreeBSD system, and know its a modified kernel, how can I tell
> what base was originally on it?
Actually, why would you want to know this and how do you define base?

I have a laptop on which I installed years ago FreeBSD 5.5. Then I
upgraded the sources using cvsup to 6.0 and rebuilt it, than again to
6.1, 6.2 and up to 7.1. So what is the base in this case?

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
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: How do I determine the FreeBSD "world" revision/version?

2009-03-06 Thread Jamie




   Ian,

   You can do a: "less /var/run/dmesg.boot" and near the beginning of the 
output it displays your system build:


FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.3-RELEASE-p3 #3: Wed Jul 16 14:51:34 CDT 2008
ja...@example.foo.net:/usr/obj/usr/src/sys/BSNI


  This says 6.3 RELEASE, and it will also give the patchlevel (p3)



 - Jamie




-

  "Wherever you go, there you are!"

On Fri, 6 Mar 2009, Ian Bonnycastle wrote:


Good afternoon everyone,

I'm asking this question here because I honestly don't know where to turn to
otherwise. I've looked through forums, Google search results and the FreeBSD
handbook without a specific answer. I understand the concept that FreeBSD is
actually an OS, which is a combination of the kernel and the "world". Ports
are the extraneous userland which is not mandatory for a working system.
Now, in order to explain my question, I have to use an analogy: In Linux,
you can have a kernel version, a distribution version and software versions.
If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash
(another example) 3.2, you know that upgrading can occur at any of those
levels.

My actual question is this: Is there a way to tell what version of the
FreeBSD world you're running outside of "uname -a", which tells you what
*kernel* version you're running? I do know that any of these can be patched
to different levels outside of what you've installed from scratch (or
upgraded to at any particular level), but with Linux, when you run the
respective commands, you get the *base* revision you started from. In
FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give
you the software revision base for a particular port/package. If I have a
particular FreeBSD system, and know its a modified kernel, how can I tell
what base was originally on it? I've often updated the kernel on a
7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the
base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or
7.x-RELEASE and after upgrading the kernel, is this informaiton stored
anywhere?

Also, if this *is* explained somewhere, and I've missed, I honestly
apologize in advance.

Thanks,

Ian

--
So drop on the deck and flop like a fish.
___
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"


How do I determine the FreeBSD "world" revision/version?

2009-03-06 Thread Ian Bonnycastle
Good afternoon everyone,

I'm asking this question here because I honestly don't know where to turn to
otherwise. I've looked through forums, Google search results and the FreeBSD
handbook without a specific answer. I understand the concept that FreeBSD is
actually an OS, which is a combination of the kernel and the "world". Ports
are the extraneous userland which is not mandatory for a working system.
Now, in order to explain my question, I have to use an analogy: In Linux,
you can have a kernel version, a distribution version and software versions.
If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash
(another example) 3.2, you know that upgrading can occur at any of those
levels.

My actual question is this: Is there a way to tell what version of the
FreeBSD world you're running outside of "uname -a", which tells you what
*kernel* version you're running? I do know that any of these can be patched
to different levels outside of what you've installed from scratch (or
upgraded to at any particular level), but with Linux, when you run the
respective commands, you get the *base* revision you started from. In
FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give
you the software revision base for a particular port/package. If I have a
particular FreeBSD system, and know its a modified kernel, how can I tell
what base was originally on it? I've often updated the kernel on a
7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the
base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or
7.x-RELEASE and after upgrading the kernel, is this informaiton stored
anywhere?

Also, if this *is* explained somewhere, and I've missed, I honestly
apologize in advance.

Thanks,

Ian

-- 
So drop on the deck and flop like a fish.
___
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:(solved) World doesn't build correctly

2009-02-20 Thread Frank Wißmann
Am Donnerstag 19 Februar 2009 21:07:47 schrieb Polytropon:
> On Thu, 19 Feb 2009 18:14:01 +0100, Frank Wißmann 
 wrote:
> > I did it now the way you told me but it still shows 7.0-Release at
> > uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is
> > something wrong?
>
> I've found something strange in the CVSup files:
>
>   Your file   My file
>   -
>   *default base=/usr/src  *default base=/var/db
>   *default prefix=/usr/src*default prefix=/usr
>   *default release=cvs*default release=cvs tag=RELENG_7
>
> You see these differences: base and prefix are set incorrectly and
> release / tag is incomplete. You should follow Mel's advice and
> take the file /usr/share/examples/cvsup/stable-supfile as a starting
> point. Of course, you can cut the many comments, but be sure that
> the settings are valid (as shown above).

Yip-yip-yeah!
Once you make it right it works :-).
Thanks to all who helped.

Greetings

Frank

-- 
GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? 

When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)
___
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: World doesn't build correctly

2009-02-19 Thread Polytropon
On Thu, 19 Feb 2009 18:14:01 +0100, Frank Wißmann  
wrote:
> I did it now the way you told me but it still shows 7.0-Release at 
> uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is 
> something wrong?

I've found something strange in the CVSup files:

Your file   My file
-
*default base=/usr/src  *default base=/var/db
*default prefix=/usr/src*default prefix=/usr
*default release=cvs*default release=cvs tag=RELENG_7

You see these differences: base and prefix are set incorrectly and
release / tag is incomplete. You should follow Mel's advice and
take the file /usr/share/examples/cvsup/stable-supfile as a starting
point. Of course, you can cut the many comments, but be sure that
the settings are valid (as shown above).




-- 
Polytropon
>From 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: World doesn't build correctly

2009-02-19 Thread Mel
On Thursday 19 February 2009 08:14:01 Frank Wißmann wrote:

> I did it now the way you told me but it still shows 7.0-Release at
> uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is
> something wrong?

Yep. You're using the cvs-supfile, which does not update the source tree, but 
makes a cvs repository copy.
You will now have:
/usr/src/src
/usr/src/CVSROOT-*
/usr/src/doc
/usr/src/ports
/usr/src/www
/usr/src/sup

You should delete those, using rm -rf.

Next:
1) cp /usr/share/examples/cvsup/stable-supfile /etc/
2) sed -i.bak -e 's/CHANGE_THIS/cvsup.de/' /etc/stable-supfile
3) csup -L2 /etc/stable-supfile
4) cd /usr/src

Now rebuild world and kernel as you've done before. You will want to run 
mergemaster as mergemaster -iU.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: World doesn't build correctly

2009-02-19 Thread Frank Wißmann
Am Donnerstag 19 Februar 2009 10:53:43 schrieb Polytropon:
> On Wed, 18 Feb 2009 21:50:25 +0100, Frank Wißmann 
 wrote:
> > Well, I used your settings of "default release=cvs tag=RELENG_7",
> > but the answer is still this:
> > FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE
> > #0: Wed Feb 18 21:36:57 CET 2009
> > r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64
> >
> > Any ideas, folks? Or should I post something more?
>
> may I ask how exactly you did the update? As it has mentioned
> before, the handbook (even the german version) gives a good
> "routeplan" for this.
>
> In general:
>
>   # cd /usr/src
>   # make update
>   # make buildworld buildkernel KERNCONF=GRISSOM
>   # make installkernel KERNCONF=GRISSOM
>   # reboot
>   boot -s
>   fsck and mount -a
>   # cd /usr/src
>   # mergemaster -p
>   # make installworld
>   # mergemaster
>   # reboot
>
> (Hope that's correct from my mind, check handbook anyway.)FreeBSD 
grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Wed Feb 
18 21:36:57 CET 2009 
r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64

>
> Note that the configuration files mentioned above usually employ
> the "make update" command from within /usr/src. Kernel and world
> have to be the same version.
>
> Oh yes, and check your /boot/loader.conf if eventually a previous
> kernel is loaded, maybe you stored a "spare kernel" in /boot and
> the loader loads this, instead of /boot/kernel/kernel? Just to be
> sure... I mention this because I had a "spare" 6.0-GENERIC kernel
> saved in /boot, a setting in /boot/loader.conf for some testing,
> then updated the system (which affected /boot/kernel/kernel,
> but not /boot/kernel/kernel.GENERIC which was instead loaded). :-)

I did it now the way you told me but it still shows 7.0-Release at 
uname -a. I attach my "make.conf" and "cvs-supfile"' maybe there is 
something wrong?

Greetings Frank

-- 
GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? 

When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)
*default host=cvsup.FreeBSD.org
*default base=/usr/src
*default prefix=/usr/src
*default release=cvs
*default delete use-rel-suffix
*default compress
*default release=cvs tag=RELENG_7
src-all
ports-all
doc-all
www
cvsroot-all
CPUTYPE?=   opteron
NO_CPU_CFLAGS=  true
NO_CPU_COPTFLAGS=   true
CFLAGS= -O -fno-strict-aliasing -pipe 
WITH_OPTIMIZED_CFLAGS=  true
CXXFLAGS+=  -fconserve-space
MAKE_SHELL?=sh
BDECFLAGS=  -W -Wall -ansi -pedantic -Wbad-function-cast \
-Wcast-align -Wcast-qual -Wchar-subscripts \
-Winline -Wmissing-prototypes -Wnested-externs \
-Wpointer-arith -Wredundant-decls -Wshadow \
-Wstrict-prototypes -Wwrite-strings
COPTFLAGS=  -O -pipe
INSTALL=install -C
KERNCONF=   GRISSOM
MTREE_FOLLOWS_SYMLINKS= -L
PPP_NOSUID= true
ENABLE_SUID_SSH=true
ENABLE_SUID_NEWGRP= true
NO_ACPI=true
NO_FORTRAN= true
NO_IPFILTER=true
NO_KERBEROS=true
NO_NIS= true
NO_ATM= true
WITH_BIND_LIBS= true
MODULES_WITH_WORLD= true
MAKE_IDEA=  yes
PRINTERDEVICE=  ps
SUP_UPDATE= yes
SUP=/usr/local/bin/cvsup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup.de.FreeBSD.org
SUPFILE=/etc/cvs-supfile
PORTSSUPFILE=   /etc/cvs-supfile
DOCSUPFILE= /etc/cvs-supfile
TOP_TABLE_SIZE= 101
DOC_LANG=   en_US.ISO8859-1 de_DE.ISO8859-15
PERL_VER=   5.8.8
PERL_VERSION=   5.8.8
# Begin portconf settings
# Do not touch these lines
.if !empty(.CURDIR:M/usr/ports*) && exists(/usr/local/libexec/portconf)
_PORTCONF!=/usr/local/libexec/portconf
.for i in ${_PORTCONF:S/|/ /g}
${i:S/%/ /g}
.endfor
.endif
# End portconf settings
___
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: World doesn't build correctly

2009-02-19 Thread Polytropon
On Wed, 18 Feb 2009 21:50:25 +0100, Frank Wißmann  
wrote:
> Well, I used your settings of "default release=cvs tag=RELENG_7", but 
> the answer is still this:
> FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
> Wed Feb 18 21:36:57 CET 2009 
> r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64
> 
> Any ideas, folks? Or should I post something more?

may I ask how exactly you did the update? As it has mentioned
before, the handbook (even the german version) gives a good
"routeplan" for this.

In general:

# cd /usr/src
# make update
# make buildworld buildkernel KERNCONF=GRISSOM
# make installkernel KERNCONF=GRISSOM
# reboot
boot -s
fsck and mount -a
# cd /usr/src
# mergemaster -p
# make installworld
# mergemaster
# reboot

(Hope that's correct from my mind, check handbook anyway.)

Note that the configuration files mentioned above usually employ
the "make update" command from within /usr/src. Kernel and world
have to be the same version.

Oh yes, and check your /boot/loader.conf if eventually a previous
kernel is loaded, maybe you stored a "spare kernel" in /boot and
the loader loads this, instead of /boot/kernel/kernel? Just to be
sure... I mention this because I had a "spare" 6.0-GENERIC kernel
saved in /boot, a setting in /boot/loader.conf for some testing,
then updated the system (which affected /boot/kernel/kernel,
but not /boot/kernel/kernel.GENERIC which was instead loaded). :-)


-- 
Polytropon
>From 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: World doesn't build correctly

2009-02-18 Thread Fred Condo
On Wed, Feb 18, 2009 at 12:50 PM, Frank Wißmann  wrote:
> Am Dienstag 17 Februar 2009 21:20:15 schrieb Polytropon:
>> On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann
>  wrote:
>> > What is going wrong here? Why isn't ther build a 7_STABLE as I
>> > desire? What do I need to change to get my wanted results?
>>
>> Are you sure you have the correct sources? How did you update them?
>>
>> I'm using the following settings (as an example):
>>
>> In /etc/make.conf:
>>
>>   SUP_UPDATE= yes
>>   SUP=/usr/bin/csup
>>   SUPFLAGS=   -g -L 2
>>   SUPHOST=cvsup.freebsd.org
>>   SUPFILE=/etc/sup/stable.sup
>>
>> And in /etc/sup/stable.sup:
>>
>>   *default host=cvsup.freebsd.org
>>   *default base=/var/db
>>   *default prefix=/usr
>>   *default release=cvs tag=RELENG_7
>>   *default delete use-rel-suffix
>>   *default compress
>>   src-all
>>
>> For csup, the tag is "RELENG_7". You used "7_STABLE", maybe this is
>> the reason why you checked out the sources of 7.0-RELEASE?
>
> Well, I used your settings of "default release=cvs tag=RELENG_7", but
> the answer is still this:
> FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0:
> Wed Feb 18 21:36:57 CET 2009
> r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64
>
> Any ideas, folks? Or should I post something more?

You know you have to build and install the world and kernel after
performing a csup, right? See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html
(Auf Deutsch: 
http://www.freebsd.org/doc/de_DE.ISO8859-1/books/handbook/updating-upgrading.html)
___
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: World doesn't build correctly

2009-02-18 Thread Frank Wißmann
Am Dienstag 17 Februar 2009 21:20:15 schrieb Polytropon:
> On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann 
 wrote:
> > What is going wrong here? Why isn't ther build a 7_STABLE as I
> > desire? What do I need to change to get my wanted results?
>
> Are you sure you have the correct sources? How did you update them?
>
> I'm using the following settings (as an example):
>
> In /etc/make.conf:
>
>   SUP_UPDATE= yes
>   SUP=/usr/bin/csup
>   SUPFLAGS=   -g -L 2
>   SUPHOST=cvsup.freebsd.org
>   SUPFILE=/etc/sup/stable.sup
>
> And in /etc/sup/stable.sup:
>
>   *default host=cvsup.freebsd.org
>   *default base=/var/db
>   *default prefix=/usr
>   *default release=cvs tag=RELENG_7
>   *default delete use-rel-suffix
>   *default compress
>   src-all
>
> For csup, the tag is "RELENG_7". You used "7_STABLE", maybe this is
> the reason why you checked out the sources of 7.0-RELEASE?

Well, I used your settings of "default release=cvs tag=RELENG_7", but 
the answer is still this:
FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
Wed Feb 18 21:36:57 CET 2009 
r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64

Any ideas, folks? Or should I post something more?

TIA Frank

-- 
GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? 

When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)
___
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: World doesn't build correctly

2009-02-17 Thread Paul Schmehl
--On Tuesday, February 17, 2009 13:14:58 -0600 Frank Wißmann 
 wrote:




Hello, list!
When I try to build my new world with todays sources I don't get
properly what I want. I configured my cvs-supfile with

"default tag=7_STABLE"



Should be default tag=RELENG_7

--
Paul Schmehl (pa...@utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: World doesn't build correctly

2009-02-17 Thread Julien Cigar
7_STABLE is incorrect.

. = CURRENT
RELENG_X = X-STABLE
RELENG_X_Y = X.Y-RELEASE

so you probably want RELENG_7

On Tue, 2009-02-17 at 20:14 +0100, Frank Wißmann wrote:
> Hello, list!
> When I try to build my new world with todays sources I don't get 
> properly what I want. I configured my cvs-supfile with
> 
> "default tag=7_STABLE"
> 
> and all I get is this from dmesg:
> 
> FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009
> 
> and from "uname -a':
> 
> FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
> Tue Feb 17 19:02:23 CET 2009 
> r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64
> 
> What is going wrong here? Why isn't ther build a 7_STABLE as I desire? 
> What do I need to change to get my wanted results?
> 
> TIA Frank
> 
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: jci...@ulb.ac.be
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

___
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: World doesn't build correctly

2009-02-17 Thread Polytropon
On Tue, 17 Feb 2009 20:14:58 +0100, Frank Wißmann  
wrote:
> What is going wrong here? Why isn't ther build a 7_STABLE as I desire? 
> What do I need to change to get my wanted results?

Are you sure you have the correct sources? How did you update them?

I'm using the following settings (as an example):

In /etc/make.conf:

SUP_UPDATE= yes
SUP=/usr/bin/csup
SUPFLAGS=   -g -L 2
SUPHOST=cvsup.freebsd.org
SUPFILE=/etc/sup/stable.sup

And in /etc/sup/stable.sup:

*default host=cvsup.freebsd.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_7
*default delete use-rel-suffix
*default compress
src-all

For csup, the tag is "RELENG_7". You used "7_STABLE", maybe this is
the reason why you checked out the sources of 7.0-RELEASE?



-- 
Polytropon
>From 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"


World doesn't build correctly

2009-02-17 Thread Frank Wißmann
Hello, list!
When I try to build my new world with todays sources I don't get 
properly what I want. I configured my cvs-supfile with

"default tag=7_STABLE"

and all I get is this from dmesg:

FreeBSD 7.0-RELEASE #0: Tue Feb 17 19:02:23 CET 2009

and from "uname -a':

FreeBSD grissom.einundvierzig.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: 
Tue Feb 17 19:02:23 CET 2009 
r...@grissom.einundvierzig.org:/usr/obj/usr/src/sys/GRISSOM  amd64

What is going wrong here? Why isn't ther build a 7_STABLE as I desire? 
What do I need to change to get my wanted results?

TIA Frank

-- 
GU d- s:+ a+ C+>$ UBS>$ P L- !E--- W N+@ !o K--? !w--- O !M- !V- PS+ PE 
Y? !PGP- t+ 5 X !R tv- b++ DI !D G e h+ r- y? 

When pack meets pack in the jungle
and no one will move from the trail
wait till the leaders have spoken
it may be fair words shall prevail

(Rudyard Kipling)

___
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"


  1   2   3   4   5   6   7   8   >