Re: fetchmail certificate verification messages

2010-07-04 Thread Marco Beishuizen

On Sun, 4 Jul 2010, Dan Nelson wrote:


Probably harmless, unless someone has forged a certificate chain using a
fake AddTrust External CA Root cert at the top.  Installing the
security/ca_root_nss port (make sure you enable the ETCSYMLINK option) will
probably silence it.


I installed ca_root_nss again (was already installed but without the 
ETCSYMLINK option), but these messages still appear in the logs. But when 
it's harmless I'll just leave it this way.


Thanks,

Marco

--
Basic Definitions of Science:
If it's green or wiggles, it's biology.
If it stinks, it's chemistry.
If it doesn't work, it's physics.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pxe LiveCD setup

2010-07-04 Thread Lowell Gilbert
Warren Block wbl...@wonkity.com writes:

 The only complaint I have so far is the speed of download via tftp.  A
 236M ISO took two minutes to load, or about 2M per second.  A full CD
 takes a long, long time.  Is that typical, or maybe just the poor
 Ethernet on this Aspire One D250?

The stock tftpd on FreeBSD doesn't support variant block sizes (or much
of anything else past RFC 1350).  You'll see better performance if you
go with something newer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Running a script after a device's been plugged

2010-07-04 Thread Lowell Gilbert
Samuel Martín Moro faus...@gmail.com writes:

 3) Last but not least, how to link a device once it's plugged in, and unlink
 it once it's unplugged?
 We're still providing 5.4 and 6.2 releases based versions. And I do not like
 hal.
 So I thought I could use /etc/devd.conf, with attach/detach directives, and
 their actions calling a script that would create/delete the links.
 Is there a cleaner way to do it? Would it be still usable in 8.x? (9.x?)

That's exactly what devd is for.  Go ahead and use it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Getting kernel trap 12 During Boot Of 8.1-PRERELEASE

2010-07-04 Thread Lowell Gilbert
Tim Daneliuk tun...@tundraware.com writes:

 I've seen this twice now - once last Sunday, and once again today
 when I tried to do a build/installworld/kernel with daily sources
 from the master tree:

   http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyothumb=4

That asked me to jump through too many hoops over multiple domains, so I
didn't actually see it.  I'll assume it's just more information on the
error in your subject line.

 The system boots fine single-user, so I don't suspect the base
 kernel functionality.

Maybe.  

What you should do is install the kernel *before* the userland.  If you
already did that, then make sure youtry with a GENERIC kernel.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Getting kernel trap 12 During Boot Of 8.1-PRERELEASE

2010-07-04 Thread Tim Daneliuk
On 7/4/2010 10:32 AM, Lowell Gilbert wrote:
 Tim Daneliuk tun...@tundraware.com writes:
 
 I've seen this twice now - once last Sunday, and once again today
 when I tried to do a build/installworld/kernel with daily sources
 from the master tree:

   http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyothumb=4
 
 That asked me to jump through too many hoops over multiple domains, so I
 didn't actually see it.  I'll assume it's just more information on the
 error in your subject line.

I'm not sure what you mean. It should take you to a screenshot of
the problem.  What does too many hoops mean in this context?

 
 The system boots fine single-user, so I don't suspect the base
 kernel functionality.
 
 Maybe.  
 
 What you should do is install the kernel *before* the userland.  If you
 already did that, then make sure youtry with a GENERIC kernel.

I did exactly that, though I did not try the GENERIC kernel.   My conf
looks like this:


include GENERIC

ident   MACHINENAME

options IPFIREWALL
options IPDIVERT

options VESA

# System console options

options SC_DISABLE_REBOOT   # disable reboot key sequence
options SC_HISTORY_SIZE=200 # number of history buffer lines
options SC_PIXEL_MODE   # add support for the raster text mode

# The following options will change the default colors of syscons.

options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)



Tim Daneliuk tun...@tundraware.com
PGP Key: http://www.tundraware.com/PGP/

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


Re: text to html

2010-07-04 Thread Polytropon
On Sat, 03 Jul 2010 19:10:54 +0200, Jozsi Avadkan jozsi.avad...@gmail.com 
wrote:
 my own solution: http://pastebin.com/raw.php?i=kqQXCpD5

Allow me a short comment:

Your first line

#!/bin/bash

will make it non-portable, and usually non-runnable on FreeBSD.
I know that bash is the default shell for scripting in Linux, and
it is located in /bin. But FreeBSD is not Linux. Here, bash is
an additional port, and /usr/local/bin would be the path where
the bash executable is placed (unless you use specific port
options).

