Hang in 5.3, related to syslog-ng

2006-04-11 Thread Valerio daelli
Hi all
we have a server with 5.3 (latest patches) with twelve jails.
One of these jails is a mail server (mail-jail), serving about 300 users,
writing a lot of logs to /var/log/maillog.
On the same server I installed a jail with syslog-ng (syslog-jail).
syslog-ng was configured to listen on the network and write to
a named pipe.
On the same jail I created a script to read from that named pipe
and insert the result to mysql, but I didn't start this script.
I was about to start this system of logging, so I modified
/etc/syslog.conf in the mail-jail inserting a line like this:


mail.* @logger_with_syslog-ng.my.domain

then I restarted syslogd on the mail-jail sending a HUP signal.
Suddendly the system stopped responding to anything
(from ping to console, everything stopped).
I rebooted the server turning off the power and deleted that line in
syslog.conf.
Everything worked.
Could it be some issue related to a named pipe?
Or pheraps to syslogd? Or syslog-ng?
I tried recreating the situation on a test server with 5.4 but
everything worked.
Sorry if I don't have details but this is a very critical server for us
and I can't experiment.
Thanks

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


Re: System administration question

2006-04-11 Thread Norberto Meijome
On Sat, 18 Mar 2006 14:19:34 -0600 (CST)
Philip Hallstrom <[EMAIL PROTECTED]> wrote:

> > Is there a port or utility that allows you to monitor system stats
> > by (either interactively or periodically) reading the various stat
> > utilities (fstat, iostat, pstat or swapinfo, systat, top, vmstat,
> > etc.) and sending a report to root that summarizes system condition?
> 
> if you want graphs (of historical data) most apps seem to use
> rrdtool.  I find this page to be useful in looking at the available
> options...
> 
> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/rrdworld/index.en.html

