fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Anton Shterenlikht
I'm running sendmail, and using fetchmail to fetch
my mail from the university IMAP server.

I sometimes see fetchmail complain:

fetchmail: SMTP error: 553 5.1.8 ad...@system.mail... Domain of sender 
address ad...@system.mail does not exist

And this is doubled in /var/log/maillog:

sm-mta[14642]: r270BO3L014642: ruleset=check_mail, arg1=ad...@system.mail, 
relay=localhost [127.0.
0.1], reject=553 5.1.8 ad...@system.mail... Domain of sender address 
ad...@system.mail does not exist

How do I set fetchmail and sendmail to fetch
such emails?

Thanks

Anton

___
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


process eating up all memory - what should happen next?

2013-03-07 Thread Anton Shterenlikht
I have a process that eats up al memory,
in my case science/paraview if I try to
analyse a large model. What should FreeBSD
do when a process tries to use all RAM or more?

I my case I get a complete freeze, can't even
login from the console, and requiring a cold
reboot. I guess this is not supposed to happen,
but what is supposed to happen in situations like this?

This is on ia64, so it might be something to
do with instability there.

Thanks

Anton
___
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: process eating up all memory - what should happen next?

2013-03-07 Thread Polytropon
On Thu, 7 Mar 2013 10:01:03 GMT, Anton Shterenlikht wrote:
 I have a process that eats up al memory,
 in my case science/paraview if I try to
 analyse a large model. What should FreeBSD
 do when a process tries to use all RAM or more?

In this case, the swap space would be used, until the
system runs out of swap space.



 I my case I get a complete freeze, can't even
 login from the console, and requiring a cold
 reboot. I guess this is not supposed to happen,
 but what is supposed to happen in situations like this?

A normal reboot (including a proper shutdown) should
at least be possible. If the machine seems to freeze
entirely, this simply looks wrong, so maybe it's more
than just eating all the RAM?

You could try to impose a resource limit, see man limits
for details, so you could trigger the undesired behaviour
while e. g. only 50% of the available RAM is being used
by _that_ process (and therefor still leaving enough
resources for other system and user processes). You could
also monitor resource consumption with tools like top,
htop, vmstat or systat in adjacent xterms while you run
the test, seeing trouble pile up...



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


Raspberry Pi

2013-03-07 Thread Nick Pettefar
Hi, where can I download the Raspberry Pi version please?

Regards,

Nick Pettefar
___
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: Raspberry Pi

2013-03-07 Thread Polytropon
On Thu, 7 Mar 2013 10:34:37 +, Nick Pettefar wrote:
 Hi, where can I download the Raspberry Pi version please?

I think you'll need the arm version of FreeBSD.
Check those links for more information:

http://www.raspberrypi.org/archives/3094

http://www.freebsdarm.org/

http://www.freebsd.org/platforms/arm.html

https://wiki.freebsd.org/WhatsNew/FreeBSD10#Overall_system_.2F_architectural_changes

http://people.freebsd.org/~dmarion/beaglebone/creating_bootable_sd_card/

http://www.raspberrypi.org/phpBB3/viewtopic.php?f=85t=30148

You can obtain more references by employing a google search. :-)



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


Reccording from a webcam

2013-03-07 Thread Olivier Nicole
Hi,

I have a machine running FreeBSD 6.4. I can hardly upgrade it because
it is more or less an embeded system.

Until recently I was reccording video through a video graber card
(brooktree I think), with mencoder, but the card died.

The easiest way would be to use a USB camera; I plugged one in and it
came as /dev/ugen0.

When I try to use mplayer, it tells me that the driver v4l2 does not
exist, nor v4l.

Current version of mplayer/mencoder is 1.0rc2-3.4.6, I tried to
compile the latest version, but I have issue with the Makefile in the
ports.

So the question is, what else could I use to record a video (command
line).

Best regards,

Olivier
___
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: process eating up all memory - what should happen next?

2013-03-07 Thread Nikos Vassiliadis

On 7/3/2013 12:17 μμ, Polytropon wrote:

On Thu, 7 Mar 2013 10:01:03 GMT, Anton Shterenlikht wrote:

I have a process that eats up al memory,
in my case science/paraview if I try to
analyse a large model. What should FreeBSD
do when a process tries to use all RAM or more?


In this case, the swap space would be used, until the
system runs out of swap space.




I my case I get a complete freeze, can't even
login from the console, and requiring a cold
reboot. I guess this is not supposed to happen,
but what is supposed to happen in situations like this?


A normal reboot (including a proper shutdown) should
at least be possible. If the machine seems to freeze
entirely, this simply looks wrong, so maybe it's more
than just eating all the RAM?

You could try to impose a resource limit, see man limits
for details, so you could trigger the undesired behaviour
while e. g. only 50% of the available RAM is being used
by _that_ process (and therefor still leaving enough
resources for other system and user processes). You could
also monitor resource consumption with tools like top,
htop, vmstat or systat in adjacent xterms while you run
the test, seeing trouble pile up...





I think Anton is interested in the system's behavior when there
is no enforced limit. Processes tend to be killed quite quickly
when there is no on-disk swap backing.


root@awethu:/root # swapinfo
Device  1K-blocks UsedAvail Capacity
root@awethu:/root # nice python -c 'a = [f for f in range(8000)]'
Killed


When on-disk swap backing exists and multiple processes are competing
for memory things are are not that straightforward. I think you hit
a bug on ia64. Could you test the behavior using the above program
and report back?

I would run top in one terminal(so i can monitor and kill the program)
and I would use a second terminal to run the program using increasingly
larger values. Also, I wouldn't try that under X, at least i would test
first without X...

HTH, Nikos

___
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

gjournal for hosting server

2013-03-07 Thread Artem Kuchin

Hello!

I am setting up a new hosting server which will host about 100 sites and 
mysql databases for them.


I've read about gjournal and as i see the following benefits:

1) NO fsck after crash
2) 2x speed for small files writes
3) Some extra speed for small files reads (why???)

The web servers are mostly serving tons of small files and do tons of 
small writes.

I thinks the all in all with gjournal the fs speed should be higher.

Any thoughts?

Artem
___
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: FBSD 9.1.0 - make buildworld running for 1.5 hours???

2013-03-07 Thread George Kontostanos
On Sat, Mar 2, 2013 at 12:38 AM, Sergio de Almeida Lenzi
lenzi.ser...@gmail.com wrote:
 Em Sex, 2013-03-01 às 12:29 -0600, Paul Schmehl escreveu:

 I'm running make buildworld on a quad processor quad core box with 16GB of
 ram, and it's been running already for more than an hour and a half.  Has
 world really gotten that huge?  Good lord!  Good thing we have
 freebsd-update!


 Perhaps you did not use the -j option on the make buildworld...


 env NOCLEAN=yes DESTDIR= make -j 4 buildworld

 without the -j option it runs on only one processor and can take up to 5
 hours...



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

You can easily go to -j16 if the box is not doing anything else. What
are your current load averages?

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


Re: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Polytropon
On Thu, 7 Mar 2013 09:40:47 GMT, Anton Shterenlikht wrote:
 How do I set fetchmail and sendmail to fetch
 such emails?

Maybe it helps if you add the options fetchall flush to
your .fetchmailrc configuration file? I've had a similar
problem some years ago and I think this was the solution.
See man fetchmail for the corresponding command line
options (and you could probably add -v to see what's
actually going on).



-- 
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: Booting from an aribrary disk in ZFS RAIDZ on 8.x

2013-03-07 Thread Doug Poland
On Thu, Mar 07, 2013 at 03:11:29PM +1030, Shane Ambler wrote:
 On 06/03/2013 14:54, Doug Poland wrote:
 On Wed, Mar 06, 2013 at 01:26:07PM +1030, Shane Ambler wrote:
 On 06/03/2013 05:14, Doug Poland wrote:
 
 I have 6 disks in a RAIDZ configuration.  All disks were sliced the
 same with gpart (da(n)p1,p2,p3) with bootcode written to index 1,
 swap on index 2 and freebsd-zfs on index 3.
 
 Given this configuration, I should be able to boot from any of the
 6 disks in the RAIDZ.  If this is a true statement, how do I make
 that happen from the loader prompt?
 
 You don't boot from an individual disk you boot from a zpool - all
 disks are linked together making one zpool disk.
 
 Something has to pick a physical device from which to boot, does it
 not?.  All the HP Smart Array 6i controller knows is I have 6 RAID 0
 disks to present to the OS.
 
 I meant to add if the bootcode is installed on each disk then pointing
 the bios to any individual disk as the primary boot device will lead
 to the boot process loading the zpool. Installing it on each disk
 gives the redundancy to match the raid in the zpool. If you only have
 one disk with bootcode and it is the one that needs replacing then you
 can't boot. Then having 100 disks in a pool with bootcode would be
 overkill, but the consistency may be easier to maintain.
 