Of course, if you want to run this script on Linux only - no
problem.

I'm not seeing any bash-specific (outside sh capabilites) stuff
here, so why not use the default #!/bin/sh shebang here? There
would be nothing wrong with conforming to the standard...



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


Re: pxe LiveCD setup

2010-07-04 Thread Warren Block

On Sun, 4 Jul 2010, Lowell Gilbert wrote:


The stock tftpd on FreeBSD doesn't support variant block sizes (or much
of anything else past RFC 1350).  You'll see better performance if you
go with something newer.


Spent some time experimenting.  tftp-hpa is faster, but setting the 
maximum block size was required to prevent errors.  Unexpectedly, 1024 
was fastest in my setup.


The problems can be on the other end, too: System Rescue's tftp client 
is not great--three minutes for 211M.  Clonezilla is much better, at 15 
seconds for 101M.


Linux systems with netboot can boot off http (using wget) and it's much 
better.  Twice as fast for the Clonezilla load, but System Rescue went 
from three minutes to only 18 seconds.

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


linux-nvu freezes upon startup

2010-07-04 Thread Jerry
FreeBSD 8.1-PRERELEASE / amd64

Using KDE (latest port version)

I have removed and reinstalled linux-nvu twice; however, it will not
run. It hangs with its start up screen after clicking on any available
option.

Using 'gdb' I got this info:

warning: no shared library support for this OS / ABI
/usr/local/lib/linux-nvu/nvu-bin: error while loading shared libraries: 
libmozjs.so: cannot open shared object file: No such file or directory

I did locate the library:

$ locate libmozjs.so
/usr/local/lib/firefox3/libmozjs.so
/usr/local/lib/firefox3/sdk/lib/libmozjs.so
/usr/local/lib/linux-nvu/libmozjs.so

Has anyone else experienced a similar problem or have a solution?


-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__

Last yeer I kudn't spel Engineer.  Now I are won.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Get access to csh (default freebsd shell) for root to solve login problem.

2010-07-04 Thread Luca Renaud
The root shell is now bash,but I was unaware that bash was not
self-contained(it depends at least of libintl.so.8),
and doing some upgrades with ports I erased libintl.so.8,now I cannot access
the root account because bash is
not operational and I need root access to install again libintl.so.8,or any
other way to solve the problem.
So,how can I get access to csh for root without having access to a root
shell(the previously defined bash does
not work,and I need root access to change the shell for the root acount).


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


Re: Get access to csh (default freebsd shell) for root to solve login problem.

2010-07-04 Thread Lowell Gilbert
Luca Renaud renaud.l...@gmail.com writes:

 The root shell is now bash,but I was unaware that bash was not
 self-contained(it depends at least of libintl.so.8),
 and doing some upgrades with ports I erased libintl.so.8,now I cannot access
 the root account because bash is
 not operational and I need root access to install again libintl.so.8,or any
 other way to solve the problem.
 So,how can I get access to csh for root without having access to a root
 shell(the previously defined bash does
 not work,and I need root access to change the shell for the root acount).

This will work:  just change the root shell instead of password.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Get access to csh (default freebsd shell) for root to solve login problem.

2010-07-04 Thread Thomas Keusch
On Sun, Jul 04, 2010 at 05:02:59PM +0100, Luca Renaud wrote:

Hi,

 The root shell is now bash,but I was unaware that bash was not
 self-contained(it depends at least of libintl.so.8),
 and doing some upgrades with ports I erased libintl.so.8,now I cannot access
 the root account because bash is
 not operational and I need root access to install again libintl.so.8,or any
 other way to solve the problem.
 So,how can I get access to csh for root without having access to a root
 shell(the previously defined bash does
 not work,and I need root access to change the shell for the root acount).

if you haven't activated the 'toor' account (another UID 0 account besides
root), you'll have to boot from fixit media (or another live cd / system) and
go from there.

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


Re: Getting kernel trap 12 During Boot Of 8.1-PRERELEASE

2010-07-04 Thread Lowell Gilbert
Tim Daneliuk tun...@tundraware.com writes:

 On 7/4/2010 10:32 AM, Lowell Gilbert wrote:
 Tim Daneliuk tun...@tundraware.com writes:
 
 I've seen this twice now - once last Sunday, and once again today
 when I tried to do a build/installworld/kernel with daily sources
 from the master tree:

   http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyothumb=4
 
 That asked me to jump through too many hoops over multiple domains, so I
 didn't actually see it.  I'll assume it's just more information on the
 error in your subject line.

 I'm not sure what you mean. It should take you to a screenshot of
 the problem.  What does too many hoops mean in this context?

