Re: system restart after some seconds

2013-01-05 Thread Boris Samorodov
05.01.2013 11:56, Boris Samorodov пишет:
 05.01.2013 11:43, Jack Mc Lauren пишет:
 
 How can I restart my freeBSD after specific seconds ?
 
 SHUTDOWN(8):
 -
 NAME
  shutdown, poweroff — close down the system at a given time
 
 SYNOPSIS
  shutdown [-] [-h | -p | -r | -k] [-o [-n]] time [warning-message ...]
  poweroff
 [...]
 -r  The system is rebooted at the specified time.
 -

Yep, Polytropon is right. Here time is minutes.

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
___
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: Which k3b is recommended?

2013-01-05 Thread Polytropon
On Thu, 03 Jan 2013 09:50:46 +0100, Leslie Jensen wrote:
 
 I need k3b on a newly installed 9.1-RELEASE system.
 
 I wonder if I miss out on some functionality if I go with version 
 without KDE?
 
 I use XFCE4 as my Desktop.

Maybe not directly related, but I'm using k9copy without a
full KDE installation, with WindowMaker as my window manager
(no desktop at all). I'm not missing any essential functionality
for this program. So probably using k3b should work just fine.




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


last(1) does not work after upgrade to 9.1-STABLE

2013-01-05 Thread Victor Sudakov
Colleagues,

I have upgraded from 9.0-STABLE to 9.1-STABLE (via make world) and
have found out that last(1) does not work any more. 

 From the output of strings /var/log/utx.log I guess that the information
about recent logins, users, hosts etc is there, but somehow last does not
show it. The last entries it shows are from the moment before installworld.

[sudakov@vas ~] last | head -n3
sudakovpts/4:0 ср  2 янв 13:32   still logged in
sudakovpts/5:0 ср  2 янв 13:01 - 13:01  (00:00)
sudakovpts/4:0 ср  2 янв 13:01 - 13:19  (00:18)
[sudakov@vas ~] 

What can it mean?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

SOLVED: Problem upgrading to 9.1-Release

2013-01-05 Thread Doug Hardie
I found the problem.  Somehow /usr/obj was not successfully exported and hence 
was completely empty.  There must have been some error message in that process 
that I missed.  Anyway, correcting that problem so that /usr/obj was available 
fixed the problem.


On 4 January 2013, at 15:38, Doug Hardie wrote:

 I have upgraded my development system to 9.1 without any problems.  This 
 system maintains kernel source and I build a new kernel with a couple extra 
 options there.  The other systems mount /usr/src and /usr/obj from it and do 
 the install.  The first one to be upgraded had no problem with make 
 installkernel.  Rebooted and ran mergemaster -p just fine.  However make 
 installworld dies within a couple seconds with the following error:
 
 install -o root -g wheel -m 444   libc_pic.a /usr/lib
 gencat be_BY.UTF-8.cat /usr/src/lib/libc/nls/be_BY.UTF-8.msg
 gencat: No such file or directory
 *** [be_BY.UTF-8.cat] Error code 1
 
 /usr/bin/gencat exists.  However, ktrace of the make shows:
 
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /usr/obj/usr/src/tmp/legacy/usr/sbin/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /usr/obj/usr/src/tmp/legacy/usr/bin/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /usr/obj/usr/src/tmp/legacy/usr/games/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /usr/obj/usr/src/tmp/usr/sbin/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /usr/obj/usr/src/tmp/usr/bin/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /usr/obj/usr/src/tmp/usr/games/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  execve(0xbfbfd1c8,0x28c35f14,0x28421180)
  3347 make NAMI  /tmp/install.CuIzLuBX/gencat
  3347 make RET   execve -1 errno 2 No such file or directory
  3347 make CALL  write(0x2,0x28c48c00,0x6)
  3347 make GIO   fd 2 wrote 6 bytes
   gencat
 
 Obviously its not in any of those places.  How can I fix this?
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

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


Re: Trying to update from 9.0 to 9.1 via svn

