Re: disable lpr

2012-01-02 Thread Peter Avalos
On Mon, Jan 02, 2012 at 07:08:20PM -0500, Pierre Abbat wrote:
 I installed cups, which has its own lpr program, and deleted the lpr that is 
 in world. If I rebuild world, how do I tell it not to install lpr? I know I 
 did this for sendmail, but I forgot where the configuration is.
 

Throw NO_LPR=true in /etc/make.conf.


pgpoL0gunIXqG.pgp
Description: PGP signature


Re: disable lpr

2012-01-02 Thread Peter Avalos
On Mon, Jan 02, 2012 at 07:30:17PM -0500, Pierre Abbat wrote:
  Throw NO_LPR=true in /etc/make.conf.
 
 That's not where I disabled sendmail (I don't have /etc/make.conf, and the 
 line in /etc/defaults/make.conf is commented out). Where else could I have 
 disabled it?
 

Perhaps for sendmail you're thinking about mailer.conf (I'm not very
good at mind reading), but that won't help you with your original
question.

--Peter


pgpGQ9NIIuMfD.pgp
Description: PGP signature


Re: work directories

2011-12-03 Thread Peter Avalos
On Sat, Dec 03, 2011 at 09:54:37PM -0500, Pierre Abbat wrote:
 If I added /usr/pkgsrc/*/*/work to daily_clean_tmps_dirs, would that work?
 

Why not just put this in /usr/pkg/etc/mk.conf:

WRKOBJDIR=/usr/obj/pkgsrc

--Peter


pgpfDquCizO3U.pgp
Description: PGP signature


Re: Seeing processors induvidually on an SMP system dmesg

2011-08-23 Thread Peter Avalos
On Wed, Aug 24, 2011 at 10:15:25AM +0530, Siju George wrote:
 On Tue, Aug 23, 2011 at 7:27 PM, Sascha Wildner s...@online.de wrote:
 
  What does 'sysctl hw.ncpu' say?
 
 
 blk-build# sysctl hw.ncpu
 hw.ncpu: 4
 

Try top -M.

--Peter


pgpYzaL13bqlc.pgp
Description: PGP signature


Re: What does this mean ?

2011-08-22 Thread Peter Avalos
On Mon, Aug 22, 2011 at 02:26:46PM +0200, Max Herrgard wrote:
 On 13 maj 2011, at 17.12, Matthew Dillon wrote:
  :thr_umtx_wait FAULT VALUE CHANGE 7162-7165 oncond 0x800990104
  :
  :   What does it mean, and should I worry ?
  :
  :-- 
  :Steve O'Hara-Smith  |   Directable Mirror Arrays
  
 No, it just means a block of memory being used for mutexes suffered
 from a copy-on-write (probably due to a fork()).  The mutex code
 in the kernel deals with this situation automatically.  It was just
 some old debugging cruft.
 
 Should this then be removed? I'm still getting these when indexing with 
 Opengrok.
 

Makes sense to me...I get a TON of these in my webserver logs.

--Peter


pgpihxUOCIz62.pgp
Description: PGP signature


Re: Java 1.6 now working on DragonFly

2011-07-23 Thread Peter Avalos
On Fri, Jul 22, 2011 at 04:53:40PM +0200, Francois Tigeot wrote:
 Hi,
 
 I have fixed the wip/jdk16 package in pkgsrc-wip
 

Nice work!


pgpPTKCQnRn6x.pgp
Description: PGP signature


Re: SORBS listing

2011-06-24 Thread Peter Avalos
On Fri, Jun 24, 2011 at 11:18:16PM +, Chris Turner wrote:
 for someone 'authorized' for this kind of fixup
 

I submitted a ticket with SORBS.

--Peter


pgp09TtMBAV2m.pgp
Description: PGP signature


Re: SORBS listing

2011-06-24 Thread Peter Avalos
On Sat, Jun 25, 2011 at 12:15:32PM +1000, Dean Hamstead wrote:
 sorbs are woefull. ive personally dropped them in favour of the numerous more 
 helpfull alternatives...
 

I don't mind RBLs for score-based spam filtering...but anyway...

SORBS delisted crater, so hopefully that should help if anyone's using
it.

--Peter


pgpuGhz7izZJT.pgp
Description: PGP signature


Re: Git core dumped

2011-05-06 Thread Peter Avalos
On Fri, May 06, 2011 at 08:39:00PM +0200, Rumko wrote:
 From what little I have checked, this is not the cause of git problems (my
 libpthread is linked correctly and have not updated my world in a long long
 time, but have only updated my packages). Been having them myself (bites me in
 the ass when I try to rebase stuff and lost a few commits 'cause of that) as
 well.
 

I've also lost a few commits when rebasing, and my libpthread is linked
against xu's.

--Peter


pgppHYqe6Rpow.pgp
Description: PGP signature


OpenSSL Update

2010-09-28 Thread Peter Avalos
I've updated OpenSSL in the base system.  As part of the update, the
SHLIB_MAJOR got bumped for libssh and libcrypto.  This should not break
any of your installed 3rd-party software.  You'll need to recompile any
3rd-party software that links against libssh or libcrypto if you want to
use the new OpenSSL libraries.

Additionally, something is broken in ssh causing MAC errors when using
SSH2 and MACs other than MD5.  I'm working on fix for this, and I expect
it to be completed soon.  In the mean time, use hmac-md5 if you can.

--Peter


pgpMjFy6hg0om.pgp
Description: PGP signature


Re: A mailing list peculiarity

2010-09-28 Thread Peter Avalos
On Tue, Sep 28, 2010 at 03:44:43PM -0700, Tron wrote:
  I recently signed up for this list  Placed the first post and was
 very pleased to discover how quickly the community responded.  The
 peculiar thing is, every reply I get to my original post arrives in
 duplicate.  One copy is to: us...@crater... and the other to: my
 email with cc to us...@crater  Now, is that correct server
 behavior or am I particularly lucky?
 :)

People are likely replying to your email address (since you're the
sender) and the mailing list.

--Peter


pgpZfZQaBOudx.pgp
Description: PGP signature


Re: Need help updating /boot

2010-09-24 Thread Peter Avalos
On Fri, Sep 24, 2010 at 09:42:23AM +0300, Dennis Melentyev wrote:
Hi all,
 
I'm trying to update** v2.7.3.689.g853fe-DEVELOPMENT to latest.
Built successfully, installkernel complaints install new /boot first (or
something close to this).
 

make installworld before you do installkernel.

--Peter


pgp2ucGkUi1u5.pgp
Description: PGP signature


Re: which pkgsrc version do I get via git?

2010-06-01 Thread Peter Avalos
On Wed, Jun 02, 2010 at 02:20:48AM +0400, Alexander Polakov wrote:
 2010/5/19, Max Herrg??rd herrg...@gmail.com:
  Hm that's weird, I have that old mercurial too. Rest of the repo seems
  to be -current on a quick compare to with a few packages to pkgsrc.se
  though.
 
  Could be a problem with the CVS-git conversion. Can anyone with
  access please check that? More than mercurial could be lagging behind
  and causing build errors because of out of sync pkgs etc.
 
 devel/atk is out-of-date too
 
 1.30 ???
 http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/devel/atk/Makefile?only_with_tag=MAIN
 
 1.28 ???
 http://gitweb.dragonflybsd.org/pkgsrc.git/blob/HEAD:/devel/atk/Makefile
 
 So x11/gtk2 fails to build.
 -- 

Where is gitweb.dragonflybsd.org getting that git repo?  I am mirroring
NetBSD's pkgsrc.git on theshell.com, and I have CVS version 1.70 of that
file, but the distname is 1.30, not 1.28.

http://www.theshell.com/cgi-bin/gitweb.cgi?p=pkgsrc.git;a=blob;f=devel/atk/Makefile;h=ac8cdb6199ef34499d38e5aadf61d5115d659e3c;hb=HEAD

--Peter


pgpWbeoriqmY8.pgp
Description: PGP signature


Re: which pkgsrc version do I get via git?

2010-05-27 Thread Peter Avalos
On Thu, May 27, 2010 at 02:49:19PM +0530, Siju George wrote:
 2010/5/18 Max Herrg?rd herrg...@gmail.com:
 
  To get 2010Q1 you can use git://git.theshell.com/pkgsrc.git and the
  pkgsrc-2010Q1 branch.
 
 
 Is this source reliable? because on my 2.7/amd64 I was building
 gstreamer and I got this error :-(
 (the pkgsrc mailinglist does not respond to this )
 

It syncs directly from NetBSD every hour.

--Peter


pgprTCi0rO4xB.pgp
Description: PGP signature


Re: some git usage related queries

2009-11-08 Thread Peter Avalos
On Sun, Nov 08, 2009 at 02:12:24PM +0530, Saifi Khan wrote:
 Hi:
 
 Here are some git usage related newbie queries.
 
 1. i read a notification about a new commit 
eg. pkgsrc commit 

 http://gitweb.dragonflybsd.org/pkgsrc.git/commit/4ceab3c0055ed6bdacff399294ff8ef253b99468
 
Since i maintain a local git repo for pkgsrc, i'd like to
know the diff between what i got and what's in the latest
commit.
 
What command do i run locally to see the diff ?
 

git diff 4ceab3c0055ed6bdacff399294ff8ef253b99468

This only works if you've updated your remotes though (git fetch or git
remote update)

 
 2. i've pulled in latest commits using 'git pull'.
While working with local repository, i want to
know the diff between the last commit and the latest commit
for a given file eg. nrelease/Makefile.
 
what i tried doing was:
# cd /usr/src
# cd nrelease
# git diff HEAD^ HEAD ./Makefile
#
 
 This doesn't work. What is the correct approach here ?
 

I'm not exactly sure what you're trying to do, but I guess you're going
for:

git log -p Makefile

 
 3. after pulling in the changes related to Sascha's commit eg.

when i tried this command:
# git describe 5623ae32853fcfb747f493ea6af0059a56fb9b56
v2.5.1-200-g5623ae3
 
 This doesn't show up the details of the commit. What would be
 the appropriate command to use ?
 
 

git show 5623ae32853fcfb747f493ea6af0059a56fb9b56


 4. i apply some patches to a given file
eg. Stathis' patch for mq*() syscall for MPSAFE
 
# cd /usr/src
# fetch http://leaf.dragonflybsd.org/~beket/mq-mpsafe.diff
# git apply mq-mpsafe.diff
 
Ideally i should have created a branch and then apply the
patch. However, i applied the patch to the master.
Some new files are created and some .bak files created.
When i 'git pull' next, there are issues.
 
What is a good practice to adopt here ?
 

Lots of options for this...I would create a new branch, commit the
change, then use git rebase to bring in any new changes.

Is there also something as 'unapply' a patch in git ?
 

git reset

 
 i've readup Pragmatic version control with Git and GitUsage
 documentation in the wiki. So, while i can get around with basic
 Git commands, i'm still facing issues.  
 
 i'd be grateful, if some of experienced folks on the project can
 share their nuggets of wisdom on this. Thanks for any help.
 

Try the manual pages or git help too.

--Peter


pgp4ysK84r3AB.pgp
Description: PGP signature


Re: some git usage related queries

2009-11-08 Thread Peter Avalos
On Mon, Nov 09, 2009 at 09:17:58AM +0530, Saifi Khan wrote:
 
 While studying the recent commits related to mandoc(1), there
 are two very similar commits:
 
 1. Sascha's mandoc(1) commits (Nov 7)
54 files changed, 1349 insertions(+), 730 deletions(-)

 http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0dd4f1472251d685486367a185d3b9d78062f84d
 
 2. Alexander's mandoc(1) commits (Nov 8)
54 files changed, 1349 insertions(+), 730 deletions(-)

 http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/32c903ac153404697d03cdf54825a041b54dd714
 
 How do i see what are the changes between the two ?
 

git diff 
0dd4f1472251d685486367a185d3b9d78062f84d..32c903ac153404697d03cdf54825a041b54dd714

I'm not sure what Alexander did to cause that.  Was there a git push -f
involved?

--Peter


pgpNF2kNkd3aM.pgp
Description: PGP signature


Re: tcsh-6 compilation error with gcc44 (buildworld)

2009-11-07 Thread Peter Avalos
On Sat, Nov 07, 2009 at 09:49:50PM +0530, Saifi Khan wrote:
 Hi:
 
 On a AMD64X2 system running DragonFly v2.5.1.187.gc1543-DEV
 
 i'm trying to 'buildworld' with 'gcc44' as
 
 # CCVER=gcc44 make buildworld