I had clicked through a couple of click here to download picture
screens (each trying to push a pop-up) before I decided it looked too
much like malware.

 The system boots fine single-user, so I don't suspect the base
 kernel functionality.
 
 Maybe.  
 
 What you should do is install the kernel *before* the userland.  If you
 already did that, then make sure youtry with a GENERIC kernel.

 I did exactly that, though I did not try the GENERIC kernel.   My conf
 looks like this:


 include GENERIC

 ident   MACHINENAME

 options IPFIREWALL
 options IPDIVERT

 options VESA

 # System console options

 options SC_DISABLE_REBOOT   # disable reboot key sequence
 options SC_HISTORY_SIZE=200 # number of history buffer lines
 options SC_PIXEL_MODE   # add support for the raster text mode

 # The following options will change the default colors of syscons.

 options SC_NORM_ATTR=(FG_GREEN|BG_BLACK)
 options SC_NORM_REV_ATTR=(FG_YELLOW|BG_GREEN)
 options SC_KERNEL_CONS_ATTR=(FG_RED|BG_BLACK)
 options SC_KERNEL_CONS_REV_ATTR=(FG_BLACK|BG_RED)

None of those look interesting (by which I mean dangerous), but it's
still worth trying a GENERIC kernel.  Also, minimize the software
started at bootup in order to reduce the number of variables.

If it's still crashing at that point, go to the Handbook (or maybe it's
the Developers' Handbook?) for instructions on diagnosing crashes.  If
not, then re-enable the userland stuff gradually to find the culprit.

It also may be useful to look at the -STABLE mailing list, as at least
one crash problem has been solved recently.

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


Re: pxe LiveCD setup

2010-07-04 Thread Carl Chave
 Linux systems with netboot can boot off http (using wget) and it's much
 better.  Twice as fast for the Clonezilla load, but System Rescue went from
 three minutes to only 18 seconds.


Etherboot/gPXE is interesting also.  It will boot from http.  One of
my grub4dos menu entries is a gPXE floppy image with the generic UNDI
driver though I haven't really used it much.

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


Global backup solution for FBSD Ubuntu

2010-07-04 Thread bsd
Hello, 

I am trying to build a global backup solution for couple of strategic servers 
(7) based on two operating systems : 