So in my case, the HP SmartArray doesn't allow me to choose an
individual boot disk.  So it's up to the controller to keep trying to
boot from the next configured disk.  I believe I'm going to craft a
test to prove this out.

 I've had issues with this RAID controller in the past where it won't
 present the new disk to the OS.  I've had to reboot, go into the
 RAID config and tell it it's a single RAID 0 device (stupid, I
 know).
 
 When you think about it, as a raid controller it shouldn't make
 assumptions as to how to use the new disk, should it add it to an
 existing raid set, replace a missing drive or show it as a new single
 drive? Being able to specify per socket as permanently jbod could be
 useful feature though.
 
One would think.  I've been testing this on a similarly configured
machine and the controller eventually presents a new drive to the OS.
It takes a couple of minutes, but appears to work on this test box.

 The roll of /boot/zfs/zpool.cache is a mystery to me.  I belive it
 somehow tells ZFS what devices are in use.  What if a disk goes
 offline or is removed?
 
 
 As I understand it the zpool.cache contains the zpools mounted by the
 system. After reboot it then re-imports each zpool in the cache. I
 believe a recent commit enabled the vfs.root.mountfrom zpool to be
 imported even if there was no cache available.
 
 From what I have heard and seen the data about the zpool it belongs to
 and the role the disk plays in the zpool is stored on each disk and
 duplicated at the beginning and end of the disk. In my early
 experiments after starting clean even after gparting and zeroing out
 the start of the disks, zpool still says it belongs to a pool.
 
If that's the case, I wonder about the wisdom of re-using a drive from
my test configuration?  My plan has been to prove this out on test and
use the same disk from test and insert it into production.  One would
think ZFS is smart enough to recognize a different drive has been
inserted, even if it has the same gpart structure and came from a pool
with the same name.

Thanks for your help.

-- 
Regards,
Doug
___
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


no 9.1-release packages?

2013-03-07 Thread Ruben de Groot

Hi,

I just rented a 9.1-release VPS and was trying to install some packages.
This however does not work as there is no directory packages-9.1-release on 
the ftp server (ftp.freebsd.org). Why is this?

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64
ftp ls
229 Entering Extended Passive Mode (|||40379|).
150 Here comes the directory listing.
lrwxrwxrwx1 633  49315 Apr 19  2007 packages - 
packages-stable
drwxrwxr-x   95 967  100  2048 Jul 17  2012 packages-10-current
drwxrwxr-x   95 967  100  2048 Oct 07 08:18 packages-7-stable
drwxrwxr-x   95 967  100  2048 Oct 11 16:19 packages-8-stable
drwxrwxr-x   95 967  100  2048 Feb 10  2011 packages-8.2-release
drwxrwxr-x   95 967  100  2048 Mar 28  2012 packages-8.3-release
lrwxr-xr-x1 967  10017 Dec 09  2011 packages-9-current - 
packages-9-stable
drwxrwxr-x   95 967  100  2048 Oct 16 21:26 packages-9-stable
drwxrwxr-x   95 967  100  2048 Dec 29  2011 packages-9.0-release
lrwxr-xr-x1 967  10019 Dec 03  2011 packages-current - 
packages-10-current
lrwxr-xr-x1 967  10017 Nov 07  2011 packages-stable - 
packages-9-stable
ftp

--
Ruben

___
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: no 9.1-release packages?

2013-03-07 Thread Johan Hendriks

Ruben de Groot schreef:

Hi,