buildworld is not warning-free with gcc44.  You need to also set
NO_WERROR.

--Peter


pgpj5a5DETV5M.pgp
Description: PGP signature


Re: how to add v2.4.1 tag to .git/ dir

2009-10-14 Thread Peter Avalos
On Thu, Oct 15, 2009 at 09:30:02AM +0530, Saifi Khan wrote:
 Hi:
 
 On installing DragonFly 2.4.1 from the DVD, there is a .git/
 directory that is created in /usr/src.
 
 Running the command 'git tag' does not show 'v2.4.1'
 
 v2.0.1
 v2.1.1
 v2.2.0
 v2.2.1
 v2.3.0
 v2.3.1
 v2.4.0
 
 how do i add 'v2.4.1' tag to .git/ 
 so that i can later do a 'git pull' ?
 

I think you're confused about what a tag is in git.  Basically it is
just an alias for a specific state of the repository.  When you do a
'git pull', it will update all the tags for you.  I think want you're
getting at is wanting a specific branch.  The DragonFly_RELEASE_2_4
branch will get you the latest 2.4 code.

--Peter


pgpFfKiGCK3Ih.pgp
Description: PGP signature


Re: updating pkgsrc with git trouble

2009-09-24 Thread Peter Avalos
On Thu, Sep 24, 2009 at 08:27:42AM -0700, Matthew Dillon wrote:
 
 : Could we handle it with 'make upgrade' or it would be too intrusive
 : for the user?
 :
 : If it wiped /usr/pkgsrc/distfiles it would be a pain - if it
 :carefully preserved that then I think it would be fine.
 :
 :-- 
 :Steve O'Hara-Smith  |   Directable Mirror Arrays
 
 It would be preserved by the git pull, but I think it would be
 too intrusive.  make upgrade has always worked without network
 connectivity before and I think it is important that it continue
 to do so.
 

I agree with this.  I have local changes to my pkgsrc/ cvs dir and
wiping it out with make upgrade would be quite annoying.

--Peter


pgpUmruFq2xRy.pgp
Description: PGP signature


Re: 2.0 packages being removed from avalon

2009-09-23 Thread Peter Avalos
On Wed, Sep 23, 2009 at 12:26:31PM +0200, Simon 'corecode' Schubert wrote:
 
 It is really bad to keep around packages we don't build anymore,
 because they get outdated and accumulate security problems.  And we
 don't have the resources to keep building packages.
 
 I think we should keep around what we can build for at the moment,
 and not a bit more.
 

I agree.

--Peter


pgpWVQPlX45ck.pgp
Description: PGP signature


Re: One more pkgsrc problem