Give cacti a try (http://www.cacti.net) . it uses, mainly, SNMP to
contact your devices and poll information to your cacti box (i.e., you
dont have to run another DB or displays on your server). It plots the
data using rrd. It can also plot data coming out of your own scripts
(i.e., plot number of tuples in a view in your postgreSQL db...)

It may be a little bit overkill for just one server, but graphing for 5
or 10 isnt't goint to be that much harder once you have it set up.

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


Re: Regain control of keyboard

2006-04-11 Thread Malcolm Fitzgerald



Malcolm Fitzgerald wrote:
Some days ago I type "portupgrade -a" on a machine which had just got 
a clean install of FreeBSD v6, with gnome, kde, sound, graphics, etc. 
In other words, a desktop plaything.


Every other hour or so process would stop at on options screen and 
wait for my input. Recently it has stopped accepting input from the 
keyboard. The mouse is still active.


How do I get my keyboard working again?


On 12/04/2006, at 11:11 PM, David Schulz wrote:

i have had the exact same thing when running portupgrade -ra on my 
freebsd 6.0 amd64, but nothing would help except to power reboot the 
computer. i tried pluggin in and out the usb keyboard, tried a ps2 
keyboard. the only thing i couldnt try if i can connect to it still 
via ssh. if i couldnt, i would say the machine was frozen.


Hmmm, I'm not ready to reboot yet, I want to let the process finish.

I can get past the dialogs using cut/paste into the shell with the 
mouse and klipper.


thanks for sharing

malcolm

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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Norberto Meijome
On Tue, 11 Apr 2006 19:52:20 +0300
Petre Bandac <[EMAIL PROTECTED]> wrote:

> > have you tried using the install disk -> fixit -> load the
> > geom_mirror module by hand and then mounting the devices? 
> > 
> > or take the disks to another box which has geom_mirror built into
> > and modify that way.
> > Beto
> it happened as follows - fresh install (following the onlamp.com
> howto); kernel recompile with all that needs, reboot, test, put the
> box aside for 3 weeks (while forgetting root password - stupid, yes),
> try to login (and obviously fail)

ok... I dont' see why can't you enter into fixit mode and clear the
password for root

OR simply select 'single user' (option #4) at the boot prompt ? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: IBM xSeries 226 Help needed

2006-04-11 Thread Norberto Meijome
On Tue, 11 Apr 2006 11:33:50 -0400
"Webster, Andrew" <[EMAIL PROTECTED]> wrote:

> Hey, that worked!
> So what gives?  Is this a hardware specific issue with this machine?

i dont think so - i've had several cases when disabling APIC got things
working... not sure precisely WHY, but it does. I would like appreciate
some  enlightenment, even in the form of RTFM(with pointer to TFM) ;)

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


Re: Regain control of keyboard

2006-04-11 Thread David Schulz
i have had the exact same thing when running portupgrade -ra on my 
freebsd 6.0 amd64, but nothing would help except to power reboot the 
computer. i tried pluggin in and out the usb keyboard, tried a ps2 
keyboard. the only thing i couldnt try if i can connect to it still via 
ssh. if i couldnt, i would say the machine was frozen.


Malcolm Fitzgerald wrote:
Some days ago I type "portupgrade -a" on a machine which had just got 
a clean install of FreeBSD v6, with gnome, kde, sound, graphics, etc. 
In other words, a desktop plaything.


Every other hour or so process would stop at on options screen and 
wait for my input. Recently it has stopped accepting input from the 
keyboard. The mouse is still active.


How do I get my keyboard working again?

impatient


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




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


Undefined symbol in /usr/lib/libpthread.so

2006-04-11 Thread Robert Huff

While running through various log files, I ran into this in 
/var/log/http-error.log:

[error] [client 10.0.0.1] /usr/lib/libpthread.so.1: Undefined symbol 
"__malloc_lock"

So I checked some other bits and ran into this:

huff@>> /usr/local/etc/rc.d/spamass-milter.sh start
Starting spamass_milter.
Assertion failed: (__isthreaded == 0 || malloc_initialized), function 
malloc_init, file /usr/src/lib/libc/stdlib/malloc.c, line 4236.
Abort trap (core dumped)

I'm running:

FreeBSD 7.0-CURRENT #0: Mon Mar 13 09:23:39 EST 2006

This smells like fallout from the malloc change.  Did I catch
-Current at a bad moment (and should rebuild), or is there an
adjustment needed elsewhere?

Thanks,


Robert Huff

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


Noise On Screen

2006-04-11 Thread Jeff Molofee
I hope I'm not driving everyone crazy by posting the same problem over 
and over, but I have yet to receive a reply, suggestion, thought, etc.


I am running RELENG_6. I have been using FreeBSD since 4.x. I have had a 
lot of weird issues through the years, but this is one I am not able to 
resolve.


If I enable cups or webmin, I get a small line of random graphics across 
the top of my screen. The line does not affect the system stability, but 
it's extremely annoying. It takes up anywhere from 10 to 20 lines of my 
display, and displays random colors from red, green, blue to purples and 
yellows.


I attempted to post a picture with my last post on this issue, but 
pictures appear to be forbidden in the list. I did however find a page 
that seems to document the problem, although the way the problem happens 
is different from how I trigger it on my system.


The URL is here: http://www.freebsd.org/cgi/query-pr.cgi?pr=usb/95348

A quick quote:

   Unplugging the USB keyboard causes a thin and irregular
horizontal stripe appear near the top of the screen (xorg
6.9.0) across almost all its width.  Moving the mouse (either
USB or PS/2) causes this noise to change shape.  The
consistency of the system doesn't seem to be affected by this
stripe, though.  Occasional random characters have been
noticed coming from the USB keyboard, like a stuck key, once
replugged, but I couldn't repeat it reliably.

The noise on the screen is of one uniform colour (red on my
desktop, green on my laptop).

Looks like someone is spilling data on the frame buffer.


This is exactly what I see, but on my system it is not triggered by USB 
devices.


Has anyone else experienced this? Is there a fix? I don't mind not 
having webmin, but cups is fairly important.


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


Re: IBM xSeries 226 Help needed

2006-04-11 Thread Norberto Meijome
On Tue, 11 Apr 2006 10:24:26 -0400
"Webster, Andrew" <[EMAIL PROTECTED]> wrote:

> If I boot in safe mode, however it can see the disk just fine as
> "ad4" and I can install the OS on it.

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


Regain control of keyboard

2006-04-11 Thread Malcolm Fitzgerald
Some days ago I type "portupgrade -a" on a machine which had just got a 
clean install of FreeBSD v6, with gnome, kde, sound, graphics, etc. In 
other words, a desktop plaything.


Every other hour or so process would stop at on options screen and wait 
for my input. Recently it has stopped accepting input from the 
keyboard. The mouse is still active.


How do I get my keyboard working again?

impatient


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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Norberto Meijome
On Tue, 11 Apr 2006 17:31:12 +0300
Petre Bandac <[EMAIL PROTECTED]> wrote:

> the classic schema with unload all/load kernel/boot -s and mounting /
> read-write doesn't work
> 
Hi Petre,
I assume you say it doesnt work because your kernel doesn't have
gmirror built into it.

have you tried using the install disk -> fixit -> load the geom_mirror
module by hand and then mounting the devices? 

or take the disks to another box which has geom_mirror built into and
modify that way.
Beto
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DumpDev on GELI device...

2006-04-11 Thread Norberto Meijome
Hi guys,
my swap is GELI enabled ( /dev/ad0s1b.eli is my swap, with a one-time
key). 

Would I be able to do something like the following in rc.conf and
still work properly?:

dumpdir="/var/crash"
dumpdev="/dev/ad0s1b"

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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread John Cruz
I used to have problems with brute force attempts as well. I just 
changed the port that SSH uses (TCP/IP  port, not "ports collection" 
port) and the problems have stopped. I made it something that means 
something to me and maybe not others, so it's a simple and powerful way 
of getting the job done.


-John

Chris Maness wrote:

Jonathan Franks wrote:



On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  
ssh.  Is there a way I can have the box automatically kill any tcp/ 
ip connectivity to hosts that try and fail a given number of  
times?  Is there a port or something that I can install to give  
this kind of protection.  I'm still kind of a FreeBSD newbie.



If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of 
attempts  in a given time (say, 5 in a minute). Once you have the 
table you're  in business... you can block based on it... and then 
set up a cron  job to copy the table to disk every so often (perhaps 
once every two  minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


-Jonathan


I use a port called DenyHost.  It adds an entry to hosts.allow that 
denies access.

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




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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Chris Maness

Jonathan Franks wrote:



On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  ssh.  
Is there a way I can have the box automatically kill any tcp/ ip 
connectivity to hosts that try and fail a given number of  times?  Is 
there a port or something that I can install to give  this kind of 
protection.  I'm still kind of a FreeBSD newbie.



If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of attempts  
in a given time (say, 5 in a minute). Once you have the table you're  
in business... you can block based on it... and then set up a cron  
job to copy the table to disk every so often (perhaps once every two  
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


-Jonathan


I use a port called DenyHost.  It adds an entry to hosts.allow that 
denies access.

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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Adam Stroud
I second that.  I have been doing the same thing (except running an 
OpenBSD firewall that blocks the offenders via pf) and it works like a 
charm.


A

Jonathan Franks wrote:


On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via ssh.  
Is there a way I can have the box automatically kill any tcp/ip 
connectivity to hosts that try and fail a given number of times?  Is 
there a port or something that I can install to give this kind of 
protection.  I'm still kind of a FreeBSD newbie.


If you are using PF, you can use source tracking to drop the offenders 
in to a table... perhaps after a certain number of attempts in a given 
time (say, 5 in a minute). Once you have the table you're in 
business... you can block based on it... and then set up a cron job to 
copy the table to disk every so often (perhaps once every two 
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush 
the table every so often too... I don't bother though.


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


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


Re: Wanted: Flash player for ....

2006-04-11 Thread Eric Schuele

Gary Kline wrote:

On Tue, Apr 11, 2006 at 08:52:05PM -0500, Eric Schuele wrote:

Gary Kline wrote:

I've done some hacking the past few weeks on tools to aide
	HTML stuff for books I'll soon put up, so I haven't quit 
	programming altgether.  So: what's the consensus on

*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?
There are a few in ports.  Though I was hoping (via this thread) to get 
opinions on which were good.  Presently, I'm experimenting 
(unsuccessfully) with gnash.



I'm read to volunteer.

	What is gnash? (Or should I just poke around!)  


Actually, after a bit more poking gnash seems to be all there is 
(someone please correct me).  All the other projects appear to have a 
common source and many of those devs are moving to gnash?


gnash can be found at :
  http://www.gnu.org/software/gnash/
and there is a port:
  graphics/gnash

I've installed the port yet got nothing useful out of it yet.  The 
project's goal AFAIK is to produce a firefox flash plugin.  Supposedly 
the port and plugin do work (to some extent) on FreeBSD I'm just 
having no luck yet.


 ...I've 
	seen the GNU shock/flash/<> port and figured it 
	was the only thing remotely resembling the flashwave stuff.
	--Um, I should say,  straight away, that audio/vidio is 
	not among my strengths.  But point me at any ancillary or

miscellaneous code and I either have it or can put it '
together.  --My strenths are porting, testing, general
systems analysis, and (very old) driver hacking.

What are the other ports you know of that we could leverage
off?

thanks,

gary






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


Re: Wanted: Flash player for ....

2006-04-11 Thread Gary Kline
On Tue, Apr 11, 2006 at 08:52:05PM -0500, Eric Schuele wrote:
> Gary Kline wrote:
> > I've done some hacking the past few weeks on tools to aide
> > HTML stuff for books I'll soon put up, so I haven't quit 
> > programming altgether.  So: what's the consensus on
> > *us* andor the open-src community getting together and
> > doing our own free version of this shock/flash stuff?
> 
> There are a few in ports.  Though I was hoping (via this thread) to get 
> opinions on which were good.  Presently, I'm experimenting 
> (unsuccessfully) with gnash.
> 
> > I'm read to volunteer.
> >
What is gnash? (Or should I just poke around!)  ...I've 
seen the GNU shock/flash/<> port and figured it 
was the only thing remotely resembling the flashwave stuff.
--Um, I should say,  straight away, that audio/vidio is 
not among my strengths.  But point me at any ancillary or
miscellaneous code and I either have it or can put it '
together.  --My strenths are porting, testing, general
systems analysis, and (very old) driver hacking.

What are the other ports you know of that we could leverage
off?

thanks,

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Nikolas Britton
On 4/11/06, Daniel Bye <[EMAIL PROTECTED]> wrote:
> On Tue, Apr 11, 2006 at 05:25:25PM -0600, Bryan Curl wrote:
> > What is the cvsup tag for getting  6.1-PRERELEASE src?
> >
> > I think it should be tag=RELENG_6_1 .
> >
> > Can I use src-all for this revision to upgrade from where I am now?
> >
> > Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT
> > 2006 ...
>
> Take a look at the announcement here:
>
> http://lists.freebsd.org/pipermail/freebsd-hackers/2006-March/015730.html
>
> The tag you want is RELENG_6.  It will become RELENG_6_1 when the
> official release is made.
>

the branch for 6.1 was cut on the 5th, you can cvsup to 6.1 now using
the RELENG_6_1 tag... at this point if you sync up with RELENG_6 you
will drive passed 6.1.


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


Re: Wanted: Flash player for ....

2006-04-11 Thread Paul Schmehl
--On April 11, 2006 6:35:27 PM -0700 Gary Kline <[EMAIL PROTECTED]> 
wrote:


I've done some hacking the past few weeks on tools to aide
HTML stuff for books I'll soon put up, so I haven't quit
programming altgether.  So: what's the consensus on
*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?
I'm read to volunteer.

open_flash?  I'm all for it.  You don't want my programming skills, but 
I'll help in other ways, if I can.  Research?  Docs?


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
University of Texas at Dallas
AVIEN Founding Member
http://www.utdallas.edu/

Re: Wanted: Flash player for ....

2006-04-11 Thread Eric Schuele

Gary Kline wrote:

On Tue, Apr 11, 2006 at 08:53:23PM -0400, Chris Hill wrote:

On Tue, 11 Apr 2006, Gary Kline wrote:


On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get
opinions on which alternative flashplayer(s) are reasonably good.  I use
firefox and would prefer a plugin for it... but am generally interested
in the state of any flash player.  I know there are a handful in ports,
just wanted some opinions.

Could anyone please offer their opinion on
- which alternative they are using
- why
- comment(s) on installation ease (or lack thereof)
- is it a standalone or plugin


I missed it.  Why is www/linux-flashplugin* gone?

>From /usr/ports/UPDATING:

20060408:
 AFFECTS: users of www/linux-flashplugin*
 AUTHOR: [EMAIL PROTECTED]

 These ports have been removed because the End User License Agreement
 explicitly forbids to run the Flash Player on FreeBSD.
 For more details, see
   http://www.macromedia.com/shockwave/download/license/desktop/

Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!

Seriously. But there it is, in section 3.a.(D) of the given URL:
  "You may not use the Software on ... any operating system that
   is not an Authorized Operating System."

I wonder why Macromedia felt the need to pay their lawyers to add this 
clause. I will email them and ask, if I can find a way to do so.


Serious question: If one already happened to have this package 
installed, could he hold onto it by editing pkgtools.conf to contain

HOLD_PKGS = [
  'linuxpluginwrapper*',
]

?



	I don't see why the above wouldn't work; there are a few 
	ports I have in the HOLD_PKGS list.  They're still working.


I've done some hacking the past few weeks on tools to aide
	HTML stuff for books I'll soon put up, so I haven't quit 
	programming altgether.  So: what's the consensus on

*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?


There are a few in ports.  Though I was hoping (via this thread) to get 
opinions on which were good.  Presently, I'm experimenting 
(unsuccessfully) with gnash.



I'm read to volunteer.

gary






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


Re: Wanted: Flash player for ....

2006-04-11 Thread Eric Schuele

Chris Hill wrote:

On Tue, 11 Apr 2006, Gary Kline wrote:


On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get
opinions on which alternative flashplayer(s) are reasonably good.  
I use
firefox and would prefer a plugin for it... but am generally 
interested
in the state of any flash player.  I know there are a handful in 
ports,

just wanted some opinions.

Could anyone please offer their opinion on
 - which alternative they are using
 - why
 - comment(s) on installation ease (or lack thereof)
 - is it a standalone or plugin



I missed it.  Why is www/linux-flashplugin* gone?


From /usr/ports/UPDATING:

20060408:
  AFFECTS: users of www/linux-flashplugin*
  AUTHOR: [EMAIL PROTECTED]

  These ports have been removed because the End User License Agreement
  explicitly forbids to run the Flash Player on FreeBSD.
  For more details, see
http://www.macromedia.com/shockwave/download/license/desktop/



Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!


Seriously. But there it is, in section 3.a.(D) of the given URL:
  "You may not use the Software on ... any operating system that
   is not an Authorized Operating System."

I wonder why Macromedia felt the need to pay their lawyers to add this 
clause. I will email them and ask, if I can find a way to do so.


Serious question: If one already happened to have this package 
installed, could he hold onto it by editing pkgtools.conf to contain

HOLD_PKGS = [
  'linuxpluginwrapper*',
]

?


Legally?  I'm no lawyer... but the EULA seems rather explicit.  I'd say no.

Would that hold it?  Well yes, I believe so. (Or at least something very 
similar).  In fact you could go so far (not that I'm condoning it) as to 
tuck the distfiles away.


Either way... I hope somehow they see fit to loosen the language a bit 
in the future.




Thanks.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]




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


Re: Wanted: Flash player for ....

2006-04-11 Thread Gary Kline
On Tue, Apr 11, 2006 at 08:53:23PM -0400, Chris Hill wrote:
> On Tue, 11 Apr 2006, Gary Kline wrote:
> 
> >On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:
> >>Joseph Vella wrote:
> >>>On Tuesday 11 April 2006 06:47, Eric Schuele wrote:
> [Hoping this isn't too OT for the list]
> 
> So... now that www/linux-flashplugin* are gone,  I was hoping to get
> opinions on which alternative flashplayer(s) are reasonably good.  I use
> firefox and would prefer a plugin for it... but am generally interested
> in the state of any flash player.  I know there are a handful in ports,
> just wanted some opinions.
> 
> Could anyone please offer their opinion on
>  - which alternative they are using
>  - why
>  - comment(s) on installation ease (or lack thereof)
>  - is it a standalone or plugin
> 
> >>>
> >>>I missed it.  Why is www/linux-flashplugin* gone?
> >>
> >>From /usr/ports/UPDATING:
> >>
> >>20060408:
> >>  AFFECTS: users of www/linux-flashplugin*
> >>  AUTHOR: [EMAIL PROTECTED]
> >>
> >>  These ports have been removed because the End User License Agreement
> >>  explicitly forbids to run the Flash Player on FreeBSD.
> >>  For more details, see
> >>http://www.macromedia.com/shockwave/download/license/desktop/
> 
> > Good grief!  Is this even under linux-emulatio?  Oughtta read
> > the URL.  WHat a pain!
> 
> Seriously. But there it is, in section 3.a.(D) of the given URL:
>   "You may not use the Software on ... any operating system that
>is not an Authorized Operating System."
> 
> I wonder why Macromedia felt the need to pay their lawyers to add this 
> clause. I will email them and ask, if I can find a way to do so.
> 
> Serious question: If one already happened to have this package 
> installed, could he hold onto it by editing pkgtools.conf to contain
> HOLD_PKGS = [
>   'linuxpluginwrapper*',
> ]
> 
> ?
> 

I don't see why the above wouldn't work; there are a few 
ports I have in the HOLD_PKGS list.  They're still working.

I've done some hacking the past few weeks on tools to aide
HTML stuff for books I'll soon put up, so I haven't quit 
programming altgether.  So: what's the consensus on
*us* andor the open-src community getting together and
doing our own free version of this shock/flash stuff?
I'm read to volunteer.

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: How to Stop Bruit Force ssh Attempts?

2006-04-11 Thread Jonathan Franks


On Mar 18, 2006, at 12:39 PM, Chris Maness wrote:

In my auth log I see alot of bruit force attempts to login via  
ssh.  Is there a way I can have the box automatically kill any tcp/ 
ip connectivity to hosts that try and fail a given number of  
times?  Is there a port or something that I can install to give  
this kind of protection.  I'm still kind of a FreeBSD newbie.


If you are using PF, you can use source tracking to drop the  
offenders in to a table... perhaps after a certain number of attempts  
in a given time (say, 5 in a minute). Once you have the table you're  
in business... you can block based on it... and then set up a cron  
job to copy the table to disk every so often (perhaps once every two  
minutes). It works very well for me, YMMV.


If you don't want to block permanently, you could use cron to flush  
the table every so often too... I don't bother though.


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


Re: mx1.freebsd.org administrator?

2006-04-11 Thread Norberto Meijome
On Wed, 12 Apr 2006 11:24:23 +1000
Norberto Meijome <[EMAIL PROTECTED]> wrote:

> Hi, i need to contact the admin in charge of postfix @
> mx1.freebsd.org. is [EMAIL PROTECTED] the right
> address?
> 

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributors/staff-who.html
--> [EMAIL PROTECTED] , of course.

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


mx1.freebsd.org administrator?

2006-04-11 Thread Norberto Meijome
Hi, i need to contact the admin in charge of postfix @ mx1.freebsd.org.
is [EMAIL PROTECTED] the right address?

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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Ted Mittelstaedt
Yup!

Ted

>-Original Message-
>From: Bill Moran [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 11, 2006 1:28 PM
>To: Ted Mittelstaedt
>Cc: freebsd-questions@freebsd.org
>Subject: Re: Timescale for 6.1-RELEASE...
>
>
>On Tue, 11 Apr 2006 12:32:08 -0700
>"Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote:
>
>> And disk space is getting so big so fast that mirroring is going
>> to be the only option for desktops Real Soon Now, because when you
>> have a gigabyte of disk space that is shipping standard with
>> a desktop PC and costs only $200  (which will happen by the middle
>> of next year) there's no way in hell that you can back that up
>> to anything, the costs of tape storage for an office full of
>> desktops like that would be out of the question.
>
>I assume you meant to say "a terabyte of disk space" instead of
>"gigabyte"?
>
>--
>Bill Moran
>Collaborative Fusion Inc.
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006
>

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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Ted Mittelstaedt


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Nikolas Britton
>Sent: Tuesday, April 11, 2006 1:25 PM
>To: Ted Mittelstaedt
>Cc: Harrison Peter CSA BIRKENHEAD; freebsd-questions@freebsd.org
>Subject: Re: Timescale for 6.1-RELEASE...
>
>
>On 4/11/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>> I beg to differ Nikolas, there is still work that needs to be
>> done on the disk driver.  See PR 95184.  It was right to shift the
>> release schedule.
>>
>> I don't know what you running for hardware but I don't think many
>> people really appreciate what is going on with SATA these days,
>> how incredibly damn fast that mirrored SATA arrays of large 500Gb
>> disks are wiping everything else off the map.
>>
>> In the servers that I have that ARE working with the new high
>> speed SATA array chipsets, the disk I/O is an order of magnitude
>> faster than anything else.  Faster than any UDMA drive, any SCSI
>> array you want to throw at it.  And larger.  and a LOT cheaper.
>>
>> And disk space is getting so big so fast that mirroring is going
>> to be the only option for desktops Real Soon Now, because when you
>> have a gigabyte of disk space that is shipping standard with
>> a desktop PC and costs only $200  (which will happen by the middle
>> of next year) there's no way in hell that you can back that up
>> to anything, the costs of tape storage for an office full of
>> desktops like that would be out of the question.
>>
>
>Yes... tell me about it, I have a 2TB SATA-II array and it's cheaper
>to backup that array to another, off-site, array then it is to go with
>tape. Tape is way behind the times when compared with SATA/IDE disk
>sizes.
>
>> And what is more frustrating is this is the best chance that has
>> come along for years to kick the crap out of Linux market share.
>> Linux support of SATA stinks, they are trying to send everyone to
>> the 3rd parties for drivers rather than incorporating them in
>> the Linux distros.  Well I can tell you that Ying-Tao cloney baloney
>> motherboard maker in Asia who is using an off-the-shelf raided SATA
>> chipset in their $1.99 motherboard-of-the-month, they aren't going
>> to provide drivers for anything other than Windows.
>>
>> FreeBSD's support of mirrored sata and udma raid chips is already
>> better than Linux, but it needs to be absolutely top flight before
>> 6.1 ships.
>>
>
>The person you should thank is Søren Schmidt, http://www.deepcore.dk/
>
>> You can get around a lot of hardware support problems - such as
>> buggy drivers for the serial ports/network card/usb port/etc. -
>> but if your disk driver is buggy you cannot even get an OS on
>> the hardware that you can even patch.  You are dead in the water
>> and 99% of the people in that situation are going to toss the
>> FreeBSD 6.1 CD and go to something else.
>>
>
>I think the ICH7 sata problem has already been fixed, check the logs
>here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ if not
>jump onto the stable mailing list and start waving your hands.
>

I'm doing a make release on today's cvs as we speak, I'll see tomorrow
if it recognizes the disks.

Ted

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


Re: Wanted: Flash player for ....

2006-04-11 Thread Chris Hill

On Tue, 11 Apr 2006, Gary Kline wrote:


On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get
opinions on which alternative flashplayer(s) are reasonably good.  I use
firefox and would prefer a plugin for it... but am generally interested
in the state of any flash player.  I know there are a handful in ports,
just wanted some opinions.

Could anyone please offer their opinion on
 - which alternative they are using
 - why
 - comment(s) on installation ease (or lack thereof)
 - is it a standalone or plugin



I missed it.  Why is www/linux-flashplugin* gone?


From /usr/ports/UPDATING:

20060408:
  AFFECTS: users of www/linux-flashplugin*
  AUTHOR: [EMAIL PROTECTED]

  These ports have been removed because the End User License Agreement
  explicitly forbids to run the Flash Player on FreeBSD.
  For more details, see
http://www.macromedia.com/shockwave/download/license/desktop/



Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!


Seriously. But there it is, in section 3.a.(D) of the given URL:
  "You may not use the Software on ... any operating system that
   is not an Authorized Operating System."

I wonder why Macromedia felt the need to pay their lawyers to add this 
clause. I will email them and ask, if I can find a way to do so.


Serious question: If one already happened to have this package 
installed, could he hold onto it by editing pkgtools.conf to contain

HOLD_PKGS = [
  'linuxpluginwrapper*',
]

?

Thanks.

--
Chris Hill   [EMAIL PROTECTED]
** [ Busy Expunging <|> ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Wanted: Flash player for ....

2006-04-11 Thread Gary Kline
On Tue, Apr 11, 2006 at 06:41:16PM -0500, Eric Schuele wrote:
> Joseph Vella wrote:
> >On Tuesday 11 April 2006 06:47, Eric Schuele wrote:
> >>[Hoping this isn't too OT for the list]
> >>
> >>So... now that www/linux-flashplugin* are gone,  I was hoping to get 
> >>opinions on which alternative flashplayer(s) are reasonably good.  I use 
> >>firefox and would prefer a plugin for it... but am generally interested 
> >>in the state of any flash player.  I know there are a handful in ports, 
> >>just wanted some opinions.
> >>
> >>Could anyone please offer their opinion on
> >>  - which alternative they are using
> >>  - why
> >>  - comment(s) on installation ease (or lack thereof)
> >>  - is it a standalone or plugin
> >>
> >
> >I missed it.  Why is www/linux-flashplugin* gone?   
> 
> From /usr/ports/UPDATING:
> 
> 20060408:
>   AFFECTS: users of www/linux-flashplugin*
>   AUTHOR: [EMAIL PROTECTED]
> 
>   These ports have been removed because the End User License Agreement
>   explicitly forbids to run the Flash Player on FreeBSD.
>   For more details, see
> http://www.macromedia.com/shockwave/download/license/desktop/
> 
> -- 
> Regards,
> Eric

Good grief!  Is this even under linux-emulatio?  Oughtta read
the URL.  WHat a pain!

gary



-- 
   Gary Kline [EMAIL PROTECTED]   www.thought.org Public service Unix

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


Re: 6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Daniel Bye
On Tue, Apr 11, 2006 at 05:25:25PM -0600, Bryan Curl wrote:
> What is the cvsup tag for getting  6.1-PRERELEASE src?
> 
> I think it should be tag=RELENG_6_1 .
> 
> Can I use src-all for this revision to upgrade from where I am now?
> 
> Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT 
> 2006 ...

Take a look at the announcement here:

http://lists.freebsd.org/pipermail/freebsd-hackers/2006-March/015730.html

The tag you want is RELENG_6.  It will become RELENG_6_1 when the
official release is made.

The transition from 6.0 to 6.1 went smoothly here, so you should be good
to go with the new src tree.

Dan

-- 
Daniel Bye

PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpWv1pwiP1Jv.pgp
Description: PGP signature


Re: FIXED, APPARENTLY k3b incorrectly identifies scsi r/w drive as read-only

2006-04-11 Thread Oliver Iberien
I corresponded with Sebastian Trueg, the developer, who had a look, then let 
me know that the problem had been identified and that he's fixed it. The 
latest version of k3b (0.12.15) uses "SG IO for scsi commands with newer 
linux kernels. This should fix problems with scsi device detection." I'll 
have to wait for the port to see if it works in my case.

This is part of the beauty of open source stuff. I've sent him some Lucky Luke 
off his Amazon wishlist in gratitude. 

Oliver

On Saturday 25 March 2006 13:38, Oliver Iberien wrote:
> On Saturday 25 March 2006 11:46, Andrea Venturoli wrote:
> >
> > Please forgive me for stepping in, but I'm having the same problem,
> > asked sometime ago and did not get any answer.
> >
> > My Yamaha burner is still detected as a read-only device.
> >
> >   bye & Thanks
> > av.
>
> There is a thread here:
>
> http://lists.freebsd.org/mailman/htdig/freebsd-ports/2005-March/021958.html
>
> of someone with a scsi cd-r/w that was giving the same errors. The thread
> goes on to post some kind of fix to a flac decoder:
>
> http://lists.freebsd.org/mailman/htdig/freebsd-ports/2005-March/021969.html
>
> ...but I don't understand how this is related or how it is to be
> implemented.
>
> I have found a number of postings of similar problems with k3b and scsi
> drives dating from after mid-2004, which is when it started happening to
> me, but none gives a fix.
>
> http://linux.derkeiler.com/Mailing-Lists/SuSE/2005-03/1489.html
> http://72.14.203.104/search?q=cache:wOJpu0m4BcwJ:k3b.plainblack.com/feedbac
>k%3Ffunc%3Dview%26wid%3D29%26forumId%3D1000%26forumOp%3DviewThread%26forumPo
>stId%3D100898+k3b+%22mode+sense%22&hl=en&gl=us&ct=clnk&cd=1&ie=UTF-8
> http://www.linuxhardware.de/deutsch/dcoulh/news_38206.html
> http://linuxfromscratch.org/pipermail/blfs-support/2004-June/050551.html
> http://72.14.203.104/search?q=cache:Dh1vQLiRy40J:bbs.cse.yzu.edu.tw/show.ph
>p%3Ftype%3Dpost%26board%3Dbsd-ports%26pageno%3D15+k3b+%22mode+sense%22&hl=en
>&gl=us&ct=clnk&cd=6&ie=UTF-8
> http://lurker.oltrelinux.com/message/20040211.213612.0308c619.en.html
>
> Oliver
>
> > k3b on FreeBSD 6.0 incorrectly identifies my SCSI CD-R/W as read-only. It
> > reports "mode sense" failure, which, Plextor tells me, can be a sign of a
> > problem with the drive or the media. I've appended this part of the
> > output at the bottom.

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


RE: DL320 G3 Adaptec or Intel RAID?

2006-04-11 Thread Ted Mittelstaedt

br & cu,

  Please see PR 95184 similar problem, they may be related.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of
>[EMAIL PROTECTED]@mgEDV.net
>Sent: Monday, April 10, 2006 5:39 AM
>To: freebsd-questions@freebsd.org
>Subject: DL320 G3 Adaptec or Intel RAID?
>
>
>
>hi,
>
>we've got an hp proliant dl320 g3 with an embedded SATA-150
>raid controller. loading 6.1B4 shows ad4 and ad6 as normal
>disks but the RAID controller or the configured array is not
>shown at all.
>
>during POST the raid bios announces as:
>"Adaptec Embedded SATA HostRAID BIOS V3.0-1 1255"
>
>the embedded controller shows as:
>"Controller #00: ICH6R HostRAID at PCI Bus: 00, Dev: 1F, Func: 02"
>
>the configured array drive is shown something like:
>"Array 0 - RAID 1: 76GB optimal"
>
>can anyone tell if this adaptec/intel combination is supported
>by freebsd in any way? the ICH6R is listed in the hw-section,
>but the os doesn't find this special one.
>
>br & cu
>
>ps: just reply to the list, please.
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006
>

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


Re: Wanted: Flash player for ....

2006-04-11 Thread Eric Schuele

Joseph Vella wrote:

On Tuesday 11 April 2006 06:47, Eric Schuele wrote:

[Hoping this isn't too OT for the list]

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.  I use 
firefox and would prefer a plugin for it... but am generally interested 
in the state of any flash player.  I know there are a handful in ports, 
just wanted some opinions.


Could anyone please offer their opinion on
  - which alternative they are using
  - why
  - comment(s) on installation ease (or lack thereof)
  - is it a standalone or plugin



I missed it.  Why is www/linux-flashplugin* gone?   


From /usr/ports/UPDATING:

20060408:
  AFFECTS: users of www/linux-flashplugin*
  AUTHOR: [EMAIL PROTECTED]

  These ports have been removed because the End User License Agreement
  explicitly forbids to run the Flash Player on FreeBSD.
  For more details, see
http://www.macromedia.com/shockwave/download/license/desktop/



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




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


Re: pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
Yes, thank you.  I wasn't going to report it as a bug after you
pointed out my blatant mistake.  Thanks again for the info.

Jon

On 4/11/06, Nicolas Blais <[EMAIL PROTECTED]> wrote:
> On Tuesday 11 April 2006 19:24, Colin Percival wrote:
> > Andy Reitz wrote:
> > > So, clearly, something is optimizing the pow() function away when the
> > > arguments are hard-coded lvalues, instead of varibles.
> > >
> > > Now, what that thing *is*, I don't know.
> >
> > The C compiler precomputes constant expressions; your "pow(2,3)" is
> > being rewritten to "8" by the compiler.  Similarly, if you write
> > "1 + 2 / 3 + 4 * 5 - 6", the C compiler will turn this into "15"
> > rather than producing a series of instructions which computes the
> > expression.
> >
> > When you reference variables, this optimization isn't possible, since
> > those variables might be modified before you reach the line where
> > they are used.  (Obviously this doesn't happen in your program, but
> > the compiler isn't smart enough to figure that out.)
> >
> > Colin Percival
>
> +1. The compiler sees constants differently from variables (which reside in
> a
> memory space). With the constant, the optimizer can rewrite the equation
> with
> its answer.
>
> Anyhow, it can't be seen as a bug because you should include the math
> library
> whenever you're using a function from it (see man pow). Therefore, if you
> would have included the library in the first place, you would have never
> found this 'oddity'.
>
> Nicolas.
>
> --
> FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
> PGP? : http://www.clkroot.net/security/nb_root.asc
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pow function working unexpectedly

2006-04-11 Thread Nicolas Blais
On Tuesday 11 April 2006 19:24, Colin Percival wrote:
> Andy Reitz wrote:
> > So, clearly, something is optimizing the pow() function away when the
> > arguments are hard-coded lvalues, instead of varibles.
> >
> > Now, what that thing *is*, I don't know.
>
> The C compiler precomputes constant expressions; your "pow(2,3)" is
> being rewritten to "8" by the compiler.  Similarly, if you write
> "1 + 2 / 3 + 4 * 5 - 6", the C compiler will turn this into "15"
> rather than producing a series of instructions which computes the
> expression.
>
> When you reference variables, this optimization isn't possible, since
> those variables might be modified before you reach the line where
> they are used.  (Obviously this doesn't happen in your program, but
> the compiler isn't smart enough to figure that out.)
>
> Colin Percival

+1. The compiler sees constants differently from variables (which reside in a 
memory space). With the constant, the optimizer can rewrite the equation with 
its answer.

Anyhow, it can't be seen as a bug because you should include the math library 
whenever you're using a function from it (see man pow). Therefore, if you 
would have included the library in the first place, you would have never 
found this 'oddity'.

Nicolas.

-- 
FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgps4up9lVAOK.pgp
Description: PGP signature


Re: pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
With reference to my first example given is what I was talking about. 
The first example properly ran with just compiling with:

gcc test.c

Here's the first example again:
> > > > #include 
> > > > #include 
> > > >
> > > > int main()
> > > > {
> > > >  printf("%f\n", pow(2,3));
> > > >  return 0;
> > > > }

Thanks,
Jon

On 4/11/06, Nicolas Blais <[EMAIL PROTECTED]> wrote:
> On Tuesday 11 April 2006 19:07, Jonathan Herriott wrote:
> > Question then.  Why would it work when I don't use variables if I
> > don't include the library?  This question is just out of curiosity.
> >
> > On 4/11/06, Nicolas Blais <[EMAIL PROTECTED]> wrote:
> > > On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
> > > > I just want to make sure I'm not being stupid before I send in a bug.
> > > > The problem seems to be with gcc when using the pow function in the
> > > > math.h library.  Here's code that works:
> > > >
> > > > #include 
> > > > #include 
> > > >
> > > > int main()
> > > > {
> > > >  printf("%f\n", pow(2,3));
> > > >  return 0;
> > > > }
> > > >
> > > >
> > > > Now, the following will not compile:
> > > >
> > > > #include 
> > > > #include 
> > > >
> > > > int main()
> > > > {
> > > >  int x = 2; // I tried these as doubles too since the pow function
> > > > takes doubles
> > > >  int y = 3;
> > > >
> > > >  printf("%f\n", pow(x,y));
> > > >  return 0;
> > > > }
> > > >
> > > > I compiled both programs using:
> > > > gcc test.c
> > > >
> > > > The second example gives the following error:
> > > >
> > > > /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
> > > > : undefined reference to `pow'
> > > >
> > > > If I comile with g++, I have no issues.  Are these results that I
> > > > should have?  If so, why?  If not, I'm going to submit the bug on gcc
> > > > (or the linker, but I'm guessing it's the same group).
> > > >
> > > > Thanks,
> > > > Jonathan Herriott
> > >
> > > gcc -lm test.c works. You forgot to include the math library.
> > >
>
> I'm not sure I get your question, but if your not using the math library
> (from
> variables or functions), then the compiler could care less if it was linked
> with the math library or not.
> If your software DOES use a variable or a call from math.h (pow in this
> case),
> then linking with the math library is a must.
>
> Hope this answers your question, if it doesn't, post a test2.c with what you
> meant and I'll answer best I can.
>
> Nicolas.
>
>
>
> --
> FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
> PGP? : http://www.clkroot.net/security/nb_root.asc
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Bryan Curl

What is the cvsup tag for getting  6.1-PRERELEASE src?

I think it should be tag=RELENG_6_1 .

Can I use src-all for this revision to upgrade from where I am now?

Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT 
2006 ...


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


Re: pow function working unexpectedly

2006-04-11 Thread Svein Halvor Halvorsen
On 4/12/06, Jonathan Herriott <[EMAIL PROTECTED]> wrote:
> Question then.  Why would it work when I don't use variables if I
> don't include the library?  This question is just out of curiosity.

Since you use only hard coded operands, the result is given, and gcc
optimizes such arithmetics and function calls away.


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


Re: pow function working unexpectedly

2006-04-11 Thread Colin Percival
Andy Reitz wrote:
> So, clearly, something is optimizing the pow() function away when the
> arguments are hard-coded lvalues, instead of varibles.
> 
> Now, what that thing *is*, I don't know.

The C compiler precomputes constant expressions; your "pow(2,3)" is
being rewritten to "8" by the compiler.  Similarly, if you write
"1 + 2 / 3 + 4 * 5 - 6", the C compiler will turn this into "15"
rather than producing a series of instructions which computes the
expression.

When you reference variables, this optimization isn't possible, since
those variables might be modified before you reach the line where
they are used.  (Obviously this doesn't happen in your program, but
the compiler isn't smart enough to figure that out.)

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


Re: Wanted: Flash player for ....

2006-04-11 Thread Joseph Vella
On Tuesday 11 April 2006 06:47, Eric Schuele wrote:
> [Hoping this isn't too OT for the list]
> 
> So... now that www/linux-flashplugin* are gone,  I was hoping to get 
> opinions on which alternative flashplayer(s) are reasonably good.  I use 
> firefox and would prefer a plugin for it... but am generally interested 
> in the state of any flash player.  I know there are a handful in ports, 
> just wanted some opinions.
> 
> Could anyone please offer their opinion on
>   - which alternative they are using
>   - why
>   - comment(s) on installation ease (or lack thereof)
>   - is it a standalone or plugin
> 

I missed it.  Why is www/linux-flashplugin* gone?   

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


Re: pow function working unexpectedly

2006-04-11 Thread Erik Trulsson
On Tue, Apr 11, 2006 at 11:07:35PM +, Jonathan Herriott wrote:
> Question then.  Why would it work when I don't use variables if I
> don't include the library?  This question is just out of curiosity.

Because the compiler recognizes that pow() when called with only 
constants as arguments can be calculated at compile-time and does so.

If you look at the generated assembler you will see that there is no 
call to pow() actually being made there -- it has been replaced by
the appropriate constant.


> 
> 
> On 4/11/06, Nicolas Blais <[EMAIL PROTECTED]> wrote:
> > On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
> > > I just want to make sure I'm not being stupid before I send in a bug.
> > > The problem seems to be with gcc when using the pow function in the
> > > math.h library.  Here's code that works:
> > >
> > > #include 
> > > #include 
> > >
> > > int main()
> > > {
> > >  printf("%f\n", pow(2,3));
> > >  return 0;
> > > }
> > >
> > >
> > > Now, the following will not compile:
> > >
> > > #include 
> > > #include 
> > >
> > > int main()
> > > {
> > >  int x = 2; // I tried these as doubles too since the pow function
> > > takes doubles
> > >  int y = 3;
> > >
> > >  printf("%f\n", pow(x,y));
> > >  return 0;
> > > }
> > >
> > > I compiled both programs using:
> > > gcc test.c
> > >
> > > The second example gives the following error:
> > >
> > > /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
> > > : undefined reference to `pow'
> > >
> > > If I comile with g++, I have no issues.  Are these results that I
> > > should have?  If so, why?  If not, I'm going to submit the bug on gcc
> > > (or the linker, but I'm guessing it's the same group).
> > >
> > > Thanks,
> > > Jonathan Herriott
> >
> > gcc -lm test.c works. You forgot to include the math library.
> >



-- 

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


Re: pow function working unexpectedly

2006-04-11 Thread Andy Reitz
On Tue, 11 Apr 2006, Jonathan Herriott wrote:

> Question then.  Why would it work when I don't use variables if I
> don't include the library?  This question is just out of curiosity.

That's a pretty good question. In the case where we have pow(x,y), I see
this:

[EMAIL PROTECTED]/src]$ gcc -c pow_test.c
[EMAIL PROTECTED]/src]$ nm pow_test.o
 T main
 U pow
 U printf

In the case where it is pow(2,3), I see this:

[EMAIL PROTECTED]/src]$ gcc -c pow_test.c
[EMAIL PROTECTED]/src]$ nm pow_test.o
 T main
 U printf

So, clearly, something is optimizing the pow() function away when the
arguments are hard-coded lvalues, instead of varibles.

Now, what that thing *is*, I don't know.

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


Re: pow function working unexpectedly

2006-04-11 Thread Nicolas Blais
On Tuesday 11 April 2006 19:07, Jonathan Herriott wrote:
> Question then.  Why would it work when I don't use variables if I
> don't include the library?  This question is just out of curiosity.
>
> On 4/11/06, Nicolas Blais <[EMAIL PROTECTED]> wrote:
> > On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
> > > I just want to make sure I'm not being stupid before I send in a bug.
> > > The problem seems to be with gcc when using the pow function in the
> > > math.h library.  Here's code that works:
> > >
> > > #include 
> > > #include 
> > >
> > > int main()
> > > {
> > >  printf("%f\n", pow(2,3));
> > >  return 0;
> > > }
> > >
> > >
> > > Now, the following will not compile:
> > >
> > > #include 
> > > #include 
> > >
> > > int main()
> > > {
> > >  int x = 2; // I tried these as doubles too since the pow function
> > > takes doubles
> > >  int y = 3;
> > >
> > >  printf("%f\n", pow(x,y));
> > >  return 0;
> > > }
> > >
> > > I compiled both programs using:
> > > gcc test.c
> > >
> > > The second example gives the following error:
> > >
> > > /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
> > > : undefined reference to `pow'
> > >
> > > If I comile with g++, I have no issues.  Are these results that I
> > > should have?  If so, why?  If not, I'm going to submit the bug on gcc
> > > (or the linker, but I'm guessing it's the same group).
> > >
> > > Thanks,
> > > Jonathan Herriott
> >
> > gcc -lm test.c works. You forgot to include the math library.
> >

I'm not sure I get your question, but if your not using the math library (from 
variables or functions), then the compiler could care less if it was linked 
with the math library or not.
If your software DOES use a variable or a call from math.h (pow in this case), 
then linking with the math library is a must.

Hope this answers your question, if it doesn't, post a test2.c with what you 
meant and I'll answer best I can.

Nicolas.



-- 
FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpcmezHLPbz5.pgp
Description: PGP signature


Re: pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
Question then.  Why would it work when I don't use variables if I
don't include the library?  This question is just out of curiosity.


On 4/11/06, Nicolas Blais <[EMAIL PROTECTED]> wrote:
> On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
> > I just want to make sure I'm not being stupid before I send in a bug.
> > The problem seems to be with gcc when using the pow function in the
> > math.h library.  Here's code that works:
> >
> > #include 
> > #include 
> >
> > int main()
> > {
> >  printf("%f\n", pow(2,3));
> >  return 0;
> > }
> >
> >
> > Now, the following will not compile:
> >
> > #include 
> > #include 
> >
> > int main()
> > {
> >  int x = 2; // I tried these as doubles too since the pow function
> > takes doubles
> >  int y = 3;
> >
> >  printf("%f\n", pow(x,y));
> >  return 0;
> > }
> >
> > I compiled both programs using:
> > gcc test.c
> >
> > The second example gives the following error:
> >
> > /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
> > : undefined reference to `pow'
> >
> > If I comile with g++, I have no issues.  Are these results that I
> > should have?  If so, why?  If not, I'm going to submit the bug on gcc
> > (or the linker, but I'm guessing it's the same group).
> >
> > Thanks,
> > Jonathan Herriott
>
> gcc -lm test.c works. You forgot to include the math library.
>
> --
> FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
> PGP? : http://www.clkroot.net/security/nb_root.asc
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pow function working unexpectedly

2006-04-11 Thread Nicolas Blais
On Tuesday 11 April 2006 18:54, Jonathan Herriott wrote:
> I just want to make sure I'm not being stupid before I send in a bug.
> The problem seems to be with gcc when using the pow function in the
> math.h library.  Here's code that works:
>
> #include 
> #include 
>
> int main()
> {
>  printf("%f\n", pow(2,3));
>  return 0;
> }
>
>
> Now, the following will not compile:
>
> #include 
> #include 
>
> int main()
> {
>  int x = 2; // I tried these as doubles too since the pow function
> takes doubles
>  int y = 3;
>
>  printf("%f\n", pow(x,y));
>  return 0;
> }
>
> I compiled both programs using:
> gcc test.c
>
> The second example gives the following error:
>
> /var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
> : undefined reference to `pow'
>
> If I comile with g++, I have no issues.  Are these results that I
> should have?  If so, why?  If not, I'm going to submit the bug on gcc
> (or the linker, but I'm guessing it's the same group).
>
> Thanks,
> Jonathan Herriott

gcc -lm test.c works. You forgot to include the math library.

-- 
FreeBSD 7.0-CURRENT #1: Sat Apr  8 21:33:25 EDT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpWBui9wKY00.pgp
Description: PGP signature


pow function working unexpectedly

2006-04-11 Thread Jonathan Herriott
I just want to make sure I'm not being stupid before I send in a bug. 
The problem seems to be with gcc when using the pow function in the
math.h library.  Here's code that works:

#include 
#include 

int main()
{
 printf("%f\n", pow(2,3));
 return 0;
}


Now, the following will not compile:

#include 
#include 

int main()
{
 int x = 2; // I tried these as doubles too since the pow function
takes doubles
 int y = 3;

 printf("%f\n", pow(x,y));
 return 0;
}

I compiled both programs using:
gcc test.c

The second example gives the following error:
/var/tmp//ccxtkMwv.o(.text+0x45): In function `main':
: undefined reference to `pow'

If I comile with g++, I have no issues.  Are these results that I
should have?  If so, why?  If not, I'm going to submit the bug on gcc
(or the linker, but I'm guessing it's the same group).

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


6.1-PRERELEASE CVSUP tag=???

2006-04-11 Thread Bryan Curl
What is the cvsup tag for geting  6.1-PRERELEASE src?

I think it should be tag=RELENG_6_1 .

Can I use src-all for this revision to upgrade from where I am now?

Right now I am:   ...  6.0-RELEASE-p6 #0: Tue Apr  4 09:43:53 MDT 2006
...


--
--
Bryan
bc3910 'at' gmail 'dot' com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need /bin/sh script help

2006-04-11 Thread Jan Grant
On Tue, 11 Apr 2006, [EMAIL PROTECTED] wrote:

> On  Mon, 10 Apr 2006 22:30:32 -0700  Garrett Cooper wrote (my brief response 
> follows all of his text):
> 
> Just making a series of sh scripts to help automate updating and 
> whatnot of my fileserver (since I am trying to avoid having mistakes 
> occur with my system, and maybe help the community out a bit by 
> providing some decent means of updating their own machines), and I was 
> wondering if anyone could help me out with the following script I've 
> developing (the grep if statements are incorrect..):

> I see a problem in the line
> if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
> you should have double-quotes around the  `grep  ...  conf`
> because it is likely to produce more than one token and so the
>  [ -n ... ] statement violates the syntax (there should be exactly 1 
> token between the -n and the ] , even no token there is an error, the 
> way that is handled is to quote it. I am writing this quickly without 
> bringing up my FreeBSD system to check it.  Good luck.

Or simply use the error status of grep, no "[" invocation:

if grep -q ...
then
...
fi

Note that if you're looking at automating the update process you should 
probably pay careful attention to the world/kernel update process 
described in the handbook; there are steps (like an initial mergemaster 
-p) that you will want to include.

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
If you have received this email in error, do whatever the hell
you want with it. It's not like I can stop you anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: upcoming release 6.1: old version of some core components

2006-04-11 Thread Ted Mittelstaedt

Hi All,

 nospam, I just checked the cvs, and they did catch zlib, 1.2.3 is in
there now.  /usr/src/lib/libz.
BETA4 is older than the current cvs

  Note that some programs (cvs) seem to have copies of zlib.c that are
older, maybe that's
what your seeing?

  as for openssl, it is still at 0.9.7e and yes there was a security fix
released in 0.9.7h,
it should be updated - however the developer in charge of that may have
simply decided
to patch the security fix rather than rev openssl up, since so many
programs depend
on it.

Ted


>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of
>[EMAIL PROTECTED]@mgEDV.net
>Sent: Tuesday, April 11, 2006 5:55 AM
>To: freebsd-questions@freebsd.org
>Subject: upcoming release 6.1: old version of some core components
>
>
>
>hi together,
>
>during testing the 6.1-BETA4 i found only one major thing
>i really like to discuss on the list for my understanding.
>
>why are some major parts of the os are not updated to the
>current versions (see examples beyond)? code-improvements
>and security-/functionality-fixes come to my mind here.
>
>examples given:
>zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
>openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
>openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)
>
>for openssh, the code-freeze of freebsd was before the
>release of 4.3, this makes sense, but what about the rest?
>
>br & cu...
>
>ps: just reply 2 the list please...
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006
>

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


RE: upcoming release 6.1: old version of some core components

2006-04-11 Thread Ted Mittelstaedt

Alex, you would lose that bet, zlib 1.2.2 has a hole in it, it
should have been replaced with 1.2.3  See the zlib website
for more info.

Nospam, good catch, if none of the hip-shooters here file a PR I'll
get around to it the next time I get a running build off the
cvs.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Alex Zbyslaw
>Sent: Tuesday, April 11, 2006 6:25 AM
>To: freebsd-questions@freebsd.org
>Subject: Re: upcoming release 6.1: old version of some core components
>
>
>[EMAIL PROTECTED]@mgEDV.net wrote:
>
>>during testing the 6.1-BETA4 i found only one major thing
>>i really like to discuss on the list for my understanding.
>>
>>why are some major parts of the os are not updated to the
>>current versions (see examples beyond)? code-improvements
>>and security-/functionality-fixes come to my mind here.
>>
>>examples given:
>>zlib (v1.2.2, 10/2004; current 1.2.3, 07/2005)
>>openssl (v0.9.7e, 10/2004; current 0.9.7i, 10/2005)
>>openssh (v4.2p1, 01/2005, current 4.3p2 02/2006)
>>
>>for openssh, the code-freeze of freebsd was before the
>>release of 4.3, this makes sense, but what about the rest?
>>
>>
>>
>I can't answer you main question, but I would say that you can bet your
>shirt on the fact that there will be no known security issues in the
>older packages.
>
>At least for openssl and openssh you can get latest versions
>through the
>ports.  Not an option for everything -- I see no zlib for example and I
>don't believe there's a standard cvs port either.
>
>--Alex
>
>
>___
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to
>"[EMAIL PROTECTED]"
>
>--
>No virus found in this incoming message.
>Checked by AVG Free Edition.
>Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006
>

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


Re: freebsd-questions Digest, Vol 131, Issue 6

2006-04-11 Thread Eric Schuele

Kris Kennaway wrote:

On Tue, Apr 11, 2006 at 02:04:55PM -0700, Alfred Morgan wrote:

Date: Tue, 11 Apr 2006 08:47:07 -0500
From: Eric Schuele <[EMAIL PROTECTED]>
Subject: Wanted: Flash player for 
To: FreeBSD Questions 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.
Why can't we do it like we did with java?  Where we had to download the 
linux version manually from a given URL saving it into our distfiles 
directory.  Then we would run the ports install procedure and all would be 
happy again.


Because the software license says you may not use it on FreeBSD, period.



Any idea if anyone (the FreeBSD Foundation?) is going to attempt to 
change the situation?  Seems like flash support would be a useful 
feature for those using FreeBSD on the desktop.



Kris



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


Re: freebsd-questions Digest, Vol 131, Issue 6

2006-04-11 Thread Kris Kennaway
On Tue, Apr 11, 2006 at 02:04:55PM -0700, Alfred Morgan wrote:
> Date: Tue, 11 Apr 2006 08:47:07 -0500
> From: Eric Schuele <[EMAIL PROTECTED]>
> Subject: Wanted: Flash player for 
> To: FreeBSD Questions 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> >So... now that www/linux-flashplugin* are gone,  I was hoping to get 
> >opinions on which alternative flashplayer(s) are reasonably good.
> 
> Why can't we do it like we did with java?  Where we had to download the 
> linux version manually from a given URL saving it into our distfiles 
> directory.  Then we would run the ports install procedure and all would be 
> happy again.

Because the software license says you may not use it on FreeBSD, period.

Kris


pgpAlGjMZzwuF.pgp
Description: PGP signature


Re: Reboot hangs on xeon server

2006-04-11 Thread Andy Reitz
On Tue, 11 Apr 2006, Christopher McGee wrote:

> The server I have is using an Intel SE7501CW2 server board with 1 Xeon
> 2.0Ghz processor.  It's got a Mylex AcceleRAID 170 card with 6 - 36GB
> scsi drives.  When I reboot the machine, via ctrl-alt-del, or typing
> reboot, it syncs disks, then gives the messages:
>
> All buffers synced.
> Uptime: ##m##s
>
> At this point, it just hangs forever and has to be powercycled.  I've
> tried installing 4.11, 5.4 and 6.0 on this box.  The only version that
> works properly is 4.11, however, at this point I would prefer to not put
> another 4.x box in production.  I have tried booting in safe mode and
> rebooting and I get the same result.  I've tried disabling usb in the
> bios, in the kernel, and in both, and it still has the same results.
>
> Any ideas what could fix this?

Hi Chris,

This is not my area of expertise, but this sounds like an ACPI problem to
me. You might try googling that (in conjunction with your motherboard) and
see what comes up.

HTH,
-Andy.

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


Re: portsnap DOESN'T WORK

2006-04-11 Thread Colin Percival
Wojciech Puchar wrote:
> [EMAIL PROTECTED] portsnap fetch
> [...]
> Fetching 4 metadata files... /usr/sbin/portsnap: cannot open
> 4ad98b45a8fb7f262971491949ddd63be3fa066a31d5d09d53a9eddff3276698.gz: No
> such file or directory
> metadata is corrupt.
> 
> tried cleaning /var/db/portsnap completely too. it fetched all data
> first and then got the same exactly
> 
> what's wrong?

What does "portsnap --debug fetch" report?

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


Re: freebsd-questions Digest, Vol 131, Issue 6

2006-04-11 Thread Alfred Morgan

Date: Tue, 11 Apr 2006 08:47:07 -0500
From: Eric Schuele <[EMAIL PROTECTED]>
Subject: Wanted: Flash player for 
To: FreeBSD Questions 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

So... now that www/linux-flashplugin* are gone,  I was hoping to get 
opinions on which alternative flashplayer(s) are reasonably good.


Why can't we do it like we did with java?  Where we had to download the linux 
version manually from a given URL saving it into our distfiles directory.  Then 
we would run the ports install procedure and all would be happy again.

-alfred


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


Re: restarting sendmail after patching - help needed.

2006-04-11 Thread John Nielsen
On Tuesday 11 April 2006 16:35, Ensel Sharon wrote:
> Hello,
>
> I am patching for the recent sendmail advisory:

> and now all I need to do is restart sendmail so that the new binaries are
> loaded and running.
>
> I _think_ the correct method is:
>
> cd /etc/mail
> make restart

You are correct.

> but is that ^^^ sufficient ?

Yep, that's all there is to it!

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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Kris Kennaway
On Tue, Apr 11, 2006 at 05:46:06PM +0200, [EMAIL PROTECTED]@mgEDV.net wrote:
>  
> > I can't answer you main question, but I would say that you can bet your 
> >shirt on the fact that there will be no known security issues in the 
> > older packages.
> 
> > At least for openssl and openssh you can get latest versions through the 
> > ports.  Not an option for everything -- I see no zlib for example and I 
> > don't believe there's a standard cvs port either.
> 
> as for zlib i definitely know, that there are 2 security flaws, which can
> lead to problems when invalid compressed data is feeded.

Already fixed as soon as they were published.  Are there other reasons
to upgrade?

> my problem also is not the installation of ports/packages/custom compiles,
> it's more that the operating system components itself are linked against
> these older libraries an therefore will contain bugs, which may have been
> already solved.

The other side of this is that newer versions are often incompatible
(OpenSSL, I'm looking at you), which rules out upgrading the version
in a FreeBSD-STABLE branch since it ruins binary compatibility.

Kris

pgpNldjpwq4nZ.pgp
Description: PGP signature


restarting sendmail after patching - help needed.

2006-04-11 Thread Ensel Sharon

Hello,

I am patching for the recent sendmail advisory:

ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-06:13.sendmail.asc

I have followed the patching instructions:

b) Execute the following commands as root:  





# cd /usr/src   


# patch < /path/to/patch


# cd /usr/src/lib/libsm 


# make obj && make depend && make   


# cd /usr/src/lib/libsmutil 


# make obj && make depend && make   


# cd /usr/src/usr.sbin/sendmail 


# make obj && make depend && make && make install


and now all I need to do is restart sendmail so that the new binaries are
loaded and running.

I _think_ the correct method is:

cd /etc/mail
make restart

but is that ^^^ sufficient ?  Or is there something more to do to make
sure I have no remnants of the old one running ?

Thanks.

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


Re: Timescale for 6.1-RELEASE...

2006-04-11 Thread Bill Moran
On Tue, 11 Apr 2006 12:32:08 -0700
"Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote:

> And disk space is getting so big so fast that mirroring is going
> to be the only option for desktops Real Soon Now, because when you
> have a gigabyte of disk space that is shipping standard with
> a desktop PC and costs only $200  (which will happen by the middle
> of next year) there's no way in hell that you can back that up
> to anything, the costs of tape storage for an office full of
> desktops like that would be out of the question.

I assume you meant to say "a terabyte of disk space" instead of
"gigabyte"?

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


Re: Timescale for 6.1-RELEASE...

2006-04-11 Thread Nikolas Britton
On 4/11/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> I beg to differ Nikolas, there is still work that needs to be
> done on the disk driver.  See PR 95184.  It was right to shift the
> release schedule.
>
> I don't know what you running for hardware but I don't think many
> people really appreciate what is going on with SATA these days,
> how incredibly damn fast that mirrored SATA arrays of large 500Gb
> disks are wiping everything else off the map.
>
> In the servers that I have that ARE working with the new high
> speed SATA array chipsets, the disk I/O is an order of magnitude
> faster than anything else.  Faster than any UDMA drive, any SCSI
> array you want to throw at it.  And larger.  and a LOT cheaper.
>
> And disk space is getting so big so fast that mirroring is going
> to be the only option for desktops Real Soon Now, because when you
> have a gigabyte of disk space that is shipping standard with
> a desktop PC and costs only $200  (which will happen by the middle
> of next year) there's no way in hell that you can back that up
> to anything, the costs of tape storage for an office full of
> desktops like that would be out of the question.
>

Yes... tell me about it, I have a 2TB SATA-II array and it's cheaper
to backup that array to another, off-site, array then it is to go with
tape. Tape is way behind the times when compared with SATA/IDE disk
sizes.

> And what is more frustrating is this is the best chance that has
> come along for years to kick the crap out of Linux market share.
> Linux support of SATA stinks, they are trying to send everyone to
> the 3rd parties for drivers rather than incorporating them in
> the Linux distros.  Well I can tell you that Ying-Tao cloney baloney
> motherboard maker in Asia who is using an off-the-shelf raided SATA
> chipset in their $1.99 motherboard-of-the-month, they aren't going
> to provide drivers for anything other than Windows.
>
> FreeBSD's support of mirrored sata and udma raid chips is already
> better than Linux, but it needs to be absolutely top flight before
> 6.1 ships.
>

The person you should thank is Søren Schmidt, http://www.deepcore.dk/

> You can get around a lot of hardware support problems - such as
> buggy drivers for the serial ports/network card/usb port/etc. -
> but if your disk driver is buggy you cannot even get an OS on
> the hardware that you can even patch.  You are dead in the water
> and 99% of the people in that situation are going to toss the
> FreeBSD 6.1 CD and go to something else.
>

I think the ICH7 sata problem has already been fixed, check the logs
here: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ if not
jump onto the stable mailing list and start waving your hands.



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


Re: Need /bin/sh script help

2006-04-11 Thread [EMAIL PROTECTED]
On  Mon, 10 Apr 2006 22:30:32 -0700  Garrett Cooper wrote (my brief response 
follows all of his text):

Just making a series of sh scripts to help automate updating and 
whatnot of my fileserver (since I am trying to avoid having mistakes 
occur with my system, and maybe help the community out a bit by 
providing some decent means of updating their own machines), and I was 
wondering if anyone could help me out with the following script I've 
developing (the grep if statements are incorrect..):

#!/bin/sh
#

KC="";

cd /usr/src;

if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
KERNCONF in /etc/make.conf
then
echo "enter in the kernel conf file full pathname:";
read KERNCONF;
KC="KERNCONF=$KERNCONF";
fi

if [ -n `grep -e s/NO_CLEAN=*yes*/ /etc/make.conf` ] // want to look for 
NO_CLEAN in /etc/make.conf -- is this really necessary?
then
cd sys;
echo "cleaning sources"
make clean;
make cleandir;
cd ..;
fi

echo "building kernel";
make buildkernel $KC;

echo "installing kernel";
make installkernel $KC;

echo "kernel compile complete. reboot to try new kernel";

TIA,
-Garrett

I see a problem in the line
if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 
you should have double-quotes around the  `grep  ...  conf`
because it is likely to produce more than one token and so the
 [ -n  ... ]  statement violates the syntax (there should be exactly 1 token 
between the  -n  and the  ] , even no token there is an error, the way that is 
handled is to quote it.
I am writing this quickly without bringing up my  FreeBSD  system to check it.  
Good luck.

Another thing you can do to avoid quoting (and the long strings that may 
result) is use the  -c  option of  grep  and check the number resulting.

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


Re: Solved (I hope): Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 16:10, Erik Norgaard wrote:
> RW wrote:
> > On Tuesday 11 April 2006 13:25, RW wrote:
> >> You could try  setting USE_OPENLDAP_VER=23 for the port.
> >
> > Actually, I see it conflict with 2.2, so it must be set globally.
>
> Yes, OpenLDAP 2.3 conflicts with 2.2, but jabberd by default assumes 2.2
> so the build fails. Then rather than downgrading OpenLDAP since 2.3 is
> the recommended I'd prefer to force jabberd to build against 2.3.
>
> I've seen many ports doing this, for example squid. Some announces how
> to select a particular version. I don't know if your hint work with all
> ports.

Actually I think I got this wrong; USE_OPENLDAP_VER will create spurious LDAP 
dependencies if set globally. It should have been 

WANT_OPENLDAP_VER=23 

Dependencies on OpenLDAP are handled by  the common ports makefiles. jabberd 
doesn't specify a version.  I think it simply defaults to 2.2, even if 2.3 is 
installed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Reboot hangs on xeon server

2006-04-11 Thread Christopher McGee
The server I have is using an Intel SE7501CW2 server board with 1 Xeon 
2.0Ghz processor.  It's got a Mylex AcceleRAID 170 card with 6 - 36GB 
scsi drives.  When I reboot the machine, via ctrl-alt-del, or typing 
reboot, it syncs disks, then gives the messages:


All buffers synced.
Uptime: ##m##s

At this point, it just hangs forever and has to be powercycled.  I've 
tried installing 4.11, 5.4 and 6.0 on this box.  The only version that 
works properly is 4.11, however, at this point I would prefer to not put 
another 4.x box in production.  I have tried booting in safe mode and 
rebooting and I get the same result.  I've tried disabling usb in the 
bios, in the kernel, and in both, and it still has the same results.


Any ideas what could fix this?

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


RE: Timescale for 6.1-RELEASE...

2006-04-11 Thread Ted Mittelstaedt
I beg to differ Nikolas, there is still work that needs to be
done on the disk driver.  See PR 95184.  It was right to shift the
release schedule.

I don't know what you running for hardware but I don't think many
people really appreciate what is going on with SATA these days,
how incredibly damn fast that mirrored SATA arrays of large 500Gb
disks are wiping everything else off the map.

In the servers that I have that ARE working with the new high
speed SATA array chipsets, the disk I/O is an order of magnitude
faster than anything else.  Faster than any UDMA drive, any SCSI
array you want to throw at it.  And larger.  and a LOT cheaper.

And disk space is getting so big so fast that mirroring is going
to be the only option for desktops Real Soon Now, because when you
have a gigabyte of disk space that is shipping standard with
a desktop PC and costs only $200  (which will happen by the middle
of next year) there's no way in hell that you can back that up
to anything, the costs of tape storage for an office full of
desktops like that would be out of the question.

And what is more frustrating is this is the best chance that has
come along for years to kick the crap out of Linux market share.
Linux support of SATA stinks, they are trying to send everyone to
the 3rd parties for drivers rather than incorporating them in
the Linux distros.  Well I can tell you that Ying-Tao cloney baloney
motherboard maker in Asia who is using an off-the-shelf raided SATA
chipset in their $1.99 motherboard-of-the-month, they aren't going
to provide drivers for anything other than Windows.

FreeBSD's support of mirrored sata and udma raid chips is already
better than Linux, but it needs to be absolutely top flight before
6.1 ships.

You can get around a lot of hardware support problems - such as
buggy drivers for the serial ports/network card/usb port/etc. -
but if your disk driver is buggy you cannot even get an OS on
the hardware that you can even patch.  You are dead in the water
and 99% of the people in that situation are going to toss the
FreeBSD 6.1 CD and go to something else.

Ted

>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED] Behalf Of Nikolas Britton
>Sent: Tuesday, April 11, 2006 4:06 AM
>To: Harrison Peter CSA BIRKENHEAD
>Cc: freebsd-questions@freebsd.org
>Subject: Re: Timescale for 6.1-RELEASE...
>
>
>On 3/30/06, Harrison Peter CSA BIRKENHEAD
><[EMAIL PROTECTED]> wrote:
>> I realise the answer to this question is "when it's ready",
>but does anyone have a rough idea how close to being ready 6.1 is?
>>
>
>The 6.1 branch was cut on the 5th, this means you can cvsup to
>RELENG_6_1 branch and rebuild world to 6.1-RC. As for the release date
>of the official 6.1-RC1 builds... It should have happened yesterday,
>so expect it any time this week. 6.1-RELEASE should be released at the
>end of this month or the beginning of next month If you look at
>the schedule everything has been shifted out 1 month.
>
>If you want my opinion on 6.1, it's ready right now, I've been running
>a production server on 6.1 since BETA2, my main workstation at work
>since BETA4 and my main workstation at home has been running 6.1 since
>before BETA1 (tracking 6-STABLE). I've had no problems and feel that
>It's far superior to FreeBSD 5.x, It's also alot faster then 5.x. The
>more tester we have for the 6.1 release candidate runs the better
>6.1-RELEASE will be!
>http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing
/index.html


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

--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.4.1/307 - Release Date: 4/10/2006

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


RE: ClamAV question

2006-04-11 Thread Darryl Hoar
> -Original Message-
> From: Miguel [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 11, 2006 2:17 PM
> To: [EMAIL PROTECTED]
> Cc: freebsd-questions@freebsd.org
> Subject: Re: ClamAV question
> 
> 
> Darryl Hoar wrote:
> 
> >Greetings,
> >I am running Freebsd 6-release.  I have been following the
> >qmailrocks.org document for setting up qmail, squirrel,
> >spamassasssin & clamav (& misc) on Freebsd.
> >
> >  
> >
> which qmail-queue replacement did you use?
> 
> >Everything has gone fine, but I am having a small problem.
> >When I run the test_installation.sh -doit which sends a 
> regular email, a
> >spam email & 2 virus emails (safe of course) , ClamAV places the
> >messages in the quarantine directory, but never delevers the warning
> >message to the intended recepient notifying them of the email being
> >quarantines.  From my reading, that is what is suppose to happen.
> >
> >  
> >
> 
> that is not clamav's work,  its qmail-queue's replacement 
> work,  i use 
> qmail-scanner without problem for that
> 
> ---
> miguel
> 

thanks.  I am using qmail-scanner.


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


Re: ClamAV question

2006-04-11 Thread Miguel

Darryl Hoar wrote:


Greetings,
I am running Freebsd 6-release.  I have been following the
qmailrocks.org document for setting up qmail, squirrel,
spamassasssin & clamav (& misc) on Freebsd.

 


which qmail-queue replacement did you use?


Everything has gone fine, but I am having a small problem.
When I run the test_installation.sh -doit which sends a regular email, a
spam email & 2 virus emails (safe of course) , ClamAV places the
messages in the quarantine directory, but never delevers the warning
message to the intended recepient notifying them of the email being
quarantines.  From my reading, that is what is suppose to happen.

 



that is not clamav's work,  its qmail-queue's replacement work,  i use 
qmail-scanner without problem for that


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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Chad Leigh -- Shire.Net LLC


On Apr 11, 2006, at 1:06 PM, Petre Bandac wrote:



When the boot menu comes up, choose "single user mode" and then set
a new root password at the shell prompt.

Chad


single mode --> mount -a --> passwd --> reboot


I couldn't remember offhand whether you needed to mount an  
appropriate FS :-).


This does outline the need to  make sure you have strict physical  
security over your systems.




_thank_you_


You're welcome.  Best wishes
Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Petre Bandac
On Tue, 11 Apr 2006 10:51:28 -0600 Anno Domini, the honourable Chad
Leigh -- Shire.Net LLC wrote using one of his keyboards:

> 
> On Apr 11, 2006, at 10:52 AM, Petre Bandac wrote:
> 
> > On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable  
> > Norberto
> > Meijome wrote using one of his keyboards:
> >
> >> On Tue, 11 Apr 2006 17:31:12 +0300
> >> Petre Bandac <[EMAIL PROTECTED]> wrote:
> >>
> >>> the classic schema with unload all/load kernel/boot -s and
> >>> mounting / read-write doesn't work
> >>>
> >> Hi Petre,
> >> I assume you say it doesnt work because your kernel doesn't have
> >> gmirror built into it.
> >>
> >> have you tried using the install disk -> fixit -> load the  
> >> geom_mirror
> >> module by hand and then mounting the devices?
> >>
> >> or take the disks to another box which has geom_mirror built into
> >> and modify that way.
> >> Beto
> > it happened as follows - fresh install (following the onlamp.com
> > howto); kernel recompile with all that needs, reboot, test, put
> > the box
> > aside for 3 weeks (while forgetting root password - stupid, yes),
> > try to login (and obviously fail)
> 
> When the boot menu comes up, choose "single user mode" and then set
> a new root password at the shell prompt.
> 
> Chad

single mode --> mount -a --> passwd --> reboot

_thank_you_

> 
> ---
> Chad Leigh -- Shire.Net LLC
> Your Web App and Email hosting provider
> chad at shire.net
> 
> 
> 


-- 

Petre Bandac

Network Scientist

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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Lowell Gilbert
"[EMAIL PROTECTED]@mgEDV.net" <[EMAIL PROTECTED]> writes:

> as for zlib i definitely know, that there are 2 security flaws, which can
> lead to problems when invalid compressed data is feeded.

I doubt it.  I am reasonably sure you are talking about:

 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:16.zlib.asc
and 
 ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/FreeBSD-SA-05:18.zlib.asc

both of which were fixed long ago.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


software search - Btrieve converter

2006-04-11 Thread Wojciech Puchar

does anyone know software able to read Btrieve .DAT files and output
text formatted tables?

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


portsnap DOESN'T WORK

2006-04-11 Thread Wojciech Puchar

[EMAIL PROTECTED] portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... using portsnap1.FreeBSD.org.
Fetching snapshot tag... done.
Fetching snapshot metadata... done.
Updating from ndz  9 kwi 02:33:58 2006 CEST to wto 11 kwi 19:04:27 2006 
CEST.

Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files... /usr/sbin/portsnap: cannot open 
4ad98b45a8fb7f262971491949ddd63be3fa066a31d5d09d53a9eddff3276698.gz: No 
such file or directory

metadata is corrupt.



tried cleaning /var/db/portsnap completely too. it fetched all data first 
and then got the same exactly


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


Re: make buildword problem/documentation

2006-04-11 Thread Jim Stapleton
ok, thanks, I won't worry about it then.

I just like to have everything as optimised as possible. Guess it'll
have to wait here...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make buildword problem/documentation

2006-04-11 Thread Giorgos Keramidas
On 2006-04-11 17:50, Jim Stapleton <[EMAIL PROTECTED]> wrote:
> ahh, thanks everyone, I was looking through the document, and focused
> on finding "buildworld".
>
> Still, anyone know why those particular cflags would cause problems?

Don't use arbitrary CFLAGS in `make.conf'.  The build is already
complicated enough and careful steps have to be taken, without the
introduction of random flags.

You'd have to show us the particular errors you are seeing (possibly a
*FULL* transcript of the build) before we can answer why these
particular flags fail and how.

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


Re: make buildword problem/documentation

2006-04-11 Thread Jim Stapleton
ahh, thanks everyone, I was looking through the document, and focused
on finding "buildworld".


Still, anyone know why those particular cflags would cause problems?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Need /bin/sh script help

2006-04-11 Thread Parv
in message <[EMAIL PROTECTED]>,
wrote Garrett Cooper thusly...
>
> I was wondering if anyone could help me out with the following
> script I've developing (the grep if statements are incorrect..):
> 
> #!/bin/sh
> #
> 
> KC="";
> 
> cd /usr/src;
> 
> if [ -n `grep -e s/KERNCONF=/ /etc/make.conf` ] # want to look for 

Well, you did not write what exactly is the problem, as executing
the above works as expected.  Why do have 'KERNCONF' surrounded by
's/' & '/'?


In any case, there is not need to see if the returned string length
is nonzero.  Just use the grep return code & send the all the output
to /dev/null ...

  if grep -e '^KERNCONF=' /etc/make.conf >/dev/null 2>&1
  then
...
  fi


... or you could also use '-q' and/or '-s' grep options instead of
sending output to /dev/null.  (I personally would do a bit more
strict check to see $KERNCONF is set to value containing characters
meeting some criteria, say '\<[-._[:alnum:]]+\>'.)


> KERNCONF in /etc/make.conf
> then
>echo "enter in the kernel conf file full pathname:";

I did not know one can specify the kernel configuration path, not
just the basename.


>read KERNCONF;
>KC="KERNCONF=$KERNCONF";
> fi
> 
> if [ -n `grep -e s/NO_CLEAN=*yes*/ /etc/make.conf` ] // want to look for 
   ^^
   ^^
Wrong kind of comment
character.

See above comments about grep(1) usage.


  - Parv

-- 

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


Native Opera Spell checker not functioning

2006-04-11 Thread ross
I've been running the native version of Opera (www/opera) for a while now,  
and the spell check function has never actually functioned. Aspell was  
compiled when I installed Opera, so it seems like it should function  
nicely. Anybody have any ideas?


I'm running FreeBSD 6.0 and Opera 5.4
--
What time is it?

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


Re: make buildword problem/documentation

2006-04-11 Thread Andy Greenwood
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

On 4/11/06, Jim Stapleton <[EMAIL PROTECTED]> wrote:
>
> First of all, where do I find "make buildworld" documentation? It's
> mantioned a lot, but I can't find it in the handbook. I'm assuming the
> process is just "make buildworld", "make installworld", and that's it,
> which will update all the non-ports core software packages on a
> machine, but not the kernel itself.
>
> The second part is, when I have this in my make.conf file,
> uncommented, make buildworld fails, when it is commented, make
> buildworld works fine (when it fails, it complains about not being
> able to find/load various header files):
> #CFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse
> #CXXFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse
>
>
> thanks,
> -Jim Stapleton
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: make buildword problem/documentation

2006-04-11 Thread Emil Thelin

On Tue, 11 Apr 2006, Jim Stapleton wrote:


First of all, where do I find "make buildworld" documentation? It's
mantioned a lot, but I can't find it in the handbook. I'm assuming the
process is just "make buildworld", "make installworld", and that's it,
which will update all the non-ports core software packages on a
machine, but not the kernel itself.


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

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


Re: Hosed my MBR?

2006-04-11 Thread Jerry McAllister
> 
> On Tue, April 11, 2006 09:08, Jerry McAllister wrote:
> >>
> >> I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
> >> motherboard with two on-board SATA RAID controllers, an Intel
> >> MatrixRAID (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows
> >> me to boot from either the Promise or the Intel controller.
> >>
> >
> > Well, the install CD is also the fixit CD.  You can try booting from
> > it and choosing the shell and then trying to run the fdisk from that
> > environment to replace the MBR.
> >
> > I have done that for people who have hosed their MBR on machines with
> > Ghost - even their XP only, no FreeBSD, systems, using the FreeBSD
> > fixit, I ran fdisk and replaced the MBR with the FreeBSD MBR and it
> > worked just fine.
> >
> Hi Jerry,
> 
> I think the root of my confusion here is the fact that I have two RAID
> controllers and can boot off either controller.
> 
> Does that mean I have two MBR's, one for each controller?  If that's
> the case and I boot off a CD-ROM, which MBR am I fixing?

Are both controllers part of the same raid device?   say you have some
disk on one and others on the other and they are all lumped in to the
same raid device?I don't even know if you can do that as I haven't
tried or looked at it.   But, it goes by the address you use in 
the fdisk command.

I don't know if it being raid messes things up or not.   Any time I have 
done anything with raid, I had a separate boot and system device outside 
of the raid.  The raid was lumping together disks to make a larger 
work data storage.

Anyway, there needs to be an MBR on each bootable device as well as the
boot files.   I think that holds true for raid setups as well.  

In addition, the first bootable device that your BIOS sees must have 
an MBR regardless of whether you have 1 or more bootable devices.

In your case, it sounds like you have two raid devices, one on each
controller.   You would have to have an MBR on each and it sounds like 
you think you wiped the one on the INTEL controller.   Figure out what
device name the raid on the INTEL controller comes up as and then write
the MBR to that.

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

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


make buildword problem/documentation

2006-04-11 Thread Jim Stapleton
First of all, where do I find "make buildworld" documentation? It's
mantioned a lot, but I can't find it in the handbook. I'm assuming the
process is just "make buildworld", "make installworld", and that's it,
which will update all the non-ports core software packages on a
machine, but not the kernel itself.

The second part is, when I have this in my make.conf file,
uncommented, make buildworld fails, when it is commented, make
buildworld works fine (when it fails, it complains about not being
able to find/load various header files):
#CFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse
#CXXFLAGS=-finline-functions -msse -msse2 -msse3 -m3dnow -mfpmath=sse


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


Installing FreeBSD-4.11 on Dell PowerEdge 2800

2006-04-11 Thread Odhiambo Washington
Hi,

I just need some pointers towards installing FreeBSD 4.11 on a Dell 
PowerEdge 2800 with 4GB RAM, Dual CPU, with 1TB disk storage on RAID 5.

I have a production system that I am not willing to upgrade beyond 4.11
at all as it is rock solid as it is.;)
Currently it's running on HP ML 350 but I have acquired this Dell which
I'd like to migrate it to.
I have read some posts about PAE in the kernel so as to recognize my 4GB
RAM.

Basically, I have tested the install using a 4.10 CD, but this was meant
to only do a mininal install before I do a few things here and there 
that would make it run as expected. I am fairly conversant with those
aspects.

The problem right now is that it tells me it did not find my disk ;)

I could be missing a few things that are must-know, so pointers, please.


-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+==+
|\  _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]>
Zzz /,`.-'`'-.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_) | GSM: +254 722 743223   +254 733 744121
+==+

What is worth doing is worth the trouble of asking somebody to do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Chad Leigh -- Shire.Net LLC


On Apr 11, 2006, at 10:52 AM, Petre Bandac wrote:

On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable  
Norberto

Meijome wrote using one of his keyboards:


On Tue, 11 Apr 2006 17:31:12 +0300
Petre Bandac <[EMAIL PROTECTED]> wrote:


the classic schema with unload all/load kernel/boot -s and
mounting / read-write doesn't work


Hi Petre,
I assume you say it doesnt work because your kernel doesn't have
gmirror built into it.

have you tried using the install disk -> fixit -> load the  
geom_mirror

module by hand and then mounting the devices?

or take the disks to another box which has geom_mirror built into and
modify that way.
Beto

it happened as follows - fresh install (following the onlamp.com
howto); kernel recompile with all that needs, reboot, test, put the  
box

aside for 3 weeks (while forgetting root password - stupid, yes), try
to login (and obviously fail)


When the boot menu comes up, choose "single user mode" and then set a  
new root password at the shell prompt.


Chad


---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Re: lost root password on a raid-1 geom mirror

2006-04-11 Thread Petre Bandac
On Wed, 12 Apr 2006 01:08:13 +1000 Anno Domini, the honourable Norberto
Meijome wrote using one of his keyboards:

> On Tue, 11 Apr 2006 17:31:12 +0300
> Petre Bandac <[EMAIL PROTECTED]> wrote:
> 
> > the classic schema with unload all/load kernel/boot -s and
> > mounting / read-write doesn't work
> > 
> Hi Petre,
> I assume you say it doesnt work because your kernel doesn't have
> gmirror built into it.
> 
> have you tried using the install disk -> fixit -> load the geom_mirror
> module by hand and then mounting the devices? 
> 
> or take the disks to another box which has geom_mirror built into and
> modify that way.
> Beto
it happened as follows - fresh install (following the onlamp.com
howto); kernel recompile with all that needs, reboot, test, put the box
aside for 3 weeks (while forgetting root password - stupid, yes), try
to login (and obviously fail)

thanks,

petre

-- 

Petre Bandac

Network Scientist

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


Re: newbie question on upgrading GCC

2006-04-11 Thread Chuck Swiger

Jim Stapleton wrote:
[ ... ]

When it comes to changing the default compiler a good rule of thumb is
that if you need to ask how to do it, then you should not do it.


That seems to be a general *nix world rule of thumb for just about everything...


The UNIX world is willing to give you a loaded gun, but we try not to 
instruct people on how to shoot their own feet without at least giving them 
a warning that doing so will hurt.  :-)


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


Re: Faking multiple physical adapters for DHCPDISCOVER

2006-04-11 Thread Chuck Swiger

Terrence Koeman wrote:
[ ... ]

I need to 'clone' the xl1 adapter to appear as three adapters, each with a
distinct MAC address. This because my provider has assigned me three
semi-static addresses of which I want to use 1 for outbound NAT-traffic and
two for static NAT.

These addresses are semi-static because they are basically MAC-based
reservations on the providers DHCP server, and it happens to be that I'm
required to aquire a DHCP lease for all three addresses for routing to work
properly. If I configure the addresses statically the connectivity
'disappears' after a while.


The reason why your ISP has configured their system in such a fashion is to 
prevent people from claiming multiple static IPs from a single machine.


If you're not happy with their AUP, use another provider, or pay for a 
dedicated IP allocation of whatever size you need.


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


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Dan Nelson
In the last episode (Apr 11), [EMAIL PROTECTED]@mgEDV.net said:
> > I can't answer you main question, but I would say that you can bet your 
> >shirt on the fact that there will be no known security issues in the 
> > older packages.
> 
> > At least for openssl and openssh you can get latest versions through the 
> > ports.  Not an option for everything -- I see no zlib for example and I 
> > don't believe there's a standard cvs port either.
> 
> as for zlib i definitely know, that there are 2 security flaws, which
> can lead to problems when invalid compressed data is feeded.

You sure about that?  Patches for both FreeBSD-SA-05:16.zlib and
FreeBSD-SA-05:18.zlib were applied to 5.* and 6.* branches as soon as
they were announced.  Just because it says "1.2.2" doesn't mean "all
files are unmodified from the released version".  I'd expect the same
goes for openssh and openssl.  Upgrading zlib on a stable branch is
probably fine, but I'd expect that newer openssh/openssl's will have
ABI or config file changes that would make upgrading them a pain.  Much
easier to import new versions to HEAD and back-port only the security
fixes.
 
-- 
Dan Nelson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: upcoming release 6.1: old version of some core components

2006-04-11 Thread Alex Zbyslaw

[EMAIL PROTECTED]@mgEDV.net wrote:



 

I can't answer you main question, but I would say that you can bet your 
shirt on the fact that there will be no known security issues in the 
older packages.
   



 

At least for openssl and openssh you can get latest versions through the 
ports.  Not an option for everything -- I see no zlib for example and I 
don't believe there's a standard cvs port either.
   



as for zlib i definitely know, that there are 2 security flaws, which can
lead to problems when invalid compressed data is feeded.
 

If you believe that's the case then tell the security officer.  My bet 
is that the version with FreeBSD 6 is patched, but you shouldn't take my 
word for it. http://www.freebsd.org/security/
You'll notice there that there were zlib patches to 5.X series before 
6.0 had even been released.  So those patches would already be in 6.0 
and now 6.1, unless someone goofed badly.



my problem also is not the installation of ports/packages/custom compiles,
it's more that the operating system components itself are linked against
these older libraries an therefore will contain bugs, which may have been
already solved.
i definitely don't want to install openssl twice on the same host, as this
make's no sense for me. if the os operates with the old version, security
is at that level at all, regardless of one or another userland-daemon having
a newer version being linked to.
 

When you install openssh or openssl from the ports you can choose to 
*replace* the current FreeBSD libs etc.  There are many threads that 
have dealt with this in the past.


However, I will say again, FreeBSD has a CVS security branch for a 
reason - because security bugs get fixed on it.  The older versions may 
lack *features* but I myself am confident that they do not have known bugs.


--Alex


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


Re: OT - Scalable email server solution needed

2006-04-11 Thread Duane Whitty

Duane Whitty wrote:

Hi,

My appologies in advance for the OT post.
This probably more appropriately belongs on ISP@ but
there doesn't seem to be much traffic there.

To the point:  I'm about to provide hosting services,
including but not limited to email, to a few local
business.  Right now I have Sendmail configured
and I was about to install Courier-IMAP.  My
concern is future scalability.  I'm not sure sendmail
is the right back-end MTA.  Right now Sendmail
and Procmail will work fine I believe with the addition
of an IMAP server.  But what about later on?

I was looking at DBmail but I'm not sure just how
much activity that project has so I'm a little leary,
but perhaps that's unjustified?  So now
I'm considering Exim or POSFIX.  The Sun Java
Communications Server looks appealing but unless
I misunderstood I don't have anywhere near the
bankroll for that yet and it doesn't look like a good
fit for a start-up operation anyhow.

I like that POPular port and the way it uses proxies etc.,
but it doesn't seem to support IMAP.

Is there anyone on the list who might be serving many
business customers each with many users who would
be willing to share their insights or opinions on this?

From my past experiences, transitioning from a low volume
solution to a high volume solution, regardless of the application
domain, is usually best solved by making the right choice in
the beginning.  It would seem like an important marketing
tool as well.

If I am way of base here or missing something really
important I'd appreciate the heads-up.

Thanks in advance for any help.

Sincerely,

Duane

Hi,

I would like to say thank you to everyone who has replied
to my query, both on and off this list.  Your input is much
appreciated.

I've read everyones answers and I have found them very
educational and helpful.

I have learned two things as a result of the help people have
offered.  First, everyone has their favourite mail solution, and
secondly, I am not in a position to decide which email system
is best for me at this time because I have not yet educated
with regards to the issues.

I believe that before I move away from the base email system
provided with FreeBSD, and the support and maintenance
attention it receives as part of the base system, I should
learn more about it.  I also need to learn more about it before
I agree to support an email solution for other people.  For this
reason I have decided to use an external provider, for the short
term, to meet the needs of those who have approached me for
hosting services.

I am basically taking my own advice.  In an earlier post on a
different thread I advised that people need to learn the tools
they are using before they can make conclusions about those
tools shortcomings.  If I can't make educated conclusions for
myself regarding Sendmail's strengths and shortcomings then
how can I reasonably expect to evaluate its replacement?  I
don't believe I can.  So I must learn the details of SMTP,
IMAP, Sendmail, mailfilters, and any other tools I will need
to use.  Then after using these tools for a while I will be in a
better position to evaluate them.


Right now I have a working installation of Sendmail that seems
reasonably secure.  It uses the DNS and after several tests it
appears to be closed to relaying.  I feel somewhat confident
about my DNS: it uses internal and external views, it doesn't
leak any internal information, it only does recursion for clients
on my private net, it only allows zone transfers to my authorized
secondary, and my secondary is geographically removed (somewhat).

With this foundation behind me I have started to do some more
reading.  I have read, from start to finish, RFCs 4234 (ABNF),
2821 (SMTP), 2822 (Internet Message Format), and 2476
(Message Submission).  I am currently reading the "Bat Book"
and the "Sendmail Cookbook".

From the start I will be heeding the advice of several posters who
recommended using maildir format.  To implement that I will be
using Procmail, at least to start, as soon as I learn a little more
about Sendmail.

I hope no one feels I have wasted their time and I would truly
appreciate further comments that you believe might aid me on
my path.

Sincerely,

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


RE: upcoming release 6.1: old version of some core components

2006-04-11 Thread [EMAIL PROTECTED]@mgEDV.net
 
> I can't answer you main question, but I would say that you can bet your 
>shirt on the fact that there will be no known security issues in the 
> older packages.

> At least for openssl and openssh you can get latest versions through the 
> ports.  Not an option for everything -- I see no zlib for example and I 
> don't believe there's a standard cvs port either.

as for zlib i definitely know, that there are 2 security flaws, which can
lead to problems when invalid compressed data is feeded.

my problem also is not the installation of ports/packages/custom compiles,
it's more that the operating system components itself are linked against
these older libraries an therefore will contain bugs, which may have been
already solved.
i definitely don't want to install openssl twice on the same host, as this
make's no sense for me. if the os operates with the old version, security
is at that level at all, regardless of one or another userland-daemon having
a newer version being linked to.

whatever, i will use freebsd anyways, regardless of my main question getting
answered or not ;-)

br & cu...

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


RE: IBM xSeries 226 Help needed

2006-04-11 Thread Webster, Andrew

Hey, that worked!
So what gives?  Is this a hardware specific issue with this machine?

--
Andrew 


> -Original Message-
> From: Norberto Meijome [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 11, 2006 11:25
> To: Webster, Andrew
> Cc: freebsd-questions@freebsd.org
> Subject: Re: IBM xSeries 226 Help needed
> 
> On Tue, 11 Apr 2006 10:24:26 -0400
> "Webster, Andrew" <[EMAIL PROTECTED]> wrote:
> 
> > If I boot in safe mode, however it can see the disk just fine as
> > "ad4" and I can install the OS on it.
> 
> try disabling apic?

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


Re: Hosed my MBR?

2006-04-11 Thread Doug Poland
On Tue, April 11, 2006 09:08, Jerry McAllister wrote:
>>
>> I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
>> motherboard with two on-board SATA RAID controllers, an Intel
>> MatrixRAID (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows
>> me to boot from either the Promise or the Intel controller.
>>
>
> Well, the install CD is also the fixit CD.  You can try booting from
> it and choosing the shell and then trying to run the fdisk from that
> environment to replace the MBR.
>
> I have done that for people who have hosed their MBR on machines with
> Ghost - even their XP only, no FreeBSD, systems, using the FreeBSD
> fixit, I ran fdisk and replaced the MBR with the FreeBSD MBR and it
> worked just fine.
>
Hi Jerry,

I think the root of my confusion here is the fact that I have two RAID
controllers and can boot off either controller.

Does that mean I have two MBR's, one for each controller?  If that's
the case and I boot off a CD-ROM, which MBR am I fixing?


-- 
Regards,
Doug

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


Solved (I hope): Toggling port dependencies

2006-04-11 Thread Erik Norgaard
RW wrote:
> On Tuesday 11 April 2006 13:25, RW wrote:
> 
>> You could try  setting USE_OPENLDAP_VER=23 for the port.
> 
> Actually, I see it conflict with 2.2, so it must be set globally.

Yes, OpenLDAP 2.3 conflicts with 2.2, but jabberd by default assumes 2.2
so the build fails. Then rather than downgrading OpenLDAP since 2.3 is
the recommended I'd prefer to force jabberd to build against 2.3.

I've seen many ports doing this, for example squid. Some announces how
to select a particular version. I don't know if your hint work with all
ports.

I tried your advice and things compiled and installed without any
problems - now the question is if it works ...

Thanks, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newfs fails on 300GB HDD

2006-04-11 Thread Jerry McAllister

"Justin P. Michel" <[EMAIL PROTECTED]> writes:

> I'm having a slight problem with a 300GB IDE (Maxtor) HDD.  Basically, I've
> run the drive on the system through a complete low-level format and test
> with the PowerMAX tools, which passed fine.  The BIOS recognizes and
> auto-detects the drive okay as well.
> 
> However, in trying to install FreeBSD 6.0, it goes through the partition
> section okay, and then the slice section okay (trying to use a full slice on
> the drive as /dumpdata), the mount fails, and on the alternate screen it
> shows newfs failing.
> 
> Is there a special way to get this drive to work?  Does someone have
> experience with a similar setup that may shed some light my way?  I feel
> like a beginner all over again. : P

Presuming it is a brand new disk and is addressed as the second one (eg ad1), 
>From root (su-ed to root) try this:

 dd if=/dev/zero of=/dev/ad1 bs=512 count=64

 fdisk -BI ad1

 bsdlabel -w -B ad1s1

 bsdlabel -e ad1s1

If you do not want it bootable, then skip the -B switches.

When you do the  bsdlabel -e it will put you in an editor session
with the base settings in the file.   Modify it slightly as follows.
Make the top line look something like:

  a: * *4.2BSD 2048 1638494   # (Cyl.0 - 32*)

The '94' may be different.  If it suggests something else, then take that.

Then write/quit from the editor and it will write the label.

Then do the newfs:
newfs -U /dev/rad1s1a

If newfs gets an error, write it down specifically.

If no error, try mounting:
mount /dev/ad1s1a /dumpdata

Presumably you have made the directory /dumpdata?That may seem
to simple to mention, but I have made that mistake more than once
and went nuts wondering why things (in a script) didn't work.

Good luck,

jerry

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


I can't use any locale except "C" under c++

2006-04-11 Thread snnn
I think that's because FreeBSD is building gcc with 
--enable-clocale=generic and the generic code for _S_create_c_locale is 
as such:

 void
 locale::facet::_S_create_c_locale(__c_locale& __cloc, const char* __s,
   __c_locale)
 {
   // Currently, the generic model only supports the "C" locale.
   // See http://gcc.gnu.org/ml/libstdc++/2003-02/msg00345.html
   __cloc = NULL;
   if (strcmp(__s, "C"))
 __throw_runtime_error(__N("locale::facet::_S_create_c_locale "
   "name not valid"));
 }

So even if the simplest (e.g. the following one) code will always catch 
a failure.

 try{
   std::locale::global(std::locale(""));
 }
 catch(std::runtime_error ex){
   //fail...
   std::locale::global(std::locale("C"));
 }

Indeed,std::locale("") will return the default locale setting of native 
environment(similar as setlocale("") ),but now it may always throw an 
error of "name not valid".It's badly.


what should I do?
install another gcc from ports?






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


lost root password on a raid-1 geom mirror

2006-04-11 Thread Petre Bandac
the classic schema with unload all/load kernel/boot -s and mounting /
read-write doesn't work

any ideas, please ?

thanks,

petre

-- 

Petre Bandac

Network Scientist

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


IBM xSeries 226 Help needed

2006-04-11 Thread Webster, Andrew
Hi,
 
I'm having problems with an IBM xSeries 226 system.  It has a SATA disk in it, 
and when booting with FreeBSD 6.0-RELEASE, it does not detect any drives.
If I boot in safe mode, however it can see the disk just fine as "ad4" and I 
can install the OS on it.
I tried turning on/off ACPI but that didn't help either.
 
Why does it work okay in safe mode but not normal mode?
 
Verbose booting in normal mode says this about the ATA controllers, so I'm 
assuming it is actually seeing the CDROM and the disk:
ata0: reset tp2 stat0=00 stat1=00 devices=0x4
ata1: reset tp2 stat0=01 stat1=01 devices=0x0
ata2: reset tp2 stat0=50 stat1=00 devices=0x1
ata3: reset tp2 stat0=ff stat1=00 devices=0x0
ata0 and ata2 are reinitted a couple more times, then it can't find any 
filesystems to mount.
 
---
Andrew
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: newfs fails on 300GB HDD

2006-04-11 Thread Lowell Gilbert
"Justin P. Michel" <[EMAIL PROTECTED]> writes:

> I'm having a slight problem with a 300GB IDE (Maxtor) HDD.  Basically, I've
> run the drive on the system through a complete low-level format and test
> with the PowerMAX tools, which passed fine.  The BIOS recognizes and
> auto-detects the drive okay as well.
> 
> However, in trying to install FreeBSD 6.0, it goes through the partition
> section okay, and then the slice section okay (trying to use a full slice on
> the drive as /dumpdata), the mount fails, and on the alternate screen it
> shows newfs failing.
> 
> Is there a special way to get this drive to work?  Does someone have
> experience with a similar setup that may shed some light my way?  I feel
> like a beginner all over again. : P

It sounds like you're trying to use this disk for backup
space.  Since you're not installing the system to it, I
would suggest not using sysinstall for this; try the
technique in the FAQ instead.  It is not quite as simple,
but will give you more information about what's happening.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: [freebsd-questions] ndis setup

2006-04-11 Thread hernan
On 4/11/06, Fabian Keil <[EMAIL PROTECTED]> wrote:
> My hint is to post slightly more information.

> Fabian

Thanks again.  I figured this out, and am posting to help others who
might want to use this card (Linksys WMP54G).  Keep in mind that I'm
new to FreeBSD (using 6 RELEASE):

1) I was initially trying to use NDIsulator the way the manual says,
by manually running cvtndis.  During that trial and error process, I
ended up with a configuration that was missing if_config.ko.  To get
back to a good starting point I did decided to rebuild both ndis and
if_ndis.

cd /sys/modules/ndis; make; make install;
cd /sys/modules/if_ndis; make; make install;

At this point, I was able to simply load the ndis module.  if_ndis was
automatically loaded as I verified using kldload (lots of the examples
I found show separate load commands for each).

2) I ran through the "new way" of building the module to wrap my
Linksys driver, using ndisgen.  I had only three files on my CD:
Rt61.INF, rt61.sys, rt61.cat.  I ignored the cat file, convinced after
some googling that it was not a binary the driver needed at runtime.

3) During the load of this third kernel module, I kept getting an error:
  failed to load /compat/ndis/rt2561s.bin
I searched my driver cd for this file and it was not there.  Finally,
I Googled it and after a while found myself looking at the ralink
support page:
http://www.ralinktech.com/supp-1.htm

Under firmware, they have a link to a zip file with the magical
rt2561s.bin file.  I burned this onto a cd (the only way I had to get
files onto my new BSD system), and placed it in /compat/ndis.

One more kernel reload... and things now work fine.

Hopefully these instructions will help others who wish to use the very
popular Linksys WMP54G card on BSD 6.

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


Re: Hosed my MBR?

2006-04-11 Thread Jerry McAllister
> 
> Hello,
> 
> I'm in a bit of a mess here.  I've got an Asus P4C800-E Deluxe
> motherboard with two on-board SATA RAID controllers, an Intel MatrixRAID
> (ICH5R) and Promise Fasttrak (PDC20378).  My BIOS allows me to boot
> from either the Promise or the Intel controller.
> 
> The PDC20378 runs two drives in a RAID0 configuration booting FreeBSD
> 6.0-STABLE.  The entire drive (ar0) is dedicated to FreeBSD and I have
> the boot-manager installed.   The ICH5R also runs two drives in a
> RAID0 for Windows XP.  I allocated roughly 25% of the drive (ar1) to
> Windows NTFS (ar1s1) and left the remaining disk open. 
> 
> Now that 6.x supports the ICH5R I decided to use the leftover disk (ar1)
> for a FreeBSD slice.  I used sysinstall's fdisk to create the slice in
> the unused portion of the disk.  I successfully committed the changes.  I
> then used # newfs /dev/ar1s2 to create a file-system and it went fine.
> 
> The problem is, now, when I attempt to boot off the Intel controller, I
> get a FreeBSD boot load failure:

> ---
> 
> Invalid Partition
> Invalid Partition
> 
> No /boot/loader
> 
> FreeBSD/i386 boot
> Default: 0:ad(0,a)/boot/kernel/kernel
> boot:
> 
> Invalid partition
> No /boot/kernel/kernel
> 
> FreeBSD/i386 boot
> Default: 0:ad(0,a)/boot/kernel/kernel
> boot:
> 
> ---
> 
> So it would seem I hosed my MBR.  The question is, how did I do it and
> how do I fix it?  I would think that when I choose to leave the MBR
> untouched in sysinstall, that it would do just that.  
> 
> I cannot use the old DOS boot floppy trick of:  fdisk /MBR as DOS will
> not recognize my Intel controller.  Windows installation media is
> equally clueless.  I want to be very careful here so as not to render my
> entire system useless.  A thought occurred to me that I might be able to
> get a MBR from another Windows box 
> 
>freesbie# dd if=/dev/ad0 of=/mnt/nfs/tmp/XP.mbr bs=512 count=79
>hosedbox# dd if=/mnt/nfs/tmp/XP.mbr of=/dev/ar1 bs=512 count=79
> 
> and write that over my bad MBR.  Does that make sense?  Is there a
> "better" way?

Well, the install CD is also the fixit CD.  You can try booting from
it and choosing the shell and then trying to run the fdisk from that
environment to replace the MBR.  

I have done that for people who have hosed their MBR on machines with 
Ghost - even their XP only, no FreeBSD, systems, using the FreeBSD fixit, 
I ran fdisk and replaced the MBR with the FreeBSD MBR and it worked just fine.

Now, if that is not really the problem, of course that won't fix
anything.  But it shouldn't hurt either.   And you could really mess things
up with the dd.

Good luck,

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

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


Re: Toggling port dependencies

2006-04-11 Thread RW
On Tuesday 11 April 2006 13:25, RW wrote:

> You could try  setting USE_OPENLDAP_VER=23 for the port.

Actually, I see it conflict with 2.2, so it must be set globally.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >