set env in chroot script

2007-04-27 Thread Elan Marikit

Greetz,

I am a newbie of FreeBSD and I want to know how to set environment 
inside chroot in a shell script.


My script looks like this:
chroot $NEWROOT /bin/sh -c command

And I want to set an environment, before the command.

Is it possible that it will inherit my parent environment? like the 
environment set in my script?


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


Re: annoying problems after upgrading to 6.2-RELEASE

2007-04-27 Thread Kris Kennaway
On Thu, Apr 26, 2007 at 11:30:20PM -0500, Scott Bennett wrote:
  On Thu, 26 Apr 2007 23:13:40 -0400 Kris Kennaway [EMAIL PROTECTED]
 wrote:
 
 Mime-Version: 1.0
 Content-Disposition: inline
 User-Agent: Mutt/1.4.2.2i
 
 
 --BOKacYhQ+x31HxR3
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Thu, Apr 26, 2007 at 08:51:50PM -0500, Scott Bennett wrote:
   I've encountered three annoying problems since doing the upgrade from
  6.1-RELEASE to 6.2-RELEASE using the upgrade option when booting from the
  installation CD.  This is on a Dell Inspiron XPS (3.4 GHz P4 w/HTT enabled
  and 1 GB of memory).
 =20
 1) The ports and packages subsystems are as fragile as ever (no big
surprise).  I was able to add packages for less than a day before
it broke.  Sometimes I can still add or delete a package, but
in at least one case, I can't because pkg_add says that an earlier
version of the package is already installed, while an attempt to
remove the earlier version using pkg_delete gets a message saying
that no such package is installed.  Apparently, pkg_add and
pkg_delete do not refer to the same indicators of whether a
particular package is actually installed.  Attempting to build ports
fails while trying to build dependency ports, which was what led
to attempt to remove libtool and then add the newer version.  I'll
try to get a PR together and submitted soon.
 
 It is recommended to use an upgrade tool like portupgrade instead of
 trying to use pkg_add/pkg_delete by hand.  It is too easy to misuse
 
  portinstall/portupgrade had failed to install/upgrade certain ports or
 packages to satisfy the dependencies in the ports I was trying to install or
 upgrade.  I really did want to install or upgrade several ports, and so I had
 begun attempting to install the required (or later) versions of the
 prerequisites as packages in order to get around the build failures.

It sounds like you may not have succeeded in first bringing your
system back to a sane state.  Anyway, if you have problems please be
more explicit here.

 them and leave your system in an inconsistent state, as yours
 apparently has become.
 
  That sounds to me like an attempt to skate past my observation that
 Apparently, pkg_add and pkg_delete do not refer to the same indicators of
 whether a particular package is actually installed.

Well, they don't...please paste an appropriate transcript if you think
there is a bug.

  BTW, it is recommended that plain, ASCII text be posted to mailing
 lists, so as not to send lots of garbage to people who may or may not be
 using MIME-oriented mail interfaces or using MIME-oriented mail interfaces
 whose version of MIME is incapatible with that of the sender's mail interface.

Uh thanks.  Read up on PGP signatures sometime.

Kris


pgpVSMboRh1AH.pgp
Description: PGP signature


Re: How do I prevent unauthorized ssh login attempts?

2007-04-27 Thread Peter N. M. Hansteen
 Andreas Wider?e Andersen  [EMAIL PROTECTED] writes:

 How can I stop these attempts or block them - or even recognize them? I do
 not have IPF installed.

There are several packages which could help, the one I prefer is a
simple pf rule set which tracks the number of connection attempts per
time unit and puts the too-chatty ones in a doghouse list of addresses.

One way to do it is described at 
http://home.nuug.no/~peter/pf/en/bruteforce.html

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thunderbird 2.0 dumps core on second file open op

2007-04-27 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard Goldstein wrote:
 [EMAIL PROTECTED] wrote:
 On Thu, 26 Apr 2007, Howard Goldstein wrote:

 Jan Henrik Sylvester wrote:
 I guess I would have to update all gnome packages from 2.16 to 2.18
 to see if it helps... but since Howard Goldstein rebuild all his
 ports, he can probably confirm that this happens with the current
 ports.

 Unfortunately it does still happen for me. For those ports I'm at
 these versions:

 gnome-vfs-2.18.1_1  GNOME Virtual File System
 libgnome-2.18.0_1   Libraries for GNOME, a GNU desktop environment

 If you don't mind me asking, what are the file types, and about how
 large are these files?
 
 An appx 1K rc file (.nvidia-settings-rc), in another case a one page 29K
 .pdf
 
 
 

 Could everyone affected by this issue document a few more steps of
 what they do to cause Thunderbird to coredump, please?
 
 1. start thunderbird
 2. ^M or click on the write message label
 3. attach any file
 4. send an email to self, garbage or empty message, take the default
 subject or change it to garbage.
 5. ^M to compose another message
 6. at any point from this point on , attaching a file will coredump

If this helps I don't see the problem here (thunderbird-2.0.0.0, all
ports up to date). Details below.

HTH,

Karol


# uname -a
FreeBSD persephone.orchid.homeunix.org 7.0-CURRENT FreeBSD 7.0-CURRENT
#0: Tue Apr 24 13:53:30 CEST 2007
[EMAIL PROTECTED]:/mnt/big/FreeBSD/obj/usr/src/sys/PERSEPHONE
 i386

# cd /usr/ports/mail/thunderbird  make showconfig
=== The following configuration options are available for
thunderbird-2.0.0.0:
 DEBUG=off Build a debugging image
 LOGGING=off Enable additional log messages
 OPTIMIZED_CFLAGS=on Enable some additional optimizations

# portversion -Rv thunderbird
atk-1.18.0  =  up-to-date with port
bitstream-vera-1.10_3   =  up-to-date with port
cairo-1.4.4 =  up-to-date with port
cups-base-1.2.10=  up-to-date with port
desktop-file-utils-0.12 =  up-to-date with port
expat-2.0.0_1   =  up-to-date with port
fontconfig-2.4.2_1,1=  up-to-date with port
freetype2-2.2.1_1   =  up-to-date with port
gettext-0.16.1_1=  up-to-date with port
glib-2.12.11=  up-to-date with port
gtk-2.10.11 =  up-to-date with port
hicolor-icon-theme-0.10_1   =  up-to-date with port
jpeg-6b_4   =  up-to-date with port
libIDL-0.8.8=  up-to-date with port
libXft-2.1.7_1  =  up-to-date with port
libdrm-2.0.2=  up-to-date with port
libiconv-1.9.2_2=  up-to-date with port
libxml2-2.6.27  =  up-to-date with port
nspr-4.6.6  =  up-to-date with port
nss-3.11.5  =  up-to-date with port
pango-1.16.3=  up-to-date with port
perl-5.8.8  =  up-to-date with port
pkg-config-0.21 =  up-to-date with port
png-1.2.14  =  up-to-date with port
popt-1.7_3  =  up-to-date with port
shared-mime-info-0.21_1 =  up-to-date with port
thunderbird-2.0.0.0 =  up-to-date with port
tiff-3.8.2_1=  up-to-date with port
xorg-fonts-encodings-6.9.0_1  =  up-to-date with port
xorg-fonts-truetype-6.9.0   =  up-to-date with port
xorg-libraries-6.9.0_1  =  up-to-date with port

# pkg_info -Ix gno
gnome-mime-data-2.18.0
gnome-vfs-2.18.1
gnome_subr-1.0
gnomehier-2.2
libgnomecanvas-2.14.0_2


/etc/make.conf:
CPUTYPE=athlon-xp
CC=/usr/local/bin/gcc41
CXX=/usr/local/bin/g++41
WITH_OPTIMIZED_CFLAGS=yes

- --
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMbv0ezeoPAwGIYsRCIXZAJ4ij8ceO39XMu2gM9f/0QFHO3cqDgCgjT+n
g/LKjIsbAricDtDnczq4+Rc=
=C9Uk
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: remote x forwarding through ssh

2007-04-27 Thread Warren Head

2007/4/26, Lowell Gilbert [EMAIL PROTECTED]:


WarrenHead [EMAIL PROTECTED] writes:

 Hi list,

 I'm trying to use ssh to forward X from a local FreeBSD server to my
 ubuntu machine.
 I'm unable to get X forwarded. (ssh is working)

 I set these options:
 ubuntu:
 /etc/ssh/ssh_config
 Host *
 ForwardX11 yes
 ForwardAgent yes

 FreeBSD
 /etc/ssh/sshd_config
 X11Forwarding yes
 X11DisplayOffset 10
 X11UseLocalhost yes
 UseLogin no

 I didn't set the $DISPLAY variable, on purpose.

 After I log into the server and start xterm (for instance) I get this
 message: DISPLAY is not set.
 SSH should do that for me but I guess it doesn't.
 I don't know why.

 I logged into FreeBSD with these commands:
 ssh -v freebsd
 ssh -v -X freebsd
 ssh -v -X -A freebsd

Did the (verbose) output from those commands mention X11?

 What could be the cause? Client or server?

My guess would be server, although Ubuntu could always be doing
something weird.



Hi list, I managed to get a few different machines under my hands and it
seems it is my Ubuntu machine which refuses to 'find' the $DISPLAY variable.

Of course I don't have a clue as to why, but I'm going to take that to the
ubuntu lists

Thanks for your time!

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


Re: Defending against SSH attacks with pf

2007-04-27 Thread Bill Moran
In response to Alex Zbyslaw [EMAIL PROTECTED]:

 Bill Moran wrote:
 
 I'm a big fan of PKI, but PKI suffers from one major problem, and it's
 the same flaw that physical keys suffer from: you have to have the key
 with you.
   
 
 If I had to use SSH from random locations, I'd get a USB stick that 
 attached to a (physical) keyring and just stick it with my (physical) 
 keys since I already have to carry those everywhere.  The SSH keys 
 should be protected by decent passphrases so even losing the USB stick 
 isn't the biggest deal.  Imation seem to make one that has one of those 
 climbing-style buckles:  
 http://www.misco.co.uk/applications/SearchTools/item-details.asp?EdpNo=247840CatId=322

I've considered that, except that my keyring is already too damn big and
bulky.  I am curious about the durability of USB jump drives, though.  My
keys tend to get thrown around, they get wet, they experience extremes in
temperature.  Do you have any experience with how well jump drives hold up
to that kind of torture?

Despite the fact that it's a good idea, I've simply opted out on it.  I've
got a good, long password for my account and when I weighed the risks vs.
the headaches I decided I was probably ok with a good long password.

Of course, YMMV.

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


Recompiling the source tree

2007-04-27 Thread Dhananjaya hiremath
Hello sir,

Here we installed FreeBSD 6.2 RELEASE  and installing the gnome2.But 
here it is giving file system is full (device is full) but we used the entire 
disk how it is possible to full the disk.


And another thing is we updated the source tree but how to recompile this.

   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Recompiling the source tree

2007-04-27 Thread Schiz0

As to rebuilding the source tree...read the handbook for a step-by-step
guide for updating the source, configuring the kernel, and all those things.

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

On 4/27/07, Dhananjaya hiremath [EMAIL PROTECTED] wrote:


Hello sir,

Here we installed FreeBSD 6.2 RELEASE  and installing the
gnome2.But here it is giving file system is full (device is full) but we
used the entire disk how it is possible to full the disk.


And another thing is we updated the source tree but how to recompile this.


-
Ahhh...imagining that irresistible new car smell?
Check outnew cars at Yahoo! Autos.
___
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: Defending against SSH attacks with pf

2007-04-27 Thread Schiz0

On 4/27/07, Bill Moran [EMAIL PROTECTED] wrote:


In response to Alex Zbyslaw [EMAIL PROTECTED]:

 Bill Moran wrote:

 I'm a big fan of PKI, but PKI suffers from one major problem, and it's
 the same flaw that physical keys suffer from: you have to have the key
 with you.
 
 
 If I had to use SSH from random locations, I'd get a USB stick that
 attached to a (physical) keyring and just stick it with my (physical)
 keys since I already have to carry those everywhere.  The SSH keys
 should be protected by decent passphrases so even losing the USB stick
 isn't the biggest deal.  Imation seem to make one that has one of those
 climbing-style buckles:

http://www.misco.co.uk/applications/SearchTools/item-details.asp?EdpNo=247840CatId=322

I've considered that, except that my keyring is already too damn big and
bulky.  I am curious about the durability of USB jump drives, though.  My
keys tend to get thrown around, they get wet, they experience extremes in
temperature.  Do you have any experience with how well jump drives hold up
to that kind of torture?

Despite the fact that it's a good idea, I've simply opted out on it.  I've
got a good, long password for my account and when I weighed the risks vs.
the headaches I decided I was probably ok with a good long password.