2009-04-20 Thread Peter Avalos
On Mon, Apr 20, 2009 at 03:28:45PM +0300, Hasso Tepper wrote:
 Hasso Tepper wrote:
  nsIConsoleListener.idl
  ../../dist/bin/xpidl -m header -w -I. -I../../dist/idl -o
  _xpidlgen/nsIConsoleListener nsIConsoleListener.idl
 
  ** (process:79087): WARNING **: Parse of nsIConsoleListener.idl failed:
  unknown error (9)
  make[4]: *** [_xpidlgen/nsIConsoleListener.h] Error 1
  make[4]: Leaving directory
  `/usr/pkgsrc/www/firefox3/work/mozilla/xpcom/base'
  make[3]: *** [export] Error 2
 
 This turned out to be stupid configure check for new gethostbyname_r which 
 picked up libc_r and all stuff was linked against it, which is of course 
 wrong if threading library in use is libthread_xu.
 
 It's fixed now in pkgsrc HEAD. Thanks to Peter for pointing to the right 
 direction.
 

Glad to see you fixed it.  Thanks for your pkgsrc work.

--Peter


pgp20woBmNxgB.pgp
Description: PGP signature


Re: Consequences of major libc changes

2009-04-15 Thread Peter Avalos
On Mon, Apr 13, 2009 at 02:20:13PM +0300, Hasso Tepper wrote:
 A short list of problems based on first bulk build ...
 
 * It introduced some new _POSIX defines in unistd.h which are clearly 
   wrong for us -  _POSIX_BARRIERS and _POSIX_SPIN_LOCKS are such examples. 
   I hope that Peter will fix these ASAP, but ...
 
   Although libthread_xu implements barriers, we can't use these because 
   libc_r doesn't. In fact it's the main reason why I vote fro libc_r 
   removal. Any takers for this task?

Is there any advantage that libc_r has over libthread_xu?

--Peter


pgpuIpDF5SyVx.pgp
Description: PGP signature


Request for NIS and/or NFS testers: portmap-rpcbind

2008-12-13 Thread Peter Avalos
I've been working on a patch over the last month that moves us from
portmap to rpcbind.  This gives us a transport independent RPC as well
as some bug fixes.  Additionally it should be more secure than our old
portmapper.

I'd like a few people to test this patch to catch any edge cases I may
have missed in my testing.  This should be able to plug right into your
current setup without anything additional.  I'd like to commit this next
week, based on your input.

Thanks,
Peter

http://www.theshell.com/~pavalos/wip/rpcbind.patch


pgpWQ9bmE6jsf.pgp
Description: PGP signature


GIT mirror

2008-11-30 Thread Peter Avalos
I wanted to let everyone know (especially those in North America) that I
have a git mirror up as well as gitweb:

git://git.theshell.com/dragonfly.git

gitweb:
http://git.theshell.com/dragonfly.git

It should be drastically faster than crater.

--Peter


pgpzAqcvMvdRb.pgp
Description: PGP signature


Re: Build type for GNU configure

2008-03-01 Thread Peter Avalos
On Sat, Mar 01, 2008 at 05:34:50PM +, Colin Adams wrote:
 I am trying to install a library (ePOSIX - an Eiffel binding to
 POSIX), but when I run ./configure, it responds with:
 
 cannot guess build type - you must specify one.
 

I'm assuming you have an old version of config.guess and config.sub.
Grab the latest version, then try again.

--Peter


pgptgThXr3DUp.pgp
Description: PGP signature


Re: Bluetooth breaks pkgsrc/python

2008-01-22 Thread Peter Avalos
On Tue, Jan 22, 2008 at 11:07:13AM -0800, walt wrote:
 I just noticed that the python socket module is broken on DEVEL
 but the broken python gets installed anyway because the error is
 non-fatal.
 
 The broken code is in socketmodule.c and is surrounded by an
 #ifdef USE_BLUETOOTH.  I'm afraid I know nothing about Bluetooth
 or support for it in DFly, so I just undef'd USE_BLUETOOTH and
 got python installed okay.
 
 Has anyone else noticed this?
 

Yes.  I *think* hasso submitted a PR about it.

--Peter


pgp3nC8iVgfLI.pgp
Description: PGP signature


Re: cvsup: theshell.com missing dragonfly-cvs-doc

2008-01-22 Thread Peter Avalos
On Tue, Jan 22, 2008 at 11:41:20PM +, Vincent Stemen wrote:
 Any idea why cvsup.theshell.com is missing the dragonfly-cvs-doc collection?
 
 I get
 Server message: Unknown collection dragonfly-cvs-doc
 
 The doc directory is there via rsync.  It is not missing from other
 servers such as cvsup.dragonflybsd.org and cvsup.allbsd.org.
 

Probably because the server admin screwed up. ;)

Try it now and let me know.

--Peter


pgpVO8LMJ18BX.pgp
Description: PGP signature


Re: rsync and new mirroring tool (was cvsup)

2008-01-21 Thread Peter Avalos
On Mon, Jan 21, 2008 at 09:00:31PM +, Vincent Stemen wrote:
 
 1. Leave it last in the list and add what you said as a comment to
make it convenient for developers and mirrors who might need to
use it.
 2. Same as 1 but have crater commented out by default.
 3. Remove crater altogether from the default configuration file.
 
 What would you guys prefer?
 

#3


pgpSPegmJK3t1.pgp
Description: PGP signature


Re: cvsup

2008-01-15 Thread Peter Avalos
On Wed, Jan 16, 2008 at 03:22:26AM +, Vincent Stemen wrote:
 
 _TheShell.com_ is the only other one that lists *Code* under _Mirrored
 Data_.  Their rsync link takes you to
 rsync://rsync.theshell.com/pub/DragonFly but there are no instructions
 on the full path to access the repository.  I can only guess
 rsync://rsync.theshell.com/pub/DragonFly/dragonfly-cvs-src
 I will experiment with it.
 

The cvs repository is dcvs/. The directory structure is the same for
http and ftp. If you want the entire DragonFly CVS repo:

rsync://rsync.theshell.com/pub/DragonFly/dcvs

--Peter


pgpRU2nIfdgfP.pgp
Description: PGP signature


Re: A thought about mirroring DragonFly on a git repository

2008-01-03 Thread Peter Avalos
On Thu, Jan 03, 2008 at 04:41:09PM -0800, walt wrote:
 Just by accident I heard about this service hosted by Petr Baudis,
 who's been a major contributor to the git project.  It's intended
 to increase public interest in git, of course, (and I hope it works)
 but it's also a nifty idea and a potentially valuable resource.

 http://repo.or.cz/

 I believe Simon has has more experience than most with git.  Any
 thoughts about hosting DF there?


It's already there:

http://repo.or.cz/w/dragonfly.git

The problem is that it's not updated often.


pgp1tRdw4piuX.pgp
Description: PGP signature


Re: wikipage spam?

2007-10-28 Thread Peter Avalos
On Sun, Oct 28, 2007 at 06:59:33PM +, B. Estrade wrote:
 I was looking on the wiki for ways to go about helping, and I noticed that 
 the page: http://wiki.dragonflybsd.org/index.cgi/HowToStressTest seems to 
 have been link-spammed.

Fixed.



pgpBMKpABfMLi.pgp
Description: PGP signature


Re: Install JRE

2007-10-07 Thread Peter Avalos
On Sun, Oct 07, 2007 at 12:36:36PM -0400, Justin C. Sherrill wrote:
 
 Java support is intermittent right now - it needs some work, especially as
 this is a pretty common request.
 

I'm guessing someone needs to update our linuxulator.

--Peter


pgpEGESwtLfTx.pgp
Description: PGP signature


Re: net-snmp and DragonFly

2007-09-15 Thread Peter Avalos
On Sat, Sep 15, 2007 at 10:37:14PM +1000, Petr Janda wrote:
 On Thu, 13 Sep 2007 07:18:02 pm Hasso Tepper wrote:
  As there have been more people around interested in fixing net-snmp, a
  little announcement:
 
  http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=36978
 
  The patch referred in the bugreport is against pkgsrc HEAD.
 
  As I was interested only in libraries, snmpd is tested only very briefly.
  It started with absolutely minimal conf in my desktop and survived one
  walk. That's all.
 
 Works like charm! thanks so much and please commit to -current and -stable.
 

You should probably add that to the bug report so the maintainer will
see it.  Since this is pkgsrc we're talking about, they're the ones that
need to commit it.

--Peter


pgpzknKszUCEU.pgp
Description: PGP signature


Re: [Stupid newbie] How to start sshd ?

2007-09-06 Thread Peter Avalos
On Fri, Sep 07, 2007 at 03:09:10AM +0200, Alexandre Bos wrote:
 Hello,

 I am new to BSD. I just installed dragonfly BSD on a machine. Before I 
 start to read the doc, I need to bring a ssh access to this machine (unless 
 my kvm will die of so much switches...). I tried :
 /etc/rc.d/sshd start
 but it just does nothing.

 Could you please give me hint ?


Add sshd_enable=YES to /etc/rc.conf.  Having a look at /etc/defaults/rc.conf
and the rc.conf manual page may be advisable.

--Peter


pgpYvaIoK3Ijo.pgp
Description: PGP signature


Re: Antivirus suggestions

2007-08-22 Thread Peter Avalos
On Wed, Aug 22, 2007 at 02:07:32PM -0300, Sd?vtaker wrote:
 Hello, i was wondering wich one is a good antivirus for DF. Im
 runnning DFBSD1.8 now.
 Thanks for any suggestions :)
 Sd?v

I use clamav.


pgpeABAU9riJJ.pgp
Description: PGP signature


Re: Warning, objcache(cluster mbuf): Exhausted!

2007-08-04 Thread Peter Avalos
On Sat, Aug 04, 2007 at 02:46:11PM -0700, Matthew Dillon wrote:
 
 I'm getting some weird numbers when I run netstat -m on crater.  I am
 not sure if there is an mbuf leak or a statistics leak somewhere or
 not.   At the moment I'm still moving ahead with the release, though.
 

Now that you mention it, this is kind of strange:

# netstat -m
180/65536 mbufs in use (current/max):
261/32768 mbuf clusters in use (current/max)
441 mbufs and mbuf clusters allocated to data
567 Kbytes allocated to network (0% of mb_map in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines

# sysctl kern.ipc.nmbufs kern.ipc.nmbclusters
kern.ipc.nmbufs: 65536
kern.ipc.nmbclusters: 32768

# egrep kern.ipc /boot/loader.conf
kern.ipc.nmbclusters=32768
kern.ipc.nmbufs=32768

So, how did kern.ipc.nmbufs change?

--Peter


pgp9FbZ5x1sDk.pgp
Description: PGP signature


Re: no gcc 4.1after rebuild

2007-05-11 Thread Peter Avalos
On Fri, May 11, 2007 at 06:47:37PM +, arnuld wrote:
  as advised on this mailing list. i added this line in /etc/mk.conf:
 
  WANT_GCC41=yes

Try /etc/make.conf.  Then also add CCVER=gcc41.

Try reading the manpage for make.conf or look at /etc/defaults/make.conf.


pgpYMtpgz8QgA.pgp
Description: PGP signature


Re: Make buildworld fails ...

2007-05-11 Thread Peter Avalos
On Fri, May 11, 2007 at 06:00:43PM -0700, j s wrote:
  I just 'cvsupped' the following *default release=cvs
  tag=DragonFly_RELEASE_1_8_Slip
 
  I'm running RELEASE DragonFly 1.8.0-RELEASE #0:
 
  make buildworld results in the following error.  Any ideas?
 

What's in your /etc/make.conf?


pgpL4v87FJU5I.pgp
Description: PGP signature


Re: command to inentify the process that is listening in a port.

2007-04-09 Thread Peter Avalos
On Mon, Apr 09, 2007 at 08:30:43PM +0530, Siju George wrote:
 Hi,
 
 How Do you actually Identify what process is listening on a TCP/IP port?
 nmap does not usually give the right answer.
 There should be some command that can be run on the local host for
 identification right?
 

sockstat(1)


pgpZSLUp37MWV.pgp
Description: PGP signature


Re: [HEADS UP] Binary package changes

2007-04-05 Thread Peter Avalos
On Thu, Apr 05, 2007 at 01:56:46PM +0200, Simon 'corecode' Schubert wrote:
 
 thanks joerg!  your effort is very much appreciated!
 
 (3) rsync is available as well, if you want to mirror the packages
 please contact me first. Due to bandwidth contraints (which might get
 sorted out soon), I'd like to keep the list short.
 
 i'd like to mirror, and people can then pull the stuff from me.
 

Ditto!  I've turned off my rsync cron for the old box.  I'll wait to
hear from you regarding mirroring off the new box.

--Peter


pgpOSyf7FPY8f.pgp
Description: PGP signature


Re: wiki log of #dragonfly irc channel

2007-03-05 Thread Peter Avalos
On Mon, Mar 05, 2007 at 08:16:04AM -0500, Adrian Michael Nida wrote:
 Snip/
 : I'm guessing you're serious, so I'll mention why this is a risky idea.
 : IRC has chewing-gum authentication and it's almost trivial for a
 : malicious bot to fool a server into ignoring people by pretending to
 : be them, and this can be done in many points*. Basically, the entire
 : utility of the logging bot is broken because it allows virtually
 : unauthenticated modifications to its behavior. Not to mention the
 : confusion that arises if an entire participant in a conversation has
 : their messages removed.
 Snip/
 
 I agree here.  I'd be willing to perform some s/USERNAME/ANONYMOUS/g magic
 in the messages.  That way, the message would be preserved, but it can't be
 tracked back to a given user.
 

When I read the original message I thought it was a joke.  Now that we're
getting serious, could we please stop?  The idea of obscuring an IRC log
is preposterous.  IRC isn't authenticated, and the log is only going to
show nicknames.  What the point of obscurity?  My vote is just leave it
as is.

--Peter


pgpzWM7zmmkwK.pgp
Description: PGP signature


Re: obtaining kernel src with cvsup

2007-02-07 Thread Peter Avalos
On Wed, Feb 07, 2007 at 05:35:35PM -0600, John Mire wrote:
 how do I get the kernel src through cvsup?
 

...

 =used the following command to cvsup the most recent release src:
 
 cvsup -g -L 2 -h fred.acm.cs.rpi.edu
 /usr/share/examples/cvsup/DragonFly-release1_8-supfile
 

Yes.

 the cvsup completed without errors but no /usr/src/sys/i386/conf directory
 so building a kernel is out of the question.
 

Try /usr/src/sys/config/.

--Peter


pgpOIbdZ1Urc4.pgp
Description: PGP signature


Re: help over rsync vs cvsupd perfmance

2007-01-03 Thread Peter Avalos
On Wed, Jan 03, 2007 at 11:20:11PM +0100, Saverio Iacovelli wrote:
 I tried:
 
 cvsup -h theshell.com
 /usr/share/examples/cvsup/DragonFly-src-supfile
 
 to update DragonFly's source.
 How can I update DragonFly's source with rsync? I
 tried:
 
 rsync -e rsh rsync://rsync.theshell.com/pub/DragonFly
 /usr/src
 
 but it don't work. Where is my error?
 

I think you're expecting to be able to rsync a checked-out version of the
src tree?  If so, theshell.com doesn't offer that.  If you want to grab
the cvs repository, try something like:

rsync -rtl --delete rsync.theshell.com/pub/DragonFly/dcvs/ /home/dcvs

This will fetch the entire cvs repository, and then you'll be able to
check out sources using cvs from that.

To be fair for testing, you'll probably want to make cvsup grab the same
thing (look at /usr/share/examples/cvsup/DragonFly-cvs-supfile).

If checked-out sources are desired, I guess I could set that up.  I think
you need to figure out exactly what you're benchmarking.

--Peter


pgpzP9CsoAjA7.pgp
Description: PGP signature


Re: help over rsync vs cvsupd perfmance

2006-12-25 Thread Peter Avalos
On Tue, Dec 26, 2006 at 03:16:49AM +0100, Simon 'corecode' Schubert wrote:
 Justin C. Sherrill wrote:
 You could benchmark against one of the public sites that offers DragonFly
 src both through cvsup and rsync, but the variability of the Internet path
 from you to them and back would mess up the scores, and the relatively
 lower speeds may mask any differences in the two protocols.
 
 but actually that's the thing they are used for:  transferring sources over 
 the internet.  if somebody is interested, you are invited to use chlamydia 
 for byte serving.  just give me a short heads up before.  i am both serving 
 cvsup and rsync.  i think it is also important to time the zero-update 
 case, i.e. when you already have the latest sources.
 

I'll also extend that if anyone wants to use theshell.com, go for it.  It
is well-connected, and I don't mind if people go to town on it.

--Peter


pgp8CQIj61JKs.pgp
Description: PGP signature


Re: A c++ puzzle for you gurus

2006-12-13 Thread Peter Avalos
On Wed, Dec 13, 2006 at 07:48:38AM -0800, walt wrote:
 In response to a post by Petr, I decided to take a stab at fixing
 pkgsrc/wip/powerdns-recursor.
 
 I was able to fix a few obvious #ifdefs, but I'm still getting this
 c++ error (which doesn't happen in NetBSD):
 
 c++ -O2 -I/usr/pkg/include -I/usr/include -Wall -O3  -I/usr/pkg/include
 -I/usr/include  -c -o syncres.o syncres.cc
 In file included from mtasker.hh:107,
  from syncres.hh:20,
  from syncres.cc:20:
 mtasker.cc: In member function `void MTaskerEventKey, EventVal::yield()':
 mtasker.cc:196: error: there are no arguments to `swapcontext' that depend
 on a template parameter, so a declaration of `swapcontext' must be available
 
 My bonehead compiler question is:  how did we get from 'from syncres.cc' to
 'mtasker.cc' with no intermediate steps?
 