I just rented a 9.1-release VPS and was trying to install some packages.
This however does not work as there is no directory packages-9.1-release on 
the ftp server (ftp.freebsd.org). Why is this?

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64
ftp ls
229 Entering Extended Passive Mode (|||40379|).
150 Here comes the directory listing.
lrwxrwxrwx1 633  49315 Apr 19  2007 packages - 
packages-stable
drwxrwxr-x   95 967  100  2048 Jul 17  2012 packages-10-current
drwxrwxr-x   95 967  100  2048 Oct 07 08:18 packages-7-stable
drwxrwxr-x   95 967  100  2048 Oct 11 16:19 packages-8-stable
drwxrwxr-x   95 967  100  2048 Feb 10  2011 packages-8.2-release
drwxrwxr-x   95 967  100  2048 Mar 28  2012 packages-8.3-release
lrwxr-xr-x1 967  10017 Dec 09  2011 packages-9-current - 
packages-9-stable
drwxrwxr-x   95 967  100  2048 Oct 16 21:26 packages-9-stable
drwxrwxr-x   95 967  100  2048 Dec 29  2011 packages-9.0-release
lrwxr-xr-x1 967  10019 Dec 03  2011 packages-current - 
packages-10-current
lrwxr-xr-x1 967  10017 Nov 07  2011 packages-stable - 
packages-9-stable
ftp

--
Ruben

___
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


There was a security issue and therefor there are no packages for 9.1


Due to the security incident reported here:

http://www.FreeBSD.org/news/2012-compromise.html

only the small third-party package set on the DVD image is available at 
this time for users who require pre-built packages (just GNOME and KDE 
windowing systems). The FreeBSD Project's package building 
infrastructure is undergoing a complete review and redesign. At this 
time we can not commit to a date the full release package set will 
become available. A separate announcement will be made when that becomes 
available. If you wish to install 9.1-RELEASE now you can build your own 
packages using portsnap(8) to obtain an up to date ports tree and then 
build the packages. If you require pre-built packages you should wait 
for the announcement of the full release package set becoming available.


FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several 
vendors. One of the vendors that will be offering FreeBSD 9.1-based 
products is:



regards
Johan


___
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: building crunchgen fails

2013-03-07 Thread Rick Miller
Hi All,

In the thread below, my custom boot_crunch.conf works in releng/8, but
fails in stable/8.  Here is the failure message:

cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo
ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo
fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo
tunefs.lo kenv.lo sysctl.lo mdmfs.lo mdconfig.lo mount.lo dmesg.lo
fdisk.lo bsdlabel.lo uname.lo cpio.lo find.lo minigzip.lo sed.lo
awk.lo fetch.lo arp.lo sysinstall.lo usbconfig.lo grep.lo -ll -ledit
-lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -lcam
-lsbuf -lutil -ldisk -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive
-lbz2 -lusb -lgnuregex -llzma -lssl -lcrypto -ljail -lm
camcontrol.lo(.text+0x13fe): In function `mode_list':
: undefined reference to `mode_sense'
camcontrol.lo(.text+0x1e93): In function `mode_edit':
: undefined reference to `mode_sense'
camcontrol.lo(.text+0x1ee7): In function `mode_edit':
: undefined reference to `mode_sense'
camcontrol.lo(.text+0x1f6a): In function `mode_edit':
: undefined reference to `mode_sense'
camcontrol.lo(.text+0x209e): In function `mode_edit':
: undefined reference to `mode_sense'
camcontrol.lo(.text+0x2118): In function `mode_edit':
: undefined reference to `mode_select'
*** Error code 1

Stop in /usr/obj/usr/src/release/boot_crunch.
*** Error code 1

Stop in /usr/src/release.
+ umount /dev
*** Error code 1

Stop in /usr/src/release.

I attempted my custom boot_crunch.conf as well as the default.  Both
fail with the same error.  My custom boot_crunch.conf is @
http://pastebin.com/jfcJKb08

Note the special line included as Devin recommends the thread below.