Of course, YMMV.

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




My flash drive has gone through the washer machine and the only thing that
happened was it got a small spot of rust on it. Other than that, it worked
fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Login Conf not parsed ?

2007-04-27 Thread Pieter de Goeje
On Friday 27 April 2007, Tommy Scheunemann wrote:
 Hello everyone,

 I'm running a FreeBSD 6.2 system, only have SSH access to it. The only
 user which is allowed to login had Bash (installed from the Ports)
 installed.
 Since 2 days I can't login any longer - Bash misses a library. I tried
 to create a login_conf file in the users home directory but it seems
 that the file isn't parsed.
Did you name it .login_conf (note the dot)?
 Content is:

 --- snip ---

 me:\

   :shell=/bin/sh:\
   :setenv=SHELL=/bin/sh:

 --- snip ---

 I've created the database via cap_mkdb at my local system and uploaded
 this file as well, then changed the file permissions to 0400 and
 ownership is right as well. Just - that file isn't parsed :(

 Any other way of changing the user's shell - could install in the
 worst case some kind of PHP shell - are also welcome.
Try 'chsh user' as root.

 The library which is missing could be uploaded from my local system,
 just - of course - I don't have any write permissions in the usual
 locations.

 Thanks in advance

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


CVS server setup

2007-04-27 Thread Eduardo Morras
Hello:

  I'm trying to setup a cvs server. I have a vps jail account so i can't make a 
jail in the jail to run the cvs server. Has cvs server a /chroot/ mode? Where 
can i find documentation to do so? All doc, man and howto i readed shows how to 
do creating a jail. Is there other way to do so?

Thanks

-
La copia casera esta matando los beneficios de las grandes compañias.
Dejamos esta cara de la cinta en blanco para que ayudes 
Dead Kennedys, Cara B de /In God We Trust, Inc./

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


How to Upgrade Portupgrade?

2007-04-27 Thread Drew Tomlinson
I'm attempting to update my systems.  I see that portupgrade has been 
moved to ports-mgmt/portupgrade in early February.  I've Googled but can 
not find any posts (there must be some?) on the proper steps to update.  
I tried the standard and here is the output:


lacksheep# portupgrade -n ports-mgmt/portupgrade
cd: can't cd to /usr/ports/sysutils/portupgrade
---  Session started at: Fri, 27 Apr 2007 05:16:17 -0700
** No such installed package: ports-mgmt/portupgrade
** None has been installed or upgraded.

So I thought maybe my package database needed to be updated (a guess).  
Here is that output:


blacksheep# pkgdb -F
cd: can't cd to /usr/ports/sysutils/portupgrade
---  Checking the package registry database
Missing origin: bsdpan-CPAN-1.90
- Ignored. (the package is held; specify -f to force)
Missing origin: bsdpan-Term-ReadLine-Perl-1.0302
- Ignored. (the package is held; specify -f to force)
Missing origin: bsdpan-TermReadKey-2.30
- Ignored. (the package is held; specify -f to force)
Missing origin: bsdpan-libnet-1.20
- Ignored. (the package is held; specify -f to force)
Duplicated origin: net/p5-NetPacket - bsdpan-NetPacket-0.04 
p5-NetPacket-0.04

Unregister any of them? [no]

Nothing about portupgrade.  However I don't understand all the Missing 
origin lines or what I should do to fix them.


So this seems like updating portupgrade should be trivial but I am 
stuck.  Suggestions appreciated.


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com


___
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 Upgrade Portupgrade?

2007-04-27 Thread Chris Slothouber

Drew Tomlinson wrote:
I'm attempting to update my systems.  I see that portupgrade has been 
moved to ports-mgmt/portupgrade in early February.  I've Googled but can 
not find any posts (there must be some?) on the proper steps to update.  
I tried the standard and here is the output:


lacksheep# portupgrade -n ports-mgmt/portupgrade
cd: can't cd to /usr/ports/sysutils/portupgrade
---  Session started at: Fri, 27 Apr 2007 05:16:17 -0700
** No such installed package: ports-mgmt/portupgrade
** None has been installed or upgraded.


Hi Drew,

Try portupgrade and specify the origin using the new path and the name 
of the installed portupgrade package, e.g.:


portupgrade -f -o ports-mgmt/portupgrade portupgrade-2.0.1_1,1

You can get the exact name of the installed portupgrade package by 
running the following:


pkg_info | grep portupgrade

I hope this helps!  All the best.

- Chris Slothouber

___
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 Upgrade Portupgrade?

2007-04-27 Thread Kevin Kinsey

Drew Tomlinson wrote:

So this seems like updating portupgrade should be trivial but I am 
stuck.  Suggestions appreciated.


Yeah, I missed the note on this one, too.  Not the change note, but
I don't recall seeing the instructions on what to do about it.
Tried deinstalling portupgrade and reinstalling?  The catch-22,
of course, is that you can't cd /usr/ports/sysutils/portupgrade
in order to `make deinstall`.  However, this might work (and I believe
it's the kludge I used to get around the issue):

$ rm -rf /var/db/pkg/portupgrade*
$ cd /usr/ports/ports-mgmt/portupgrade
$ make install clean

HTH,

Kevin Kinsey
--
Schmidt's Observation:
All things being equal, a fat person  uses more soap
than a thin person.
___
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 Upgrade Portupgrade?

2007-04-27 Thread Lowell Gilbert
Kevin Kinsey [EMAIL PROTECTED] writes:

 Drew Tomlinson wrote:

 So this seems like updating portupgrade should be trivial but I am
 stuck.  Suggestions appreciated.

 Yeah, I missed the note on this one, too.  Not the change note, but
 I don't recall seeing the instructions on what to do about it.
 Tried deinstalling portupgrade and reinstalling?  The catch-22,
 of course, is that you can't cd /usr/ports/sysutils/portupgrade
 in order to `make deinstall`.  However, this might work (and I believe
 it's the kludge I used to get around the issue):

 $ rm -rf /var/db/pkg/portupgrade*
 $ cd /usr/ports/ports-mgmt/portupgrade
 $ make install clean

A little safer would be to replace the first line with 
pkg_delete portupgrade*.  

If you're not going to go with the portupgrade -o solution 
that someone already posted.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wikipedia's perfection (was Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory 3.5GB not used?))

2007-04-27 Thread Bart Silverstrim
On Wed, Apr 25, 2007 at 03:59:43PM +0200, Svein Halvor Halvorsen  
wrote:

Bill Moran wrote:
A friend of mine going for his Dr. at CMU (Patrick Wagstrom:  
GNOME guy)
describes an exercise where a professor intentionally injected  
false
information into Wikipedia, then gave his students a research  
assignment
that involved that information.  Apparently the number of  
students who
trusted the false information without verifying it was quite  
high.  I
should take that as a lesson that most people _don't_ know how  
to verify
the validity of information and be more careful when I make  
sarcastic

statements.


Lee Capps wrote:

That's interesting, though, to pick a nit, it may just show that
students were in a hurry, rather than that they necessarily trust  
the

info or that they don't know _how_ to verify the info.


And also: Where is this professor's ethics? Does he also misinform  
the
students in class, only to later accuse them of not verifying the  
facts?

 And did he even think about the fact that others may have read his
misinformation? Why does this professor think that his agenda is more
important than Wikipedia's? Did he later correct the articles?


How is it unethical?  He altered information and tested his students  
to see if they'd verify it.  Although unless it was information  
relating to their major I don't see why he should berate them for not  
checking.  I'm not likely to care enough to double- or triple- check  
information on many many topics out there if it's something  
irrelevant to my line of work or my interests/hobbies.


Now, if he LEFT the information vandalized, that would be unethical,  
since others out there may rely on the information and he knowingly  
left it with misleading data, since the whole idea behind the Wiki is  
that people with knowledge will share their knowledge and not mislead  
people.

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


Cursos - Maio 2007

2007-04-27 Thread Seminarios de licitacoes, contratos e pregao

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


Re: var/log/messages umass da0 6 how to stop?

2007-04-27 Thread David Southwell
On Thursday 26 April 2007 14:51:30 Lowell Gilbert wrote:
 David Southwell [EMAIL PROTECTED] writes:
  On Thursday 26 April 2007 13:11:35 Lowell Gilbert wrote:
  David Southwell [EMAIL PROTECTED] writes:
   How do I stop these messages from umass devices.
   Apr 18 03:27:03 dns1 kernel: Opened disk da1 - 6
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY.
   CDB: 25 0 0 0 0 0 0 0 0 0
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI
   Status Error
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status:
   Check Condition
   Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY
   asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium
   not present Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0):
   Unretryable error Apr 18 03:27:05 dns1 kernel: Opened disk da0 - 6
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY.
   CDB: 25 20 0 0 0 0 0 0 0 0
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI
   Status Error
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status:
   Check Condition
   Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY
   asc:3a,0 Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium
   not present Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1):
   Unretryable error
  
   [EMAIL PROTECTED] /tmp]# camcontrol devlist
   USB2.0 CF  CardReaderat scbus0 target 0 lun 0
   (pass0,da0) USB2.0 CBO CardReaderat scbus0 target 0 lun
   1 (pass1,da1) [EMAIL PROTECTED] /tmp]#
  
   With no devices plugged I get these meesages at the rate of 1 every
   two seconds into /var/log/messages
 
  Is something polling those devices?
  Some kind of automounter?
  [Gnome and KDE seem to have their own automounters, running from user
  level...] ___
 
  I do not know -- how can I find out?

 Have you enabled amd(8)?
 Are you running Gnome or KDE?
 For example, I see that in Gnome, under the preferences menu, there is
 an option for whether to automatically mount removable media when
 inserted.  If you disable that and the messages go away, then we at
 least know what the trigger is.

  If I put a 256M memory card in then messages for da0 stop..

 Good; that makes sense.

The problem is that although messages stop for da0 I cannot stop da1 AND I 
would really like to be able to control this without having to have memory 
cards et al in the devices at all times.

I have tried kde settingsperipheralsstorage media and removed the tick box 
adjacent to
Enable medium application autostart after mount 
but that made no difference. The messages continue!!

There must be some other way..

Thnaks in advance to anyone who can tell me how to manage these devices 
properly

david


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


Re: Wikipedia's perfection (was Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory 3.5GB not used?))

2007-04-27 Thread Bart Silverstrim


On Apr 25, 2007, at 3:51 PM, Paul Schmehl wrote:

--On Wednesday, April 25, 2007 15:29:04 -0400 Thomas Dickey  
[EMAIL PROTECTED] wrote:



On Wed, Apr 25, 2007 at 01:15:03PM -0600, Chad Perrin wrote:
No kidding.  That professor should have his Wikipedia account  
banned,
and the head of his department should be informed of his  
vandalism.  I
don't suppose you know the name of his Wikipedia account, or his  
legal

name. . . .


yawn.  That sort of research has been going on for years.

Less interesting is the sort of trash emitted by people who don't  
like
knowing that whatever they've read on a webpage might not be  
completely

accurate, and that they might have to do some of their own thinking.

regards.


At one time I had high hopes that the internet would usher in a new  
era of increased knowledge and reduced gullibility.  Instead it  
seems to have simply hastened the arrival to the wrong conclusions.


There are opportunities for increased knowledge.  Gullibility,  
though, is part of our human nature.


How many of you delve four levels deep when looking for a quick  
reference on something that, in the long run, you care little about?   
If you're not a mechanic or car enthusiast, do you look into anything  
and everything on how a clutch works, or every variation of four  
wheel drive implementations?  Probably not.  We don't devote time and  
resources into being renaissance people.  For me, I look up the  
answer, if it sounds reasonable, I go with it unless someone else  
points out a deficiency in the answer.  I need a quick and dirty  
answer to move on to things I *do* care about.


The problem is that people will accept an answer whether it makes  
sense or not.  We had someone once convinced that a Laser Car Wash  
cleaned cars by shooting small lasers at the car to clean it.  It was  
something so far left field of what they're interested in and  
knowledgeable about that they just accepted the answer, even though  
there's no way such a system would be affordable (or safe enough) to  
use as a car washing tool.


Then again, there are those that do this intentionally, because  
spreading misinformation is in their best interest and they profit  
from it.  Even schools profit, not necessarily monetarily, by keeping  
students from questioning what they are taught.

___
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 Upgrade Portupgrade?

2007-04-27 Thread Kevin Kinsey

Lowell Gilbert wrote:

Kevin Kinsey [EMAIL PROTECTED] writes:


Drew Tomlinson wrote:


So this seems like updating portupgrade should be trivial but I am
stuck.  Suggestions appreciated.