- FreeBSD (6 - 7 // soon 7 - 8)
- Ubuntu 8.04 LTS

These servers are hosting some strategic components mainly related to DNS 
infrastructure and databases. 


For the moment I am backing up these server using network based backup 
solution: 

- A duplicity based solution which backs up key directories in my 
infrastructure on a remote FTP server provided by my hosting company. 
- A dump of some key components which I am doing on regular basis for FreeBSD 
servers. 
- Duplicity is also used for the Ubuntu servers. 
- Databases are replicated live on a remote server using slony for the most 
strategic ones (Postgres DB) and using mysql dump export for MySQL.


• I am not a 100% sure these solutions will allow me to restart rapidly from a 
crash, specially for Ubuntu servers. 
• I would like to know which solution(s) you have deployed at what cost for 
what results ? 

I am actually considering couple of different solutions 

- SAIT solution and backula. 
- Disk based solution (maybe also with backula). 
… 


I have couple of servers that will reach their end of life that could be 
recycled as backup solution at a very convenient price… 


Thanks for you help. 


Gregober --- PGP ID -- 0x1BA3C2FD
bsd @at@ todoo.biz




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


Re: Global backup solution for FBSD Ubuntu

2010-07-04 Thread Tim Daneliuk

On 07/04/10 16:43, bsd wrote:

Hello,

I am trying to build a global backup solution for couple of strategic servers 
(7) based on two operating systems :

- FreeBSD (6 - 7 // soon 7 - 8)
- Ubuntu 8.04 LTS

These servers are hosting some strategic components mainly related to DNS 
infrastructure and databases.


For the moment I am backing up these server using network based backup solution:

- A duplicity based solution which backs up key directories in my 
infrastructure on a remote FTP server provided by my hosting company.
- A dump of some key components which I am doing on regular basis for FreeBSD 
servers.
- Duplicity is also used for the Ubuntu servers.
- Databases are replicated live on a remote server using slony for the most 
strategic ones (Postgres DB) and using mysql dump export for MySQL.


• I am not a 100% sure these solutions will allow me to restart rapidly from a 
crash, specially for Ubuntu servers.
• I would like to know which solution(s) you have deployed at what cost for 
what results ?

I am actually considering couple of different solutions

- SAIT solution and backula.
- Disk based solution (maybe also with backula).
…


I have couple of servers that will reach their end of life that could be 
recycled as backup solution at a very convenient price…

   


I wrote a simple shell-based solution for this problem some time ago.  
It (and FreeBSD

instructions) can be found:

   http://www.tundraware.com/Software/tbku/


I am able to recover a production server (DNS, dhcp, http, sendmail, 
etc...) in under

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


Re: /var/log/messages empty since June 26 :-/

2010-07-04 Thread Gilles
On Fri, 02 Jul 2010 21:41:31 +0800, Fbsd8 fb...@a1poweruser.com
wrote:
Based on the dates of the messages logs looks like not much is being
logged for a whole year at a time. So what you are seeing is normal.

Thanks for the tip. I'll see how it goes in the next few days.

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


Re: Get access to csh (default freebsd shell) for root to solve login problem.

2010-07-04 Thread Subhro Kar
On 04-Jul-2010, at 9:48 PM, Thomas Keusch wrote:

 On Sun, Jul 04, 2010 at 05:02:59PM +0100, Luca Renaud wrote:
 
 Hi,
 
 The root shell is now bash,but I was unaware that bash was not
 self-contained(it depends at least of libintl.so.8),
 and doing some upgrades with ports I erased libintl.so.8,now I cannot access
 the root account because bash is
 not operational and I need root access to install again libintl.so.8,or any
 other way to solve the problem.
 So,how can I get access to csh for root without having access to a root
 shell(the previously defined bash does
 not work,and I need root access to change the shell for the root acount).
 
 if you haven't activated the 'toor' account (another UID 0 account besides
 root), you'll have to boot from fixit media (or another live cd / system) and
 go from there.

I think that would be an overkill. From the su(1) manpage, 

 -m  Leave the environment unmodified.  The invoked shell is your
 login shell, and no directory changes are made.  As a security
 precaution, if the target user's shell is a non-standard shell
 (as defined by getusershell(3)) and the caller's real uid is non-
 zero, su will fail.


So, you could use su -m to switch to root and remain in the same shell as your 
user calling su. Once there, AFAIK, you could use vipw(8) or chsh(1) to change 
the root shell back to csh.

Thanks
Subhro

--
Subhro Kar

Blog: http://80386.org
Twitter: http://twitter.com/subhrokar
FaceBook: http://www.facebook.com/subhrokar

Re: pxe LiveCD setup

2010-07-04 Thread Warren Block

On Sun, 4 Jul 2010, Carl Chave wrote:


Etherboot/gPXE is interesting also.  It will boot from http.  One of
my grub4dos menu entries is a gPXE floppy image with the generic UNDI
driver though I haven't really used it much.

http://www.etherboot.org/wiki/start


I tried it last night, although it and apparently most other things hate 
the alc0 interface.


Eventually it seemed like an NFS server would be useful, and pxeboot 
will start a FreeBSD livefs.  But only directly, entering FreeBSD's 
pxeboot as the filename in DHCP.


With grub4dos
  title FreeBSD
  pxe keep
  chainloader --raw (pd)/images/freebsd/boot/pxeboot

it loads pxeboot, but then:

netboot: couldn't probe pxenet0
pxe_open: netif_open() failed
...
can't load 'kernel'
OK

So it loads pxeboot, but then pxeboot can't use the pxenet0 device.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pxe LiveCD setup

2010-07-04 Thread Carl Chave
 With grub4dos
  title FreeBSD
  pxe keep
  chainloader --raw (pd)/images/freebsd/boot/pxeboot

 it loads pxeboot, but then:

 netboot: couldn't probe pxenet0
 pxe_open: netif_open() failed
 ...
 can't load 'kernel'
 OK

 So it loads pxeboot, but then pxeboot can't use the pxenet0 device.


Your goal in the pxeboot/nfs/livefs was to avoid having to transfer
the large livefs iso?  I won't be much help solving your problem
above, just curious where you're going with your setup.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pxe LiveCD setup

2010-07-04 Thread Warren Block

On Mon, 5 Jul 2010, Carl Chave wrote:


So it loads pxeboot, but then pxeboot can't use the pxenet0 device.


Your goal in the pxeboot/nfs/livefs was to avoid having to transfer
the large livefs iso?  I won't be much help solving your problem
above, just curious where you're going with your setup.


Well, yes, the transfer and also I have more than a few systems with 
limited memory.


gpxelinux.0 works fine with FreeBSD's pxeboot, I discovered.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org