mode_sense and mode_select appear to be defined (but I am far from
proficient with C to declare with any authority what the problem might
be.  I'm hoping someone could help me understand and correct the
problem.

On Wed, Jan 23, 2013 at 11:01 AM, Devin Teske devin.te...@fisglobal.com wrote:

 On Jan 23, 2013, at 7:22 AM, Rick Miller wrote:

 Hi All,

 When executing crunchgen -o boot_crunch.conf  make -f boot_crunch.mk
 I get the following error:

 cc -static -o boot_crunch boot_crunch.o hostname.lo pwd.lo rm.lo sh.lo
 ls.lo test.lo cat.lo df.lo sleep.lo camcontrol.lo dhclient.lo
 fsck_ffs.lo ifconfig.lo mount_nfs.lo newfs.lo route.lo rtsol.lo
 tunefs.lo kenv.lo sysctl.lo mdmfs.lo dmesg.lo fdisk.lo bsdlabel.lo
 uname.lo cpio.lo find.lo minigzip.lo sed.lo awk.lo fetch.lo arp.lo
 sysinstall.lo usbconfig.lo grep.lo -lcam -lsbuf -lutil -ll -ledit
 -lfetch -lmd -lcrypt -lftpio -lz -lnetgraph -ldialog -lncurses -ldisk
 -lufs -ldevinfo -lkvm -lgeom -lbsdxml -larchive -lbz2 -lusb -lgnuregex
 -llzma -lssl -lcrypto -ljail -lm
 camcontrol.lo(.text+0x730b): In function `main':
 : undefined reference to `mode_edit'
 camcontrol.lo(.text+0x73fa): In function `main':
 : undefined reference to `mode_list'
 *** Error code 1

 Stop in /tmp/crunchtmp.

 I understand that there may need to be some shuffling of the libraries
 in the boot_crunch.conf, but I've done that to no avail.  Wondering if
 anyone else may be able to shed some light on this...

 The boot_crunch.conf can be viewed at http://pastebin.com/ZwVPQn3h


 According to the Makefile, if RELEASE_CRUNCH is defined, then modeedit.o 
 object is omitted (causing your undefined references).

 I perceive the long-term real solution would be to patch camcontrol.c (and 
 pedantically camcontrol.h) to not use mode_edit()/mode_list() when 
 RELEASE_CRUNCH is defined.

 However, you should be able to get through your problem by adjusting your 
 boot_crunch.conf slightly:

 Try http://pastebin.com/Ge6UCZEZ

 The difference being:

 --- boot_crunch.conf.orig   2013-01-03 16:29:20.0 -0800
 +++ boot_crunch.conf2013-01-03 16:29:13.0 -0800
 @@ -17,6 +17,7 @@

  srcdirs /usr/src/sbin
  progs camcontrol
 +special camcontrol objs camcontrol.o modeedit.o util.o
  progs dhclient
  progs fsck_ffs
  progs ifconfig

 --
 Devin

 _
 The information contained in this message is proprietary and/or confidential. 
 If you are not the intended recipient, please: (i) delete the message and all 
 copies; (ii) do not disclose, distribute or use the message in any manner; 
 and (iii) notify the sender immediately. In addition, please be aware that 
 any message addressed to our domain is subject to archiving and review by 
 persons other than the intended recipient. Thank you.



-- 
Take care
Rick Miller
___
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: Zlib version in FreeBSD - 3 releases behind?

2013-03-07 Thread Kris Sridhar
Gentlemen,

The library (/lib/libz.so.6) in FreeBSD 9.1R does seem to have Zlib 1.2.4 based 
on the complaints from the following at least:

libarchive.so.*
libssh.so.*
grep
gzip

I've provided objdump -p output from my machine:

fBSD9# objdump -p libz.so.6

libz.so.6: file format elf32-i386-freebsd

Program Header:
LOAD off0x vaddr 0x paddr 0x align 2**12
 filesz 0x000124c4 memsz 0x000124c4 flags r-x
LOAD off0x000124c4 vaddr 0x000134c4 paddr 0x000134c4 align 2**12
 filesz 0x02e0 memsz 0x02e4 flags rw-
 DYNAMIC off0x00012588 vaddr 0x00013588 paddr 0x00013588 align 2**2
 filesz 0x00d8 memsz 0x00d8 flags rw-
   STACK off0x vaddr 0x paddr 0x align 2**2
 filesz 0x memsz 0x flags rw-

Dynamic Section:
  NEEDED  libc.so.7
  SONAME  libz.so.6
  INIT0x13f0
  FINI0xe1b4
  HASH0xb4
  STRTAB  0xaec
  SYMTAB  0x3fc
  STRSZ   0x49f
  SYMENT  0x10
  PLTGOT  0x1367c
  PLTRELSZ0x1b0
  PLTREL  0x11
  JMPREL  0x1240
  REL 0x1130
  RELSZ   0x110
  RELENT  0x8
  VERDEF  0x106c
  VERDEFNUM   0x5
  VERNEED 0x1110
  VERNEEDNUM  0x1
  VERSYM  0xf8c
  RELCOUNT0x1e

Version definitions:
1 0x01 0x09d5f4e6 libz.so.6
2 0x00 0x07e5cf30 ZLIB_1.2.4.0
3 0x00 0x053ecdd0 ZLIBprivate_1.0
ZLIB_1.2.4.0 
4 0x00 0x07e5c230 ZLIB_1.2.7.0
ZLIB_1.2.4.0 
5 0x00 0x077a28b2 FBSD_1.2
ZLIB_1.2.4.0 

Version References:
  required from libc.so.7:
0x077a28b0 0x00 06 FBSD_1.0

fBSD9# uname -r
9.1-RELEASE


If Zlib 1.2.7 were installed independently from tar.gz downloaded from zlib.net 
site, it produces,
/usr/local/lib/libz.so.1.2.7 which is different from /lib/libz.so.6 of course.
But this installs a /usr/local/include/zlib.h that is identical to 
/usr/src/lib/libz/zlib.h as well as /usr/include/zlib.h

The complaint mentioned before from dependent objects like libarchive that the 
/lib/libz.so.6 containing ZLIB_1_2_4 is missing results if one removes 
/lib/libz.so.6 and replaces with a symlink to the new version like:
/lib/libz.so.6 -- /usr/local/lib/libz.so.1.2.7

Given the version definitions from the objdump -p of the original 
/lib/libz.so.6 that was installed as part of a fresh, clean install of FreeBSD 
9.1R, as provided above, any thoughts on the Zlib version  actually baked into 
the release please?

Thanks.
Kris


On Mar 6, 2013, at 5:27 PM, Giorgos Keramidas keram...@freebsd.org wrote:

 On 2013-03-06 08:06, Arthur Chance free...@qeng-ho.org wrote:
 On 03/05/13 16:12, Giorgos Keramidas wrote:
 On 2013-03-04 07:28, KrisUniverse kris.unive...@gmail.com wrote:
 The Zlib baked into FreeBSD is Zlib 1.2.4 even on 9.1R.
 
 However, Zlib has gone to 1.2.7 sometime ago after stepping through
 1.2.5, 1.2.6 and 1.2.7 with bug fixes.
 
 Is there any reason for not using Zlib 1.2.7?
 
 I don't have a 9.1-RELEASE system nearby, but I think zlib 1.2.7 _should_
 already be there...  Are you sure it's still an old version?
 
 On my machine:
 
 # uname -r
 9.1-RELEASE
 
 [It's actually -p1 but I've not bothered replacing the kernel as the
 problems were in user space.]
 
 # grep 'define ZLIB_VERSION' /usr/src/lib/libz/zlib.h
 #define ZLIB_VERSION 1.2.7
 
 That's what I'd expect.  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


How to mount enhanced-CD on 9.1R?

2013-03-07 Thread Zahemszky Gábor
Hi!

I think I've found a regression on 9.1R. I used to mount
some of Oxford University Press's New English File CD-ROM
on 9.0. These CD-s are actually enhanced CDs with some
audio tracks, and a data track at the end. Actually, I cannot mount
them on 9.1. Neither on Amd64 nor on i386. Neither with a SCSI
DVD-drive, nor with ATAPI drives. On 9.0, I need only to
'mount -r -t cd9660 /dev/cd0 /mnt' - on 9.1 it doesn't work. And doesn't
work with the -s option of mount_cdrom - I can get the start of the
data track with either cdcontrol info or with cdda2wav -info-only. They
give me the same nubmber as the sector number of the data track, but
mount_cdrom doesn't work with it.

Actually, I've sent bug report about it, but there weren't any reaction:

http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/176262

Nye,

Gábor

-- 
#!/bin/ksh
#
# See my GPG key at http://www.Zahemszky.HU
#
Z='21N16I25C25E30, 40M30E33E25T15U!';
IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';
set -- $Z;for i;{ [[ $i = ? ]]print $ibreak;
[[ $i = ??? ]]j=$ii=${i%?};
typeset -i40 i=8#$i;print -n ${i#???};
[[ $j = ??? ]]print -n ${j#??} j=;typeset +i i;};
IFS=' 0123456789 ';set -- $Z;for i;{ [[ $i = , ]]i=2;
[[ $i = ?? ]]||typeset -l i;j=$j $i;typeset +l i;};print $j
___
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: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Chad Perrin
On Thu, Mar 07, 2013 at 09:40:47AM +, Anton Shterenlikht wrote:
 I'm running sendmail, and using fetchmail to fetch
 my mail from the university IMAP server.
 
 I sometimes see fetchmail complain:
 
 fetchmail: SMTP error: 553 5.1.8 ad...@system.mail... Domain of sender 
 address ad...@system.mail does not exist
 
 And this is doubled in /var/log/maillog:
 
 sm-mta[14642]: r270BO3L014642: ruleset=check_mail, arg1=ad...@system.mail, 
 relay=localhost [127.0.
 0.1], reject=553 5.1.8 ad...@system.mail... Domain of sender address 
 ad...@system.mail does not exist
 
 How do I set fetchmail and sendmail to fetch
 such emails?

You might want to try out the mail/fdm port instead of fetchmail.  I have
found fetchmail to be obtuse and cantankerous; I stopped using it a long
time ago.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Revisiting Traceroute Through ipfw FreeBSD9.x

2013-03-07 Thread Martin McCormick
I immediately found several plausible examples of what to put in
the firewall rules file and the following rules were set just
after the local loopback address:

ip=139.78.2.13

setup_loopback

# Allow traceroute to function, but not to get in.
${fwcmd} add unreach port udp from any to ${ip} 33435-33524
# Allow some inbound icmps - echo reply, dest unreach, source quench,
# echo, ttl exceeded.
${fwcmd} add allow icmp from any to any icmptypes 0,3,4,8,11

My thanks to previous posters for these rules. I still,
however only get

 *traceroute: sendto: Permission denied
traceroute: wrote 192.168.1.125 52 chars, ret=-1

I also did try:

sysctl net.inet.udp.blackhole=0

then 1 and even 2 with no change.

What else should I look at? The firewall rules are
otherwise working as they should.

Thank you.

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


Re: How to connect to VPN

2013-03-07 Thread Istvan Gabor
2013. március 5. 23:44 napon Любомир Григоров nm.kn...@gmail.com írta:

 I have been trying to find a way to connect to a PPTP or L2TP VPN for over
 a year now. There is no GUI client that I know of and any text
 configuration I try with pptpclient fails.
 
 How can I connect to a VPN, the fast way as in Windows, OS X and GNU/Linux.
 I have the following information (no internal IP's or ranges or NAT):
 
 Gateway - I have the URL to connect to, I suppose I can map it to IP
 Username
 Password
 MSCHAP
 MSCHAPv2
 Use point-to-point encryption (MPPE)
 Allow BSD data compression
 Allow deflate data compression
 Use TCP header compression
 
 
 How can I connect to the VPN with just this information above? Everything I
 find requires internal IP's, ranges, NAT and other things making a 5 second
 gui configuration take months. The VPN server supports PPTP and L2TP as
 mentioned. Any advice on how I can connect will be helpful.
 
 

Hello:

I too had problems with vpn in FreeBSD 9.0 RELEASE.
I don't know specifically about PPTP or L2TP, but there is
vpn over ipsec. Fot that you need to customize and rebuild
your kernel.
FreeBSD handbook says:

To add IPsec support to your kernel, add the following options to your
kernel configuration file:

options   IPSEC#IP security
devicecrypto

see:
http://www.freebsd.org/doc/handbook/ipsec.html

After this install shrew vpn client.

Once more, I don't know whether this is relevant in any way in
your case but that's how I solved vpn to cisco server earlier.

Istvan

___
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

kde3 maintainer contact

2013-03-07 Thread Istvan Gabor
Hello:

I have a few specific questions regarding kde3 in freebsd.
As there is no freebsd kde3 list I would like to ask my questions
directly from port maintainer(s). Do you know how can I contact
them?

Thanks,

Istvan

___
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: kde3 maintainer contact

2013-03-07 Thread Lowell Gilbert
Istvan Gabor suseuse...@lajt.hu writes:

 I have a few specific questions regarding kde3 in freebsd.
 As there is no freebsd kde3 list I would like to ask my questions
 directly from port maintainer(s). Do you know how can I contact
 them?

There isn't one. There is a k...@freebsd.org mailing list, but it's
listed as maintaining kde4, not kde3. 
___
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: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Anton Shterenlikht
Date: Thu, 7 Mar 2013 13:48:45 -0700
From: Chad Perrin per...@apotheon.com
To: freebsd-questions@freebsd.org
Subject: Re: fetchmail/sendmail: Domain of sender address does not exist

On Thu, Mar 07, 2013 at 09:40:47AM +, Anton Shterenlikht wrote:
 I'm running sendmail, and using fetchmail to fetch
 my mail from the university IMAP server.
 
 I sometimes see fetchmail complain:
 
 fetchmail: SMTP error: 553 5.1.8 ad...@system.mail... Domain of 
sender address ad...@system.mail does not exist
 
 And this is doubled in /var/log/maillog:
 
 sm-mta[14642]: r270BO3L014642: ruleset=check_mail, 
arg1=ad...@system.mail, relay=localhost [127.0.
 0.1], reject=553 5.1.8 ad...@system.mail... Domain of sender 
address ad...@system.mail does not exist
 
 How do I set fetchmail and sendmail to fetch
 such emails?

You might want to try out the mail/fdm port instead of fetchmail.  I 
have
found fetchmail to be obtuse and cantankerous; I stopped using it a long
time ago.

No, I think fetchmail's great!
And Matthias already helped me sort it out.

Thanks for the advice anyway.

Anton

___
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: no 9.1-release packages?

2013-03-07 Thread Ruben de Groot

On 7 mrt 2013, at 16:58, Johan Hendriks wrote:

 Ruben de Groot schreef:
 Hi,
 
 I just rented a 9.1-release VPS and was trying to install some packages.
 This however does not work as there is no directory packages-9.1-release 
 on the ftp server (ftp.freebsd.org). Why is this?


 There was a security issue and therefor there are no packages for 9.1
 
 
 Due to the security incident reported here:
 
 http://www.FreeBSD.org/news/2012-compromise.html
 
 only the small third-party package set on the DVD image is available at this 
 time for users who require pre-built packages (just GNOME and KDE windowing 
 systems). The FreeBSD Project's package building infrastructure is undergoing 
 a complete review and redesign. At this time we can not commit to a date the 
 full release package set will become available. A separate announcement will 
 be made when that becomes available. If you wish to install 9.1-RELEASE now 
 you can build your own packages using portsnap(8) to obtain an up to date 
 ports tree and then build the packages. If you require pre-built packages you 
 should wait for the announcement of the full release package set becoming 
 available.
 
 FreeBSD 9.1-RELEASE can also be purchased on CD-ROM or DVD from several 
 vendors. One of the vendors that will be offering FreeBSD 9.1-based products 
 is:

Thanks for the info Johan. I was aware of the compromise, just not of it still 
affecting the package building for 9.1 release.
No problem, there's no absolute requirement for pre-build packages here, so I 
installed some tools from packages-9-stable by setting PACKAGESITE and building 
the rest now from ports.

cheers,
Ruben

___
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: fetchmail/sendmail: Domain of sender address does not exist

2013-03-07 Thread Polytropon
On Thu, 7 Mar 2013 21:55:57 GMT, Anton Shterenlikht wrote:
 And Matthias already helped me sort it out.

Could you write to the list how you solved the problem?
I think it would be interesting to those running into
similar problems.

I remember that in the end, my clever solution involved
logging into the ugly webmailer of my ISP and deleting
the few offending messages manually. It should be easier
than that. :-)

Thanks in advance.



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