Yeah, I missed the note on this one, too.  Not the change note, but
I don't recall seeing the instructions on what to do about it.
Tried deinstalling portupgrade and reinstalling?  The catch-22,
of course, is that you can't cd /usr/ports/sysutils/portupgrade
in order to `make deinstall`.  However, this might work (and I believe
it's the kludge I used to get around the issue):

$ rm -rf /var/db/pkg/portupgrade*
$ cd /usr/ports/ports-mgmt/portupgrade
$ make install clean


A little safer would be to replace the first line with 
pkg_delete portupgrade*.  

If you're not going to go with the portupgrade -o solution 
that someone already posted.


Yeah, I think Chris hit that one right.  Portupgrade_guru hat
to him ;-)

KDK
--
The more they over-think the plumbing
the easier it is to stop up the drain.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thunderbird 2.0 dumps core on second file open op

2007-04-27 Thread Howard Goldstein

Karol Kwiatkowski wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard Goldstein wrote:

[EMAIL PROTECTED] wrote:

On Thu, 26 Apr 2007, Howard Goldstein wrote:


Jan Henrik Sylvester wrote:

I guess I would have to update all gnome packages from 2.16 to 2.18
to see if it helps... but since Howard Goldstein rebuild all his
ports, he can probably confirm that this happens with the current
ports.

Unfortunately it does still happen for me. For those ports I'm at
these versions:

gnome-vfs-2.18.1_1  GNOME Virtual File System
libgnome-2.18.0_1   Libraries for GNOME, a GNU desktop environment

If you don't mind me asking, what are the file types, and about how
large are these files?

An appx 1K rc file (.nvidia-settings-rc), in another case a one page 29K
.pdf




Could everyone affected by this issue document a few more steps of
what they do to cause Thunderbird to coredump, please?

1. start thunderbird
2. ^M or click on the write message label
3. attach any file
4. send an email to self, garbage or empty message, take the default
subject or change it to garbage.
5. ^M to compose another message
6. at any point from this point on , attaching a file will coredump


If this helps I don't see the problem here (thunderbird-2.0.0.0, all
ports up to date). Details below.


Do you by chance have openldap23-client installed?   Yesterday I 
promised to rebuild with the default make.conf CFLAGS but in the interim 
gnome2 was installed which comes with openldap23-client apparently, and 
now the mere presence of openldap is forcing a fatal build error


[blahh blah blah]

gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
cc -o decode.o -c   -I/usr/local/include -I/usr/local/include/nss 
-I/usr/local/include/nss/nss -pipe -I/usr/local/include   -g -pipe 
-ansi -Wall -pthread -O -g -fPIC  -DDEBUG_root  -DMOZILLA_CLIENT=1 
-DDEBUG=1 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1 
-DHAVE_STRERROR=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS 
-UHAVE_CVAR_BUILT_ON_SEM -DUSE_WAITPID -DNEEDPROTOS-DNET_SSL 
-DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC 
-I../../../ldap/include 
-I/usr/ports/mail/thunderbird/work/mozilla/dist/./include   decode.c

In file included from decode.c:52:
lber-int.h:121: error: syntax error before LDAP_CALLBACK
lber-int.h:130: error: redefinition of typedef 'Seqorset'
/usr/local/include/lber.h:164: error: previous declaration of 'Seqorset' 
was here

lber-int.h:149: error: syntax error before ldap_x_iovec
lber-int.h:165: error: syntax error before BERTranslateProc
lber-int.h:187: error: syntax error before LDAP_IOF_READ_CALLBACK
lber-int.h:198: error: syntax error before LDAP_X_EXTIOF_READ_CALLBACK
...

-I /usr/local/include is what's doing it, it continues the build when 
manually stripping /usr/local/include from this directory's build 
options but it breaks later on as well.


A very few google hits on this error, none of which lead to fix or 
workaround.


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


Re: var/log/messages umass da0 6 how to stop?

2007-04-27 Thread David Southwell
On Friday 27 April 2007 07:33:11 James Seward wrote:
 On 4/27/07, David Southwell [EMAIL PROTECTED] wrote:
  The problem is that although messages stop for da0 I cannot stop da1 AND
  I would really like to be able to control this without having to have
  memory cards et al in the devices at all times.

 I get this when I have my USB card reader plugged in (and empty). I'm
 pretty sure it's hal (via KDE) which is responsible for the polling in
 my case. My low-tech fix is to yank the USB cable out when I'm not
 using the reader :) If there was a way to stop it filling up my syslog
 though I'd love to know.

 /JMS

Umph -- glad I am not the only one with the problem. The difficulty in my case 
is that the media devices are built in to the front of the case so I cannot 
really unplu the usb without turning off the machine!!

There must be a solution. I wish I was a bit brighter!!

david
___
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 Upgrade Portupgrade?

2007-04-27 Thread Drew Tomlinson

On 4/27/2007 6:40 AM Lowell Gilbert wrote:

Kevin Kinsey [EMAIL PROTECTED] writes:

  

Drew Tomlinson wrote:



So this seems like updating portupgrade should be trivial but I am
stuck.  Suggestions appreciated.
  

Yeah, I missed the note on this one, too.  Not the change note, but
I don't recall seeing the instructions on what to do about it.
Tried deinstalling portupgrade and reinstalling?  The catch-22,
of course, is that you can't cd /usr/ports/sysutils/portupgrade
in order to `make deinstall`.  However, this might work (and I believe
it's the kludge I used to get around the issue):

$ rm -rf /var/db/pkg/portupgrade*
$ cd /usr/ports/ports-mgmt/portupgrade
$ make install clean



A little safer would be to replace the first line with 
pkg_delete portupgrade*.  

If you're not going to go with the portupgrade -o solution 
that someone already posted.


Thanks for all the replies.  Funny thing is that when trying the 
portupgrade -o solution and using pkg_info | grep portupgrade, no 
results were returned.  The /var/db/pkg directory had no portupgrade* 
entries.  Thus I just used portupgrade -N portupgrade to upgrade.  All 
seemed OK.  I did notice a make config window that asked me which 
version of Berkeley DB to use for the backend.  Not knowing, I just 
chose the default of =2 and the port built without error.


Next I attempted pkgdb -L suggested in the pkg-message file.  It 
returned this error:


blacksheep# pkgdb -L
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... 
/var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid 
argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in 
/var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- 
Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]


I assume this is due to choosing the incorrect Berkeley DB version?  So 
should I rebuild the portupgrade port and choose Berkeley DB 1.85 or is 
it recommended to convert the pkgdb to the newer version?  If I should 
convert, how?


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

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


Re: Thunderbird 2.0 dumps core on second file open op

2007-04-27 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard Goldstein wrote:
 Karol Kwiatkowski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Howard Goldstein wrote:
 [EMAIL PROTECTED] wrote:
 Could everyone affected by this issue document a few more steps of
 what they do to cause Thunderbird to coredump, please?
 1. start thunderbird
 2. ^M or click on the write message label
 3. attach any file
 4. send an email to self, garbage or empty message, take the default
 subject or change it to garbage.
 5. ^M to compose another message
 6. at any point from this point on , attaching a file will coredump

 If this helps I don't see the problem here (thunderbird-2.0.0.0, all
 ports up to date). Details below.
 
 Do you by chance have openldap23-client installed?

Yes, I have:

# pkg_info -Ix openldap
openldap-client-2.3.35 Open source LDAP client implementation


 Yesterday I
 promised to rebuild with the default make.conf CFLAGS but in the interim
 gnome2 was installed which comes with openldap23-client apparently, and
 now the mere presence of openldap is forcing a fatal build error
 
 [blahh blah blah]
 
 gmake[5]: Entering directory
 `/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk/ldap/libraries/liblber'
 
 cc -o decode.o -c   -I/usr/local/include -I/usr/local/include/nss
 -I/usr/local/include/nss/nss -pipe -I/usr/local/include   -g -pipe -ansi
 -Wall -pthread -O -g -fPIC  -DDEBUG_root  -DMOZILLA_CLIENT=1 -DDEBUG=1
 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1
 -DHAVE_STRERROR=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS
 -UHAVE_CVAR_BUILT_ON_SEM -DUSE_WAITPID -DNEEDPROTOS-DNET_SSL
 -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC
 -I../../../ldap/include
 -I/usr/ports/mail/thunderbird/work/mozilla/dist/./include   decode.c
 In file included from decode.c:52:
 lber-int.h:121: error: syntax error before LDAP_CALLBACK
 lber-int.h:130: error: redefinition of typedef 'Seqorset'
 /usr/local/include/lber.h:164: error: previous declaration of 'Seqorset'
 was here
 lber-int.h:149: error: syntax error before ldap_x_iovec
 lber-int.h:165: error: syntax error before BERTranslateProc
 lber-int.h:187: error: syntax error before LDAP_IOF_READ_CALLBACK
 lber-int.h:198: error: syntax error before LDAP_X_EXTIOF_READ_CALLBACK
 ...
 
 -I /usr/local/include is what's doing it, it continues the build when
 manually stripping /usr/local/include from this directory's build
 options but it breaks later on as well.
 
 A very few google hits on this error, none of which lead to fix or
 workaround.

You'll probably need to update some of the dependencies first but that's
only an uneducated guess. Those ports build fine here. Maybe ask
@freebsd-ports or @freebsd-gnome?

Cheers,

Karol


- --
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMg3zezeoPAwGIYsRCKmPAJ46veKwcrKg0XVmSrnk5oATgJRxHACfQT5L
cHsarR/fjPWg0l2B26STo/U=
=IHbY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Dell D610 touchpad configuration

2007-04-27 Thread Victor Engmark

Hi all,

I'm attempting to configure my laptop properly for X.org, and the only
device which doesn't work properly now is the touchpad. The tutorials
I've seen so far seem to assume that all touchpads use the Synaptic
driver, but this is the information I get at boot time, and which I
assume is the touchpad:
$ dmesg | grep psm0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0

Apropos, dmesg | grep -i synapt gives no output, and dmesg | grep
-i mouse only shows the PS/2 + the USB mouse.

I've tried a lot of tutorials, restarting whenever I change something,
but I always end up with the following problem:
$ grep ^\(EE\) /var/log/Xorg.0.log
(EE) Synaptics Touchpad Found no Synaptics, found Mouse model 1 instead
(EE) Synaptics Touchpad no synaptics touchpad detected and no repeater device
(EE) Synaptics Touchpad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device Synaptics Touchpad

Another command which might shed some light over the situation:
$ cat /dev/psm0
cat: /dev/psm0: Resource temporarily unavailable

Relevant sections from /etc/X11/xorg.conf:
Section ServerFlags
 Option DefaultServerLayout  Dell Latitude D610
EndSection

Section ServerLayout
 Identifier Dell Latitude D610
 Screen  0  Dell Latitude D610 screen 0 0
 InputDeviceDell USB mouse CorePointer
 InputDeviceSynaptics Touchpad AlwaysCore
 InputDeviceDell Latitude D610 keyboard CoreKeyboard
EndSection

Section Module
...
 Load  synaptics # Ran this first: cd
/usr/ports/x11-servers/synaptics  make install
...
EndSection

Section InputDevice
 Identifier  Synaptics Touchpad
 Driver  synaptics
 Option  AlwaysCore
 Option  Device/dev/psm0
 Option  Protocol  psm
 #Option  SendCoreEventson
 Option  LeftEdge  1700
 Option  RightEdge 5300
 Option  TopEdge   1700
 Option  BottomEdge4200
 Option  FingerLow 25
 Option  FingerHigh30
 Option  MaxTapTime180
 Option  MaxTapMove220
 Option  VertScrollDelta   100
 Option  HorizScrollDelta  100
 Option  MinSpeed  0.06
 Option  MaxSpeed  0.06
 Option  AccelFactor   0.0010
 Option  ScrollButtonRepeat100
 Option  UpDownScrolling   on
 Option  UpDownRepeat  on
 Option  LeftRightScrollingon
 Option  LeftRightRepeat   on
 Option  SHMConfig on
EndSection

Section InputDevice
 Identifier  Dell USB mouse
 Driver  mouse
 Option  CorePointer
 Option  Device /dev/sysmouse
 Option  Protocol auto
 Option  ZAxisMapping 4 5 6 7
EndSection

For the record, the USB mouse, keyboard, and graphical settings work fine.

--
Victor Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin,
sounds profound
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var/log/messages umass da0 6 how to stop?

2007-04-27 Thread James Seward

On 4/27/07, David Southwell [EMAIL PROTECTED] wrote:

The problem is that although messages stop for da0 I cannot stop da1 AND I
would really like to be able to control this without having to have memory
cards et al in the devices at all times.


I get this when I have my USB card reader plugged in (and empty). I'm
pretty sure it's hal (via KDE) which is responsible for the polling in
my case. My low-tech fix is to yank the USB cable out when I'm not
using the reader :) If there was a way to stop it filling up my syslog
though I'd love to know.

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


RE: Greylisting -- Was: Anti Spam

2007-04-27 Thread Ted Mittelstaedt


 -Original Message-
 From: Christopher Sean Hilton [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 26, 2007 9:05 AM
 To: Ted Mittelstaedt; User Questions
 Subject: Re: Greylisting -- Was: Anti Spam


 Ted Mittelstaedt wrote:

 [snip...]

  Greylisting works because many, and I'd like to say most, spam programs
  never retry message delivery.
 
  Actually, no.  Greylisting works because it delays the spam injector
  long enough that the injector will get blacklisted by the time that the
  greylist opens the door for the mail to come in.  Greylisting alone
  by itself is getting less and less effective every day.
 Spammers are now
  starting to setup spam injectors to retry.  If you think about it, it is
  very easy to program.  Simply create a list of victims, iterate through
  the list once, deleting all the victims that accept, then wait several
  hours and iterate through the list again.  It didn't take a
 rocket scientist
  to figure that one out.
 
  Since SA has a lot of the major blacklist servers as score-feeders, the
  spam that gets past the greylist just gets tagged by SA.
 

 When I scan my maillogs I find that 22% of the hosts that generate a
 greylisting entry retry the mail delivery and thus get whitelisted. The
 other 78% don't attempt redelivery within the greylisting window.

That's probably par.

However, the reason your putting so much faith in the delaying, is simply
that you aren't getting a lot of spam.

I have published e-mail addresses.  Without greylisting I got about
1500-2000 mail messages a day to each of them.

With greylisting alone that drops down to about 400-500.

The thing is, that spam is a numbers game.  Someone who is only getting
for example 50-100 spams a day to their mailbox is going to think
greylisting is virtually 100% effective, simply because when they
institute it, their spam goes from 50-100 down to 1-5 spams.  So they
are going to probably conclude that someone getting ten times the
amount of spam as them will have their spam drop down to the same 1-5
after greylisting.  But, spammers are perfectly willing to send 1000
spams to a single mailbox if they think that doing so will get 1 spam
past the filters on that box.

I do have customers with -unpublished- e-mail addresses that are
perfectly satisfied with greylisting alone - simply because they
don't get a lot of spam in the first place.  But, that's like saying
that injecting a can of stop-leak into a leaking tire is a fix for it.
Stop-leak will reduce the rate that air leaks out down to an undetectable
amount if the initial leak was small, but the tire still is leaking.

Ted

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


Re: Recompiling the source tree

2007-04-27 Thread Jerry McAllister
On Thu, Apr 26, 2007 at 10:49:16PM -0700, Dhananjaya hiremath wrote:

 Hello sir,
 
 Here we installed FreeBSD 6.2 RELEASE  and installing the gnome2.
 But here it is giving file system is full (device is full) but we used 
 the entire disk how it is possible to full the disk.

Well, that is a big problem.
The first question is:   is your disk small or is there a lot of
stuff there that should be cleaned out?   Doing an upgrade can 
require a lot of extra disk - a couple Gb or so, but not 30 GB
or something like that.You also do not say which file system
is full.   If it is '/' and you have everything in '/', then it
could be trouble.   If it is /tmp and the other file systems have
plenty of space, just nuke what is in /tmp.

Use 'df -k'  to check file system usage.
Then cd to the file system that is full and use du(1) to
find out where the space is being used.
  du -sk *
CD in to any directory that look unexpectedly large and do
the same du -sk * command again.   Keep following the directory
tree until you track down where some space might be filled with
old or unnecessary stuff and clean it up.

If you cannot make enough space that way, you may have to add disk.

Once you get the disk issue worked out, then follow the handbook
sections on upgrading step by step.   It will work.

 
 
 And another thing is we updated the source tree but how to recompile this.
 

The handbook tells exactly the steps you need to take.
Each step is a 'make x'   something in a correct directory
and a reboot, plus a mergemaster.

jerry


 -
 Ahhh...imagining that irresistible new car smell?
  Check outnew cars at Yahoo! Autos.
 ___
 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: Wikipedia's perfection (was Re: Discussion of therelative advantages/disadvantages of PAE (was Re: Memory3.5GB not used?))

2007-04-27 Thread Ted Mittelstaedt


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bart
 Silverstrim
 Sent: Friday, April 27, 2007 7:06 AM
 To: Paul Schmehl
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Wikipedia's perfection (was Re: Discussion of therelative
 advantages/disadvantages of PAE (was Re: Memory3.5GB not used?))



 On Apr 25, 2007, at 3:51 PM, Paul Schmehl wrote:

  --On Wednesday, April 25, 2007 15:29:04 -0400 Thomas Dickey
  [EMAIL PROTECTED] wrote:
 
  On Wed, Apr 25, 2007 at 01:15:03PM -0600, Chad Perrin wrote:
  No kidding.  That professor should have his Wikipedia account
  banned,
  and the head of his department should be informed of his
  vandalism.  I
  don't suppose you know the name of his Wikipedia account, or his
  legal
  name. . . .
 
  yawn.  That sort of research has been going on for years.
 
  Less interesting is the sort of trash emitted by people who don't
  like
  knowing that whatever they've read on a webpage might not be
  completely
  accurate, and that they might have to do some of their own thinking.
 
  regards.
 
  At one time I had high hopes that the internet would usher in a new
  era of increased knowledge and reduced gullibility.  Instead it
  seems to have simply hastened the arrival to the wrong conclusions.

 There are opportunities for increased knowledge.  Gullibility,
 though, is part of our human nature.

 How many of you delve four levels deep when looking for a quick
 reference on something that, in the long run, you care little about?

I try to avoid stuff I don't care about.

 If you're not a mechanic or car enthusiast, do you look into anything
 and everything on how a clutch works, or every variation of four
 wheel drive implementations?  Probably not.

Yes, but if your driving a car you should.  There's a lot of stuff people
should be doing these days that they aren't doing.  I guess people's mothers
aren't telling their kids to eat their vegetables anymore.

 We don't devote time and
 resources into being renaissance people.

Most of us don't.  And the reasons why are complex, but what it essentially
boils down to is that there's a lot of vested interests out there that
don't want the majority of people to be renaissance people and so they
have been on a campaign for many years to discourage it, and a lot of
people are stupid and have fallen for that.

 For me, I look up the
 answer, if it sounds reasonable, I go with it unless someone else
 points out a deficiency in the answer.  I need a quick and dirty
 answer to move on to things I *do* care about.


Why do you need a quick and dirty answer for stuff you admittedly don't
care about?

 The problem is that people will accept an answer whether it makes
 sense or not.  We had someone once convinced that a Laser Car Wash
 cleaned cars by shooting small lasers at the car to clean it.  It was
 something so far left field of what they're interested in and
 knowledgeable about that they just accepted the answer, even though
 there's no way such a system would be affordable (or safe enough) to
 use as a car washing tool.


Damn, there goes those patent plans...

 Then again, there are those that do this intentionally, because
 spreading misinformation is in their best interest and they profit
 from it.  Even schools profit, not necessarily monetarily, by keeping
 students from questioning what they are taught.

Yes, that is true.  But it's important to keep in mind that while
schools profit from this, many teachers don't - and therefore buck
the pressure to churn out unquestioning students.

Ted

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


Re: Thunderbird 2.0 dumps core on second file open op

2007-04-27 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Howard Goldstein wrote:
 Karol Kwiatkowski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Howard Goldstein wrote:
 Karol Kwiatkowski wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256

 Howard Goldstein wrote:
 [EMAIL PROTECTED] wrote:
 Could everyone affected by this issue document a few more steps of
 what they do to cause Thunderbird to coredump, please?
 1. start thunderbird
 2. ^M or click on the write message label
 3. attach any file
 4. send an email to self, garbage or empty message, take the default
 subject or change it to garbage.
 5. ^M to compose another message
 6. at any point from this point on , attaching a file will coredump
 If this helps I don't see the problem here (thunderbird-2.0.0.0, all
 ports up to date). Details below.
 Do you by chance have openldap23-client installed?

 Yes, I have:

 # pkg_info -Ix openldap
 openldap-client-2.3.35 Open source LDAP client implementation


 Yesterday I
 promised to rebuild with the default make.conf CFLAGS but in the interim
 gnome2 was installed which comes with openldap23-client apparently, and
 now the mere presence of openldap is forcing a fatal build error

 [blahh blah blah]

 gmake[5]: Entering directory
 `/usr/ports/mail/thunderbird/work/mozilla/directory/c-sdk/ldap/libraries/liblber'


 cc -o decode.o -c   -I/usr/local/include -I/usr/local/include/nss
 -I/usr/local/include/nss/nss -pipe -I/usr/local/include   -g -pipe -ansi
 -Wall -pthread -O -g -fPIC  -DDEBUG_root  -DMOZILLA_CLIENT=1 -DDEBUG=1
 -DXP_UNIX=1 -DFREEBSD=1 -DHAVE_BSD_FLOCK=1 -DHAVE_LCHOWN=1
 -DHAVE_STRERROR=1 -D_THREAD_SAFE=1  -DFORCE_PR_LOG -D_PR_PTHREADS
 -UHAVE_CVAR_BUILT_ON_SEM -DUSE_WAITPID -DNEEDPROTOS-DNET_SSL
 -DNO_LIBLCACHE -DLDAP_REFERRALS -DNS_DOMESTIC
 -I../../../ldap/include
 -I/usr/ports/mail/thunderbird/work/mozilla/dist/./include   decode.c
 In file included from decode.c:52:
 lber-int.h:121: error: syntax error before LDAP_CALLBACK
 lber-int.h:130: error: redefinition of typedef 'Seqorset'
 /usr/local/include/lber.h:164: error: previous declaration of 'Seqorset'
 was here
 lber-int.h:149: error: syntax error before ldap_x_iovec
 lber-int.h:165: error: syntax error before BERTranslateProc
 lber-int.h:187: error: syntax error before LDAP_IOF_READ_CALLBACK
 lber-int.h:198: error: syntax error before LDAP_X_EXTIOF_READ_CALLBACK
 ...

 -I /usr/local/include is what's doing it, it continues the build when
 manually stripping /usr/local/include from this directory's build
 options but it breaks later on as well.

 A very few google hits on this error, none of which lead to fix or
 workaround.

 You'll probably need to update some of the dependencies first but that's
 only an uneducated guess. Those ports build fine here. Maybe ask
 @freebsd-ports or @freebsd-gnome?

 
 Thank you.  I have a sinking feeling these various issues may at the end
 of the day be tied in with the modular x.org 7.2 and X11BASE=/usr/local
 from the git server.  IIRC we're going to be merging 7.2 into the ports
 tree next week and that should encourage some more folks with a better
 understanding of gnome than I have (which is zero) to help

Just FYI, I've got X11BASE=/usr/local set in make.conf, too (but I don't
 use git xorg sources).

Karol


- --
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGMiKXezeoPAwGIYsRCHZdAJ4rcXAw/RIwpJxQBpKp5OhTu0IBAACeJHgL
uWUNqSNCvCPHXw2bF78G9Xk=
=IgIk
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Bandwith limitations, NAT and transparent proxy

2007-04-27 Thread Alexandre Fedotov
Здравствуйте, freebsd-questions.

You need to add queue's and forward all you inside subnets to those
queues

smthing like this
${fwcmd} pipe 1 config bw 128Kbit/s queue 20Kbytes
${fwcmd} queue 1 config pipe 1 weight 50 queue 20 mask dst-ip 0x
${fwcmd} queue 2  config pipe 1 weight 50 queue 20 mask src-ip 0xfff
${fwcmd} add 4 queue 1 ip from any to 192.168.1.128/25 via em0
${fwcmd} add 40001 queue 2 ip from 192.168.1.128/25 to any via em0
 Hi !
 
 I have FreeBSD 4.8 installed.
 There is IPFIREWALL, IPFIREWALL_FORWARD, IPDIVERT and DUMMYNET in my 
 kernel configration.
 On my FBSD gateway to the Internet I would like to use NAT (of course 
 :-))) ), transparent proxy and limit the outgoing traffic.
 xl0 (62.169.170.166/30) is the public interface, xl1 (192.168.1.1/24) is 
 the private one.
 
 If my firewall rules look like:
 ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes
 ipfw add 47 pipe 1 ip from any to any out via xl0
 ipfw add 48 allow ip from 192.168.1.1 to any
 ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80
 ipfw add 50 divert 8668 ip from any to any via xl0
 ... (the rest of OPEN firewall rules)
 nothing except http (because of transparent proxy, I think) goes through 
 the gateway from the local net.
 
 If my firewall rules look like:
 ipfw pipe 1 config bw 256Kbit/s queue 40Kbytes
 ipfw add 47 pipe 1 ip from 62.169.170.166 to any out via xl0
 ipfw add 48 allow ip from 192.168.1.1 to any
 ipfw add 49 fwd 192.168.1.1,3128 tcp from 192.168.1.0/24 to any 80
 ipfw add 50 divert 8668 ip from any to any via xl0
 ... (the rest of OPEN firewall rules)
 everything works fine except except the bandwith limitation.
 
 Do you have any ideas, how to get these three things (bandwith 
 limitation, nat, transparent proxy) work together ?
 
 Thanks a lot in advance.
 
 GIGI