The error message spells it out for you...syncres.cc includes syncres.hh
which includes mtasker.hh which includes mtasker.cc.  It even gives you line
numbers!

--Peter


pgplEWELQXBtU.pgp
Description: PGP signature


Re: make buildworld crash, unwind.h

2006-12-07 Thread Peter Avalos
On Thu, Dec 07, 2006 at 10:37:52AM -0500, Justin C. Sherrill wrote:
 On Thu, December 7, 2006 5:30 am, Simon 'corecode' Schubert wrote:
 
  no, you need
 
  cvs -d /usr/sources/dragonfly_cvs checkout -rDragonFly_Preview -P src
 
  -P == prune empty directories
 
 When is cvsup appropriate vs. cvs?  Using cvsup is what we have documented.
 

It appears that he is using cvsup to get the repo, and usung cvs to update
his src/ tree.

--Peter


pgp84AHQLVLr6.pgp
Description: PGP signature


OpenBSD's dhclient

2006-12-02 Thread Peter Avalos
Here's a shar of some work on bringing in OpenBSD's dhclient.  Please
test it and give me any thoughts.  Run the archive from your src/
directory.

http://www.theshell.com/~pavalos/wip/dhclient.shar

--Peter



pgpWsOTffIMLC.pgp
Description: PGP signature


