OT - I can't open some papers from cvs

2009-12-12 Thread Tomas Bodzar
Hi all,

I'm trying to read some papers on Linux from
http://www.openbsd.org/cgi-bin/cvsweb/www/papers/ and some of them
shows just errors.

$ file swapencrypt.ps
swapencrypt.ps: HTML document text

when I try gv then :

Error: /syntaxerror in -file-
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push   --nostringval--
--nostringval--   --nostringval--   false   1   %stopped_push   1862
1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3
%oparray_pop   1739   1   3   %oparray_pop   --nostringval--
%errorexec_pop   .runexec2   --nostringval--   --nostringval--
--nostringval--   2   %stopped_push
Dictionary stack:
   --dict:1151/1684(ro)(G)--   --dict:0/20(G)--   --dict:69/200(L)--
Current allocation mode is local
Current file position is 1
GPL Ghostscript 8.64: Unrecoverable error, exit code 1

$ gv --version
gv 3.6.5


If I try Evince then nothing. It just tries load file.

Another paper :

$ file tuning-openbsd.ps
tuning-openbsd.ps: HTML document text

If I try Evince then only info that Document (text/html) is not
supported. In terminal :

$ evince tuning-openbsd.ps
syntaxerror -18
syntaxerror -18

** (evince:11963): WARNING **: Error rendering thumbnail
syntaxerror -18

** (evince:11963): WARNING **: Error rendering thumbnail

if I try ePDFview then in terminal :

$ epdfview tuning-openbsd.ps

(epdfview:11968): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell:
assertion `tree_view-priv-tree != NULL' failed
Error: May not be a PDF file (continuing anyway)
Error: PDF file is damaged - attempting to reconstruct xref table...
Error: Couldn't find trailer dictionary
Error: Couldn't read xref table

and in GUI it asks me for password because document is encrypted.

In OpenBSD (Evince, gv) or in OpenSolaris (Evince) when I download
this file http://www.openbsd.org/papers/tuning-openbsd.ps then
everything is ok. Similar problems are with some PDF files. I'm
looking for details now, but I'm just curious if someone hit similar
problem.

Thanks

-- 
http://www.openbsd.org/lyrics.html



Re: diff on running an application from xterm or graphical menu ?

2009-12-12 Thread Remco
Mihai Popescu B.S. wrote:

 Hello all,
 
 I've run in some problem with gnome-mplayer. Basicaly, there is a
 difference in functioning if I run this application from xterm or
 graphical menu ( i use fbpanel menu). From xterm it works fine, it
 plays the movie. From graphical menu, it doesn't. It reports a Bad
 file descriptor.
 
 More details are here (gnome-mplayer list):

http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/9b940dfb583c0651
 
 So, can anyone spot a difference of the two ways of running an application
 ?
 
 Thanks

This is a bit of a long shot.

I noticed when running a desktop system like Gnome or KDE the process limits
of users in the default class may get in the way. (Don't know how resource
hungry your desktop system is)

You could look at ksh(1) for the ulimit option to increase the number of
processes / file descriptors. You may also want to use / set up a class
different from the default. (see login.conf(5))

e.g.
to raise some limits I've put myself in the staff class and I have this in
my ~/.profile:
ulimit -Sd 2048000 -Sn 1024  -Sp256



Re: Comparing large amounts of files

2009-12-12 Thread Paul M

On 12/12/2009, at 4:22 PM, Frank Bax wrote:


STeve Andre' wrote:

but am trying to come up with a reasonable way
of spotting duplicates, etc.


You mean like this...

$ cp /etc/firmware/zd1211-license /tmp/XX1
$ cp /var/www/icons/dir.gif /tmp/XX2
$ fdupes /etc/firmware/ /var/www/icons/ /tmp/
/tmp/XX2
/var/www/icons/dir.gif
/var/www/icons/folder.gif

snip



When comparing a very large number of files, the -1 flag to
fdupes makes it much to manage the output (IMO). Then each
line printed is a list of duplicate files.

But it depends on your own needs.


After seeing what you're trying to do, I'd say fdupes is a
perfect fit.


paulm



Re: OT - I can't open some papers from cvs

2009-12-12 Thread Benoit Lecocq
Hi,

$ wget http://www.openbsd.org/papers/swapencrypt.ps

$ file swapencrypt.ps
swapencrypt.ps: PostScript document text conforming DSC level 2.0

No problem for me with evince...

benoit

Tomas Bodzar wrote:
 Hi all,
 
 I'm trying to read some papers on Linux from
 http://www.openbsd.org/cgi-bin/cvsweb/www/papers/ and some of them
 shows just errors.
 
 $ file swapencrypt.ps
 swapencrypt.ps: HTML document text
 
 when I try gv then :
 
 Error: /syntaxerror in -file-
 Operand stack:
 
 Execution stack:
%interp_exit   .runexec2   --nostringval--   --nostringval--
 --nostringval--   2   %stopped_push   --nostringval--
 --nostringval--   --nostringval--   false   1   %stopped_push   1862
 1   3   %oparray_pop   1861   1   3   %oparray_pop   1845   1   3
 %oparray_pop   1739   1   3   %oparray_pop   --nostringval--
 %errorexec_pop   .runexec2   --nostringval--   --nostringval--
 --nostringval--   2   %stopped_push
 Dictionary stack:
--dict:1151/1684(ro)(G)--   --dict:0/20(G)--   --dict:69/200(L)--
 Current allocation mode is local
 Current file position is 1
 GPL Ghostscript 8.64: Unrecoverable error, exit code 1
 
 $ gv --version
 gv 3.6.5
 
 
 If I try Evince then nothing. It just tries load file.
 
 Another paper :
 
 $ file tuning-openbsd.ps
 tuning-openbsd.ps: HTML document text
 
 If I try Evince then only info that Document (text/html) is not
 supported. In terminal :
 
 $ evince tuning-openbsd.ps
 syntaxerror -18
 syntaxerror -18
 
 ** (evince:11963): WARNING **: Error rendering thumbnail
 syntaxerror -18
 
 ** (evince:11963): WARNING **: Error rendering thumbnail
 
 if I try ePDFview then in terminal :
 
 $ epdfview tuning-openbsd.ps
 
 (epdfview:11968): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell:
 assertion `tree_view-priv-tree != NULL' failed
 Error: May not be a PDF file (continuing anyway)
 Error: PDF file is damaged - attempting to reconstruct xref table...
 Error: Couldn't find trailer dictionary
 Error: Couldn't read xref table
 
 and in GUI it asks me for password because document is encrypted.
 
 In OpenBSD (Evince, gv) or in OpenSolaris (Evince) when I download
 this file http://www.openbsd.org/papers/tuning-openbsd.ps then
 everything is ok. Similar problems are with some PDF files. I'm
 looking for details now, but I'm just curious if someone hit similar
 problem.
 
 Thanks



Re: OT - I can't open some papers from cvs

2009-12-12 Thread Tomas Bodzar
I found some difference. If I download tuning-openbsd.ps from there
http://www.openbsd.org/cgi-bin/cvsweb/www/papers/tuning-openbsd.ps
then it's broken. If I use this link
http://www.openbsd.org/papers/tuning-openbsd.ps then everything is ok.

Eh stop. Ok, I'm an idiot :-D I used right click for download on this
link http://www.openbsd.org/cgi-bin/cvsweb/www/papers/ (on
tuning-openbsd.ps), it download tuning-openbsd.ps but it's in fact
this html file
http://www.openbsd.org/cgi-bin/cvsweb/www/papers/tuning-openbsd.ps
and not ps paper.

So sorry for noise

On Sat, Dec 12, 2009 at 10:45 AM, Benoit Lecocq b...@arcane-labs.net wrote:
 Hi,

 $ wget http://www.openbsd.org/papers/swapencrypt.ps

 $ file swapencrypt.ps
 swapencrypt.ps: PostScript document text conforming DSC level 2.0

 No problem for me with evince...

 benoit

 Tomas Bodzar wrote:
 Hi all,

 I'm trying to read some papers on Linux from
 http://www.openbsd.org/cgi-bin/cvsweb/www/papers/ and some of them
 shows just errors.

 $ file swapencrypt.ps
 swapencrypt.ps: HTML document text

 when I try gv then :

 Error: /syntaxerror in -file-
 Operand stack:

 Execution stack:
 B  B %interp_exit B  .runexec2 B  --nostringval-- B  --nostringval--
 --nostringval-- B  2 B  %stopped_push B  --nostringval--
 --nostringval-- B  --nostringval-- B  false B  1 B  %stopped_push B  1862
 1 B  3 B  %oparray_pop B  1861 B  1 B  3 B  %oparray_pop B  1845 B  1 B  3
 %oparray_pop B  1739 B  1 B  3 B  %oparray_pop B  --nostringval--
 %errorexec_pop B  .runexec2 B  --nostringval-- B  --nostringval--
 --nostringval-- B  2 B  %stopped_push
 Dictionary stack:
 B  B --dict:1151/1684(ro)(G)-- B  --dict:0/20(G)-- B  --dict:69/200(L)--
 Current allocation mode is local
 Current file position is 1
 GPL Ghostscript 8.64: Unrecoverable error, exit code 1

 $ gv --version
 gv 3.6.5


 If I try Evince then nothing. It just tries load file.

 Another paper :

 $ file tuning-openbsd.ps
 tuning-openbsd.ps: HTML document text

 If I try Evince then only info that Document (text/html) is not
 supported. In terminal :

 $ evince tuning-openbsd.ps
 syntaxerror -18
 syntaxerror -18

 ** (evince:11963): WARNING **: Error rendering thumbnail
 syntaxerror -18

 ** (evince:11963): WARNING **: Error rendering thumbnail

 if I try ePDFview then in terminal :

 $ epdfview tuning-openbsd.ps

 (epdfview:11968): Gtk-CRITICAL **: gtk_tree_view_set_cursor_on_cell:
 assertion `tree_view-priv-tree != NULL' failed
 Error: May not be a PDF file (continuing anyway)
 Error: PDF file is damaged - attempting to reconstruct xref table...
 Error: Couldn't find trailer dictionary
 Error: Couldn't read xref table

 and in GUI it asks me for password because document is encrypted.

 In OpenBSD (Evince, gv) or in OpenSolaris (Evince) when I download
 this file http://www.openbsd.org/papers/tuning-openbsd.ps then
 everything is ok. Similar problems are with some PDF files. I'm
 looking for details now, but I'm just curious if someone hit similar
 problem.

 Thanks



Re: allow dhcpd with pf

2009-12-12 Thread Duncan Patton a Campbell
On Tue, 24 Nov 2009 08:38:07 -0700
Theo de Raadt dera...@cvs.openbsd.org wrote:

 
 Damn right it will.
 
 Where is it written up?  In the manual pages.  I can't believe
 we are here in 2009 and people still believe they can get away
 with being an idiot because they believe they are above doing
 research:
 
Not really sure how to com this without starting a ruckuss..  

Fact of the matter is that you are seeing time compression here:
you've been at this, what 20-odd years?  Every generation will ask
the same questions ... we all come from the same place, ya know.

Dhu



Re: OT: Have you hugged your local OpenBSD dev lately?

2009-12-12 Thread Duncan Patton a Campbell
On Wed, 18 Nov 2009 21:51:03 -0800
Ted Unangst ted.unan...@gmail.com wrote:

 
 How many people are aware that any X program can listen to the  
 keystrokes of any other X program?
 

Any machine running or accessed by an X-machine is fundamentally insecure 
to whatever level of perms the accessor has.  Which doesn't mean that I 
don't use X, just that I assume, a-priori, that anything on X is common-wealth.


Dhu



Re: ioctl error

2009-12-12 Thread Ismail OZATAY
 Fred Crowson yazmD1E:

  On 12/11/09, Ismail OZATAY   ism...@ismailozatay.net   wrote:

 Fred Crowson yazmD1E:

  On 12/10/09, Ismail OZATAY   ism...@ismailozatay.net   wrote:

Hi all ,

Today my openbsd server started to send some errors to syslog that i
could not find anything about this error.

symon: if(mtd0) failed (ioctl error)

what does it mean ?

Regards

ismail

http://www.lmgtfy.com/?q=symon+system+monitor  might be a good 
start...

Dear Fred ,
http://www.lmgtfy.com is a usefull web site for kids and handicaps. You
could advice me to read something about symon. Never suggest it again or if

  I would never condescend to give you advice, but I would recommend reading:
  http://www.lmgtfy.com/?q=OpenBSD+mailing+list+etiquette  

You should go to a psychiatrist and ask him/her why i am addicted to use
www.lmgtfy.com. Also i do not need to know more about etiquette but i see
that you need to know more about it.

you do not want to help anybody do not reply these posts, ok ? Probably i
will never use Regards again...

  I am sure Regards will miss your company.
  
  Thanks
  
  Fred



Re: ioctl error

2009-12-12 Thread Rod Whitworth
On Sat, 12 Dec 2009 13:12:42 +0200, Ismail OZATAY wrote:

You should go to a psychiatrist and ask him/her why i am addicted to use
www.lmgtfy.com. Also i do not need to know more about etiquette but i see
that you need to know more about it.

You are a drip. A rude drip. Guess why you get treated like a drip?
Because you are unbearably rude and lazy.
Further mail from you will fall straight into /dev/null, Wanker!

---

*** NOTE *** Please DO NOT CC me. I am subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
---
This life is not the real thing.
It is not even in Beta.
If it was, then OpenBSD would already have a man page for it.



Re: diff on running an application from xterm or graphical menu ?

2009-12-12 Thread Chris Bennett

Remco wrote:

Mihai Popescu B.S. wrote:

  

Hello all,

I've run in some problem with gnome-mplayer. Basicaly, there is a
difference in functioning if I run this application from xterm or
graphical menu ( i use fbpanel menu). From xterm it works fine, it
plays the movie. From graphical menu, it doesn't. It reports a Bad
file descriptor.

More details are here (gnome-mplayer list):



http://groups.google.com/group/gecko-mediaplayer/browse_thread/thread/9b940dfb583c0651
  

So, can anyone spot a difference of the two ways of running an application
?

Thanks



This is a bit of a long shot.

I noticed when running a desktop system like Gnome or KDE the process limits
of users in the default class may get in the way. (Don't know how resource
hungry your desktop system is)

You could look at ksh(1) for the ulimit option to increase the number of
processes / file descriptors. You may also want to use / set up a class
different from the default. (see login.conf(5))

e.g.
to raise some limits I've put myself in the staff class and I have this in
my ~/.profile:
ulimit -Sd 2048000 -Sn 1024  -Sp256


  
I get some apps that occasionally just end themselves, like filezilla 
and firefox.

I'm going to try this and see if that problem disappears.
Can't hurt.

I couldn't get  -Sd 204800 to work, said allowable limits exceeded.
-Sd 1024000 works

--
A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects.
  -- Robert Heinlein



Re: sound problems with -current

2009-12-12 Thread Antti Harri

On Fri, 11 Dec 2009, Jacob Meuser wrote:


from ALSA's ac97_patch.c:

/* CM9739/A has no Master and PCM volume although the register reacts */
ac97-flags |= AC97_HAS_NO_MASTER_VOL | AC97_HAS_NO_PCM_VOL;

so with ALSA, you don't even get the controls, because they don't (can't)
do anything.


OK. Thanks for clearing this. If the OP is in the similar situation,
maybe he can use Ratchov's aucatvol too then.

--
Antti Harri



Re: ComixWall terminated

2009-12-12 Thread dark knight neo
Since when announcing is spam ?
Being that the Comixwall is OpenBSD
Why Theo don't announcing or put a link in the OpenBSD website to Comixwall
website ?
Why no think in the collective one ?



2009/12/12 J Sisson sisso...@gmail.com

 On Fri, Dec 11, 2009 at 9:54 PM, acam...@the00z.org wrote:

  This isn't about money, is about spam.
 
  Two separate issues, boss.

 1)  spam.  Theo and the OpenBSD team own this list.  Just because OpenBSD
 is
 free to use as you see fit doesn't mean the mailing lists are too.  Theo
 said stop it, and the OP challenged Theo's decision.  Theo had every right
 to be pissed.  I'm not disagreeing there.

 2) money.  I was responding to a post about the OpenBSD team losing CD
 sales
 due to ComixWall.  I fail to see how that doesn't concern money.



Re: ComixWall terminated

2009-12-12 Thread FRLinux
On Sat, Dec 12, 2009 at 3:05 PM, dark knight neo knight@gmail.com wrote:
 Since when announcing is spam ?
 Being that the Comixwall is OpenBSD
 Why Theo don't announcing or put a link in the OpenBSD website to Comixwall
 website ?
 Why no think in the collective one ?

Regardless of the words exchanged between both parties, you are thick
and need some reading skills.

Steph



Invitacion a ver mi pagina - Oportunidad de Mina de Oro - Invita Carlos Valenzuela

2009-12-12 Thread carlos valenzuela
Buenos dias, buenas tardes o buenas noches, le quiero compartir mi pagina
web donde les presento la oportunidd de negocio que esta cambiando la vida
de las personas a nivel mundial, un abrazo muy fuerte de su amigo lider
hispano carlos valenzuela

este es el link :

www.exitomental.net/tvi/?2



Re: ComixWall terminated

2009-12-12 Thread dark knight neo
Yes ..
You have all the reason .

I ask .

THEO,

Which the reason for not announce the Comixwall in the OpenBSD misc list ?
I would like to understand.

My best regards



2009/12/12 FRLinux frli...@gmail.com

 On Sat, Dec 12, 2009 at 3:05 PM, dark knight neo knight@gmail.com
 wrote:
  Since when announcing is spam ?
  Being that the Comixwall is OpenBSD
  Why Theo don't announcing or put a link in the OpenBSD website to
 Comixwall
  website ?
  Why no think in the collective one ?

 Regardless of the words exchanged between both parties, you are thick
 and need some reading skills.

 Steph



Re: ComixWall terminated

2009-12-12 Thread Jason Dixon
On Sat, Dec 12, 2009 at 03:12:34PM -0200, dark knight neo wrote:
 Yes ..
 You have all the reason .

Seriously, STFU.  Take it offlist with individuals if you still have
questions.

-- 
Jason Dixon
DixonGroup Consulting
http://www.dixongroup.net/



Re: ComixWall terminated

2009-12-12 Thread Marco Peereboom
Because it doesn't fucking belong there.  How hard is that to get
through your skull?

Now go back to Norway.

On Sat, Dec 12, 2009 at 03:12:34PM -0200, dark knight neo wrote:
 Yes ..
 You have all the reason .
 
 I ask .
 
 THEO,
 
 Which the reason for not announce the Comixwall in the OpenBSD misc list ?
 I would like to understand.
 
 My best regards
 
 
 
 2009/12/12 FRLinux frli...@gmail.com
 
  On Sat, Dec 12, 2009 at 3:05 PM, dark knight neo knight@gmail.com
  wrote:
   Since when announcing is spam ?
   Being that the Comixwall is OpenBSD
   Why Theo don't announcing or put a link in the OpenBSD website to
  Comixwall
   website ?
   Why no think in the collective one ?
 
  Regardless of the words exchanged between both parties, you are thick
  and need some reading skills.
 
  Steph



Re: ProLiant DL360 G3 - bge won't work

2009-12-12 Thread Mauro Rezzonico
OpenBSD 4.6 has been released with broken support for bge, you must 
update to a snapshot from October at least...


It is fixed after 4.6-release in both -stable
and -current.

4.6-current:
http://marc.info/?l=openbsd-cvsm=12492713264w=2

4.6-stable:
http://marc.info/?l=openbsd-cvsm=125625879208738w=2

--
Mauro Rezzonico ma...@ch23.org, Como, Italia
Maybe this world is another planet's hell - H.Huxley



T-Mobile Service Authorization

2009-12-12 Thread T-Mobile
This email is to notify you that your T-Mobile phone # has been 
suspended as of the date shown below.

Suspension Date: 12/12/2009

To process the balance due and return your T-Mobile account to 
good standing, download the attached form and re-enter your 
credit card information.

We are looking out for you!

If you have any questions, your T-Mobile team is available to 
assist you 24 hours a day, 7 days a week.

Thank you again for choosing T-Mobile!

Sincerely,

T-Mobile Customer Care



This email is sent from a mailbox that does not accept replies. 
To send us an email, please visit our Contact Us page.

[demime 1.01d removed an attachment of type APPLICATION/DEFANGED which had a 
name of Support Follow-up.7590DEFANGED-htm]



Re: ComixWall terminated

2009-12-12 Thread Bret S. Lambert
On Sat, Dec 12, 2009 at 11:30:15AM -0600, Marco Peereboom wrote:
 Because it doesn't fucking belong there.  How hard is that to get
 through your skull?
 
 Now go back to Norway.

No, because then I have to deal with him.

Send him to Iceland.

 
 On Sat, Dec 12, 2009 at 03:12:34PM -0200, dark knight neo wrote:
  Yes ..
  You have all the reason .
  
  I ask .
  
  THEO,
  
  Which the reason for not announce the Comixwall in the OpenBSD misc list ?
  I would like to understand.
  
  My best regards
  
  
  
  2009/12/12 FRLinux frli...@gmail.com
  
   On Sat, Dec 12, 2009 at 3:05 PM, dark knight neo knight@gmail.com
   wrote:
Since when announcing is spam ?
Being that the Comixwall is OpenBSD
Why Theo don't announcing or put a link in the OpenBSD website to
   Comixwall
website ?
Why no think in the collective one ?
  
   Regardless of the words exchanged between both parties, you are thick
   and need some reading skills.
  
   Steph



Re: OT: Have you hugged your local OpenBSD dev lately?

2009-12-12 Thread Lars Nooden

On Sat, 12 Dec 2009, Duncan Patton a Campbell wrote:

On Wed, 18 Nov 2009 21:51:03 -0800
Ted Unangst ted.unan...@gmail.com wrote:

How many people are aware that any X program can listen to the
keystrokes of any other X program?


Any machine running or accessed by an X-machine is fundamentally 
insecure to whatever level of perms the accessor has.  Which doesn't 
mean that I don't use X, just that I assume, a-priori, that anything on 
X is common-wealth.


So everything under X should be considered available to everything else 
under X.


I presume new models for displays, or new ways to get some kind of 
privilege separation for X, have been discussed to death 
already.  Is there any key discussion or publication?


/Lars



Re: Comparing large amounts of files

2009-12-12 Thread Liviu Daia
On 11 December 2009, STeve Andre' and...@msu.edu wrote:
I am wondering if there is a port or otherwise available
 code which is good at comparing large numbers of files in
 an arbitrary number of directories?  I always try avoid
 wheel re-creation when possible.  I'm trying to help some-
 one with large piles of data, most of which is identical
 across N directories.  Most.  Its the 'across dirs' part
 that involves the effort, hence my avoidance of thinking
 on it if I can help it. ;-)

Try this tiny Perl script:

http://hqbox.org/files/fdupe.pl

It's still faster than all of its competitors I'm aware of (most of
them written in C). :)

Regards,

Liviu Daia

-- 
Dr. Liviu Daia  http://www.imar.ro/~daia



Re: Comparing large amounts of files

2009-12-12 Thread Andy Hayward
On Fri, Dec 11, 2009 at 23:24, STeve Andre' and...@msu.edu wrote:
 B  I am wondering if there is a port or otherwise available
 code which is good at comparing large numbers of files in
 an arbitrary number of directories? B I always try avoid
 wheel re-creation when possible. B I'm trying to help some-
 one with large piles of data, most of which is identical
 across N directories. B Most. B Its the 'across dirs' part
 that involves the effort, hence my avoidance of thinking
 on it if I can help it. ;-)

sysutils/fdupes

-- ach



after a fresh install

2009-12-12 Thread Tudod Ki
I wanted to install mc.pkg_add mcCan't find unzip-5.52p0/usr/sbin/pkg_add: 
unzip-5.52p0:Fatal error
Ok, then how could I install unzip?



Re: after a fresh install

2009-12-12 Thread patrick keshishian
On Sat, Dec 12, 2009 at 7:43 PM, Tudod Ki tudodk...@yahoo.com wrote:
 I wanted to install mc.pkg_add mcCan't find unzip-5.52p0/usr/sbin/pkg_add: 
 unzip-5.52p0:Fatal error
 Ok, then how could I install unzip?

fresh install of what? 4.6? snapshot? Which architecture? Where is
your PKG_PATH pointing to?



Re: No RTF_UP after route change to an interface that is up

2009-12-12 Thread Doran Mori
I missed handling RTM_CHANGES with my changes.

BTW I just finished testing what wasn't working right with my ospfd
setup before and now everything is working properly. Yipee!

dmo

Index: rtsock.c
===
RCS file: /cvs/src/sys/net/rtsock.c,v
retrieving revision 1.95
diff -u -p rtsock.c
--- rtsock.c3 Nov 2009 10:59:04 -   1.95
+++ rtsock.c13 Dec 2009 05:01:25 -
@@ -490,17 +490,17 @@ route_output(struct mbuf *m, ...)
 */
if (rn_mpath_capable(rnh)) {
/* first find correct priority bucket */
-   rn = rn_mpath_prio(rn, prio);
+   rn = rn_mpath_prio_lookup(rn, prio);
rt = (struct rtentry *)rn;
-   if (prio != RTP_ANY 
-   (rt-rt_priority  RTP_MASK) != prio) {
+   if (!rn || (prio != RTP_ANY 
+   (rt-rt_priority  RTP_MASK) != prio)) {
error = ESRCH;
rt-rt_refcnt++;
goto flush;
}

/* if multipath routes */
-   if (rn_mpath_next(rn, 0)) {
+   if (rn_mpath_next(rn, 2)) {
if (gate)
rt = rt_mpath_matchgate(rt, gate, prio);
else if (rtm-rtm_type != RTM_GET)
@@ -639,6 +639,19 @@ report:
ifa-ifa_refcnt++;
rt-rt_ifp = ifp;
}
+   }
+
+   /* new gateway, possible link state change  */
+   if ((LINK_STATE_IS_UP(ifa-ifa_ifp-if_link_state) ||
+   ifa-ifa_ifp-if_link_state ==
LINK_STATE_UNKNOWN) 
+   ifa-ifa_ifp-if_flags  IFF_UP) {
+   rt-rt_flags |= RTF_UP;
+   rt-rt_priority = RTP_MASK;
+   }
+   else {
+   rt-rt_flags = ~RTF_UP;
+   rtm-rtm_flags = RTF_UP;
+   rt-rt_priority |= RTP_DOWN;
}

/* XXX Hack to allow some flags to be toggled */



Gestión y Optimización de Almacenes e Inventarios México D.F.

2009-12-12 Thread Lic. Claudia Reyes
GestiC3n y OptimizaciC3n de Almacenes e Inventarios

Objetivo General:

Relacionar la importancia estratC)gica del almacC)n conforme los objetivos del
negocio.

Identificar C!reas de oportunidad en la gestiC3n del almacenaje y del recurso
humano.

Contar con herramientas para retroalimentar acerca del reabastecimiento de
insumos y aplicaciC3n prC!ctica de conceptos en ejercicios y dinC!micas.

Destacar la importancia de la gestiC3n estratC)gica de la organizaciC3n para
la mejor ejecuciC3n de las operaciones logC-sticas.

Comprender y practicar algunos principios de administraciC3n de inventarios a
fin de contribuir a la mejor definiciC3n en la reposiciC3n de existencias.


Fecha: 28 de Enero del 2010.
Sede: Hotel NH MC)xico D.F.

Solicite mayores informes respondiendo este correo con sus datos completos:
Nombre:
Empresa:
TelC)fono:
Ciudad:
E mail:
No. de Interesados:

O bien comunC-quese a nuestros telC)fonos y un ejecutivo le atenderC!. (33)
1201-6898  -  (33) 1562-1784  -  (33) 3110-6502


Lic. Claudia Reyes
PromociC3n

Este Mensaje ha sido enviado a misc@openbsd.org como usuario de Congress 
Marketing o bien un usuario le refirio para recibir este boletC-n.
Como usuario de Congress  Marketing, en este acto autoriza de manera expresa
que Congress  Marketing le puede contactar vC-a correo electrC3nico u otros
medios. Si usted ha recibido este mensaje por error, haga caso omiso de el y
reporte su cuenta respondiendo este correo con el subject BAJA CM000SCRMZ.
Unsubscribe to this mailing list, reply a blank message withe the subject
UNSUBSCRIBE CM000SCRMZ
Tenga en cuenta que la gestiC3n de nuestras bases de datos es de suma
importancia y no es intenciC3n de la empresa la inconformidad del receptor.



Re: No RTF_UP after route change to an interface that is up

2009-12-12 Thread Doran Mori
I was wrong. I just looked at rtalloc_mpath in the multipath code and
realized what I touched is probably going to break this now.

Should I be flipping RTF_MPATH flags when I'm flipping RTF_UP flags?

dmo