--
С уважением,
Alexandre Fedotov
Management Training Center
www.mtcenter.ru
mailto:[EMAIL PROTECTED]

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


How to get best results from FreeBSD-questions

2007-04-27 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-04-27 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


IBM x3655: FBSD 7.0-SNAP 200704 USB keyboard problems

2007-04-27 Thread O. Hartmann

Hello,

seems I do have a typical problem and don't know how to solv it.
I try to install FreeBSD 7.0-CURRENT SNAP 200704 for AMD64 on IBM x3655 
with two Opteron 22XX CPUs. The ISO CD1 boots well and keyboard reacts 
with the beastie-menu, but after booting into installation menu (showing 
up keyboard layout) keyboard (USB) is not usuable anymore.

Please, can anyone tell me hw to solve this problem?

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


RE: Help with pkg_add

2007-04-27 Thread Bob
Figured it out.   need   -r option in the command   pgk_add -r ytree

Sorry

-Original Message-
From: Bob [mailto:[EMAIL PROTECTED]
Sent: Friday, April 27, 2007 1:34 PM
To: [EMAIL PROTECTED] ORG
Subject: Help with pkg_add

Trying to execute pkg_add ytree and get this message under Freebsd 6.2

Can't stat package file 'ytree'
It does not even try to connect to server first.

What is this cryptic message trying to tell me



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


Re: var/log/messages umass da0 6 how to stop?

2007-04-27 Thread Lowell Gilbert
James Seward [EMAIL PROTECTED] writes:

 I get this when I have my USB card reader plugged in (and empty). I'm
 pretty sure it's hal (via KDE) which is responsible for the polling in
 my case. My low-tech fix is to yank the USB cable out when I'm not
 using the reader :) If there was a way to stop it filling up my syslog
 though I'd love to know.

Okay, that's a clue to the source.  There seems to be a KDE HAL
Device Manager, which I assume (from its name) should be controlling
this.  Can you get into a configuration for that and see what you can
do?  [Sorry I can't help more now, but I don't use KDE, and my machine
with a card reader is powered down at the moment.]
___
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 Upgrade Portupgrade?

2007-04-27 Thread Lowell Gilbert
Drew Tomlinson [EMAIL PROTECTED] writes:

 Thanks for all the replies.  Funny thing is that when trying the
 portupgrade -o solution and using pkg_info | grep portupgrade, no
 results were returned.  The /var/db/pkg directory had no portupgrade*
 entries.  Thus I just used portupgrade -N portupgrade to upgrade.
 All seemed OK.  I did notice a make config window that asked me
 which version of Berkeley DB to use for the backend.  Not knowing, I
 just chose the default of =2 and the port built without error.

Missing entries in the package database?  Could be a problem, although
more likely it's just a mistake of some sort.

 Next I attempted pkgdb -L suggested in the pkg-message file.  It
 returned this error:

 blacksheep# pkgdb -L
 [Updating the pkgdb format:bdb_btree in /var/db/pkg ... 
 /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; 
 rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... 
 /var/db/pkg/pkgdb.db: unexpected file type or format -- 
 Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]

 I assume this is due to choosing the incorrect Berkeley DB version?
 So should I rebuild the portupgrade port and choose Berkeley DB 1.85
 or is it recommended to convert the pkgdb to the newer version?  If I
 should convert, how?

My build machine is powered down today, so I can't get the exact
answer, but it was in /usr/ports/UPDATING at the time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Desktop rebuild

2007-04-27 Thread Derrick Ryalls

I have a laptop that I am currently updating world to the latest from
the v6 branch, once that is done I want to completely start fresh with
the GUI.  Right now I have gnome in a mostly working state, a mostly
out of date KDE and a bunch of other random crud I have installed over
the last 16 months or so.  Instead of trying to use portupgrade and
have it fail out/fix/restart, I was thinking life would be easier if I
just removed anything graphical and start that from scratch.  This way
all my settings/data remain intact and I can just do a pkg install the
new stuff.

Is anyone aware of a quick/safe way of blowing away nearly all
installed apps as such to start from near scratch.  I do use bash and
probably a couple other non-GUI installs, so I didn't necessarily want
to kill _all_ installed ports/pkgs but I might be willing to do that
if needed.

Any thought on the best way to approach this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help with pkg_add

2007-04-27 Thread Bob
Trying to execute pkg_add ytree and get this message under Freebsd 6.2

Can't stat package file 'ytree'
It does not even try to connect to server first.

What is this cryptic message trying to tell me




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


How to Upgrade Berkeley DB? (Was Re: How to Upgrade Portupgrade?)

2007-04-27 Thread Drew Tomlinson

On 4/27/2007 10:58 AM Lowell Gilbert wrote:

Drew Tomlinson [EMAIL PROTECTED] writes:

  

Thanks for all the replies.  Funny thing is that when trying the
portupgrade -o solution and using pkg_info | grep portupgrade, no
results were returned.  The /var/db/pkg directory had no portupgrade*
entries.  Thus I just used portupgrade -N portupgrade to upgrade.
All seemed OK.  I did notice a make config window that asked me
which version of Berkeley DB to use for the backend.  Not knowing, I
just chose the default of =2 and the port built without error.



Missing entries in the package database?  Could be a problem, although
more likely it's just a mistake of some sort.

  

Next I attempted pkgdb -L suggested in the pkg-message file.  It
returned this error:

blacksheep# pkgdb -L
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- 
Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]


I assume this is due to choosing the incorrect Berkeley DB version?
So should I rebuild the portupgrade port and choose Berkeley DB 1.85
or is it recommended to convert the pkgdb to the newer version?  If I
should convert, how?



My build machine is powered down today, so I can't get the exact
answer, but it was in /usr/ports/UPDATING at the time.


I just searched /usr/ports/UPDATING.  I only find two entries, neither 
of which seems to cover my situation:


20061130:
 AFFECTS: users of net/openldap2[34]-server
 AUTHOR: [EMAIL PROTECTED]

 The default Berkeley DB version has been changed from
 4.3 to 4.4, as suggested by OpenLDAP developers.

0060403:
 AFFECTS: users of databases/db*
 AUTHOR: [EMAIL PROTECTED]

 Most of the ports that depend on Berkeley DB have been updated to use
 Mk/bsd.database.mk. Mk/bsd.database.mk is used to include MySQL, 
PostgreSQL,

 Berkeley DB, and SQLite in a port.

A quick Google search didn't reveal anything specific to FBSD and 
portupgrade on how to upgrade Berkeley DB.  However I will keep 
looking.  If you come across something on how I should update my systems 
to use the latest stable Berkeley DB and convert all dbs to that 
version, I'd appreciate the link.


Thanks,

Drew


--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

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


Re: IBM x3655: FBSD 7.0-SNAP 200704 USB keyboard problems

2007-04-27 Thread Hans Petter Selasky
On Friday 27 April 2007 18:49, O. Hartmann wrote:
 Hello,

 seems I do have a typical problem and don't know how to solv it.
 I try to install FreeBSD 7.0-CURRENT SNAP 200704 for AMD64 on IBM x3655
 with two Opteron 22XX CPUs. The ISO CD1 boots well and keyboard reacts
 with the beastie-menu, but after booting into installation menu (showing
 up keyboard layout) keyboard (USB) is not usuable anymore.
 Please, can anyone tell me hw to solve this problem?


A few people have reported to me that they need the new USB stack to get USB 
working on AMD64.

http://www.turbocat.net/~hselasky/usb4bsd

SVN version.

By the way, it does not compile with FreeBSD 7.0-CURRENT yet. You need FreeBSD 
6.X. I'm working on this.

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


Re: Desktop rebuild

2007-04-27 Thread RW
On Fri, 27 Apr 2007 10:34:40 -0700
Derrick Ryalls [EMAIL PROTECTED] wrote:

 I have a laptop that I am currently updating world to the latest from
 the v6 branch, once that is done I want to completely start fresh with
 the GUI.  Right now I have gnome in a mostly working state, a mostly
 out of date KDE and a bunch of other random crud I have installed over
 the last 16 months or so.  Instead of trying to use portupgrade and
 have it fail out/fix/restart, I was thinking life would be easier if I
 just removed anything graphical and start that from scratch.  This way
 all my settings/data remain intact and I can just do a pkg install the
 new stuff.
 
 Is anyone aware of a quick/safe way of blowing away nearly all
 installed apps as such to start from near scratch.  I do use bash and
 probably a couple other non-GUI installs, so I didn't necessarily want
 to kill _all_ installed ports/pkgs but I might be willing to do that
 if needed.

If I were you I'd just get a list of ports-origins 

pkg_info -oqa  portlist

and then just delete the lot.
___
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 Upgrade Berkeley DB?

2007-04-27 Thread Drew Tomlinson

On 4/27/2007 1:09 PM Lowell Gilbert wrote:

Drew Tomlinson [EMAIL PROTECTED] writes:

  

On 4/27/2007 10:58 AM Lowell Gilbert wrote:


Drew Tomlinson [EMAIL PROTECTED] writes:

  
  

Thanks for all the replies.  Funny thing is that when trying the
portupgrade -o solution and using pkg_info | grep portupgrade, no
results were returned.  The /var/db/pkg directory had no portupgrade*
entries.  Thus I just used portupgrade -N portupgrade to upgrade.
All seemed OK.  I did notice a make config window that asked me
which version of Berkeley DB to use for the backend.  Not knowing, I
just chose the default of =2 and the port built without error.



Missing entries in the package database?  Could be a problem, although
more likely it's just a mistake of some sort.

  
  

Next I attempted pkgdb -L suggested in the pkg-message file.  It
returned this error:

blacksheep# pkgdb -L
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument; rebuild needed] [Rebuilding the pkgdb format:bdb_btree in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or format -- 
Invalid argument: Cannot update the pkgdb!]: Cannot update the pkgdb!]


I assume this is due to choosing the incorrect Berkeley DB version?
So should I rebuild the portupgrade port and choose Berkeley DB 1.85
or is it recommended to convert the pkgdb to the newer version?  If I
should convert, how?



My build machine is powered down today, so I can't get the exact
answer, but it was in /usr/ports/UPDATING at the time.
  

I just searched /usr/ports/UPDATING.  I only find two entries, neither
of which seems to cover my situation:



You missed 20060703.
  


Ah, now I see.  Berkeley is misspelled so when I searched the file for 
Berkeley, it didn't catch Berkley.


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

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


Suggestions for an antispam.

2007-04-27 Thread FreeBSD User Giacomo
Hi,
I would want a suggestion for an antispam for my email.
I use getmail-procmail-mutt in order to receive the mail.
Thanks.
-- 
Isaia Luciano
FreeBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


No SMB/Samba support on Windows Home Editions

2007-04-27 Thread L Goodwin
I've been working feverishly to set up a Samba share
on FreeBSD 6.2 server to provide file storage for
clients running Windows XP Pro and Windows Vista Home
Premium.

I just had a long talk with the ISP's tech support,
and was told a number of things that I would like to
confirm or deny:

1) Windows Home editions (including XP and Vista)
have support for SMB protocol disabled in Active
Directory Domain Connections functionality! 
Is this true?

2) The only way to make Samba work for Windows Home
editions is to change the Samba server's domain
configuration to peer-to-peer. 
Is this true? If YES, how do I do that?
Could not find reference it in the Official Samba-3
HOW TO and Reference Guide.

3) Other options discussed:

1) Replace Vista Home with Windows XP Pro (or Vista
Pro) or exchange computer for one with a Pro
edition.

2) Repartition the RAID 1 Mirror/Duplex as NTFS (or
DOS) partitions (and don't use Samba)? Feedback and
reference on a good how to appreciated.

3) Change FreeBSD server to a Windows server (ugh).

Can anyone address these assertions and/or provide
assistance in other ways to use FreeBSD as a
fileserver for Windows Home (and Pro) clients?

He also cited a recent InfoWorld survey in which 30%
of companies responding plan to never implement Vista,
that they consider it an interim version that will
be used as an excuse for dropping legacy support.

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


Re: Greylisting -- Was: Anti Spam

2007-04-27 Thread Bart Silverstrim


On Apr 26, 2007, at 12:15 AM, Ted Mittelstaedt wrote:

There are legitimate technical reasons that someone may want their  
mail