Re: Sound slowdown on sis7012 hardware

2006-11-13 Thread Peter Avalos
On Mon, Nov 13, 2006 at 05:50:43PM +0100, Thomas Schlesinger wrote:
 Hi,
 
 I have built-in sound (sis7012) on my desktop machine. It sounds to me, that 
 sound files are being played a little bit too slow. The voice of singers and 
 the height of music instruments seems to be to low, compared with playing 
 the same music on the same machine with Linux.
 
 I use the snd_ich and snd_pcm kernel modules on 1.7.0-DEVELOPMENT. From the 
 syslog:
 
 [..]
 pcm0: SiS 7012 port 0xd800-0xd87f,0xdc00-0xdcff irq 10 at device 2.7 on pci0
 pcm0: Unknown AC97 Codec (id = 0x434d4982)
 [..]
 
 Sadly I have no measuring equipment to confirm my impression, I have tested 
 this with mpg123 and the Amarok music player.
 

Try timing the length of a song with a stop watch and see if it matches on both
machines.

--Peter


pgpa8ddkrqIcI.pgp
Description: PGP signature


HEADS UP: lukemftpd removed from base

2006-11-09 Thread Peter Avalos
I just removed lukemftpd from HEAD.  For those that are using lukemftpd,
you'll need to use the version from pkgsrc before you upgrade to HEAD or
the next release.  The discussion leading up to this can be found here:

http://leaf.dragonflybsd.org/mailarchive/users/2006-11/msg00026.html

--Peter


pgpI4QboO7Ymj.pgp
Description: PGP signature


lukemftpd revisited

2006-11-08 Thread Peter Avalos
Just over a year ago, Carl Schmidt brought up an interesting question
regarding lukemftpd:

http://leaf.dragonflybsd.org/mailarchive/users/2005-09/msg00111.html

In it and in the response Carl basically asks what's the deal with
having lukemftpd in base, and if people prefer lukemftpd to the standard
ftpd then why not make lukemftpd the standard ftpd?

And Matt Dillon responded with a no:

http://leaf.dragonflybsd.org/mailarchive/users/2005-09/msg00113.html

Then Carl asks why not remove lukemftpd from the src tree:

http://leaf.dragonflybsd.org/mailarchive/users/2005-09/msg00114.html

and it appears he never receives a response.

So, since Matt doesn't want lukemftpd as our ftpd and since lukemftpd
(aka tnftpd) is available from pkgsrc, why don't we remove lukemftpd
from our src tree?

--Peter


pgpfMcF2NffCj.pgp
Description: PGP signature


less GNU

2006-10-08 Thread Peter Avalos
Since version 340 less has been released under a gnu license.  Shouldn't
less, lessecho, and lesskey be under src/gnu/usr.bin instead of where it
is now (src/usr.bin)?

--Peter


pgpNHEERnqVb9.pgp
Description: PGP signature


Re: less GNU

2006-10-08 Thread Peter Avalos
On Sun, Oct 08, 2006 at 07:29:42AM -0700, Peter Avalos wrote:
 Since version 340 less has been released under a gnu license.  Shouldn't
 less, lessecho, and lesskey be under src/gnu/usr.bin instead of where it
 is now (src/usr.bin)?
 
 --Peter