2013-01-05 Thread Trond Endrestøl
On Sat, 5 Jan 2013 10:59+0700, Erich Dollansky wrote:

 Hi,
 
 On Sat, 5 Jan 2013 02:40:13 + (UTC)
 Helmut Schneider jumpe...@gmx.de wrote:
 
  Trond Endrestøl wrote:
  
   BTW, do you nuke the contents of /usr/obj prior to recompiling the 
   system? The command rm -Rf /usr/obj/* should accomplish this rather 
   well.
  
  That might have been the issue, yes. Works now. Thanks.
 
 doesn't this indicate an error in the make file?
 

 Shouldn't sources be compiled when their date is newer then the date of
 the object file? 

That assumes a lot of things, like the clock is running correctly at 
all times, e.g. under the control of NTP or some other mechanism.

If said computer dual boots Microsoft OS, then most likely the 
firmware clock (BIOS clock, RTC) runs in local time. Should you then 
boot FreeBSD straight into single user mode with /etc/wall_cmos_clock 
present, and you fail to run adjkerntz -i while in single user mode, 
then the clock will be off by 1 or 2 hours, depending on daylight 
saving time is in effect or not.

Next, svn sets the date and time on each checked out file to the 
present date and time. If the clock is running in the future at the 
time of check out/update a lot of things might happen at the time of 
compilation of the source code.

Of course, I'm just speculating, the one who knows most about the 
issue at hand is Helmut.

 Or was the last compilation done after the affected file got updated at
 the server?
 
 Shouldn't there be a system in place which automatically deletes all
 object files automatically?

make buildworld does include a step where certain files are wiped.
It still doesn't hurt to take matters in your own hands.

 Either a process is automated 100% or not at all is what I would say.

Outer forces may be at play as outlined above.

Anyway, this is all part of learning to cope with changes, mistakes, 
wrong assumptions, etc.
 
 Erich

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
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

Reduce the consumption of video memory

2013-01-05 Thread Dima Naumov
Can i reduce using of video memory in xorg.conf? My video card is almost 
dead, i think is something with Video Memory, because in monitor showed 
and disappear little noisy pixel, and i wish check out is problem with 
video memory?

___
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: Reduce the consumption of video memory

2013-01-05 Thread Polytropon
On Sat, 05 Jan 2013 23:15:06 +0700, Dima Naumov wrote:
 Can i reduce using of video memory in xorg.conf? My video card is almost 
 dead, i think is something with Video Memory, because in monitor showed 
 and disappear little noisy pixel, and i wish check out is problem with 
 video memory?

You can add an entry into the GPU's Device section.
How _exactly_ this option will be honored depends on
the actual driver you're using.

From man xorg.conf:

VideoRam  mem

This optional entry specifies the amount of video  ram  that  is
installed  on  the  graphics board.  This is measured in kBytes.
In most cases this is  not  required  because  the  Xorg  server
probes  the  graphics  board  to  determine  this quantity.  The
driver-specific documentation should indicate when it  might  be
needed.

Check the documentation for your driver if it will deal with
this setting in the desired way.



-- 
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: Reduce the consumption of video memory

2013-01-05 Thread jb
Dima Naumov clangbsd at gmail.com writes:

 
 Can i reduce using of video memory in xorg.conf? My video card is almost 
 dead, i think is something with Video Memory, because in monitor showed 
 and disappear little noisy pixel, and i wish check out is problem with 
 video memory?

- check in BIOS
- man xorg.conf
  VideoRam

jb





___
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: somewhat OT ... in parts

2013-01-05 Thread Carl Johnson
Polytropon free...@edvax.de writes:

 On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote:
  maybe I should just find keith bostic's newvi; see if they have it 
  for linux; theyve got everything else... {grumble}

 I know there's nvi in ports.

 Maybe those will be helpful:

 http://garage.linux.student.kuleuven.be/~skimo//nvi/



 nvi download here:

 https://sites.google.com/a/bostic.com/keithbostic/files



 Project page and FAQ:

 https://sites.google.com/a/bostic.com/keithbostic/vi

The vi in FreeBSD is already nvi.  The name nvi is a link to vi in
/usr/bin and the source includes nvi at /usr/src/contrib/nvi/.

-- 
Carl Johnsonca...@peak.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


Backup with mtree and rsync?

2013-01-05 Thread schultz

I have been wondering whether it is possible to create a backup system
using mtree and rsync. Essentially, the user would create a mtree
specification of the source directory and copy it over to the destination
directory with rsync. Any changes in the destination could then be
detected before restoring with the mtree specification, which should
contain strong hashes of the files and should not contain the nlink
keyword.

The problem is that mtree would be too slow. It would recompute the
hashes of big files even when they did not change from the last backup.
Therefore, I would like to ask if there is an easy way to accomplish
the following.

Let a mtree specification of a directory from a certain point in the
past be given. Also, assume that a (regular) file below that directory
has not changed if its current modification time (mtime) equals
its modification time in the past specification.
Produce as output the new mtree specification for the directory without
reading these files.

This is somewhat like rsync does to perform incremental backups.

P.S.: As an aside, is there an utility in the base system that can
reproduce the behavior of `rsync --delete -a dir0/ dir1/`?


___
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


Problem compling apr1 from ports

2013-01-05 Thread Erik Nørgaard

Hi,

I just rebuilt my system to FBSD91 and updated the ports tree. Now 
builidng apache which depends on apr1 I but fails building because of 
dependency on python. Python is installed, and is found initially.


Full error:

root@alpha:/usr/local/ports/devel/apr1 # make
===  portaudit database exists, however, portaudit is not installed!
===  Found saved configuration for apr-1.4.6.1.4.1_3
===  Extracting for apr-1.4.6.1.4.1_3
= SHA256 Checksum OK for apr-1.4.6.tar.gz.
= SHA256 Checksum OK for apr-util-1.4.1.tar.gz.
===  Patching for apr-1.4.6.1.4.1_3
===  Applying FreeBSD patches for apr-1.4.6.1.4.1_3
/usr/bin/sed -i.bak -e 's/OSVERSION/901000/g' 
/usr/local/ports/devel/apr1/work/apr-1.4.6/build/apr_hints.m4
/usr/bin/find /usr/local/ports/devel/apr1/work/apr-1.4.6 
/usr/local/ports/devel/apr1/work/apr-util-1.4.1 -name Makefile.in* | 
/usr/bin/xargs /usr/bin/sed -i.bak -e 
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
/usr/bin/sed -i.bak -e 's,-lpthread,-pthread,g' 
/usr/local/ports/devel/apr1/work/apr-1.4.6/build/apr_threads.m4 
/usr/local/ports/devel/apr1/work/apr-1.4.6/build/apr_hints.m4 
/usr/local/ports/devel/apr1/work/apr-util-1.4.1/build/apu-conf.m4
/usr/bin/sed -i.bak -e '1 s/python/python2.6/' 
/usr/local/ports/devel/apr1/work/apr-1.4.6/build/gen-build.py
/usr/bin/sed -i.bak -e 's/void main/int main/' 
/usr/local/ports/devel/apr1/work/apr-1.4.6/build/apr_network.m4
/usr/bin/sed -i.bak -e 's|sql = apr_palloc|sql = apr_pcalloc|' 
/usr/local/ports/devel/apr1/work/apr-util-1.4.1/dbd/apr_dbd_freetds.c

===   apr-1.4.6.1.4.1_3 depends on file: /usr/local/bin/python2.6 - found
===   apr-1.4.6.1.4.1_3 depends on file: /usr/local/bin/automake-1.12 - 
found
===   apr-1.4.6.1.4.1_3 depends on file: /usr/local/bin/autoconf-2.69 - 
found

===   apr-1.4.6.1.4.1_3 depends on package: libtool=2.4 - found
===   apr-1.4.6.1.4.1_3 depends on shared library: expat - found
===   apr-1.4.6.1.4.1_3 depends on shared library: gdbm - found
===   apr-1.4.6.1.4.1_3 depends on shared library: iconv.3 - found
===   apr-1.4.6.1.4.1_3 depends on shared library: pq.5 - found
===   apr-1.4.6.1.4.1_3 depends on shared library: db-4.6.0 - found
===   apr-1.4.6.1.4.1_3 depends on shared library: sqlite3.8 - found
===  Configuring for apr-1.4.6.1.4.1_3
cd /usr/local/ports/devel/apr1/work/apr-1.4.6 ;  /usr/bin/env CC=cc 
ac_cv_path_PGSQL_CONFIG= PYTHON=/usr/local/bin/python2.6 
SHELL=/bin/sh CONFIG_SHELL=/bin/sh AUTOMAKE=/usr/local/bin/automake-1.12 
 AUTOMAKE_DIR=/usr/local/share/automake-1.12  AUTOMAKE_VERSION=1.12 
AUTOMAKE_APIVER=1.12.6  ACLOCAL=/usr/local/bin/aclocal-1.12 
ACLOCAL_DIR=/usr/local/share/aclocal-1.12 
AUTOCONF=/usr/local/bin/autoconf-2.69 
AUTOCONF_DIR=/usr/local/share/autoconf-2.69 
AUTOHEADER=/usr/local/bin/autoheader-2.69 
AUTOIFNAMES=/usr/local/bin/ifnames-2.69 
AUTOM4TE=/usr/local/bin/autom4te-2.69 
AUTORECONF=/usr/local/bin/autoreconf-2.69 
AUTOSCAN=/usr/local/bin/autoscan-2.69 
AUTOUPDATE=/usr/local/bin/autoupdate-2.69  AUTOCONF_VERSION=2.69 
LIBTOOL=/usr/local/bin/libtool  LIBTOOLIZE=/usr/local/bin/libtoolize 
LIBTOOL_LIBEXECDIR=/usr/local/libexec/libtool 
LIBTOOL_SHAREDIR=/usr/local/share/libtool 
LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 
LTMAIN=/usr/local/share/libtool/config/ltmain.sh 
lt_cv_sys_max_cmd_len=262144 /bin/sh ./buildconf

buildconf: checking installation...
buildconf: python not found.
   You need python installed
   to build APR from SVN.
*** [run-autotools] Error code 1

Stop in /usr/local/ports/devel/apr1.
*** [build] Error code 1

Stop in /usr/local/ports/devel/apr1.

Any clues?

Thanks, Erik

--
M: +34 666 334 818
T: +34 915 211 157
___
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: somewhat OT ... in parts

2013-01-05 Thread Gary Kline
On Sat, Jan 05, 2013 at 08:43:18AM +0100, Polytropon wrote:
 On Fri, 4 Jan 2013 13:59:45 -0800, Gary Kline wrote:
  On Fri, Jan 04, 2013 at 08:03:39AM +0100, Polytropon wrote:
   On Thu, 3 Jan 2013 18:27:38 -0800, Gary Kline wrote:
one question I have may solve the problem of vim displaying
all the ^/search terms and displaying them in some color. 
the default brown is awful, but dark blue isn't much bbetter.
   
   If you try :colorscheme blue you can see that the results have
   orange background with dark text (maybe black?), while the editor
   background is blue (as the name of the color scheme suggests).
   
   
   
So: can I add something to my ~/.vimrc that =limits=
the search to displaying one term?  if I am searching for,
say, the or I guess /\the\, I dont want every the in my 
file.  I want only  one.   or one at a time, and not necessarily
in color.
   
   If you have :set hlsearch activated, all (visible) matches will
   be highlighted, and the cursor will be placed at the first match.
   
   I don't see an option to highlight the _next_ result only. However,
   if you do _not_ set hlsearch, searching and continuing searching
   will not highlight anything, instead let the cursor skip to the
   next match (tried here with gvim /COPYRIGHT, /this, /, /, / and
   so on), with :set nohlsearch for testing.
   
  
  Hm.  there must be something in Muttrc.  I dont see it in my
  local ~/.muttrc; this something is controlling every /search
  term and highlighting it.  
 
 That should be the default of :set hls (usually in ~/.vimrc),
 as I assume Mutt inlines vim.
 
 
 
  the regular vim /tmp/foofile.c /tmp/footext is fine.  it's only
  in mutt that highlights EVERY instance that I'm searching for.
  I'll figure it out eventually if you don't know offhand.  or
  anybody else.  
 
 Search for flags to vim as editor, :set hlsearch or :set hls.
 You can add your own :set nohlsearch or :set nohls at the end
 of the file to try to deactivate the effect. This should also
 work when manually entered during an editor session.
 
 
 
  maybe I should just find keith bostic's newvi; see if they have it 
  for linux; theyve got everything else... {grumble}
 
 I know there's nvi in ports.
 
 Maybe those will be helpful:
 
 http://garage.linux.student.kuleuven.be/~skimo//nvi/
 
 
 
 nvi download here:
 
 https://sites.google.com/a/bostic.com/keithbostic/files
 
 
 
 Project page and FAQ:
 
 https://sites.google.com/a/bostic.com/keithbostic/vi
 
 
 
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


super!  dank!  I had no idea that keith's stuff was still 
around--well, except for our nvi in ports/editors/.  one 
quick and easy solution would be to set editor = nvi in my .muttrc
and see if that works.  sometimes colors are helpful; usually I 
can get along fine w/out :-)





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six years of service to the Unix community.

___
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


FB 9.1 boot loader problem in VirtualBox

2013-01-05 Thread jb
Hi,

host=CentOS
guest=FreeBSD in VirtualBox

FB 9.1 installation seemed to be normal (there was a one page text at the end
that quickly disappeared, but could not catch it ...),
virtual disk was set up as
ada0
ada0s1 BSD
ada0s1a /
ada0s1b swap

but after reboot:

No /boot/loader

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
No /boot/kernel/kernel

FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot: _

jb


___
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: bsdinstall misaligns partitions

2013-01-05 Thread Fbsd8

Christian Weisgerber wrote:

Shouldn't bsdinstall attempt to align partitions on 4k boundaries
both for the benefit of 4k drives and flash storage?

I just installed 9.1R i386 for fun and practice, in fact I installed
it several times, and I played around with the partitioning options.

* The modern GPT scheme reserves 34 sectors at the start of the disk.
  Your newly created partitions will start at offset 34 and will
  therefor be misaligned.  I ended up configuring a 63 kB freebsd-boot
  partition, which ensures that the following partitions are aligned.

* The old MBR scheme is even worse.  The FreeBSD slice will start
  at sector 63, guaranteeing that any partitions contained within
  will be misaligned.  There is no way to fix this, unless you
  shell out and run fdisk manually.

* Funnily enough, the ancient BSD dangerously dedicated scheme
  is the only one that out of the box does not misalign partitions.

I'm presumably not the first one to notice this issue, and yes, I'm
mostly just venting.



Best advice is go submit a pr on this bsdinstall situation.
___
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


update to SASL breaks sendmail

2013-01-05 Thread Robert Huff

I have followed the canonical procedure to get Sendmail to use
SASL.
Yesterday this worked.
This morning I updated cyrus-sasl to the latest version, which
bumps the library version from .2 to ,3.  This appears to break
sendmail in at least two places.
 I have added a mapping in libmap.conf ... which seems to work
... but I'm pretty sure that's Not The Right Thing.
What is?

Respectfully,


Robert Huff

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


Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
In the last episode (Jan 05), Robert Huff said:
 I have followed the canonical procedure to get Sendmail to use
 SASL.
   Yesterday this worked.
   This morning I updated cyrus-sasl to the latest version, which
 bumps the library version from .2 to ,3.  This appears to break
 sendmail in at least two places.

I have added a mapping in libmap.conf ... which seems to work
 ... but I'm pretty sure that's Not The Right Thing.
 What is?

Rebuild sendmail so that it links against the updated sasl libraries, or
make sure to preserve old shared libraries when upgrading packages.  This
isn't sendmail or sasl-specific; it's standard procedure when you upgrade
any port that installs shlibs that other ports depend on.

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


Re: update to SASL breaks sendmail

2013-01-05 Thread Robert Huff

On 1/5/2013 8:30 PM, Dan Nelson wrote:

In the last episode (Jan 05), Robert Huff said:



This morning I updated cyrus-sasl to the latest version, which
bumps the library version from .2 to ,3.  This appears to break
sendmail in at least two places.

 I have added a mapping in libmap.conf ... which seems to work
... but I'm pretty sure that's Not The Right Thing.
 What is?


Rebuild sendmail so that it links against the updated sasl libraries, or
make sure to preserve old shared libraries when upgrading packages.


	I know how to build world; what is the correct way of 
building/installing just sendmail and making sure I get the right 
libraries?  (The information in 
/usr/ports/security/cyrus-sasl/files/Sendmail.readme doesn't appear to 
apply.)



Robert Huff


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


Re: update to SASL breaks sendmail

2013-01-05 Thread Dan Nelson
In the last episode (Jan 05), Robert Huff said:
 On 1/5/2013 8:30 PM, Dan Nelson wrote:
  In the last episode (Jan 05), Robert Huff said:
 
 This morning I updated cyrus-sasl to the latest version, which
  bumps the library version from .2 to ,3.  This appears to break
  sendmail in at least two places.
 
  I have added a mapping in libmap.conf ... which seems to work
  ... but I'm pretty sure that's Not The Right Thing.
   What is?
 
  Rebuild sendmail so that it links against the updated sasl libraries, or
  make sure to preserve old shared libraries when upgrading packages.
 
   I know how to build world; what is the correct way of
 building/installing just sendmail and making sure I get the right
 libraries?  (The information in
 /usr/ports/security/cyrus-sasl/files/Sendmail.readme doesn't appear to 
 apply.)

Base sendmail doesn't link with sasl by default.  If you had edited
Makefiles or make.conf to enable that, running make clean all install
clean in /usr/src/usr.sbin/sendmail/ should build and install just the new
sendmail.  Or, if you had installed the mail/sendmail port with sasl
enabled, force-upgrade that port using your favorite method.

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


Intel D525MW board No ethernet devices detected with 9.1 Release

2013-01-05 Thread iamatt
Hello,

I have an intel D525MW board with an ATOM processor.  The system was
running 9.0 RELEASE amd64 with no problems.  I did an binary upgrade
to 9.1 amd64 and now the onboard ethernet card is not detected.  I
encountered a similar issue when I tried to go from 9.0 RELEASE to 9.0
STABLE a while back.

i just flashed the board with latest intel BIOS  but still do not see
the ethernet device.  The  9.0 RELEASE working system  used the re0
driver.  Any suggestions in getting this resolved?


Thanks

Matt
___
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: update to SASL breaks sendmail

2013-01-05 Thread Robert Huff

On 1/5/2013 8:55 PM, Dan Nelson wrote:


Base sendmail doesn't link with sasl by default.  If you had edited
Makefiles or make.conf to enable that, running make clean all install
clean in /usr/src/usr.sbin/sendmail/ should build and install just the new
sendmail.  Or, if you had installed the mail/sendmail port with sasl
enabled, force-upgrade that port using your favorite method.


Good news:
Rebuilt sendmail per above, and it starts without complaining.
Bad news:
	Mail is not flowing in or out.  Looking at /var/log/maillog, I'm 
guessing this has to do with the line:


sm-mta: smtpquit: mailer local exited with exit value 1

It also complains about my .forward being group-writable, when it is 
750.


Robert Huff


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


strange network problem with multiple interfaces

2013-01-05 Thread John
hi, I just installed stock FreeBSD 9.0 on a PowerEdge server with two network 
cards:

bce0 is directly connected to isp's gateway
bce1~3 are connected to the inside port of a router configured as 
192.168.1.0/24 network with 192.168.1.1 as gateway

If the ENTIRE content of /etc/rc.conf is:

hostname=test.com
ifconfig_bce0=inet 1.2.3.4 netmask 255.255.255.0
defaultrouter=1.2.3.1
#the above numbers are supplied by isp
ifconfig_bce1=inet 192.168.1.4 netmask 255.255.255.0
static_routes=interface1
route_interface1=-net 192.168.1.0/24 192.168.1.1

then the machine can do all public network activities without problem, but 
doesn't appear to be able to connect to the router at all.  In fact, if I do:

tcpdmp -l -i eth1 host 192.168.1.1

and then do telnet 192.168.1.1 443, there are two wierd results: 
1. the tcpdump catches nothing
2. the telnet window got the following result:
Trying 192.168.1.1...
telnet: connect to address 192.168.1.1: Operation not permitted
telnet: Unable to connect to remote host

routing table is the following:
#netstat -rn

DestinationGatewayFlagsRefs  Use  Netif Expire
default1.2.3.1  UGS 0  193   bce0
1.2.3.0/24   link#1 U   00   bce0
1.2.3.4 link#1 UHS 00lo0
127.0.0.1  link#5UH  00lo0
192.168.1.0/24 192.168.1.1UGS 01   bce1
192.168.1.4   link#2 UHS 01lo0

No firewall is configured.  Also unless there is a known relevant bug of the 
stock 9.0, we want to stick to this version for the moment due to some other 
concern.

Could someone help to enlighten what I did wrong?  Thank you!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org