to not be greylisted.  For example, my cell phone's e-mail address is
in our monitoring scripts to page me in the event of a server failure.
I would be pretty pissed off if Sprint suddenly started  
greylisting.  It

isn't just dumb-ass users making stupid political decisions to reject
it, although in your case it probably was.


If it is a legitimate mail server, it would be promoted to the auto- 
whitelist.  Not all mail is constantly greylisted by most intelligent  
greylist systems.  Only the first few messages would be delayed,  
until it is established as legitimate.

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


RE: No SMB/Samba support on Windows Home Editions

2007-04-27 Thread GARRISON, TRAVIS J.
Windows Home editions cannot join an Active Directory domain, but they
can access smb shares.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of L Goodwin
Sent: Friday, April 27, 2007 3:50 PM
To: FreeBSD-questions@FreeBSD.org
Subject: No SMB/Samba support on Windows Home Editions

I've been working feverishly to set up a Samba share
on FreeBSD 6.2 server to provide file storage for
clients running Windows XP Pro and Windows Vista Home
Premium.

I just had a long talk with the ISP's tech support,
and was told a number of things that I would like to
confirm or deny:

1) Windows Home editions (including XP and Vista)
have support for SMB protocol disabled in Active
Directory Domain Connections functionality! 
Is this true?

2) The only way to make Samba work for Windows Home
editions is to change the Samba server's domain
configuration to peer-to-peer. 
Is this true? If YES, how do I do that?
Could not find reference it in the Official Samba-3
HOW TO and Reference Guide.

3) Other options discussed:

1) Replace Vista Home with Windows XP Pro (or Vista
Pro) or exchange computer for one with a Pro
edition.

2) Repartition the RAID 1 Mirror/Duplex as NTFS (or
DOS) partitions (and don't use Samba)? Feedback and
reference on a good how to appreciated.

3) Change FreeBSD server to a Windows server (ugh).

Can anyone address these assertions and/or provide
assistance in other ways to use FreeBSD as a
fileserver for Windows Home (and Pro) clients?

He also cited a recent InfoWorld survey in which 30%
of companies responding plan to never implement Vista,
that they consider it an interim version that will
be used as an excuse for dropping legacy support.

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


Re: Greylisting -- Was: Anti Spam

2007-04-27 Thread Christopher Hilton

Ted Mittelstaedt wrote:

[snip]


When I scan my maillogs I find that 22% of the hosts that generate a
greylisting entry retry the mail delivery and thus get whitelisted. The
other 78% don't attempt redelivery within the greylisting window.


That's probably par.

However, the reason your putting so much faith in the delaying, is simply
that you aren't getting a lot of spam.

I have published e-mail addresses.  Without greylisting I got about
1500-2000 mail messages a day to each of them.




Greylisting isn't just about delaying. IIRC greylisting is filtering for 
spam/ham based on behaviour in the message originators MTA. My 
greylister is using two behavioural assumptions:


 Spamming MTA's don't have the capability to queue and retry mail. 
Asking them to queue and retry will cause them to drop the mail on the 
floor thus filtering spam.


 Spamming MTA's don't like to be tarpitted. Stuttering at them and 
sizing the TCP Windows so they must wait will result in them 
disconnecting before they can exchanged mail thus filtering spam.



I may not receive as much spam as you but I do think that I receive a 
lot of spam. For mail vindaloo.com is a small domain. I'm a mail 
reflector for a couple of .orgs and I have a handful of addresses for 
which I'm the endpoint.


My greylister trapped 1907 connections from 1566 hosts on Tuesday. I 
assume that without my greylister this would have been 1566 delivered 
messages and nearly all of them would have been spam.


In a nutshell here's my math:

Tuesday's spam statistics:

1907 connections from 1566 hosts to the greylister.

1411 hosts hung up before getting to an SMTP RCPT TO. (rejected by 
Tarpitting)


 121 hosts worked with pf-spamd and sent an SMTP RCPT TO generating a 
greylisting tuple. None of these hosts attempted redelivery. (rejected 
by delay/queue)


  34 hosts worked with pf-spamd as above enough to generate a whitelist 
transaction. For roughly the next month these 34 hosts can deliver mail 
to me.


Assuming that the each host wanted to send one message and that the one 
message was spam my greylister has achieved a rejection rate of 97.8% 
over 1566 messages.


The real beauty of this is that it comes with little resource cost to 
me. Without Greylisting those 1566 messages would have to be scanned by 
Spam Assassin. I use SA's bayes filter. Last time I looked at it SA was 
averaging 2 ~ 4 seconds per message scanned. I'm not sure it would have 
to be done how well SA works when concurrently scanning messages but if 
I just do the simple math that's 1.3 hours of real time scanning 
messages for spam. Without greylisting I'd have to buy new hardware for 
my mailserver and that's just not worth it.


-- Chris

--
  __o  All I was doing was trying to get home from work.