Guess it helps if you actually read the files...It can be distributed under
either license, so nevermind the noise.  Thanks Joerg!

--Peter


pgpcYY4LLtQBY.pgp
Description: PGP signature


lukemftp/tnftp

2006-09-28 Thread Peter Avalos
Since we're using pkgsrc, is there a good reason we have lukemftp/nftp
in our src tree?  It seems like it'd be best to remove it from our tree
and if people want to use it, they can just install it from pkgsrc.
What's everyone else think?

--Peter


pgp21MnipXiCV.pgp
Description: PGP signature


Re: lukemftp/tnftp

2006-09-28 Thread Peter Avalos
On Thu, Sep 28, 2006 at 12:36:40PM -0700, Peter Avalos wrote:
 Since we're using pkgsrc, is there a good reason we have lukemftp/nftp
 in our src tree?  It seems like it'd be best to remove it from our tree
 and if people want to use it, they can just install it from pkgsrc.
 What's everyone else think?
 

For some reason I thought we had our own ftp in addition to tnftp, but
we're actually using tnftp/lukemftp as our own.  So...never mind.

--Peter


pgp8DqYKmUyAU.pgp
Description: PGP signature


Re: Default tar revisited

2006-09-21 Thread Peter Avalos
On Wed, Sep 20, 2006 at 09:21:04PM -0700, Matthew Dillon wrote:
 :Yes, but I can't see any problem reports that are still outstanding.  Can a=
 :nyone
 :else find any?
 :
 :--Peter
 
 It sounds like we are a go then.  Did the commit you made on the 17th
 cover all the updates?  If so then you can change the default linkages
 in HEAD for bsdtar and gtar to link bsdtar as 'tar' instead of gnu tar.
 

The version I imported was released on Sep. 5th, 2006, so it should include
everything.  I'll change the symlink to make bsdtar the default, and I'll
replace the WITH_BSDTAR option with WITH_GTAR and make it dtrt.

 Lets keep gnu tar in the build for one release cycle, as gtar only,
 then we can remove it in favor of a pkgsrc-only install.
 

Sounds good.


pgprgcUZu7ozL.pgp
Description: PGP signature


Re: Default tar revisited

2006-09-20 Thread Peter Avalos
On Mon, Sep 18, 2006 at 09:07:10PM -0700, Matthew Dillon wrote:
 Hmm.  It sounds ok to me but I do seem to recall that some issues
 popped up when FreeBSD did this, so my provisio in importing bsdtar
 is that you (Peter) review the FreeBSD mailing lists for bsdtar related
 discussions and put together a summary of any issues that may have come
 up and whether the latest release addresses them (assuming the issues are
 even important).
 

Reviewing FreeBSD mailing lists was quite challenging, but here's some issues
that came up other than normal bug fixes:

No --use-compress-program option.  libarchive and bsdtar automatically detects
the type of archive, and if it recognizes it, will choose the correct algorithm.

There were some issues with symlinks and schg, but those were fixed.

-l is intentionally broken due to the disagreement between POSIX and GNU about
what that option should actually do.

Tape handling, multi-volume, and sparse file support isn't really there, but I
don't consider those show-stoppers.

Many of the problem reports were fixed by Tim, and I don't see outstanding
bugs/gripes that should preclude us from switching over.

Joerg mentioned an option that wasn't implemented yet, but I don't know what it
was.

Was anyone else able to come up with good reasons against changing over to
bsdtar?

--Peter


pgphPQbxnfduf.pgp
Description: PGP signature


Re: Default tar revisited

2006-09-20 Thread Peter Avalos
On Wed, Sep 20, 2006 at 06:03:19PM -0700, Matthew Dillon wrote:
 
 :Reviewing FreeBSD mailing lists was quite challenging, but here's some issu=
 :...
 
 Cool.  The only problem area that I see is the 'l' option.  That
 option is (or was) used a *LOT* by people using tar to back-up
 partitions.  I think we can survive as long as anyone attempting 
 to use the option gets a fatal error which describes the situation
 in clear terms.
 

That's exactly what happens:
% bsdtar -l
Error: -l has different behaviors in different tar programs.
  For the GNU behavior, use --one-file-system instead.
  For the POSIX behavior, use --check-links instead.

 I have never used --multi-volume or --use-compress-program.  Those
 are things that probably ought to be piped anyhow.
 
 Were there any issues regarding compatibility between bsdtar and gtar? 
 e.g. someone taring up with gtar and detarring with bsdtar, or vise-versa,
 for archive transfers between machines ?
 

Yes, but I can't see any problem reports that are still outstanding.  Can anyone
else find any?

--Peter


pgpEllEM38AJA.pgp
Description: PGP signature


Default tar revisited

2006-09-18 Thread Peter Avalos
Since I upgraded to the newest version of bsdtar, I figure that it's a
good time to revisit the default tar discussion from May 2005.  What do
people think about switching to bsdtar so we don't need to maintain
multiple tars?

Here's the May 2005 thread:
http://leaf.dragonflybsd.org/mailarchive/users/2005-05/msg9.html

--Peter


pgp8EGFqgqfkh.pgp
Description: PGP signature


Re: Default tar revisited

2006-09-18 Thread Peter Avalos
On Mon, Sep 18, 2006 at 10:53:28PM -0400, Justin C. Sherrill wrote:
 On Mon, September 18, 2006 8:19 pm, Peter Avalos wrote:
  Since I upgraded to the newest version of bsdtar, I figure that it's a
  good time to revisit the default tar discussion from May 2005.  What do
  people think about switching to bsdtar so we don't need to maintain
  multiple tars?
 
  Here's the May 2005 thread:
  http://leaf.dragonflybsd.org/mailarchive/users/2005-05/msg9.html
 
 Gets my vote to change.  In a lazy bit of local benchmarking, my system
 sees bsdtar running slightly faster.
 
 bsdtar doesn't appear to handle tape (yet), but I don't know how much of
 an issue that is right now, and tape backup seems to be experiencing a
 slow fade, in any case...
 

Looks like the other BSDs have already made the change, and gtar is still
available in pkgsrc.


pgpy1ok1RAgv7.pgp
Description: PGP signature


Re: Postgresql HOWTO?