_`\,_   -Rosa Parks
___(*)/_(*)___
Christopher Sean Hiltonchris | at | vindaloo.com
pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No SMB/Samba support on Windows Home Editions

2007-04-27 Thread Derek Ragona

At 03:49 PM 4/27/2007, L Goodwin wrote:

I've been working feverishly to set up a Samba share
on FreeBSD 6.2 server to provide file storage for
clients running Windows XP Pro and Windows Vista Home
Premium.

I just had a long talk with the ISP's tech support,
and was told a number of things that I would like to
confirm or deny:

1) Windows Home editions (including XP and Vista)
have support for SMB protocol disabled in Active
Directory Domain Connections functionality!
Is this true?


Not exactly.  Home edition CANNOT log into a domain or active 
directory.  If you need that functionality, upgrade to XP Pro.




2) The only way to make Samba work for Windows Home
editions is to change the Samba server's domain
configuration to peer-to-peer.
Is this true? If YES, how do I do that?
Could not find reference it in the Official Samba-3
HOW TO and Reference Guide.


I've never done that so am no help.



3) Other options discussed:

1) Replace Vista Home with Windows XP Pro (or Vista
Pro) or exchange computer for one with a Pro
edition.


Vista licenses can be downgraded to XP.  You need to check on which 
versions can be downgraded to XP Pro.




2) Repartition the RAID 1 Mirror/Duplex as NTFS (or
DOS) partitions (and don't use Samba)? Feedback and
reference on a good how to appreciated.


I assume you mean just setup a windows box.  You can do that, but your 
hardware is so slow it won't perform well under windows.




3) Change FreeBSD server to a Windows server (ugh).

Can anyone address these assertions and/or provide
assistance in other ways to use FreeBSD as a
fileserver for Windows Home (and Pro) clients?

He also cited a recent InfoWorld survey in which 30%
of companies responding plan to never implement Vista,
that they consider it an interim version that will
be used as an excuse for dropping legacy support.


No one I know is jumping to vista until service pack one ships.

-Derek

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

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


Re: No SMB/Samba support on Windows Home Editions

2007-04-27 Thread Andrea Venturoli

L Goodwin wrote:


I just had a long talk with the ISP's tech support,
and was told a number of things that I would like to
confirm or deny:


I don't think you are that clear, but I'll try and answer anyway...



1) Windows Home editions (including XP and Vista)
have support for SMB protocol disabled in Active
Directory Domain Connections functionality! 
Is this true?


Depends on what you mean.
You can access Samba share from Win XP Home, but you cannot join a domain.
I guess Vista Home should work the same, but I don't really know: there 
might still compatibility issues in Samba, but we are a bit OT here; you 
should ask on a Samba list.





2) The only way to make Samba work for Windows Home
editions is to change the Samba server's domain
configuration to peer-to-peer. 
Is this true? If YES, how do I do that?

Could not find reference it in the Official Samba-3
HOW TO and Reference Guide.


AFAIK there is no such switch in Samba.
A Samba server can be a PDC, a BDC, a domain member or a stand-alone 
server, but the concept of peer-to-peer is quite out of scope.
Besides I've succesfully connectectd many WinXP Home to a PDC/BDC, so I 
guess that setting is irrelevant.





3) Other options discussed:

1) Replace Vista Home with Windows XP Pro (or Vista
Pro) or exchange computer for one with a Pro
edition.


Quite expensive. Might be worth or might be not.
Either way it's not the solution for you; I fear your problems lies 
somewhere else and you would still get them, unless what you are trying 
to achieve is a central account/password management.

If that is in fact the case, this is *the only* solution.




2) Repartition the RAID 1 Mirror/Duplex as NTFS (or
DOS) partitions (and don't use Samba)?


What has this to do with the rest?




3) Change FreeBSD server to a Windows server (ugh).


I dub your (ugh).
Besides this is not gonna help, if what you want is a domain. Win Home 
will still be unable to join it; it's just crippled like that.




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


Re: Wikipedia's perfection (was Re: Discussion of the relative advantages/disadvantages of PAE (was Re: Memory 3.5GB not used?))

2007-04-27 Thread [EMAIL PROTECTED]

On 27/04/07, Bart Silverstrim [EMAIL PROTECTED] wrote:


We don't devote time and
resources into being renaissance people.


Human intelligence is hardly limited in that regard.
While I do not subscribe to the Colin Wilson theory,
the vast majority of people contain so little information
it is quite shameful, and the less you learn the harder
it is to learn.

These arguments about ethics show how truly shallow
ethicists bother to think.  Wikipedia is a daycare centre
which has given out a nearly unlimited number of crayons
and is now complaining about children drawing on the
walls.  It is also a fairly plain example of the cliche of the
inmates running the asylum.  To assign scholarly status
and impute scholarly ethics on such a nonsensical rubbish
pile is as silly as taking my arguments here as more than
the ranting of a deranged keyboard jockey.

What that purported professor did is no more unethical
than crapping in somone else's toilet, and to claim other-
wise is to elevate it to a king's throne.

Once wikipedia (and its ilk) begin to systematically vet
contributors for expertise and seriously review articles
against fact we can nail them to the wall for political bias.

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


Re: Desktop rebuild

2007-04-27 Thread [EMAIL PROTECTED]

On 27/04/07, Derrick Ryalls [EMAIL PROTECTED] wrote:

I have a laptop that I am currently updating world to the latest from
the v6 branch, once that is done I want to completely start fresh with
the GUI.  Right now I have gnome in a mostly working state, a mostly
out of date KDE and a bunch of other random crud I have installed over
the last 16 months or so.  Instead of trying to use portupgrade and
have it fail out/fix/restart, I was thinking life would be easier if I
just removed anything graphical and start that from scratch.  This way
all my settings/data remain intact and I can just do a pkg install the
new stuff.

Is anyone aware of a quick/safe way of blowing away nearly all
installed apps as such to start from near scratch.  I do use bash and
probably a couple other non-GUI installs, so I didn't necessarily want
to kill _all_ installed ports/pkgs but I might be willing to do that
if needed.

Any thought on the best way to approach this?


The best method I have come up with is to first
gather a list of leaf packages with ports-mgmt/portmaster:
$ portmaster -l

and then (assuming you have ports-mgmt/portupgrade
installed):
$ pkg_deinstall -r leaf pkg names
or
$ pkg_delete -r leaf pkg names

ports-mgmt/pkg_cutleaves is a bit overly thorough
(and underly[1] conservative) for my tastes, but may
be more your style.

This shouldn't delete anything required by the stuff
you want to keep and should clean out most of the
kipple.  Multiple runs are suggested and deleting
root packages (as listed under portmaster -l) most
likely won't harm anything (though some of them
may be reinstalled when you upgrade).

pkg_deinstall has the advantage of being able to issue
$ pkg_deinstall -Rr kde*
, which will delete anything requiring kde and required by
kde (at least that is not required by some other package),
and the disadvantage of requiring that both perl and ruby
be installed.


[1] May not be an honistically truthifiable word.

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


controlling the wireless interface

2007-04-27 Thread Chad Perrin
I've gotten the wireless interface on a Thinkpad R52 working from the
instructions in the FreeBSD Handbook:
  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
 
Unfortunately, I seem to have run into a problem.  Most of the time, the
interface that will be used is the RJ-45 ethernet NIC, not the IPW2200
wireless NIC.  I've yet to find a way to get the wireless to work
without starting it at boot time.  How would I go about configuring the
system so that it doesn't start fwe0 at boot, but allows me to start it
(easily) later if I need it?

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Suggestions for an antispam.

2007-04-27 Thread Kris Kennaway
On Fri, Apr 27, 2007 at 09:44:05PM +0200, FreeBSD User Giacomo wrote:
 Hi,
 I would want a suggestion for an antispam for my email.
 I use getmail-procmail-mutt in order to receive the mail.
 Thanks.

bogofilter.

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


DHCP client configuration on FreeBSD

2007-04-27 Thread L Goodwin
When I ran the DHCP client configuration tool on
FreeBSD 6.2, it added a new hostname variable to
/etc/rc.conf below existing the hostname var (it did
not remove or comment-out the old hostname variable).

The NEW hostname includes the ISP's domain name:
  hostname=dhcppc0.ISP domain name here

This hostname differs from the hostname listed in the
router's DHCP table dhcpp0 (no domain name). It also
shows unique IP addresses and MAC addresses for all
hosts on the LAN.

I can ping the IP address assigned to the FreeBSD
system, but ping and net lookup fail when its hostname
is specified (both with and without the domain name).

Questions:
1) Why did the hostname get changed (does not occur
for Windows clients)?
2) Why does the hostname in /etc/rc.conf contain the
DNS domain name?
3) How do I resolve this problem?

Thanks!

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


Re: controlling the wireless interface [fixed -- ignore]

2007-04-27 Thread Chad Perrin
On Fri, Apr 27, 2007 at 05:08:28PM -0600, Chad Perrin wrote:
 I've gotten the wireless interface on a Thinkpad R52 working from the
 instructions in the FreeBSD Handbook:
   
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-wireless.html
  
 Unfortunately, I seem to have run into a problem.  Most of the time, the
 interface that will be used is the RJ-45 ethernet NIC, not the IPW2200
 wireless NIC.  I've yet to find a way to get the wireless to work
 without starting it at boot time.  How would I go about configuring the
 system so that it doesn't start fwe0 at boot, but allows me to start it
 (easily) later if I need it?

Please ignore this.  I seem to have made a stupid error during install.
I used the wrong firmware.  All is now well.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Larry Wall: A script is what you give the actors.  A program is what you
give the audience.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: No SMB/Samba support on Windows Home Editions

2007-04-27 Thread L Goodwin

--- GARRISON, TRAVIS J. [EMAIL PROTECTED] wrote:
 Windows Home editions cannot join an Active
 Directory domain, but they
 can access smb shares.
That's good news. Thanks! Now I just need to figure
out what to do to make it work.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On
 Behalf Of L Goodwin
 Sent: Friday, April 27, 2007 3:50 PM
 To: FreeBSD-questions@FreeBSD.org
 Subject: No SMB/Samba support on Windows Home
 Editions
 
 I've been working feverishly to set up a Samba share
 on FreeBSD 6.2 server to provide file storage for
 clients running Windows XP Pro and Windows Vista
 Home
 Premium.
 
 I just had a long talk with the ISP's tech support,
 and was told a number of things that I would like to
 confirm or deny:
 
 1) Windows Home editions (including XP and Vista)
 have support for SMB protocol disabled in Active
 Directory Domain Connections functionality! 
 Is this true?
 
 2) The only way to make Samba work for Windows Home
 editions is to change the Samba server's domain
 configuration to peer-to-peer. 
 Is this true? If YES, how do I do that?
 Could not find reference it in the Official Samba-3
 HOW TO and Reference Guide.
 
 3) Other options discussed:
 
 1) Replace Vista Home with Windows XP Pro (or Vista
 Pro) or exchange computer for one with a Pro
 edition.
 
 2) Repartition the RAID 1 Mirror/Duplex as NTFS (or
 DOS) partitions (and don't use Samba)? Feedback and
 reference on a good how to appreciated.
 
 3) Change FreeBSD server to a Windows server (ugh).
 
 Can anyone address these assertions and/or provide
 assistance in other ways to use FreeBSD as a
 fileserver for Windows Home (and Pro) clients?
 
 He also cited a recent InfoWorld survey in which 30%
 of companies responding plan to never implement
 Vista,
 that they consider it an interim version that will
 be used as an excuse for dropping legacy support.
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam
 protection around 
 http://mail.yahoo.com 
 ___
 freebsd-questions@freebsd.org mailing list

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


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


Re: IBM x3655: FBSD 7.0-SNAP 200704 USB keyboard problems

2007-04-27 Thread Bakul Shah
 seems I do have a typical problem and don't know how to solv it.
 I try to install FreeBSD 7.0-CURRENT SNAP 200704 for AMD64 on IBM x3655 
 with two Opteron 22XX CPUs. The ISO CD1 boots well and keyboard reacts 
 with the beastie-menu, but after booting into installation menu (showing 
 up keyboard layout) keyboard (USB) is not usuable anymore.
 Please, can anyone tell me hw to solve this problem?

I ran into a similar problem with a dell machine  6.2.  What
worked finally was to move its keyboard to a different usb
port.  Try that and let us know if it works!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No SMB/Samba support on Windows Home Editions

2007-04-27 Thread L Goodwin

--- Derek Ragona [EMAIL PROTECTED]
wrote:
 At 03:49 PM 4/27/2007, L Goodwin wrote:
 I've been working feverishly to set up a Samba
 share on FreeBSD 6.2 server to provide file storage

 for clients running Windows XP Pro and Windows 
 Vista Home Premium.
 
 I just had a long talk with the ISP's tech support,
 and was told a number of things that I would like
 to confirm or deny:
 
 1) Windows Home editions (including XP and Vista)
 have support for SMB protocol disabled in Active
 Directory Domain Connections functionality!
 Is this true?
 
 Not exactly.  Home edition CANNOT log into a domain
 or active directory.
 If you need that functionality, upgrade to XP Pro.

I want to implement Samba in the way that best suits
this situation -- just don't know yet what that is.

Am trying to implement Samba incrementally. 
First priority is to get to the point where Windows
clients can mount the share (without authentication)
and read/write files to/from it.
Was planning to read up on things like access control
later, with the hope that I can utilize non-Windows.

 2) The only way to make Samba work for Windows Home
 editions is to change the Samba server's domain
 configuration to peer-to-peer.
 Is this true? If YES, how do I do that?
 Could not find reference it in the Official Samba-3
 HOW TO and Reference Guide.
 
 I've never done that so am no help.
 
 3) Other options discussed:
 
 1) Replace Vista Home with Windows XP Pro (or Vista
 Pro) or exchange computer for one with a Pro
 edition.
 
 Vista licenses can be downgraded to XP.  You need to
 check on which versions can be downgraded to XP Pro.

I was wondering about that. Good to know...

 2) Repartition the RAID 1 Mirror/Duplex as NTFS (or
 DOS) partitions (and don't use Samba)? Feedback and
 reference on a good how to appreciated.
 
 I assume you mean just setup a windows box.  You can
 do that, but your 
 hardware is so slow it won't perform well under
 windows.

It looks like I won't need to do that. We'll see once
I get the DHCP/hostname issue resolved on the FreeBSD
box. Just about everything that can go wrong has gone
wrong on this project. I always try to get the client
to see the advantage of subdividing big projects into
a series of smaller projects, but they rarely listen
(sigh)...

 3) Change FreeBSD server to a Windows server (ugh).
 
 Can anyone address these assertions and/or provide
 assistance in other ways to use FreeBSD as a
 fileserver for Windows Home (and Pro) clients?
 
 He also cited a recent InfoWorld survey in which
 30%
 of companies responding plan to never implement
 Vista,
 that they consider it an interim version that
 will
 be used as an excuse for dropping legacy support.
 
 No one I know is jumping to vista until service pack
 one ships.

Yeah. I recommended Windows XP Pro SP2, but they went
with Vista Home Premium anyway...


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


Re: No SMB/Samba support on Windows Home Editions

2007-04-27 Thread L Goodwin

--- Andrea Venturoli [EMAIL PROTECTED] wrote:
 L Goodwin wrote:
  I just had a long talk with the ISP's tech
  support, and was told a number of things that I
  would like to confirm or deny:
 
 I don't think you are that clear, but I'll try and
 answer anyway...
 
  1) Windows Home editions (including XP and
 Vista)
  have support for SMB protocol disabled in Active
  Directory Domain Connections functionality! 
  Is this true?
 
 Depends on what you mean.
 You can access Samba share from Win XP Home, but you
 cannot join a domain.
 I guess Vista Home should work the same, but I don't
 really know: there 
 might still compatibility issues in Samba, but we
 are a bit OT here; you 
 should ask on a Samba list.

Good suggestion, I'll do that once I resolve the issue
with DHCP client on FreeBSD vs. DHCP server on the
router (they can't agree on the hostname). I guess I
should just edit /etc/rc.conf and change hostname to
whatever I want, then do the same in the router. I'd
like to know why this happened, though...

  2) The only way to make Samba work for Windows
 Home
  editions is to change the Samba server's domain
  configuration to peer-to-peer. 
  Is this true? If YES, how do I do that?
  Could not find reference it in the Official
 Samba-3
  HOW TO and Reference Guide.
 
 AFAIK there is no such switch in Samba.
 A Samba server can be a PDC, a BDC, a domain member
 or a stand-alone server, but the concept of 
 peer-to-peer is quite out of scope.
 Besides I've succesfully connectectd many WinXP Home
 to a PDC/BDC, so I guess that setting is irrelevant.

I just found the chapter on Domain Control. I'll read
it and see how far that gets me.

  3) Other options discussed:
  
  1) Replace Vista Home with Windows XP Pro (or
 Vista
  Pro) or exchange computer for one with a Pro
  edition.
 
 Quite expensive. Might be worth or might be not.
 Either way it's not the solution for you; I fear
 your problems lies 
 somewhere else and you would still get them, unless
 what you are trying 
 to achieve is a central account/password management.
 If that is in fact the case, this is *the only*
 solution.

What I want is for the users not to have to do
anything special to get to their files on the server,
while at the same time, having a reasonable level of
security. 
Don't know enough about Samba configuration options to
know what I am aiming for yet.

  2) Repartition the RAID 1 Mirror/Duplex as NTFS
 (or
  DOS) partitions (and don't use Samba)?
 
 What has this to do with the rest?

The idea was if Samba won't work for Windows Home
editions, use a file system that does not require it.

  3) Change FreeBSD server to a Windows server
 (ugh).
 
 I dub your (ugh).
 Besides this is not gonna help, if what you want is
 a domain. Win Home 
 will still be unable to join it; it's just crippled
 like that.

Good, I'm glad for that. :-)


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around 
http://mail.yahoo.com 

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


Re: Thunderbird 2.0 dumps core on second file open op (workaround)

2007-04-27 Thread Howard Goldstein

Jan Henrik Sylvester wrote:

Michel Le Cocq wrote:
I think it's a global thunderbird 2 bug, because i have exactly the 
same trouble ona mac os 10.4 with a binary update.


I do not think it is exactly the same -- see below.


Howard Goldstein a écrit :

Jan Henrik Sylvester wrote:

Drew Sanford wrote:
  No, but I am seeing it core dump rather strangely. Each time it 
starts

  up, I can open a file dialog box to save an attachment or attach a
  file one time just fine. The second time I try to attach or save a
  file on any start up, it crashes.

BTW: Firefox 2.0.X does the same. Use Save Link As... a few times 
in a row (2 is usually sufficient) and have a core dump.


I had this happen with Firefox 2.0.X and Thunderbird 2.0.0 that I 
compiled myself as well as with this one (on 6.2-RELEASE): 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/www/firefox-2.0.0.3,1.tbz 



I guess someone should file a bug report...


Looks like the same problem at ports/105589, perhaps it needs to be 
reopened, seems to be the same problem.  Haven't tried the 
workaround. Not sure how to do that on someone else's gnats.  (cc to 
the gnats person who closed it)


After reading the discussion in the PR, I renamed libgnome-2.so.0 and 
tried again: no crashes with Firefox 2.0.3 or Thunderbird 2.0.0. I do 
run KDE -- I probably should compile Firefox and Thunderbird without the 
gnome dependencies to solve it for me.


I wish I'd googled for KDE along with this as the problem was apparently 
fixed once for KDE, although for some reason came back again now for 
some of us.  Here's a link to the very same bug along with a fix that 
was targeted only for KDE


http://lists.freebsd.org/pipermail/freebsd-gnome/2006-December/016299.html

Based on your find Jan it's fairly simple to workaround this in the 
2.0.0.0 Makefile by disabling gnomeui and gnomevfs linkages.  Here's my 
diff which also includes tiny cruft disabling ldap during the build 
since I can't build an LDAPable thunderbird2 on my system.


(before the diff, following up, reverting CFLAGS to -O -pipe and the 
default CPUTYPE didn't help, neither did installing gnome2)


*** mail/thunderbird/Makefile.orig  Fri Apr 27 18:00:27 2007
--- mail/thunderbird/Makefile   Fri Apr 27 19:15:58 2007
***
*** 17,23 
  COMMENT=  Mozilla Thunderbird is standalone mail and news that stands 
above
  
  CONFLICTS=lightning-0.[0-9]*
! WANT_GNOME=   yes
  ALL_TARGET=   default
  CONFIGURE_ENV=LOCALBASE=${LOCALBASE}
  HAS_CONFIGURE=yes
--- 17,25 
  COMMENT=  Mozilla Thunderbird is standalone mail and news that stands 
above
  
  CONFLICTS=lightning-0.[0-9]*
! #hgWANT_GNOME=yes
! WANT_GNOME=   no
! #hg
  ALL_TARGET=   default
  CONFIGURE_ENV=LOCALBASE=${LOCALBASE}
  HAS_CONFIGURE=yes
***
*** 31,36 
--- 33,41 
  MOZ_GRAPHICS= default,-xbm
  MOZ_OPTIONS=  --enable-single-profile --disable-profilesharing\
--enable-application=mail --enable-official-branding
+ #hg
+ MOZ_OPTIONS+= --disable-ldap  --disable-gnomeui --disable-gnomevfs
+ #hg
  MOZ_MK_OPTIONS=   MOZ_MOZ_THUNDERBIRD=1
  MOZ_EXPORT=   MOZ_THUNDERBIRD=1
  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: limited shell access

2007-04-27 Thread kalin mintchev
 hi all..

 is it possible to limit access for certain users only to a certain
 directory tree - other then his/her home directory?

so...  can i do that or not?



 for example joe logs into his home directory where there is a symbolic
 link to some other directory on the system but he can not go up a level
 (to /home or / ) or anywhere else but home and the directory under the
 symlink...

 i looked at the ssh and sshd confs but apparently nothing there...  still
 looking...

 thanks

 ___
 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: Suggestions for an antispam.

2007-04-27 Thread kalin mintchev
 Hi,
 I would want a suggestion for an antispam for my email.
 I use getmail-procmail-mutt in order to receive the mail.
 Thanks.

dspam.




 --
 Isaia Luciano
 FreeBSD user
 ___
 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: Backup media choices for FreeBSD servers

2007-04-27 Thread L Goodwin

--- Robert Huff [EMAIL PROTECTED] wrote:
 
 L Goodwin writes:
 
   The USB drive option is interesting. I know thumb
 drives are not
   considered a good long-term storage solution, but
 for daily
   backups, I could rotate a couple of 2GB+ USB
 drives (until data
   grows too large). 
 
 And if you've been retiring undersize IDE drives to
 a back room

Yes, I have a few of those, but I'm looking for an
offsite storage solution. Good idea, though!


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


Cursos - Maio 2007

2007-04-27 Thread Seminarios de licitacoes, contratos e pregao

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


Re: DHCP client configuration on FreeBSD

2007-04-27 Thread Beech Rintoul
On Friday 27 April 2007, L Goodwin said:
 When I ran the DHCP client configuration tool on
 FreeBSD 6.2, it added a new hostname variable to
 /etc/rc.conf below existing the hostname var (it did
 not remove or comment-out the old hostname variable).

 The NEW hostname includes the ISP's domain name:
   hostname=dhcppc0.ISP domain name here

 This hostname differs from the hostname listed in the
 router's DHCP table dhcpp0 (no domain name). It also
 shows unique IP addresses and MAC addresses for all
 hosts on the LAN.

 I can ping the IP address assigned to the FreeBSD
 system, but ping and net lookup fail when its hostname
 is specified (both with and without the domain name).

 Questions:
 1) Why did the hostname get changed (does not occur
 for Windows clients)?
 2) Why does the hostname in /etc/rc.conf contain the
 DNS domain name?

FreeBSD uses the FQDN (fully qualified domain name) as the hostname.

Example: hostname= yourmachine.yourdomain.com


 3) How do I resolve this problem?

Unless you provide your own DNS that resolves your internal network 
and supersede dhclient with your domain name,  DHCP will use the 
domain and DNS from your provider. Your windows boxes point to your 
isp's nameservers which have no records of your server or it's 
address. Therefore it can't resolve your machine's hostname. If you 
do provide your own internal name service you will also need to 
edit  /etc/dhclient.config (see man dhclient.conf), and point your 
windows boxes to your DNS instead of your isp's. You can use a 
fictitious domain name internally, just make sure that the domain 
doesn't actually exist on the net. You can also use the FreeBSD IP 
address as a domain name on your windows boxes to connect.

Running  bind requires a fairly steep learning curve, but there are 
simple nameservers in the ports tree that would probably better suit 
your needs.

Beech


 Thanks!

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



-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---



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


Re: Tagging email subject line with something like [fbsd-questions]

2007-04-27 Thread Darren Henderson

On Wed, 25 Apr 2007, Chad Perrin wrote:


I wasn't referring to a desire for instructions on how to use procmail.
I was hoping for some suggestion as to what to set up.  It's usually


This will put messages from the freebsd lists in folders by list name 
prepended with FBSD-


:0:
* ^Sender: owner-freebsd-\/[EMAIL PROTECTED]@FreeBSD.ORG
{
   LISTNAME=${MATCH}
   :0
   * LISTNAME??^\/[EMAIL PROTECTED]
   Mail/In/FBSD-${MATCH}
}


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


Is FreeBSD simple enough for Novices, Will FreeBSD accept Office 98 + Publisher?

2007-04-27 Thread james thompson
How difficult is FreeBSD to use in place of MS windows, say compared to 
Apple OSX?  I believe it may be able to run Offide 98; can Office 98 
with Publisher be ran on FreeBSD?  I want to use FreeBSD to compose 
articles, and combine them into a Book for publication, as a Home Office 
Operation by a person with little experience beyond windows.   In 1995, 
I took a MicroComputer Operating Systems course in Windows 3.11 and DOS 
6.22.   I have used Windows 95, 98, and XP Home  upgraded to Media Edition.

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


Azureus Build Error

2007-04-27 Thread Warren Liddell
Running FreeBSD 6.2-STABLE .. Azureus as always fials with the following (any 
ideas/suggestions welcomed)
---

===  Building for azureus-3.0.1.0
Buildfile: build.xml

init:
[mkdir] Created dir: /usr/ports/net-p2p/azureus/work/build

compile:
[javac] Compiling 2510 source files 
to /usr/ports/net-p2p/azureus/work/build

[javac] 
/usr/ports/net-p2p/azureus/work/org/gudy/azureus2/pluginsimpl/local/utils/resourcedownloader/ResourceDownloaderFactoryImpl.java:66:
 
cannot resolve symbol
[javac] symbol  : method toURI ()
[javac] location: class java.net.URL
[javac] return( new 
ResourceDownloaderFileImpl( null, new File( url.toURI(;
[javac] 
   
^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -deprecation for details.
[javac] 1 error

BUILD FAILED
/usr/ports/net-p2p/azureus/work/build.xml:22: Compile failed; see the compiler 
error output for details.

Total time: 1 minute 7 seconds
*** Error code 1

Stop in /usr/ports/net-p2p/azureus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Thunderbird 2.0 dumps core on second file open op (workaround)

2007-04-27 Thread Garrett Cooper

Howard Goldstein wrote:

Jan Henrik Sylvester wrote:

Michel Le Cocq wrote:
I think it's a global thunderbird 2 bug, because i have exactly the 
same trouble ona mac os 10.4 with a binary update.


I do not think it is exactly the same -- see below.


Howard Goldstein a écrit :

Jan Henrik Sylvester wrote:

Drew Sanford wrote:
  No, but I am seeing it core dump rather strangely. Each time it 
starts

  up, I can open a file dialog box to save an attachment or attach a
  file one time just fine. The second time I try to attach or save a
  file on any start up, it crashes.

BTW: Firefox 2.0.X does the same. Use Save Link As... a few times 
in a row (2 is usually sufficient) and have a core dump.


I had this happen with Firefox 2.0.X and Thunderbird 2.0.0 that I 
compiled myself as well as with this one (on 6.2-RELEASE): 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/www/firefox-2.0.0.3,1.tbz 



I guess someone should file a bug report...


Looks like the same problem at ports/105589, perhaps it needs to be 
reopened, seems to be the same problem.  Haven't tried the 
workaround. Not sure how to do that on someone else's gnats.  (cc to 
the gnats person who closed it)


After reading the discussion in the PR, I renamed libgnome-2.so.0 and 
tried again: no crashes with Firefox 2.0.3 or Thunderbird 2.0.0. I do 
run KDE -- I probably should compile Firefox and Thunderbird without 
the gnome dependencies to solve it for me.


I wish I'd googled for KDE along with this as the problem was apparently 
fixed once for KDE, although for some reason came back again now for 
some of us.  Here's a link to the very same bug along with a fix that 
was targeted only for KDE


http://lists.freebsd.org/pipermail/freebsd-gnome/2006-December/016299.html

Based on your find Jan it's fairly simple to workaround this in the 
2.0.0.0 Makefile by disabling gnomeui and gnomevfs linkages.  Here's my 
diff which also includes tiny cruft disabling ldap during the build 
since I can't build an LDAPable thunderbird2 on my system.


(before the diff, following up, reverting CFLAGS to -O -pipe and the 
default CPUTYPE didn't help, neither did installing gnome2)





*** mail/thunderbird/Makefile.orig  Fri Apr 27 18:00:27 2007
--- mail/thunderbird/Makefile   Fri Apr 27 19:15:58 2007
***
*** 17,23 
  COMMENT=  Mozilla Thunderbird is standalone mail and news that stands 
above
  
  CONFLICTS=	lightning-0.[0-9]*

! WANT_GNOME=   yes
  ALL_TARGET=   default
  CONFIGURE_ENV=LOCALBASE=${LOCALBASE}
  HAS_CONFIGURE=yes
--- 17,25 
  COMMENT=  Mozilla Thunderbird is standalone mail and news that stands 
above
  
  CONFLICTS=	lightning-0.[0-9]*

! #hgWANT_GNOME=yes
! WANT_GNOME=   no
! #hg
  ALL_TARGET=   default
  CONFIGURE_ENV=LOCALBASE=${LOCALBASE}
  HAS_CONFIGURE=yes
***
*** 31,36 
--- 33,41 
  MOZ_GRAPHICS= default,-xbm
  MOZ_OPTIONS=  --enable-single-profile --disable-profilesharing\
--enable-application=mail --enable-official-branding
+ #hg
+ MOZ_OPTIONS+= --disable-ldap  --disable-gnomeui --disable-gnomevfs
+ #hg
  MOZ_MK_OPTIONS=   MOZ_MOZ_THUNDERBIRD=1
  MOZ_EXPORT=   MOZ_THUNDERBIRD=1


Based on someone's comments about OSX though, there might be an issue 
with the underlying base system or kernel in FreeBSD 6.2 that 
Thunderbird 2 unearths, dealing with filesystem handling, threading, 
linking, or something along those lines (I know, that really doesn't 
narrow down the list). It should be a core component though because 
Thunderbird under OSX doesn't have any GTK or X11 support compiled in 
and is natively run under Aqua.


I'll look for the core dump sent previously, but if more people can 
contribute their core dumps this would help isolate the issue. The 
bigger (and compressed) the better, as long as you don't have sensitive 
data hanging around in the background. This might just help capture the 
problem at hand.


Hardware specs and CPUTYPE, as well as whether or not you're running a 
custom or generic kernel with what options would help as well. Please 
link off site if you can.


After that maybe we should all band together and submit a bug report.

Now let me see if I can reproduce it on my iBook :).

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


Re: PF NAt

2007-04-27 Thread Andrey V. Semyonov

/etc/pf.conf

exter_if = vr0

  ^^^

nat on $exter_if from $inter_if  to any - $exter_if

 ^
Now look at man page about nat/rdr rule syntax:

 nat-rule   = [ no ] nat [ pass ] [ on ifspec ] [ af ]
  [ protospec ] hosts [ tag string ] [ tagged 
string ]

  [ - ( redirhost | { redirhost-list } )
  [ portspec ] [ pooltype ] [ static-port ] ]


Grammar says, that after the - keyword there should be specified 
_host(s)_. So, if you want to use a macro, pointing to your interface 
_name_, there's a technique to translate it to it's primary or any 
aliased IP:


($macro)

Your line should look like this:

nat on $exter_if from $inter_if  to any - ($exter_if)

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


Re: limited shell access

2007-04-27 Thread Garrett Cooper

kalin mintchev wrote:

hi all..

is it possible to limit access for certain users only to a certain
directory tree - other then his/her home directory?


so...  can i do that or not?




for example joe logs into his home directory where there is a symbolic
link to some other directory on the system but he can not go up a level
(to /home or / ) or anywhere else but home and the directory under the
symlink...

i looked at the ssh and sshd confs but apparently nothing there...  still
looking...

thanks


Yes, things like this can be done, but it involves a) making jails, b) 
limiting (limit.conf(8)) accounts, and c) setting up proper permissions 
so the user can write to all of the required files in their directory 
(.profile, .ssh/, etc at least). A lot of work if you ask me ... :).


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