2006-09-08 Thread Peter Avalos
On Fri, Sep 08, 2006 at 10:35:36PM -0400, Adrian M. Nida wrote:

 At this point, I discovered that pkgsrc does not install *any* PostgreSQL 
 startup files.  I have a bunch of sample config files in /usr/pkg/share/
 postgresql, but nothing that looks like a startup.  I'm also assuming that 
 the 
 config files are supposed to go in /usr/pkg/etc/postgresql.
 

Check out /usr/pkg/share/examples/rc.d/

If you want the startup scripts installed for you, add this to mk.conf:

PKG_RCD_SCRIPTS=yes
RCD_SCRIPTS_DIR=/usr/pkg/etc/rc.d

--Peter


pgpM8xfYFhQTM.pgp
Description: PGP signature


Re: System downtime wednesday for maintainance.

2006-08-17 Thread Peter Avalos
On Thu, Aug 17, 2006 at 04:41:00PM +0800, W B Hacker wrote:
 
 Have you noticed any electrolytic capacitors - probably in VR section - 
 with slightly bulged tops?  Some of those have taken a *long* time to work 
 thru the system and fail - long after the 'big wave' has largely passed 
 from memory.
 
 Or maybe it's a new round of bad electrolyte
 
 Bill

I had a similar problem a few weeks ago.  I referenced this site:
http://www.badcaps.net/

--Peter


pgpzmd4XYpR47.pgp
Description: PGP signature


Re: Locked out - need a little help (caution: n00b meter on high!)

2006-07-30 Thread Peter Avalos
On Sun, Jul 30, 2006 at 07:53:22AM -0600, Gergo Szakal wrote:
 Yeah, I was stupid. I have set the default shell to /usr/pkg/bin/bash
 and started an upgrade of packages in the evening which has removed bash
 as well, obviously. All would have been good if DragonFly didn't spit
 out some race error (v 1.5.4 yet, was just about to start
 buildworld/buildkernel for 1.6.0, of course I cannot report it :-P)
 making the build processes fail somewhere, leaving me with no bash
 installed but bash as default shell for my root account and regular
 account as well. If I follow the instructions at
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW
 
 , then when I chsh, vi does not display things properly (will fiddle
 around with this later of course, if I cannot help it any other way, I'm
 just in a hurry now), so I cannot edit the info. All I could find out is
 to get the bash package written to some removable medium and install it
 from there. Is there some other, simpler way - perhaps involving the livecd?

Since the n00b meter was pegged, I'm assuming you don't know about manual
pages: 'man chsh' could have helped you figure this out:

chsh -s /bin/sh

--Peter


pgp9NRgbRxBFa.pgp
Description: PGP signature


Re: Getting pkgmanager to work

2006-07-06 Thread Peter Avalos
On Fri, Jul 07, 2006 at 03:57:30AM +1000, Petr Janda wrote:
 So I did by going to the directory and cvs update that but pkgmanager 
 still gives me the same error. Should I recompile it too?
 

Yes.


pgpSsnQPM9ZCJ.pgp
Description: PGP signature


Re: New to DragonFly...

2006-04-26 Thread Peter Avalos
On Wed, Apr 26, 2006 at 04:07:48PM -0400, John Von Essen wrote:
 Hi...
 
 I am checking out DFly since I have been getting more and more frsutrated
 with FreeBSD 5.x and 6.x distro's. I still run 4.11 on all my stuff.
 
 I guess my first real question is, how soon until DFly becomes stable
 enough to use in a production environment? I am not running anything
 fancy, just your basic apache/sendmail/bind/mysql and maybe some spam
 stuff.
 
 -John

I've been using it in a production environment for over 1.5 years.  There
were some SMP stability issues about a year ago, but Matt is EXTREMELY
diligent when fixing bugs.  I would recommend DragonFly in a production
environment if you have a little salt as a sysadmin.

--Peter


pgpNDrsSbuBYm.pgp
Description: PGP signature


Re: 1.4.0 torrent

2006-04-23 Thread Peter Avalos
On Sun, Apr 23, 2006 at 12:34:00AM -0400, Justin C. Sherrill wrote:
 On Sat, April 22, 2006 11:12 pm, Peter Avalos wrote:
  I just wanted to announce that since 1.4.4 is out, I will no longer be
  seeding
  the 1.4.0 torrent.
 
 Will you be seeding the 1.4.4 image, and if so, where's it at?
 

Sure.  Here's the torrent:

http://www.torrentbox.com/download.php/40793/dfly-1.4.4_REL.iso.gz.torrent

http://www.theshell.com/pub/pavalos/dfly-1.4.4_REL.iso.gz.torrent

--Peter


pgpY2gi8G0xpk.pgp
Description: PGP signature


Re: 1.4.0 torrent

2006-04-23 Thread Peter Avalos
On Sun, Apr 23, 2006 at 01:49:17PM -0700, Matthew Dillon wrote:
 
 :Sure.  Here's the torrent:
 :
 :http://www.torrentbox.com/download.php/40793/dfly-1.4.4_REL.iso.gz.torrent
 :
 :http://www.theshell.com/pub/pavalos/dfly-1.4.4_REL.iso.gz.torrent
 :
 :--Peter
 
 Can I put those up on the official download page when I put it up a
 little later today?
 
   -Matt

Absolutely.  That was the intent.

--Peter


pgpTOsYwxUMRn.pgp
Description: PGP signature


Re: Wiki spam

2006-03-08 Thread Peter Avalos
On Wed, Mar 08, 2006 at 09:37:59PM +0100, Jonas Trollvik wrote:
 Wouldnt it be possible to add some kind of graphical confirmation that
 displays a gif with a code that can't be ocr scanned like a lot of
 message boards / places do?
 
 This would at least prevent automated spam
 -Jonas

But then you restrict people to graphics-capable web browsers.

--Peter


pgp9qUBLIqfZ2.pgp
Description: PGP signature


Re: What size of DragonFly CVS repository now?

2005-08-19 Thread Peter Avalos
On Fri, Aug 19, 2005 at 12:18:06PM +0400, Andrey V. Elsukov wrote:
 Hi!
 
 I want cvsup a Dragonfly's CVS-repository, what its size now?
 
 Please CC me as I'm not subscribed.
 Thank!
 

Right now the entire repo is 682M.


pgpT5EcjvG7YR.pgp
Description: PGP signature