Re: On the need for moderated questions lists

2009-05-29 Thread Giorgos Keramidas
On Fri, 29 May 2009 15:14:20 +0200 (CEST),
Wojciech Puchar  wrote:
>> Not necessarily.
>>
>> There were 'rules' in Nazi Germany too, and there usually exist at
>> least some 'rules' in oppressive regimes, but they do not
>> necessarily, by virtue of their mere existence, lead to satisfying
>> results.
>
> The difference is that you have choice here, people living in Nazi
> Germany (and Poland) that times didn't.

First of all, this is not a personal comment, directed at you, but a
comment on the idea of 'strict moderation'.

Another thing that is worth stating is that invoking Godwin's law means
I instantly lose any argument; I know that already.  More importantly, I
do not mean to sound disrespectful to you or other Polish people.
Especially since my own family has lost people in WWII.

But the choice you have in a strictly moderated mailing list is about
the same as the choice my people had in that particular oppressive
regime: leave or stay to fight a hopeless battle.

That's what bothers me with strict moderation.  It hinders the freedom
of expression of people, forcing them to go through unreasonable hoops
whenever their personality is slightly different from the 'permitted'
forms of straight-jacket.

>>> already told you i will
>>
>> Thank you!  I'll be watching for interesting updates :)
>
> OK no later than tomorrow morning

There are 53 archive files for freebsd-questions in 2008.  Their average
size is 1,863,288 bytes.  This means around 8,229,522 of email for each
month of 2008 alone.

This is a lot of text to go through, even in a semi-automated manner.

So please, take your time.  I'm not some sort of Dilbertian manager who
wants you ``to do the impossible and do it a week ago, because we sold
it already to someone''.

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


MIME attachments in mbox files

2009-05-29 Thread Vince Sabio
I have a need (well, I have lots of needs, but I'll try to stay 
focused here) to be able to take a Windows zip file that is stored as 
a MIME attachment to an e-mail message in an Mbox-format spool file, 
and unzip the attachment. I actually need to script the process. In 
case it helps, I can dedicate a mailbox to the task. If necessary, I 
can write my own parser to strip out the attachment, in which case 
I'd need only a widget that can take in a MIME (base64) encoded zip 
file, convert it to binary, and unzip it.


Anyone know of any FreeBSD utility(ies) that do(es) this?

__
Vince Sabio  vi...@vjs.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: Fresh install 7.2-RELEASE i386, X won't start

2009-05-29 Thread Leslie Jensen



Glen Barber skrev:

Leslie,

On Fri, May 29, 2009 at 3:06 PM, Leslie Jensen  wrote:

of course turn off hald, and run moused.


Unfortunately that did not fix the problem :-(
What do I test next?


Could you paste the output of:

cd /usr/ports/x11/xorg; make missing



There's no output!


This is really a mystery for me! The machine was upgraded several times 
with freebsd-update. Unfortunately the last update to 7.2 gave me some 
problems so I decided to make a fresh install. I'm using the same 
settings as before I reinstalled where I had no problem with X and I 
used hal before.


/Leslie
___
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: Canon printer and TurboPrint

2009-05-29 Thread Bernt Hansson

Jerry said the following on 2009-05-29 12:48:

On Fri, 29 May 2009 09:34:36 +0200

The concept behind the EU is socialism, pure and simple.


You don't know the meaning of the word "socialism"



It attempts to
create an artificial playing field that allows the incompetent to
compete with the motivated.


So does any other -ism



It forces those who create new technology to share it


Of course not. if you create something and don't wont to share
then don't


A free, open market is the way to encourage development and
new ideas and technology.


There is no such thing as a "free" market

___
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: Canon printer and TurboPrint

2009-05-29 Thread Bernt Hansson

Jerry said the following on 2009-05-28 22:43:

> Basic law of marketing is to give the public what they want.

No. The company CREATES a "need" for their product.
That's the number one rule.


___
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: pfsync in GENERIC?

2009-05-29 Thread Steven Schlansker


On May 29, 2009, at 5:29 PM, Michael Powell wrote:


Steven Schlansker wrote:

[snip]

A custom kernel can free up a little RAM, and maybe boot a little  
sooner,
but it won't produce any earth shattering differences. I think most  
do it to
'shrink' down and eliminate anything which is not required for a  
particular

piece of hardware. It decreases the possibility of something unneeded
causing a problem, and enhances problem resolution by making the  
list of

potential culprits smaller.


Yeah, that's basically how I felt as well.  However as to the  
"something unneeded causing a problem" I must say I've never had a  
GENERIC kernel fail due to some unneeded device driver, but I've  
definitely had a custom built kernel fail because of some tunable or  
driver I misconfigured!





I'm just thinking that since pf is included in the base distribution,
there's enough people that use it that it's worth including.  It  
seems

that pfsync would be a negligible addon, and much more attractive due
to the lack of support for building it as a module.


IIRC, quite a while back IPFW was the default firewall and was  
included in
GENERIC by default. With the advent of IPFILTER and PF we now have 3  
to
choose from. Since theoretically(?) each should be usable as modules  
and
user freedom/choice are paramount, I believe it was decided to  
remove any
default firewall from the GENERIC kernel to enable a user to simply  
load the
module of their choice without needing to do a kernel re-compile  
first. In

other words, flexibility.


That makes perfect sense and answers my question.  I hadn't realized  
that there were alternatives to pf and that people still actively used  
them.





Anyway, if I have further questions about pfsync in particular I  
guess
I'll go ask -pf.  I may have some free time coming up; maybe I'll  
even

try my hand at hacking on the kernel and see if I can't make it build
as a module... (would that be a semi-reasonable project for someone
with light familiarity with kernel coding?  I've coded up Linux  
kernel

modules before, but haven't worked in-tree on a "real" OS)



I believe the module situation may be a known entity. Consult the PR  
bug
reports for more details. At some point a dev may take care of the  
situation

and it will just show up in some future release.


There is no PR apparently; I shall file one.




Should you desire to "hack" into it yourself and succeed the devs will
welcome the patch/diffs for perusal and testing provided you go  
about it the
right way. Advancing the state of FreeBSD is always a plus, and I as  
a user
salute all those who strive and work towards making FreeBSD a better  
OS.


I like to try to be one of the more useful retards on the internet ;)   
I'm hopeful that getting it to work at least for the unicast setup  
shouldn't be too hard; granted I haven't perused the code yet...

___
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: Canon printer and TurboPrint

2009-05-29 Thread Bernt Hansson

Wojciech Puchar said the following on 2009-05-28 23:06:


Poland is now slowly losing independence


Poland has never had any independence. Your argument is moot.

http://sv.wikipedia.org/wiki/Polsk_riksdag
http://www.popularhistoria.se/o.o.i.s?id=43&vid=344
___
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: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Karl Vogel
>> On Fri, 29 May 2009 11:03:16 -0700, 
>> Kelly Jones  said:

K> The to address might be "a...@foo.com" for one message, "x...@foo.com" for
K> another message, etc.  In other words, a true autoresponder.

   If you use procmail, there's a dandy recipe in the examples man page
   ("man procmailex") which does exactly what you want.

   Source: http://www.procmail.org/
   Tips: http://lipas.uwasa.fi/~ts/info/proctips.html

-- 
Karl Vogel  I don't speak for the USAF or my company

Piece of crap printer
Soars like a sparrow as I
Heave it off the bridge.--geek haiku
___
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: pfsync in GENERIC?

2009-05-29 Thread Michael Powell
Steven Schlansker wrote:

[snip]
> 
> Hm.  I was actually under the impression that you wouldn't gain much
> by compiling your own kernel (except for maybe some disk space).  Is
> that not the case?  Is there a strong reason to compile your own
> kernel for "production" machines?  The discussion online is not
> conclusive (then again I'll probably just get contradictory opinions
> again here!)

A custom kernel can free up a little RAM, and maybe boot a little sooner, 
but it won't produce any earth shattering differences. I think most do it to 
'shrink' down and eliminate anything which is not required for a particular 
piece of hardware. It decreases the possibility of something unneeded 
causing a problem, and enhances problem resolution by making the list of 
potential culprits smaller.

 
> I'm just thinking that since pf is included in the base distribution,
> there's enough people that use it that it's worth including.  It seems
> that pfsync would be a negligible addon, and much more attractive due
> to the lack of support for building it as a module.

IIRC, quite a while back IPFW was the default firewall and was included in 
GENERIC by default. With the advent of IPFILTER and PF we now have 3 to 
choose from. Since theoretically(?) each should be usable as modules and 
user freedom/choice are paramount, I believe it was decided to remove any 
default firewall from the GENERIC kernel to enable a user to simply load the 
module of their choice without needing to do a kernel re-compile first. In 
other words, flexibility.
 
> Anyway, if I have further questions about pfsync in particular I guess
> I'll go ask -pf.  I may have some free time coming up; maybe I'll even
> try my hand at hacking on the kernel and see if I can't make it build
> as a module... (would that be a semi-reasonable project for someone
> with light familiarity with kernel coding?  I've coded up Linux kernel
> modules before, but haven't worked in-tree on a "real" OS)
> 

I believe the module situation may be a known entity. Consult the PR bug 
reports for more details. At some point a dev may take care of the situation 
and it will just show up in some future release.

Should you desire to "hack" into it yourself and succeed the devs will 
welcome the patch/diffs for perusal and testing provided you go about it the 
right way. Advancing the state of FreeBSD is always a plus, and I as a user 
salute all those who strive and work towards making FreeBSD a better OS.

...my measly little $.02

-Mike



___
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: pfsync in GENERIC?

2009-05-29 Thread Polytropon
On Fri, 29 May 2009 16:55:24 -0700, Steven Schlansker  
wrote:
> Hm.  I was actually under the impression that you wouldn't gain much  
> by compiling your own kernel (except for maybe some disk space). 

No. Compiling one's own kernel allows for some definitions,
e. g. having only the support in the kernel for the hardware
that is actually existing in the specific settings. Furthermore,
in some cases variables need to be set at kernel compile time.

For example, in FreeBSD 5 the only way to get IPFW was to
compile it into the kernel. Today, there's a module for this.

As you mentioned correctly, speed considerations may also lead
you to the requirement of compiling the kernel.

Speaking for myself, I like to have a custom kernel on my
own machine (which is somewhat special, so it deserves it),
but on customers' systems, going with "as most untouched as
possible" is often the way I choose. This allows me to safely
use tools like freebsd-update.



> Is there a strong reason to compile your own  
> kernel for "production" machines? 

In most cases, production machines do not require compiling a
kernel. But it depends on the setting - if you essentially need
something that cannot be done via kernel tunables or loadable
modules.



> The discussion online is not  
> conclusive (then again I'll probably just get contradictory opinions  
> again here!)

Of course. :-)





-- 
Polytropon
>From 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: 7.2 Release kills my XP Dual Boot

2009-05-29 Thread Michael Powell
Kent Hauser wrote:

> Sorry I was less than clear.
> 
> I've been running XP + FreeBSD dual boot forever. After installing 7.2
> (rebuilding from source), the XP partition wouldn't boot. When I selected
> "F1" at the boot menu, the system just hung.
> 
> I booted from an old 6.2 install disk I had around & selected
> "Custom/Partition" & used the hidden "W" command to write the partition
> information & boot manager. I could then dual-boot XP / FreeBSD 7.2.
> 
> For fun, I tried "Custom/Partiion/Write" from the 7.2 DVD & it hung just
> like the rebuild from source. Fixed again with 6.2 disk.
> 
> My conclusion is that 7.2 (or 7.1 -- I moved from 7.0) broke dual boot.
> 
> Any other thoughts?
> 

Probably code has changed in the boot loader. You may consider searching the 
PR bug reports for related boot troubles, and if you locate something which 
is either close or matches your situation add your experience to the PR. 
Sometimes these turn out to be edge cases with which the devs have not 
seen/experienced themselves so they need to hear it from users who do.

-Mike




___
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: pfsync in GENERIC?

2009-05-29 Thread Steven Schlansker


On May 29, 2009, at 1:44 PM, Mel Flynn wrote:


On Friday 29 May 2009 20:38:54 Steven Schlansker wrote:


And not to be argumentative, but sys/conf/NOTES does not really
provide any information.  The only comment explains what the device
does, not why it wouldn't be enabled in GENERIC.  Is there any reason
it could not be?  (For those of us who want to use freebsd-update,  
for

example)


Choice of the project. You'd have to ask on -current, -pf or - 
hackers for a
more authoritative answer, but my guess would be that 80% of the  
people using
this feature in production have a highly optimized kernel and  
wouldn't be

using GENERIC to begin with.


Hm.  I was actually under the impression that you wouldn't gain much  
by compiling your own kernel (except for maybe some disk space).  Is  
that not the case?  Is there a strong reason to compile your own  
kernel for "production" machines?  The discussion online is not  
conclusive (then again I'll probably just get contradictory opinions  
again here!)


I'm just thinking that since pf is included in the base distribution,  
there's enough people that use it that it's worth including.  It seems  
that pfsync would be a negligible addon, and much more attractive due  
to the lack of support for building it as a module.


Anyway, if I have further questions about pfsync in particular I guess  
I'll go ask -pf.  I may have some free time coming up; maybe I'll even  
try my hand at hacking on the kernel and see if I can't make it build  
as a module... (would that be a semi-reasonable project for someone  
with light familiarity with kernel coding?  I've coded up Linux kernel  
modules before, but haven't worked in-tree on a "real" OS)


Best,
Steven
___
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: 7.2 Release kills my XP Dual Boot

2009-05-29 Thread Kent Hauser
Sorry I was less than clear.

I've been running XP + FreeBSD dual boot forever. After installing 7.2
(rebuilding from source), the XP partition wouldn't boot. When I selected
"F1" at the boot menu, the system just hung.

I booted from an old 6.2 install disk I had around & selected
"Custom/Partition" & used the hidden "W" command to write the partition
information & boot manager. I could then dual-boot XP / FreeBSD 7.2.

For fun, I tried "Custom/Partiion/Write" from the 7.2 DVD & it hung just
like the rebuild from source. Fixed again with 6.2 disk.

My conclusion is that 7.2 (or 7.1 -- I moved from 7.0) broke dual boot.

Any other thoughts?

Kent

On Wed, May 27, 2009 at 7:35 PM, Glen Barber wrote:

> Hi, Kent
>
> You're going to need to provide a bit more detail on the problem.
>
> On Wed, May 27, 2009 at 11:14 PM, KENT HAUSER  wrote:
> > Hi,
> >
> > Is there any resolution to this? I had the same problem upgrading from
> 7.0
> > -> 7.2. I've been running FreeBSD dual-boot for over 10 years w/o this
> > problem in the past.
> >
> > I re-ran my fdisk script from an old 6.x boot disk & recovered the XP
> > partitions, but can't boot 7.2. Re-installing 7.2 kills XP.
> >
>
> XP doesn't show up in the bootloader?
>
> If you're running 7.X, why are you using a 6.X boot disk?  That may be
> part of the problem.
>
> > My system disk has 3 partitions: ad0s2 is first (XP recovery). Next is
> ad0s1
> > (XP) followed by FreeBSD.
> >
>
> Do you see the FreeBSD booloader or Windows bootloader?
>
> Not that this fixes the problem, but have you tried installing GRUB?
>
> I personally have been dual-booting for the past year+, and haven't
> seen what you're describing (unless I overwrote my ${OTHER_OS}
> installation) -- are you sure the Windows install still exists?
>
> --
> Glen Barber
>
___
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: upcupsd / freebsdd

2009-05-29 Thread mike
>
>The Overview page in the webinterface shows there is power in the
>UPS form over 2 hours. How can I force a faster automatic freebsd
>shutdown to see if it is working (can't wait 2 hours)

Try setting the battery level in apcupsd.conf to a high value like 90%

# If during a power failure, the remaining battery percentage
# (as reported by the UPS) is below or equal to BATTERYLEVEL, 
# apcupsd will initiate a system shutdown.
BATTERYLEVEL 90
#

You need to restart the apc daemon after you adjust the config files.
Doing 
apcaccess
from the shell, should reflect your changes.
>
>
>but do these refer to shutdown of a unix client or shutdown of the UPS 
>itself?

On the apc units I have used, it will send the "shutdown" signal to
the UPS, so it will cut power to all the ports until street power
comes back.

---Mike
___
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: On the need for moderated questions lists

2009-05-29 Thread gabe
This is stupid, I'm unsubscribing.

jeez

-Original Message-
From: Chad Perrin 
Sent: Friday, May 29, 2009 1:41 PM
To: freebsd-questions@freebsd.org
Subject: Re: On the need for moderated questions lists

On Fri, May 29, 2009 at 07:13:49PM +0200, Wojciech Puchar wrote:
> >software that runs on multiple OSes (and not *just* FreeBSD) to run an
> >extra system, running some other OS.
> 
> no. i expect them to ask THAT program support.
> 
> In really rare cases when they got an answer like
> "You did all fine, i have the same configured program in my 
> linux/openbsd/netbsd/solaris/whatever OS and it works fine"

So . . . basically, it's okay for someone to ask about X if that person
also runs Linux, but not if that person doesn't.  That's the logical
consequence of your argument thus far.  How well have you actually
thought this through?


> 
> They it's place to ask because certainly there's something wrong with the 
> port.

I don't recall that being an obvious and necessary condition of the
example -- and that didn't seem to matter when you suggested that it
might be on-topic if the querent also happens to have a Linux-based
system handy.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth FreeBSD Secure Programming Guidelines: "In fact, never ever use
gets() or sprintf(), period. If you do - we will send evil dwarfs after
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"


Competition law (was Re: Canon printer and TurboPrint)

2009-05-29 Thread J . McKeown

Quoting Jerry :


Look up the definition of 'socialism'.


I know what socialism means. You seem not to. I haven't anywhere  
advocated state ownership of businesses - in fact I very clearly  
stated that I believe in a free market with only that level of  
regulation required to keep it free from monopoly abuse.



The original suit was based on laws designed to curtail the railroad
industry, actually Rockefeller. The original judge was prejudiced and
an appeals court through out most of the suit and required a hearing on
the remain portions. The suit eventually was of minimal importance.


The appeals court didn't throw out a single one of the court's  
findings of guilt: they examined the evidence and affirmed every last  
bit of it. Because the trial judge had spoken to the press before the  
case was concluded about Microsoft's conduct in his court, they found  
that his *sentence* was unsafe and asked another court to reconsider  
it. (Oh, and incidentally Rockefeller was Standard Oil, not railroads).



Typical socialist thinking. If you cannot produce a better product, get
the government to regulate them for you.


Again, I'm not a socialist. I'm not asking any government to overthrow  
better products in favour of worse ones. I am asking courts to enforce  
existing laws about unfair competition which suppresses potentially  
better products.



Even a free market requires some regulation of business practices

[discussion of clearly illegal and dangerous behaviour]


Good idea, change the context of the discussion. We are not talking
about product safety here. As far as I know, Microsoft does not produce
food products. However, I did see an article recently regarding OpenSSL
and a defect in their product. Are you saying that anyone who was
effected by the 'bug' has a right to sue the authors of that software.


No, I'm not. You're putting words in my mouth. I'm trying to make the  
point that even a completely free market will need some oversight,  
because some companies will do anything for a short-term profit, up to  
and including actually poisoning their customers, if they aren't  
prevented by regulation.



Now that is a true socialist. Attack and regulate a company until you
put it out of business.


Once again, I'm not a socialist. You keep using that word: I do not  
think it means what you think it means. I'm also not suggesting  
attacking companies, only ensuring that they obey the law as it stands.



The basic premise of your argument is that any company or entity that is
success should be regulated. I find that concept pure socialistic
bullshit.


No. My basic premise is that every company should be regulated in the  
same way, and that should include laws to prevent unfair competition.  
Since unfair competition tends to rely on control of the market, that  
area of the law has more impact on companies once they achieve a  
monopoly. Those laws needn't prevent a company establishing or  
maintaining market dominance by competing fairly and legally.


Strangely enough, that is also the basic premise of competition law  
all over the world.



To take a couple of your other points: no, I wouldn't buy your Ferrari
``in a heartbeat''.

[snip]
People don't sell anything at well below its market value without  
some form of ulterior motive


I never said the product was stolen or pilfered. Those are your
assumptions. I create a product and distribute it. It is none of the
government's business what I sell it for as long as I pay the tax on it.


If your business model is to sell a $300,000 car for $10, the  
government won't need to intervene. If you manage to stay in business  
for any length of time they may well start taking an interest - not  
many people establish a business with the intention of giving away  
their own money on that scale, and giving away other people's money is  
generally illegal.



For example, there are strict laws in most places governing the sale
of goods at below cost (dumping)[...]


One again, you want 'big brother' aka the government to protect you.


Yes, once again I want the law enforced. Shock horror. Check US  
anti-dumping laws, the Sherman Act, and competition law generally. You  
can argue that the law is wrong, but don't try and pretend it isn't  
the law.



I'm not sure where copyright laws suddenly sprang into the equation,
but I can assure you, as someone who works with Free software, I'm a
firm believer in copyright laws. I don't write much code but it's
copyright that prevents people stealing what I do write.


Come on now. Are you saying that you do not publicly post any code
that you create for anyone to use sans payment? Or are you implying
that it is perfectly OK to steal code from any company/individual whose
profits exceed yours sans fees? Maybe I should get some government
intervention here to see what you are hiding?


Er, what? I don't see how on earth you got from ``I'm a firm believer  
in copyright laws'' to ``it is perfectl

Greylisting and new posters

2009-05-29 Thread Mel Flynn
All (including David with his kick-ass postmaster hat),

while off-topic, flames and other non sense covered by Freedom of Speech are 
an annoyance to many, I'm more bothered by some newcomers to the list that are 
being greylisted on first post and instantly hit the resend button. Especially 
since a technical solution is possible in 90% of the cases (there are a few 
people that don't resend, but re-edit).

Is it possible to:
a) Put a big-red-blink-popup-attentiongrabbing monster text into the 
subscription page about first posts being delayed with a link to greylisting?
b) Hash the bodies of greylisted messages and reject / discard if the same 
body with a different msg id is being received?

I'd be happy to contribute to b) if it is thought that the incoming mailer can 
handle the hashing and storage of this information.
-- 
Mel
___
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 7.2 + HP DL320 G2

2009-05-29 Thread Peter
Hello,

I got an old HP DL320 G2
(http://h18000.www1.hp.com/products/quickspecs/11512_na/11512_na.html)


It has fake ide raid controller lsi megaraid. It has ibuilt limitation
of 137Gb per HDD.It can NOT be turned off. So I made 2 RAID 0 arrays for
each disk.

However FreeBSD 7.2 sees full drives separately(skipping the raid) and
installs perfectly fine.. However, the first boot fails - can not load
kernel.

On the same machine,  Debain 5.0 installs just fine , sees full drives 2
x 320 Gb IDE and boots like charm.

I prefer to have FreeBSD on the machine, but do I have choice ? Is there
a solution ?

Peter
___
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"


system reboot because of hdd

2009-05-29 Thread claudiu vasadi
Hello ppl.


Straight to business.

FreeBSD 7.1-stable

2 hdd. 1 is ad2 and the other is ad6. ad2 is the BSD hdd, and ad6 is just
for data (movies, music, etc). ad2 is a 80GB Samsung P-ata133 and ad6 is a
WD 250GB S-ata2.

While running a process that was trying to create a 25GB file on a 30 GB
partition on the second hdd (ad2) I experienced ssh outage. Everything came
back to life after a short perioud of ~2 minutes. So, again I started the
process. This time, the outage was about 5 minutes. I was busy with
something else and did not run the process again. 2 minutes after that i get
a call from a customer that some thing is not working. so I check it and
surprize, the OS rebooted itself.

so, went to the logs and this is what i found out (/var/log/messages):

May 29 22:26:30 da1 kernel: ad6: TIMEOUT - WRITE_DMA48 retrying (1 retry
left) LBA=419468447
May 29 22:26:35 da1 kernel: ad6: TIMEOUT - WRITE_DMA48 retrying (0 retries
left) LBA=419468447
May 29 22:26:41 da1 kernel: ad6: FAILURE - WRITE_DMA48 timed out
LBA=419468447
May 29 22:26:41 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=19447808,
length=16384)]error = 5
May 29 22:26:35 da1 syslogd: kernel boot file is /boot/kernel/kernel
May 29 22:26:35 da1 kernel: ad6: FAILURE - device detached
May 29 22:26:35 da1 kernel: subdisk6: detached
May 29 22:26:35 da1 kernel: ad6: detached
May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=36683776,
length=16384)]error = 6
May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=16908288,
length=16384)]error = 6
May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=36700160,
length=16384)]error = 6
May 29 22:26:35 da1 kernel: g_vfs_done():ad6s1f[WRITE(offset=114688,
length=16384)]error = 6
May 29 22:26:35 da1 kernel: panic: vinvalbuf: dirty bufs
May 29 22:26:35 da1 kernel: cpuid = 0
May 29 22:26:35 da1 kernel: Uptime: 45d22h15m29s
May 29 22:26:35 da1 kernel: Physical memory: 1003 MB
May 29 22:26:35 da1 kernel: Dumping 232 MB: 217 201 185 169 153 137 121 105
89 73 57 41 25 9




and (/var/log/all.log):


May 29 22:54:49 da1 fsck: /dev/ad6s1f: 6 files, 12 used, 17132271 free (31
frags, 2141530 blocks, 0.0% fragmentation)


exacly where the file was created. but it was 1 not 6 files that i wanted to
create but 1.




the process that I run is "dsmfmt" of TSM server for Sun. it creates a file
volume of a specific size for use in tsm server itself for defining storage
pool capacity.

so, I know that the hdd was to the limit. It could be a hardware issue I
know, but right now dnt have resources to try somewere else so I'm asking a
oppinion. Has anyone dealt with this situation before ? OS reboot because of
high hdd load ?
___
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: Stable Mail Server And Web Mail

2009-05-29 Thread Tim Judd
2009/5/27 Mel Flynn

>

> On Monday 25 May 2009 13:53:40 Zbigniew Szalbot wrote:
> > Hello,
> >
> > > Hello all ,  I want to install a  Mail Server with  Webmail,
> > >
> > > Anybody to know a good Stable Mail Server and Web Mail
> >
> > I recommend the following step-by-step instructions:
> > http://www.purplehat.org/?page_id=4
>
> It's a detailed how-to but consider the following:
> a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
> possible.
> b) Spam Assassin is a resource hog, use mail/dspam.
> c) While postfix-admin is ok for one box setup, it doesn't scale at all -
> you'll have to install it for every physical machine to manage that
> specific
> database for that box. I know of no alternatives, hence I'm rolling my own.
>


Just thought I should make a couple comments, it's not a message to change
or correct Mel's message but rather just a idea on a possible solution I
have deployed and would like input and experience/results relayed to me.


Put whatever MTA you want, I use postfix primarily.  sendmail would work
too, but I don't know exim or qmail.

Install OpenBSD's spamd (that works with PF, and ipfw support is early, but
there) on the host to block the (at last count) ~460k hosts and subnets that
are known spammers so your MTA doesn't even have to mess with it.
Include DNS Blacklisting support with your MTA.  These are the servers that
have mistakenly sent out a spam and gotten caught.  DNSBL will report to the
client that it's being blocked and how to remove it.


I'd love to hear success stories with this.  Both pieces together work very
well, and I am still working on seeing if any spam does come through.  If
spam does come through, a product like dspam or spamassassin could finish
off the job.


I don't have a live domain, so I can give directions if anybody's
interested.  Maybe one day I'll write up an article for this.


I ask please - for those who are interested in trying this, to give me the
success or not-so-success stories so I can fine tune it and work out the
missing link.


--Tim
___
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: On the need for moderated questions lists

2009-05-29 Thread Chad Perrin
On Fri, May 29, 2009 at 07:13:49PM +0200, Wojciech Puchar wrote:
> >software that runs on multiple OSes (and not *just* FreeBSD) to run an
> >extra system, running some other OS.
> 
> no. i expect them to ask THAT program support.
> 
> In really rare cases when they got an answer like
> "You did all fine, i have the same configured program in my 
> linux/openbsd/netbsd/solaris/whatever OS and it works fine"

So . . . basically, it's okay for someone to ask about X if that person
also runs Linux, but not if that person doesn't.  That's the logical
consequence of your argument thus far.  How well have you actually
thought this through?


> 
> They it's place to ask because certainly there's something wrong with the 
> port.

I don't recall that being an obvious and necessary condition of the
example -- and that didn't seem to matter when you suggested that it
might be on-topic if the querent also happens to have a Linux-based
system handy.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth FreeBSD Secure Programming Guidelines: "In fact, never ever use
gets() or sprintf(), period. If you do - we will send evil dwarfs after
you."


pgpPsatTat470.pgp
Description: PGP signature


Re: pfsync in GENERIC?

2009-05-29 Thread Mel Flynn
On Friday 29 May 2009 20:38:54 Steven Schlansker wrote:

> And not to be argumentative, but sys/conf/NOTES does not really
> provide any information.  The only comment explains what the device
> does, not why it wouldn't be enabled in GENERIC.  Is there any reason
> it could not be?  (For those of us who want to use freebsd-update, for
> example)

Choice of the project. You'd have to ask on -current, -pf or -hackers for a 
more authoritative answer, but my guess would be that 80% of the people using 
this feature in production have a highly optimized kernel and wouldn't be 
using GENERIC to begin with.

-- 
Mel
___
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: What is this forum for?

2009-05-29 Thread Jerry
On Fri, 29 May 2009 18:29:17 +0200 (CEST)
Wojciech Puchar  wrote:

>> Dude, that's it!  The increase in global oil consumption has
>> inadvertently raised the level of the Oceans due to more Super
>> tankers! You're freaking BRILLIANT!  $200M Grant for you to continue
>> this ground breaking research!
>
>I think extra tax for supertankers are the right solution!
>
>UPS.. maybe better not write that, as people from governments may get 
>this new idea.

Worse, the EU will consider 'super tankers' unfair to smaller sized
tankers and require super tankers to only carry half as much cargo.
Then they will require the owners of the super tankers to give away
super tankers to those companies that don't own one, just to level the
playing filed. Finally, they will fine the super tanker owners for
being to efficient.

-- 
Jerry
ges...@yahoo.com

The perfect lover is one who turns into a pizza at 4:00 A.M.

Charles Pierce


signature.asc
Description: PGP signature


Re: sys/sched.h: present but cannot be compiled

2009-05-29 Thread Mel Flynn
On Friday 29 May 2009 22:04:57 Gary Gatten wrote:
> On 6.0 RELEASE I keep getting this error.  I've read a bunch of links
> and tried tweaking some source to no avail.  Any help resolving this
> would be appreciated.  It sounds kinda bad to me, but things are working
> *OK*  I don't like warnings, let alone those that have to do with
> scheduling and threads...

Tell the GNU autoconf maintainers to fix their macros then. They're trying to 
include a header with _KERNEL defined outside the kernel. And they should be 
using  anyway.
-- 
Mel
___
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: On the need for moderated questions lists

2009-05-29 Thread Chad Perrin
On Fri, May 29, 2009 at 11:00:49AM -0600, Chad Perrin wrote:
> 
> So . . . you have the same choice in a dictatorship that you have in a
> benign dictatorship: leave.

That should have said:

  So . . . you have the same choice in a moderated mailing list that you
  have in a benign dictatorship: leave.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth C. S. Lewis: "We all want progress, but if you're on the wrong
road, progress means doing an about-turn and walking back to the right
road; in that case, the man who turns back soonest is the most
progressive."


pgp4XwjZER7ui.pgp
Description: PGP signature


Re: Stable Mail Server And Web Mail

2009-05-29 Thread Mel Flynn
On Friday 29 May 2009 09:21:36 Johan Hendriks wrote:
> >> Hello,
> >>
> >> > Hello all ,  I want to install a  Mail Server with  Webmail,
> >> >
> >> > Anybody to know a good Stable Mail Server and Web Mail
> >>
> >> I recommend the following step-by-step instructions:
> >> http://www.purplehat.org/?page_id=4
> >
> >It's a detailed how-to but consider the following:
> >a) With Oracle acquiring Sun, one should move to PostgreSQL where ever
> >possible.
> >b) Spam Assassin is a resource hog, use mail/dspam.
> >c) While postfix-admin is ok for one box setup, it doesn't scale at all -
> >you'll have to install it for every physical machine to manage that
> > specific database for that box. I know of no alternatives, hence I'm
> > rolling my own.
> >
> >--
> >Mel
>
> Option c and do not understand.
>
> You can use a centralized database and let as many postfix, dovecot servers
> talk to that database as you want, or am i seeing this wrong.

Sure. And they will accept mail for everything in the database, you will have 
no good routing as any given setting applies to any given postfix 
installation, unless you maintain internal DNS and transport maps locally and 
very carefully.
So my own database has a 'servers' table and transport / relay are 
applied per server. This way an incoming mailhub accepting for all domains can 
get transport info from the same database and multiple transport maps can be 
applied for the same domain, pending the role of the server in the mail 
network that requests the info. Postfix (and dovecot) maps simply have a WHERE 
me='mailhub.example.com' clause.
-- 
Mel

___
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: inserting cd locks up 7.2

2009-05-29 Thread Glen Barber
Hi, Steve

On Fri, May 29, 2009 at 3:38 PM, Steve Franks  wrote:
> I stick a CD in the drive that used to work fine under 7.0, I get:
>
> acd0: WARNING - READ_TOC read data overrun 28>4
> acd0: WARNING - READ_TOC read data overrun 28>12
>
> And then a hard freeze.  With a different disk, the 28 is a 20, I
> believe.  Changed motherboard when I upgraded to 7.2 (hard disk died),
> can't rule that out either...
>

Is this i386 or amd64?  What kind of motherboard?

Also, does any of this information fit your situation?
http://groups.google.com/group/mailing.freebsd.stable/browse_thread/thread/13d23481915cc938/77628119f5dedc5a?lnk=raot


-- 
Glen Barber
___
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: What is this forum for?

2009-05-29 Thread Chuck Robey
Wojciech Puchar wrote:
>> I've been subscribed to this list for quite some time. I've tried to
>> help where I know,

Hey folks, all of you, could I please sugggest that this entire thread (under a
variety of subject names) is an abuse of the lists?  These topics should
definitely occur, something like this has to happen ocaisonally, but it needs to
go to FreeBSD-chat, where the list topics are very specifically allowed great
latitude.  The FreeBSD-Questions list is very obvioiusly to help folks, and not
to debate list usage, or any of the varied purposes it's been pushed to 
recently.

I'm not saying don't discuss it, I'm saying, if it's *not* FreeBSD tech support,
then please take it to FreeBSD-Chat, where you folks all know it belongs.  Some
of the comments I've seen threatening silly things liek dropping FreeBSD itself
for abuse of lists, shouldn't ask for censorship, but those kind of complaints
actually should be complaints about where these things are going to.  You can
discuss *absolutely* anything you want on FreeBSD-chat, so why don't you take
advantage of that?  I myself will actively support anyone's privilege to say
whatever they please, if you just use the correct list to do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


inserting cd locks up 7.2

2009-05-29 Thread Steve Franks
I stick a CD in the drive that used to work fine under 7.0, I get:

acd0: WARNING - READ_TOC read data overrun 28>4
acd0: WARNING - READ_TOC read data overrun 28>12

And then a hard freeze.  With a different disk, the 28 is a 20, I
believe.  Changed motherboard when I upgraded to 7.2 (hard disk died),
can't rule that out either...

Steve
___
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"


sys/sched.h: present but cannot be compiled

2009-05-29 Thread Gary Gatten
On 6.0 RELEASE I keep getting this error.  I've read a bunch of links
and tried tweaking some source to no avail.  Any help resolving this
would be appreciated.  It sounds kinda bad to me, but things are working
*OK*  I don't like warnings, let alone those that have to do with
scheduling and threads...

 

$ grep sched.h config.log

configure:33355: checking sched.h usability

configure:33400: checking sched.h presence

configure:33471: checking for sched.h

configure:33355: checking sys/sched.h usability

/usr/include/sys/sched.h: In function `sched_pin':

/usr/include/sys/sched.h:103: error: `curthread' undeclared (first use
in this function)

/usr/include/sys/sched.h:103: error: (Each undeclared identifier is
reported only once

/usr/include/sys/sched.h:103: error: for each function it appears in.)

/usr/include/sys/sched.h: In function `sched_unpin':

/usr/include/sys/sched.h:109: error: `curthread' undeclared (first use
in this function)

| #include 

configure:33400: checking sys/sched.h presence

configure:33449: WARNING: sys/sched.h: present but cannot be compiled

configure:33451: WARNING: sys/sched.h: check for missing
prerequisite headers?

configure:33453: WARNING: sys/sched.h: see the Autoconf documentation

configure:33455: WARNING: sys/sched.h: section "Present But Cannot
Be Compiled"

configure:33457: WARNING: sys/sched.h: proceeding with the
preprocessor's result

configure:33459: WARNING: sys/sched.h: in the future, the compiler will
take precedence









"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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


portupgrade jails

2009-05-29 Thread David Collins
Hi,

I have several jails for the purpose of not trashing my root partition
with junk programs that I may not need and also to learn how to run
various system services, ie dns, http, mysql, samba etc. I have been
running them for a while and have only just updated the jail root
after rebuilding world.

I have been using portupgrade to rebuild the host ports I have
installed. What I would like it know is if it is possible to use
portupgrade on the host system to update the jail ports. So like when
rebuilding world a destdir is specified and is populated with the new
world, is it possible to do the same with portupgrade? The reason is
because I don't want to have to install portupgrade and ruby several
times, also I can script the upgrade easily too.

I have been reading through the ports and portupgrade man pages and
setting environment variables to the appropriate directories in the
jail to try to get this to work but so far no luck. Portupgrade wants
to upgrade the host ports

Here is what I have tried so far:

viper:~$ export DISTDIR=/usr/jails/xserver/var/tmp/
viper:~$ export WRKDIRPREFIX=/usr/jails/xserver/var/tmp/
viper:~$ export PREFIX=/usr/jails/xserver/usr/local/
viper:~$ export BATCH=yes
viper:~$ export PORT_DBDIR=/usr/jails/xserver/var/db/p
viper:~$ export PORT_DBDIR=/usr/jails/xserver/var/db/ports
viper:~$ export PKG_DBDIR=/usr/jails/xserver/var/db/pkg/
viper:~$ export PORTS_DBDIR=/usr/jails/xserver/var/db/ports
viper:~$
viper:~$ sudo portupgrade -narR

 snip wanting to upgrade host ports 
___
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: Fresh install 7.2-RELEASE i386, X won't start

2009-05-29 Thread Glen Barber
Leslie,

On Fri, May 29, 2009 at 3:06 PM, Leslie Jensen  wrote:
>> of course turn off hald, and run moused.
>>
> Unfortunately that did not fix the problem :-(
> What do I test next?

Could you paste the output of:

cd /usr/ports/x11/xorg; make missing

-- 
Glen Barber
___
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: Fresh install 7.2-RELEASE i386, X won't start

2009-05-29 Thread Leslie Jensen



Wojciech Puchar skrev:

Produces the same result :-(



wouldn't it be better to pkg_delete xserver, make config, turn off 
hal dependency and then install. Probably it will work fine then.


Sounds lika a good idea. I'll try it and repport back.
/Leslie



of course turn off hald, and run moused.


Unfortunately that did not fix the problem :-(
What do I test next?
/Leslie
___
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: Producing Bad Dumps

2009-05-29 Thread Martin McCormick
Jerry McAllister writes:
> Yes, you would want to use restore -r for that.

and many other good suggestions.

I think we can grow the kind of setup you described.
Something like that has been sort of rolling around in the back
of my head for a while.

Again, thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Telecommunications Services Group
___
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: pfsync in GENERIC?

2009-05-29 Thread Steven Schlansker


On May 29, 2009, at 11:01 AM, Mel Flynn wrote:


On Friday 29 May 2009 18:19:52 Steven Schlansker wrote:


[ste...@gateway2:~]% sudo /etc/rc.d/pfsync start
/etc/rc.d/pfsync: WARNING: pfsync(4) must be statically compiled in
the kernel.



Is pfsync not in GENERIC?  I checked the amd64 config file and indeed
it does not show up, however pf and pflog are not there either but  
are

usable in the base system, so I am not positive that pfsync being
missing is therefore conclusive.

I would like to if at all possible use GENERIC so that I can take
advantage of freebsd-update etc.  Is there some way to get this all
running without recompiling the kernel?


No, the error message is clear. pfsync cannot currently be loaded as  
kernel
module and it's not in GENERIC. The same goes for altq. See sys/conf/ 
NOTES for

details.


Ah, now I get it.  I'm used to the Linux way of configuring modules  
where if a device is a module, it still appears in the configuration  
file.  So I was interpreting the missing "pf" and "pflog" entries not  
as "built as a module" but as "missing, why can I still use them?"


And not to be argumentative, but sys/conf/NOTES does not really  
provide any information.  The only comment explains what the device  
does, not why it wouldn't be enabled in GENERIC.  Is there any reason  
it could not be?  (For those of us who want to use freebsd-update, for  
example)


By digging around on the internet it seems that the problem arises  
from the use of multicast protocols (ref: http://lists.freebsd.org/pipermail/freebsd-pf/2005-October/001521.html) 
.  pfsync allows the use of unicast as well - would it be feasible to  
have a modular version that only supports unicast (via syncpeer)  
perhaps?


There's not been much of a discussion about this since 2005, it seems.

I'm curious as to that the prevailing opinion is.



FYI: On -current it's still not possible to load as a module.





___
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: difference between cvsup and portsnap

2009-05-29 Thread Glen Barber
Hi, Barry

On Fri, May 29, 2009 at 1:09 PM, Barry McCormick  wrote:
> Here at my work we use FreeBSD in production.  We have the following
> debate and wish to know better the differences between cvsup(csup) and
> portsnap.  One of my co-workers think that portsnap should NOT be used
> and only gets the latest and greatest port collection, no matter what
> version  of FreeBSD is on the server.   For example, if you are still
> running a 5.4 stable box in production and use any of the portsnap,
> portupgrade, etc utilities, you would pull the current version ports and
> NOT from teh directory of the 5.4 ports. I.E, risk breaking the
> production box.  So you should not use portsnap ever except for dev
> boxes.
>

Either way, with 5.X being EOL'd, there is no guarantee current ports
will work.

> I have always used portsnap to set up a new machine.  I have never had
> it pull a wrong port that I knew of.  I think it has to pay attention to
> the version of the ports it is pulling.
>
>
> which is right?  This is a major issue with our production servers.
> Thanks
>

Neither one is "right", per se.  However, if you use one, continue to
use _that_one_ to avoid conflicts.

-- 
Glen Barber
___
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: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Peter Boosten
Kelly Jones wrote:
> Woops, that's not quite what I meant, sorry. I meant something like:
> 
> From: some...@somewhere
> Subject: Re: {subject of message you sent}
> 
> Dear {email address of person who sent message},
> 
> You recently sent an email to {to address of messages}...
> 
> and so on. I realize the to address is often fixed, but I'm doing this
> in virtusertable/aliases as:
> 
> @foo.com autoreply
> autoreply: "|/usr/bin/vacation ..."
> 
> so the to address might be "a...@foo.com" for one message,
> "x...@foo.com" for another message, etc.
> 
> In other words, a true autoresponder.
> 

Hmmm, procmail might be able to do that with the right recipe.

Peter

-- 
http://www.boosten.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: difference between cvsup and portsnap

2009-05-29 Thread Polytropon
On Fri, 29 May 2009 11:09:41 -0600, Barry McCormick  wrote:
> For example, if you are still
> running a 5.4 stable box in production and use any of the portsnap,
> portupgrade, etc utilities, you would pull the current version ports and
> NOT from teh directory of the 5.4 ports. I.E, risk breaking the
> production box.  So you should not use portsnap ever except for dev
> boxes.

As far as I understood, the ports tree is always "up to date",
i. e. ther's no separate tree for 5, 6 and 7 (and 8). If you
update your ports tree, using portsnap or c(v)sup, you end up
with the latest tree. There isn't a separate ports tree for,
ket's say, 5.4-RELEASE, except you use that from the installation
media (or from FTP) and DON'T update it.

In addition, if you use cvsup to update your sources, you can
of course specify the exact release (with patches), the release
branch (stable) or the current point in development (head).

There's a tool called portdowngrade (if I remember correctly)
that lets you fetch ports from an older version.



-- 
Polytropon
>From 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: difference between cvsup and portsnap

2009-05-29 Thread Glen Barber
On Fri, May 29, 2009 at 2:03 PM, Glen Barber  wrote:

[snip]

>
> Neither one is "right", per se.  However, if you use one, continue to
> use _that_one_ to avoid conflicts.
>

Actually meant to say, neither one is "wrong" or "better than the
other."  Came out wrong. :)


-- 
Glen Barber
___
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: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Kelly Jones
Woops, that's not quite what I meant, sorry. I meant something like:

From: some...@somewhere
Subject: Re: {subject of message you sent}

Dear {email address of person who sent message},

You recently sent an email to {to address of messages}...

and so on. I realize the to address is often fixed, but I'm doing this
in virtusertable/aliases as:

@foo.com autoreply
autoreply: "|/usr/bin/vacation ..."

so the to address might be "a...@foo.com" for one message,
"x...@foo.com" for another message, etc.

In other words, a true autoresponder.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.

On 5/29/09, Wojciech Puchar  wrote:
>
>> I'm using 'vacation' as an autoresponder, but can't seem to customize
>> .vacation.msg to include the subject, sender, recipient, etc.
>>
>> Is there a way to do this?
> yes.
>
> example .vacation.msg:
>
> From: some...@somewhere
> Subject: Out of Office
>
> I am out of office until i will be back.
>
> Best regards
> Someone
___
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: difference between cvsup and portsnap

2009-05-29 Thread APseudoUtopia
On Fri, May 29, 2009 at 1:09 PM, Barry McCormick  wrote:
> Here at my work we use FreeBSD in production.  We have the following
> debate and wish to know better the differences between cvsup(csup) and
> portsnap.  One of my co-workers think that portsnap should NOT be used
> and only gets the latest and greatest port collection, no matter what
> version  of FreeBSD is on the server.   For example, if you are still
> running a 5.4 stable box in production and use any of the portsnap,
> portupgrade, etc utilities, you would pull the current version ports and
> NOT from teh directory of the 5.4 ports. I.E, risk breaking the
> production box.  So you should not use portsnap ever except for dev
> boxes.
>
> I have always used portsnap to set up a new machine.  I have never had
> it pull a wrong port that I knew of.  I think it has to pay attention to
> the version of the ports it is pulling.
>
>
> which is right?  This is a major issue with our production servers.
> Thanks
>

There is no "5.4" branch of the ports collection. If you're running
FreeBSD 2, you have the same exact ports collection as FreeBSD 8 does
(as long as you get an updated copy of the ports collection, of
course).

CSup gets the instant CVS revision of the ports collection.

Portsnap is a bit delayed because it fetches a tarball of the
collection (it doesn't check out from CVS). However, portsnap uses a
secure key to verify the integrity of the snapshot retrieved.

I personally use portsnap. It's also easier to script. I have this in
my crontab;
0   0   *   *   *   root/usr/sbin/portsnap -I
cron update && /usr/sbin/pkg_version -I -L = -v

It updates the index files, not the actual ports collection itself.
This way, it wont interrupt any currently running compiles or
upgrades.
___
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: pfsync in GENERIC?

2009-05-29 Thread Mel Flynn
On Friday 29 May 2009 18:19:52 Steven Schlansker wrote:

> [ste...@gateway2:~]% sudo /etc/rc.d/pfsync start
> /etc/rc.d/pfsync: WARNING: pfsync(4) must be statically compiled in
> the kernel.

> Is pfsync not in GENERIC?  I checked the amd64 config file and indeed
> it does not show up, however pf and pflog are not there either but are
> usable in the base system, so I am not positive that pfsync being
> missing is therefore conclusive.
>
> I would like to if at all possible use GENERIC so that I can take
> advantage of freebsd-update etc.  Is there some way to get this all
> running without recompiling the kernel?

No, the error message is clear. pfsync cannot currently be loaded as kernel 
module and it's not in GENERIC. The same goes for altq. See sys/conf/NOTES for 
details.

FYI: On -current it's still not possible to load as a module.
-- 
Mel
___
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: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Dimitri Yioulos
On Friday 29 May 2009 1:23:22 pm Kelly Jones 
wrote:
> I'm using 'vacation' as an autoresponder, but
> can't seem to customize .vacation.msg to
> include the subject, sender, recipient, etc.
>
> Is there a way to do this?
>
> If not, is there a better autoresponder I can
> use?
>
> I realize I could write one myself, but I'd
> prefer to use an existing solution.
>

IIRC, ".vacation.msg" should live in each user's 
home directory.  ".forward" is responsible for 
actually enabling 'vacation' for any particular 
user.  The format for including the subject and 
sender, at least, is simply:

From: "Alfred E. Neuman" 
Subject: Out of Office

at the top of ".vacation.msg".

HTH

Dimitri

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
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: Producing Bad Dumps

2009-05-29 Thread Jerry McAllister
On Fri, May 29, 2009 at 12:17:33PM -0500, Martin McCormick wrote:

> Jerry McAllister writes:
> > Probably you did not want the -x or -u, but instead wanted to do
> >   cd /MOUNTED_EMPTY_PARTITION
> >   restore -rf DUMPFILENAME
> 
>   That would be the ideal command. Per haps there is a
> better approach so I am all ears as the saying goes.
> 
>   I am trying to set up a procedure so that we can take
> another server, if necessary, format the drive with FreeBSD and
> then restore the contents of a dead server to this drive and
> have it ready to run.

Yes, you would want to use restore -r for that.

> 
>   Of course, dd is great if both drives are the same size
> but usually, the only thing both servers have in common is they
> are both i86 systems and the goal is to try to get a platform
> with a melted hard drive or mother board back on line. The holy
> grail is a clone operation that can be documented so that a
> worker of reasonable knowledge can do it successfully.

You don't really want to use dd for that, partly for the reason
that you give and partly because it doesn't allow the [new] system
to do things such as assign inodes and space efficiently.

>   So, you need all the files, but they probably will not
> occupy a disk that looks like the original one. In that respect,
> tar does well but trashes special files like /dev
> 
> > But, I am not sure because it is hard to understand why you chose -xu.
> 
>   The thought was that -u unlinks existing files so one
> could write the restore right over the minimal system that was
> there. -x was to extract / in order to get the entire root file
> system.

Well, you don't really want to create a minimal system on the device
if you don't have to.
You just want to slice (fdisk), partition(bsdlabel) and newfs it (using
either sysinstall or manually fdisk, bsdlabel and newfs from a fixit) and 
then use a fixit CD to write the dump to the device with restore -r.  That 
might be a problem if you are trying to read the dump from a remote storage.
I don't know if the fixit has enough stuff to do that - it might.

In that case, you might be better off having a spare drive you can
plug in and build that minimal system on and then use it to build 
the full system and repopulate it from the remote dump file with
 restore -r.

Actually, I think if you use restore -r it will behave OK writing over
existing files.   All the warning about it needing to be a clean file
system is mostly so you won't overwrite something you do not want to.

But, it leaves the possible problem that some vestigial stuff will be
left around from the minimal install you overwrite with files you 
really don't want to be left around - eg files it has that are not
duplicated in the dump so it ignores them and leaves them there.

Try it out that way.   Just use  restore -rf and see how it handles it.


> 
>   Again, the idea is to recover a FreeBSD system as
> quickly as possible and get it back to the patch level and
> general operating conditions it was originally in before the
> hardware that supported it died.

If you made your own 'spare' disk that could be plugged in, you could
script rebuilding the new disk and restoring the dump.  You might have
to tinker a bit.We used to have a complete setup that built the
disk and then restored from a backup that we distributed.   It did
the disk slicing, then asked if it was a new install or if a restore
from backup was desired and did it.   That took a lot of writing in C
and it needs to be rewritten since FreeBSD 4.   But, it is readily doable.

Have fun,

jerry

> 
> Again, many thanks.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
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: difference between cvsup and portsnap

2009-05-29 Thread Warren Block

On Fri, 29 May 2009, Barry McCormick wrote:


Here at my work we use FreeBSD in production.  We have the following
debate and wish to know better the differences between cvsup(csup) and
portsnap.  One of my co-workers think that portsnap should NOT be used
and only gets the latest and greatest port collection, no matter what
version  of FreeBSD is on the server.   For example, if you are still
running a 5.4 stable box in production and use any of the portsnap,
portupgrade, etc utilities, you would pull the current version ports and
NOT from teh directory of the 5.4 ports. I.E, risk breaking the
production box.  So you should not use portsnap ever except for dev
boxes.


The idea that there's a "5.4 ports" directory is mistaken.  The ports 
tree isn't branched; note the lack of a "tag=" entry in the example 
ports-supfile.  csup will let you retrieve from a certain date, but 
that's not normal usage for the ports tree.


So check your ports-supfile.  It's probably already retrieving the 
latest version of ports, just like portsnap.


-Warren Block * Rapid City, South Dakota USA
___
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: Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Wojciech Puchar



I'm using 'vacation' as an autoresponder, but can't seem to customize
.vacation.msg to include the subject, sender, recipient, etc.

Is there a way to do this?

yes.

example .vacation.msg:

From: some...@somewhere
Subject: Out of Office

I am out of office until i will be back.

Best regards
Someone
___
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: pppoe routing problem, default route isnt used for some hosts

2009-05-29 Thread Fabian Holler
Hello Nikos,

thank you very much Nikos
"You've repaired my internet" ,)

On Fri, May 29, 2009 at 06:56:49PM +0300, Nikos Vassiliadis wrote:
> Fabian Holler wrote:
> > I have an strange routing problem. I can't connect to some hosts in the
> > internet till I add an explicit route for this hosts with my default gw
> > as gateway.
> > There aren't any other routes that could match the destination IP for
> > "non-working hosts". So the connection should also without an explicit
> > route for this Hosts use the default gw.
> Besides netstat -rn, you can use "route get southparkstudios.com"
> to check a route for a destination.
> 
> > Connections with nc to port 80 works
> > (the connections tests are made from the router, the iface MTUs are correct)
> 
> You cannot test MTU settings using nc, since initial packets, that
> is, small packets, are always smaller than your MTU. You can test
> MTU using fetch or ftp or nc + "GET /some.big.file".

I only tried to say, that the connection problems couldn't be an MTU
problem. Because I tried to connect from the router(where the PPPOE
iface should have the correct MTU) and not from any
LAN-Host.

> > PPPoE:
> > new -i ng0 PPPoE PPPoE
> > set iface addrs 1.1.1.1 2.2.2.2
> 
> Maybe you should delete the above line as

That was the problem:)
I thought ip+netmask from the iface are arbitrary because they will be
"overwritten" after I made an successfull connection.
But the the crappy netmask was responsible for my problems

> > set link mtu 1492
> > set link mru 1492
> 
> this is also wrong, don't try to set MTU
> or MRU. There are negotiated during PPP.
removed this also :)


regards

Fabian


pgpksnt3OWbda.pgp
Description: PGP signature


difference between cvsup and portsnap

2009-05-29 Thread Barry McCormick
Here at my work we use FreeBSD in production.  We have the following
debate and wish to know better the differences between cvsup(csup) and
portsnap.  One of my co-workers think that portsnap should NOT be used
and only gets the latest and greatest port collection, no matter what
version  of FreeBSD is on the server.   For example, if you are still
running a 5.4 stable box in production and use any of the portsnap,
portupgrade, etc utilities, you would pull the current version ports and
NOT from teh directory of the 5.4 ports. I.E, risk breaking the
production box.  So you should not use portsnap ever except for dev
boxes.

I have always used portsnap to set up a new machine.  I have never had
it pull a wrong port that I knew of.  I think it has to pay attention to
the version of the ports it is pulling.  


which is right?  This is a major issue with our production servers.
Thanks



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


Customize .vacation.msg to include subject, sender, etc?

2009-05-29 Thread Kelly Jones
I'm using 'vacation' as an autoresponder, but can't seem to customize
.vacation.msg to include the subject, sender, recipient, etc.

Is there a way to do this?

If not, is there a better autoresponder I can use?

I realize I could write one myself, but I'd prefer to use an existing
solution.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
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: Producing Bad Dumps

2009-05-29 Thread Martin McCormick
Jerry McAllister writes:
> Probably you did not want the -x or -u, but instead wanted to do
>   cd /MOUNTED_EMPTY_PARTITION
>   restore -rf DUMPFILENAME

That would be the ideal command. Per haps there is a
better approach so I am all ears as the saying goes.

I am trying to set up a procedure so that we can take
another server, if necessary, format the drive with FreeBSD and
then restore the contents of a dead server to this drive and
have it ready to run.

Of course, dd is great if both drives are the same size
but usually, the only thing both servers have in common is they
are both i86 systems and the goal is to try to get a platform
with a melted hard drive or mother board back on line. The holy
grail is a clone operation that can be documented so that a
worker of reasonable knowledge can do it successfully.

So, you need all the files, but they probably will not
occupy a disk that looks like the original one. In that respect,
tar does well but trashes special files like /dev

> But, I am not sure because it is hard to understand why you chose -xu.

The thought was that -u unlinks existing files so one
could write the restore right over the minimal system that was
there. -x was to extract / in order to get the entire root file
system.

Again, the idea is to recover a FreeBSD system as
quickly as possible and get it back to the patch level and
general operating conditions it was originally in before the
hardware that supported it died.

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


Re: On the need for moderated questions lists

2009-05-29 Thread Wojciech Puchar


Or take a real-life usage. I have upgraded my system to 7.2-Release. Ever
since upgrading, logrotate ceased to work.


Clearly FreeBSD related problem - logrotate worked, then the same 
logrotate does not.


Of course check if there is not new version of logrotate too from ports 
before.


You gave excellent example.
___
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: On the need for moderated questions lists

2009-05-29 Thread Wojciech Puchar

software that runs on multiple OSes (and not *just* FreeBSD) to run an
extra system, running some other OS.


no. i expect them to ask THAT program support.

In really rare cases when they got an answer like
"You did all fine, i have the same configured program in my 
linux/openbsd/netbsd/solaris/whatever OS and it works fine"


They it's place to ask because certainly there's something wrong with the 
port.

___
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: On the need for moderated questions lists

2009-05-29 Thread Zbigniew Szalbot
>> - questions about purely FreeBSD-specific and FreeBSD-dependend things
>> of
>> ported programs. For example:
>>
>> ---
>> I start program X, configure it the same way as in linux, installed all
>> the same modules, but here it crashes/behave differently. For example:
>> --- here some output ---
>> Where is a problem
>> ---

Or take a real-life usage. I have upgraded my system to 7.2-Release. Ever
since upgrading, logrotate ceased to work.

Now, in this case - where should I post it? Does it belong to the
moderated and purely OS-related list (after all the problem seems related
to the upgrade) or to the unmoderated one (since it involves logrotate
utility)?

It happens in life that when you have sets of clearly defined rules, they
quickly become impossible to follow because you constantly need to tweak
them, add new ones, etc.

Or the questions about gmirror which Mr Puchar really knows a lot about.
Where would they go? Surely they should not be discussed on the moderated
list as we're in the software venue, right?

If you (still addressing Mr Puchar) want some sort of an exclusivist
group, it would probably be best if you set up one, contacted FreeBSD team
and negotatiated the terms of placing a link to it somewhere on
www.freebsd.org (and sponsoring the Team by the way ;)...


-- 
Zbigniew Szalbot
www.fairtrade.net.pl

___
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: On the need for moderated questions lists

2009-05-29 Thread Chad Perrin
On Fri, May 29, 2009 at 03:14:20PM +0200, Wojciech Puchar wrote:
> >
> >Not necessarily.
> >
> >There were 'rules' in Nazi Germany too, and there usually exist at least
> >some 'rules' in oppressive regimes, but they do not necessarily, by
> >virtue of their mere existence, lead to satisfying results.
> 
> The difference is that you have choice here, people living in Nazi Germany 
> (and Poland) that times didn't.

Let's de-Godwinize this, and just use the generic "dictatorship" idea to
stand in for "Nazi Germany".  In fact, let's go a step further and assume
a benign dictatorship -- even benevolent, from some perspectives -- since
I'm sure we're assuming a strictly moderated list would be intended to
help rather than merely control.

So . . . you have the same choice in a dictatorship that you have in a
benign dictatorship: leave.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Mediocrity corrupts.  Bureaucracy corrupts absolutely.


pgphVrvp1wGIi.pgp
Description: PGP signature


Re: Patching? Probably a trivial question, but...

2009-05-29 Thread Kurt Buff
On Fri, May 29, 2009 at 07:06, Steve Bertrand  wrote:
> Kurt Buff wrote:
>> On Wed, May 27, 2009 at 11:36, Mel Flynn
>>  wrote:
>>> On Wednesday 27 May 2009 17:21:42 Kurt Buff wrote:
 All,

 I've gotten a patch for a program in the ports tree from one of the
 authors of the program - not the port maintainer - to fix a small
 problem, but don't know how to install the updated port.

 I cd'ed into the
 /usr/ports/%CATEGORY%/%PROGRAM%/work/%PROGRAM-VERSION% directory, then
 performed 'patch >>>
 Then I did a make, but got no output.

 So - I'm obviously lacking clue here. Anyone have a spare set?
>>> Don't feel like reading the entire thread atm, but for reference:
>>> - Patches need to have relative paths, where the root of the path 
>>> corresponds
>>> to the port's notion of $PATCH_WRKSRC
>>> - You can find out this directory by running:
>>> Â  Â  Â  Â % make -C /usr/ports/category/portname -V PATCH_WRKSRC
>>> Â The default is $WRKSRC which is $WRKDIR/$DISTNAME by default.
>>> Â Example:
>>> Â  Â  Â  Â % make -C /usr/ports/sysutils/nagios-statd -V PATCH_WRKSRC
>>> Â  Â  Â  Â 
>>> /stable/usr/obj/usr/ports/sysutils/nagios-statd/work/nagios-statd-3.12
>>>
>>> - Patches are automatically applied if they reside in the port's notion of
>>> PATCHDIR and are named patch-*
>>> - You can find out this directory by running:
>>> Â  Â  Â  Â %make -C /usr/ports/category/portname -V PATCHDIR
>>> Â The default is $.CURDIR/files.
>>> Â Example:
>>> Â  Â  Â  Â % make -C /usr/ports/sysutils/nagios-statd -V PATCHDIR
>>> Â  Â  Â  Â /usr/ports/sysutils/nagios-statd/files
>>>
>>> - In order to apply a new patch after you have previously gone past the 
>>> patch
>>> stage (configure, build, install), either run make clean or:
>>> Â  Â  Â  Â % rm $(make -C /usr/ports/category/portname -V PATCH_COOKIE)
>>> Â The above can cause problems, with the build. The normal course of action 
>>> is
>>> to make clean.
>>
>> Excellent. I will be trying this tomorrow - I'm leaving work early
>> today to get some things taken care of.
>
> Kurt,
>
> I had to leave rather hastily the other day, but I did test the patch,
> and it worked ok. If this is a one-off thing, here is how I did it:
>
> # cd /usr/ports/category/program
> # make clean
> # ee source.patch (pasted the patch in)
> # make configure (which preps the source)
> # cd work/progname
> # patch < ../../source.patch
> # cd ../..
> # make
> # make install
>
> All worked well.
>
> Steve

I did as others have suggested, placing the patch in
/usr/ports/www/squid30/files as patch-HttpHeader, then doing a 'make
&& make clean'. After fixing the typo, it went just fine.

I'll be installing at the end of the day today and testing with a few
folks to see how this works.

Kurt
___
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: 7-2 from scratch install , but no sound

2009-05-29 Thread WATANABE Kazuhiro
Hello.

Would you try to change the "phout" mixer setting instead of "vol" ?
e.g.:

 mixer phout 100

The ALSA driver has a quirk for HP XW4200.

 
http://git.alsa-project.org/?p=alsa-kernel.git;a=blob;f=sound/pci/intel8x0.c;h=173bebf9f51d0316f00a158912c2dd0eeacc9f8d;hb=HEAD#l1945

At Fri, 29 May 2009 12:54:28 +0200,
Frank Bonnet wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Bruce Cran wrote:
> > On Fri, 29 May 2009 11:01:33 +0200
> > Frank Bonnet  wrote:
> > 
> >> -BEGIN PGP SIGNED MESSAGE-
> >> Hash: SHA1
> >>
> >> Bruce Cran wrote:
> >>> On Fri, 29 May 2009 09:37:14 +0200
> >>> Frank Bonnet  wrote:
> >>>
>  -BEGIN PGP SIGNED MESSAGE-
>  Hash: SHA1
> 
>  Hello
> 
>  I have freshly install a HPXW4200 ( i386 ) but
>  sound system does not work
> 
>  I have gnome installed and all the above services are running
> 
>  moused_enable="YES"
>  nfs_client_enable="YES"
>  sshd_enable="YES"
>  linux_enable="YES"
>  postfix_enable="YES"
>  dovecot_enable="YES"
>  dbus_enable=YES
>  gdm_enable=YES
>  hald_enable=YES
>  avahi_daemon_enable=YES
>  apache22_enable=YES
> >>> Have you loaded the sound driver? Check /dev/sndstat to see if it's
> >>> running.
> >>>
> >> well ... it seems to be I loaded them by hand
> > 
> > What does /dev/sndstat contain?  You could also try running 'mixer'
> > to see what, if any, channels are set to.
> > 
> 
> yes ... strange everything seems OK but ... still no sound
> when I try to use the gnome sound manager it says
> 
> Waiting for sound system to respond
> 
> 
> 
> cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0:  at io 0xf0200800, 0xf0200a00 irq 21 bufsz
> 16384  [MPSAFE] (1p:1v/1r:1v channels duplex default)
> 
> mixer
> Mixer vol  is currently set to  75:75
> Mixer pcm  is currently set to  75:75
> Mixer line is currently set to  75:75
> Mixer mic  is currently set to   0:0
> Mixer cd   is currently set to  75:75
> Mixer rec  is currently set to   0:0
> Mixer igainis currently set to   0:0
> Mixer ogainis currently set to  50:50
> Mixer line1is currently set to  75:75
> Mixer phin is currently set to   0:0
> Mixer phoutis currently set to   0:0
> Recording source: mic
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v2.0.11 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAkofvuQACgkQ6f7UMO5oSsX1YwCgsHEIxku6BswiVfr2VjOUWXYC
> jl4AoJ5vsJlJKrV4kFA/hSnuxsEkCT8T
> =D1LC
> -END PGP SIGNATURE-

---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
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"


pfsync in GENERIC?

2009-05-29 Thread Steven Schlansker

Hello freebsd-questions,

I'm attempting to set up a redundant NAT system where failover is  
provided by ucarp and using pfsync to keep NAT tables in sync.


When I try to set up pfsync,

[ste...@gateway2:~]% sudo /etc/rc.d/pfsync start
/etc/rc.d/pfsync: WARNING: pfsync(4) must be statically compiled in  
the kernel.

[ste...@gateway2:~]% ifconfig pfsync0
ifconfig: interface pfsync0 does not exist

additionally:
[ste...@gateway2:~]% sudo ifconfig pfsync0 create
ifconfig: SIOCIFCREATE2: Invalid argument

Is pfsync not in GENERIC?  I checked the amd64 config file and indeed  
it does not show up, however pf and pflog are not there either but are  
usable in the base system, so I am not positive that pfsync being  
missing is therefore conclusive.


I would like to if at all possible use GENERIC so that I can take  
advantage of freebsd-update etc.  Is there some way to get this all  
running without recompiling the kernel?  (You may notice I'm using  
ucarp instead of carp to avoid recompiling)


Thank you for any guidance,
Steven Schlansker
___
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: On the need for moderated questions lists

2009-05-29 Thread Chad Perrin
On Fri, May 29, 2009 at 09:36:07AM +0200, Wojciech Puchar wrote:
> 
> OK. On topic is:
> 
> - question about software made by FreeBSD team which is FreeBSD base 
> system+ports subsystem. In ports subsystem i mean the set of scripts and 
> patches that allows you to compile other programs, BUT NOT THE PROGRAMS 
> itself.
> 
> - questions about purely FreeBSD-specific and FreeBSD-dependend things of 
> ported programs. For example:
> 
> ---
> I start program X, configure it the same way as in linux, installed all 
> the same modules, but here it crashes/behave differently. For example:
> --- here some output ---
> Where is a problem
> ---

So . . . it seems like you expect everyone that has a question about
software that runs on multiple OSes (and not *just* FreeBSD) to run an
extra system, running some other OS, just to determine whether there are
differences in the way it fails on their FreeBSD systems and what would
happen on the other OS.  This way, they can offer specific examples of
how it behaves differently on different OSes in order to meet your
criteria for being a FreeBSD topic.

The problem is people who are having trouble getting X to do something on
FreeBSD and don't have a computer running a different OS on which to test
it to compare, or don't have the time to dick around with another OS just
to satisfy W. Puchar's criteria for on-topicness.  What if their X
problems *are* FreeBSD problems, just as you described above, but they
can't specifically verify that they're FreeBSD-related problems because
they don't have the time or resources to test on different OSes to nail
down the points of departure between different OSes?  Are they just SOL
in your estimation?  Should we tell them FOAD because FreeBSD is the only
OS they use?

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]
Quoth H. L. Mencken: "In this world of sin and sorrow, there is always
something to be thankful for; as for me, I rejoice that I am not a
Republican."


pgpyoUTk6mIYe.pgp
Description: PGP signature


Re: Producing Bad Dumps

2009-05-29 Thread Jerry McAllister
On Fri, May 29, 2009 at 09:52:30AM -0500, Martin McCormick wrote:

> I use the following flags to create a level 0 dump:
> 
> dump 0ufaL /home/backups/backup /dev/DISKPARTITION
> 
> The dump appears to run just fine. /home/backups/backup is a
> pipe to a remote system that fills a regular file from the pipe.
> 
>   Everything seems to run well at the time and the dump
> file has gigabytes of data in it. I can restore many files from
> it and all seems well.
> 
>   Today, I practiced restoring a whole system from one of
> these dumps and used the following command:
> 
> restore -u -fx FILENAME
> 
> It prompted for the volume number which is 1 (100% of the dump)
> and then I entered none when prompted for the next volume.
> 
>   That was about an hour ago and it is still spewing out
> the names of thousands of files, many of them OS-related such as
> /usr/src/xx which were not being modified or created at the time
> so if any files should be there, these should.

Probably you did not want the -x or -u, but instead wanted to do
  cd /MOUNTED_EMPTY_PARTITION
  restore -rf DUMPFILENAME

But, I am not sure because it is hard to understand why you chose -xu.

jerry

> 
>   Any idea as to what I did wrong?
> 
>   At this point, it is not certain whether the dump is bad
> or the restore is bad, but it isn't exactly confidence-en spiring
> if the system in question was to melt.
> 
>   No file systems filled up and the pipe isn't taken down
> until the dump has finished, at least that is what I believe to
> be the case.
> 
>   Any suggestions are welcome.
> 
>   Actually, for this test, I pretended that a directory
> on the system called scratch is / so I am just testing the
> ability to restore what should be everything under /
> before actually trying this on the real / because after that,
> you must rebuild the system from CDROM for a proper test.
>   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"
___
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: What is this forum for?

2009-05-29 Thread Wojciech Puchar

Dude, that's it!  The increase in global oil consumption has
inadvertently raised the level of the Oceans due to more Super tankers!
You're freaking BRILLIANT!  $200M Grant for you to continue this ground
breaking research!


I think extra tax for supertankers are the right solution!

UPS.. maybe better not write that, as people from governments may get 
this new idea.

___
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: Canon printer and TurboPrint

2009-05-29 Thread Wojciech Puchar

Microsoft.


Look up the definition of 'socialism'. Then look at who comprises the
EU. Their attempts to 'level the playing field' is nothing more than


no sense to explain again things that are clear to anyone that do observe, 
instead of living in virtual world created by TV.



The original suit was a bogus and transparent attempt at protecting
Netscape. Funny, when Netscape was #1, nobody said a word. Once
Microsoft surpassed them all of the socialist came out of the woodwork
and bitched.


these all suit about netscape and that microsoft are playing unfair 
because it adds web browser to windows just ROTFL!


What's wrong that they add web browser. They could even add 100 rolls of 
toilet paper to windows bundle - and so what? They would sell a product 
"parody of OS and 100 rolls of toilet paper", the same as now it sell 
parody of OS with browser included.


Everybody can sell whatever they want. If people want to buy it, or not, 
is their problem.



about product safety here. As far as I know, Microsoft does not produce
food products.


even with food product it's not government job to check and control food.
Competitors could be much better in it, and without getting tax money for 
it.



However, I did see an article recently regarding OpenSSL
and a defect in their product. Are you saying that anyone who was
effected by the 'bug' has a right to sue the authors of that software.


Everybody has right to sue everybody for anything. The question is if they 
win.



Now that is a true socialist. Attack and regulate a company until you
put it out of business.


And then make few huge companies all controlled by government, and zero 
competition. withing few years whole country falls, unless government fall 
first.



The basic premise of your argument is that any company or entity that is
success should be regulated. I find that concept pure socialistic
bullshit.


If he really think that way he is just dangerous.


strategy that's likely to stand up in court in a shareholder suit.


One again, you want 'big brother' aka the government to protect you.


The problem is that there are quite a lot of people that like it. And 
others then suffer from it.



Come on now. Are you saying that you do not publicly post any code
that you create for anyone to use sans payment? Or are you implying
that it is perfectly OK to steal code from any company/individual whose
profits exceed yours sans fees? Maybe I should get some government
intervention here to see what you are hiding?


good idea!


There are many truisms in business. Two of my favorite ones are:

1) No legitimate business ever benefited from government intervention.


No legitimate business ever benefited from government intervention, UNLESS 
they paid to someone from government.


___
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: What is this forum for?

2009-05-29 Thread Wojciech Puchar

just assume that as the ice melts everything remains at the same
temperature.


And, what about the huge amount of water that is currently sequestered
in ice above sea level - on 'dry' land?   Where will it go?


to water. once again i cited what i read that it was about ICE ON ARCTIC 
SEA.


Of course you are right ice that will melt from land will raise the level.
___
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: locking attempts fails in FreeBSD (jail)

2009-05-29 Thread Wojciech Puchar

other question - what filesystem do you use for directory when locks are
placed?



in-jail# mount
/dev/mirror/gm0s1d on / (ufs, local, soft-updates)


me too UFS. no other questions, and no other ideas. sorry.


procfs on /var/jails/mail/proc (procfs, local)
devfs on /var/jails/mail/dev (devfs, local)
/usr on /var/jails/mail/usr (nullfs, local, read-only)


looks like you administer jails the same way as me (/usr shared). 
Probably your /usr/local/etc is a symlink to have different configs both 
places. But i will ask - is it?


AND - make sure dovocot-deliver does not try writing anything into /usr.
Most programs don't but some do, if so you have to move that directory out 
of /usr and make symlink. squid proxy do this.



I tested dovecot/ssl-build-param on another server: in host ok, in all jails 
the same error.  ?!?!?


The only idea left is that it writes to /usr someplace.

BTW do you need /proc in jails. i never used it, maybe it doesn't work 
properly in jail, and ssl-build-param make use it when it's available.

But for sure it do run without /proc mounted.
what version of dovecot you use?

mine is
dovecot-1.1.11
___
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: Canon printer and TurboPrint

2009-05-29 Thread Wojciech Puchar

printer and then install, so user HAVE TO FOLLOW the steps.


Allthough CUPS is for UNIX (the U in CUPS), I think it's a bit sad


it runs on unix. But it was written by people that thinks windows-way.
Like most of new soft for unix.

"Well it's really bad printer support on unix, lets make it as good as in 
windows".


And yes they did a lot of hard work, just sad they did it that way.

Anyway - great work.


Translated from a PC commercial: "My computer knows who I am, and knows
what I want."


There wasn't THAT BAD commercials in Poland already. But for sure will.


Another attitude at least famous among german "Windows" users: If the
PC says (!) something, it is alright. Asking for the bankomatcard PIN?
Well, enter it! An obscure web page wants your name and postal address


so make use of it. Pecunia non olet :)


MICROS~1 initiated misbelief that "Windows" administers itself.


No it doesn't administer itself. It does administer it's slave.


If you think that's stupid - well, at least it's the reality here. :-)


While i was always laughing about "artifical inteligence" ideas, now i 
found it's possible to make computer as smart or smarter than people.


You just need to make people mode dumb :)
___
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: pppoe routing problem, default route isnt used for some hosts

2009-05-29 Thread Nikos Vassiliadis

Fabian Holler wrote:

Hello,

I have an strange routing problem. I can't connect to some hosts in the
internet till I add an explicit route for this hosts with my default gw
as gateway.
There aren't any other routes that could match the destination IP for
"non-working hosts". So the connection should also without an explicit
route for this Hosts use the default gw.

My Setup:
FreeBSD 7.2-RELEASE
mppd to make an PPPOE connection to my internet service
provider.
PF as firewall

To isolate the problem I used an minimal pf.conf:
---
"inetif=ng0
lanif=vr0

scrub all max-mss 1492
pass quick on lo0 all
pass out on $inetif proto { tcp udp icmp } all keep state"
pass on $lanif from any to any
---
I also tried pppd instead of mppd(dont helps).


Hosts that I can't connect to, are ie spiegel.de, tagesschau.de, freebsd.org
southparkstudios.com
I.e
TCP connections to Port 80 of southparkstudios.com dont work.
If I add an explicit route:
"route add southparkstudios.com 213.191.84.199"


Besides netstat -rn, you can use "route get southparkstudios.com"
to check a route for a destination.


Connections with nc to port 80 works
(the connections tests are made from the router, the iface MTUs are correct)


You cannot test MTU settings using nc, since initial packets, that
is, small packets, are always smaller than your MTU. You can test
MTU using fetch or ftp or nc + "GET /some.big.file".



Anybody have an idea what could be wrong?

I have no idea anymore
(its also not an provider problem, when i made the pppoe connection from 
windows I can connect to alls hosts)


thanks for any hints:)

best regards

Fabian


-
My routing table:
"
# netstat -ra
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif Expire
defaultlo1.br04.weham.de. UGS 015505ng0
1.1.1.1&0x1010101  link#1 UC  00rl0

What is this ???
It looks like not-contiguous netmask?


exxx45031.adsl.al lo0UHS 00lo0
localhost  localhost  UH  0  433lo0
192.168.113.0  link#2 UC  00vr0
xyz 00:30:18:ad:26:88  UHLW124005lo0
mail.xyz.ath.cx 00:30:18:ad:26:88  UHLW186400lo0
http.xyz.ath.cx 00:30:18:ad:26:88  UHLW1  770lo0
192.168.113.255ff:ff:ff:ff:ff:ff  UHLWb   1 3228vr0
lo1.br04.weham.de. e176145031.adsl.al UH  10ng0

[... ipv6 stuff]
"

Interface infos:
"
# netstat -ira
NameMtu Network   Address  Ipkts IerrsOpkts Oerrs  Coll
rl01492   00:02:2a:b0:4a:e0 26128479 0 19855993 0 0
  01:00:5e:00:00:010  0
rl01492 1.1.1.1&0x101 1.1.1.1  0 - 2653 - -
  ALL-SYSTEMS.MCAST
vr01500   00:30:18:ad:26:88 12662831 0 17678949 0 0
  01:00:5e:00:00:01 2038  0
vr01500 192.168.113.0 xyz 9745471 - 13639692 - -
  ALL-SYSTEMS.MCAST
vr01500 192.168.113.0 mail.xyz.a   291626 -86404 - -
  ALL-SYSTEMS.MCAST
vr01500 192.168.113.0 http.xyz.a 6814 -  770 - -
  ALL-SYSTEMS.MCAST
lo0   16384   113929 0   113929 0 0
lo0   16384 fe80:3::1 fe80:3::10 -0 - -
  ff01:3::1  (refs: 1)
  ff02:3::2:a61d:93b4(refs: 1)
  ff02:3::1  (refs: 1)
  ff02:3::1:ff00:1   (refs: 1)
lo0   16384 localhost ::1  0 -0 - -
  ff01:3::1  (refs: 1)
  ff02:3::2:a61d:93b4(refs: 1)
  ff02:3::1  (refs: 1)
  ff02:3::1:ff00:1   (refs: 1)
lo0   16384 your-net  localhost  433 - 2433 - -
  ALL-SYSTEMS.MCAST
pflog 332040 080567 0 0
tun0*  150078331 076381 0 0
tun99  1500  353 0  375 0 0
ng01492 17114096 0 13449463 0 0
ng01492 85.176.145.31 e176145031.adsl.a12398 -17011 - -
  ALL-SYSTEMS.MCAST
"

mpd.conf:
"
default:
load PPPoE
PPPoE:
new -i ng0 PPPoE PPPoE
set iface addrs 1.1.1.1 2.2.2.2


Maybe you should delete the above line as
well. I dont remembere what "iface addrs" does,
but you'll get the IP addresses via IPCP,
so it's surely redundant.


set iface route default
set iface enable on-demand
set iface idle 0
 

RE: What is this forum for?

2009-05-29 Thread Gary Gatten
Dude, that's it!  The increase in global oil consumption has
inadvertently raised the level of the Oceans due to more Super tankers!
You're freaking BRILLIANT!  $200M Grant for you to continue this ground
breaking research!

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Craig Butler
Sent: Friday, May 29, 2009 10:37 AM
To: Jerry McAllister
Cc: RW; freebsd-questions@freebsd.org
Subject: Re: What is this forum for?


 

On Fri, 2009-05-29 at 11:03 -0400, Jerry McAllister wrote:
> On Thu, May 28, 2009 at 11:43:29PM +0100, RW wrote:
> 
> > On Thu, 28 May 2009 23:38:46 +0200 (CEST)
> > Wojciech Puchar  wrote:
> > 
> > 
> > > i repeated what i read recently about ICE ON ARCTIC SEA melting
that
> > > will flood.
> > > 
> > > Even knowledge from primary school physics and no single
calculation
> > > is enough to prove that water level will not change at all.
> > 
> > Even for you this is a new low. When you learned about Archimedes
> > principle did they not teach you about thermal expansion - or did
you
> > just assume that as the ice melts everything remains at the same
> > temperature. 
> 
> And, what about the huge amount of water that is currently sequestered

> in ice above sea level - on 'dry' land?   Where will it go?
> 
> jerry

I think its because we are building and launching all these bigger and
bigger boats and displacing more water :P

/CB


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

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








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: What is this forum for?

2009-05-29 Thread Craig Butler
 

On Fri, 2009-05-29 at 11:03 -0400, Jerry McAllister wrote:
> On Thu, May 28, 2009 at 11:43:29PM +0100, RW wrote:
> 
> > On Thu, 28 May 2009 23:38:46 +0200 (CEST)
> > Wojciech Puchar  wrote:
> > 
> > 
> > > i repeated what i read recently about ICE ON ARCTIC SEA melting that
> > > will flood.
> > > 
> > > Even knowledge from primary school physics and no single calculation
> > > is enough to prove that water level will not change at all.
> > 
> > Even for you this is a new low. When you learned about Archimedes
> > principle did they not teach you about thermal expansion - or did you
> > just assume that as the ice melts everything remains at the same
> > temperature. 
> 
> And, what about the huge amount of water that is currently sequestered 
> in ice above sea level - on 'dry' land?   Where will it go?
> 
> jerry

I think its because we are building and launching all these bigger and
bigger boats and displacing more water :P

/CB


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

___
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: Canon printer and TurboPrint

2009-05-29 Thread Jerry
On Fri, 29 May 2009 15:50:45 +0200
Jonathan McKeown  wrote:

>[Sorry for the excessive quoting - I couldn't decide which bits to
>take out]
>
>On Friday 29 May 2009 12:48:00 Jerry wrote:
>> On Fri, 29 May 2009 09:34:36 +0200
>>
>> Jonathan McKeown  wrote:
>> >On Thursday 28 May 2009 22:52:47 Jerry wrote:
>> >> Did you ever bother to consider that if the printer manufacturers
>> >> actually formed a consensus on a printer language, some third
>> >> world county or the EU would probably sue them. Nothing I have
>> >> seen in 20 years equals the audacity of the EU. As long as no
>> >> 'standard' no matter how arbitrary, stupid or counter-productive
>> >> exists, they are in theory safe from the EU. Besides, nothing
>> >> stifles development as tightly as being bound to an arbitrary
>> >> 'standard'.
>> >
>> >What a breathtakingly stupid remark.
>> >
>> >The EU has acted against two companies (Microsoft and Intel) who
>> >have used illegal business methods to protect and extend their
>> >monopolies and suppress competition.
>> >
>> >Or are you suggesting that a format or protocol which is implemented
>> >by several different companies, allowing vendors to compete fairly
>> >on other grounds (price, features, quality, ... ) while protecting
>> >consumers by making it possible for them to move from one vendor to
>> >another, is somehow a worse idea than a proprietary format or
>> >protocol which is forced into a market-dominating position by
>> >illegal tactics such as paying manufacturers extra to incorporate
>> >it, or penalising them financially for providing competing products?
>>
>> The concept behind the EU is socialism, pure and simple. It attempts
>> to create an artificial playing field that allows the incompetent to
>> compete with the motivated. It forces those who create new technology
>> to share it, usually sans monetary compensation, with common bottom
>> feeders. A free, open market is the way to encourage development and
>> new ideas and technology. Not some pathetic, socialistic concept.
>>
>> >If that's the case, why is no-one trying to use the courts to
>> >prevent the use of ODF, a published standard which is now used by
>> >several companies and Free Software projects to provide a common
>> >format for documents?
>> >
>> >Once a company dominates a particular market it's held to a
>> >different standard than other companies in that market - because
>> >the power of the monopoly can be used not only to prevent
>> >competition in the original market, but to extend the market
>> >domination into new markets, by techniques like product tying,
>> >distributing at below cost (effectively drawing subsidy from the
>> >original monopoly product) until competitors are driven out of
>> >business, and so on.
>>
>> A company has the right to disperse their product as they see fit. I
>> know a socialist like you finds that abhorrent; however, it is never
>> the less true. Tell me, if I wanted to sell you a $300 thousand
>> dollar Ferrari for $10, would you: A: complain to the police or what
>> ever legal authority you feel so fit to complain to; B: slam $10 in
>> my hand in a heart beat? I think we know the answer. You are a
>> hypocrite.
>>
>> Has it ever occurred to you how a company grows and becomes
>> successful? I know, in your world it is by using the Government to
>> squash competition; however, in a truly free society, it is by hard
>> word and giving the consumer what they want at a price they are
>> willing to pay. Basic business 101.
>>
>> >Microsoft has been convicted of doing all these things, in US
>> >courts, in courts in Asia, and in courts in Europe. These are
>> >matters of fact, not opinion.
>> >
>> >Intel has been convicted of many of these things in courts in Asia
>> >and in Europe.
>> >
>> >The fact that the US system is too supine to take action against
>> >these companies doesn't make the EU ``arrogant''. Let's not forget
>> >why Unix took off and expanded the way it did: once upon a time the
>> >US courts did take antitrust seriously, and prevented AT&T using
>> >its telco monopoly to expand into market domination of the computer
>> >business.
>>
>> The spinelessness of the American court system is that they do not
>> take legal action against European countries that practice reverse
>> discrimination, or the outright breach of copyright laws, etc. I
>> know, you socialists also abhor copyright laws. The concept of an
>> individual actually benefiting from his/her hard work and not having
>> to share it with every scum sucker who comes begging at his door
>> disturbs you.
>
>Whoa. I don't think that level of personal attack is appropriate or
>acceptable behaviour in a public forum. (I call it attack because you
>clearly regard socialist as a swear word. I'm not a socialist but I
>don't regard it as an insult. I do regard hypocrite as an insult which
>I choose to ignore.)
>
>Your first paragraph, the one beginning ``the concept behind the EU is 
>socialism, pure and simple'', is 

Re: What is this forum for?

2009-05-29 Thread Jerry McAllister
On Thu, May 28, 2009 at 11:43:29PM +0100, RW wrote:

> On Thu, 28 May 2009 23:38:46 +0200 (CEST)
> Wojciech Puchar  wrote:
> 
> 
> > i repeated what i read recently about ICE ON ARCTIC SEA melting that
> > will flood.
> > 
> > Even knowledge from primary school physics and no single calculation
> > is enough to prove that water level will not change at all.
> 
> Even for you this is a new low. When you learned about Archimedes
> principle did they not teach you about thermal expansion - or did you
> just assume that as the ice melts everything remains at the same
> temperature. 

And, what about the huge amount of water that is currently sequestered 
in ice above sea level - on 'dry' land?   Where will it go?

jerry


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


Producing Bad Dumps

2009-05-29 Thread Martin McCormick
I use the following flags to create a level 0 dump:

dump 0ufaL /home/backups/backup /dev/DISKPARTITION

The dump appears to run just fine. /home/backups/backup is a
pipe to a remote system that fills a regular file from the pipe.

Everything seems to run well at the time and the dump
file has gigabytes of data in it. I can restore many files from
it and all seems well.

Today, I practiced restoring a whole system from one of
these dumps and used the following command:

restore -u -fx FILENAME

It prompted for the volume number which is 1 (100% of the dump)
and then I entered none when prompted for the next volume.

That was about an hour ago and it is still spewing out
the names of thousands of files, many of them OS-related such as
/usr/src/xx which were not being modified or created at the time
so if any files should be there, these should.

Any idea as to what I did wrong?

At this point, it is not certain whether the dump is bad
or the restore is bad, but it isn't exactly confidence-en spiring
if the system in question was to melt.

No file systems filled up and the pipe isn't taken down
until the dump has finished, at least that is what I believe to
be the case.

Any suggestions are welcome.

Actually, for this test, I pretended that a directory
on the system called scratch is / so I am just testing the
ability to restore what should be everything under /
before actually trying this on the real / because after that,
you must rebuild the system from CDROM for a proper test.
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"


Re: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Erik Norgaard wrote:
>> Greg Larkin wrote:
>>
>>> It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
>>> given to the port make process.  Has that been enabled on both of your
>>> installations?
>>
>> That works! it will build and install fine if I comment that from my
>> make.conf, I thought that this port was to work with mod_perl2!?
> 
> Too fast, without "WITH_MODPERL2=yes" build and installed yes, but
> didn't work, it appears that a large portion of the port was simply not
> built nor installed despite the lack of error.
> 
> See patch in other reply on this thread.
> 
> Erik

Hi Erik,

I think that's the normal behavior for the port.  If WITH_MODPERL2=yes
is not specified, the Perl modules are left out of the build, but it
still installs the C libraries, header files, etc.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH/Ya0sRouByUApARAv9eAJ9AWwYWymREMnn/GPvM5Tz5uZ2DvACeKGdw
lXvk9dzdOBN1qx3CW35oK6I=
=eeMB
-END PGP SIGNATURE-

___
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: libapreq2 broken?

2009-05-29 Thread Barry Byrne
 

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Greg Larkin

> 
> Please update your ports tree, then apply this patch:
> 
> http://people.freebsd.org/~glarkin/diffs/libapreq2.diff
> 
> I reinstalled the port successfully like so:
> 
> make WITH_MODPERL2=yes install clean
> 
> Whenever the error message "make: don't know how to make w" 
> appears in a
> port build, it indicates that the port requires gmake to 
> build properly,
> but some Makefile is calling the BSD make instead.  That's caused if
> "make" is called directly or if the Makefile sets MAKE=make 
> and calls a
> subdirectory Makefile.
> 
> If this patch solves the problem, I'll ask s...@freebsd.org to 
> commit it
> for you.

Greg,

That seems to have built fine for me. Appreciate the rapid assistance.

Regards,

Barry

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


libthr vs lipbthreads

2009-05-29 Thread Gary Gatten
Is there any sort of consensus on the better choice between these two
libraries?  I'm running an app (nTop) on 6.0 RELEASE and have sometimes
"odd" behavior and performances issues with libpthreads.  I recently
switched the libthr, but I'm not sure if the issues are the app code
itself, or the way FBSD does threads and scheduling.  Apparently these
issues are isolated to FBSD and Linux, Solaris, etc. work fine?  Also
thought about using Linux threads, but too much hassle compared to
creating libmap.conf and restarting.

Any thoughts, insights, etc. would be great.  Found some resources on
the web that indicated libthr is the way to go, but...  still not sure?








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


___
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: locking attempts fails in FreeBSD (jail)

2009-05-29 Thread Oskar Eyb
hi,

> other question - what filesystem do you use for directory when locks are 
> placed?


in-jail# mount
/dev/mirror/gm0s1d on / (ufs, local, soft-updates)


host-view:

/dev/mirror/gm0s1d on /var (ufs, local, soft-updates)

the jail is in

/var/jails/mail/ ...

additionally

procfs on /var/jails/mail/proc (procfs, local)
devfs on /var/jails/mail/dev (devfs, local)
/usr on /var/jails/mail/usr (nullfs, local, read-only)
/usr/vol1/maildirs on /var/jails/mail/maildirs (nullfs, local)


I tested dovecot/ssl-build-param on another server: in host ok, in all jails 
the same error.  ?!?!?



Oskar
-- 
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und
Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
___
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: 7.2 don't set xorg.conf

2009-05-29 Thread Ricardo Jesus

Tony wrote:

hi, i re-install standar (recommended) way 7.2 version, and finish setp when
i reboot.. i set Xorg -configure and failed,...  this works when i select
the packages to install to by group



(*) User % X-Interfaces



before when i install 1st time i select one-by-one and when i finished and
restarted Xorg -configure rowks to wrote xorg.conf.new



and any way last i said either start X



what i do?



regards from cuba



Tony

---
Red Telematica de Salud - Cuba
  CNICM - Infomed






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

Hi Tony,

I think this answers your question: 
http://www.freebsd.org/doc/en/books/handbook/x-config.html.


Regards.
___
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: Canon printer and TurboPrint

2009-05-29 Thread Polytropon
On Fri, 29 May 2009 16:04:22 +0200 (CEST), Wojciech Puchar 
 wrote:
> nothing stupid. As CUPS (and lots of modern software) is based on 
> windows-like philosophy even if runs on unix, it's quite natural.
> 
> Someone decided that the right steps of installing driver is to connect 
> printer and then install, so user HAVE TO FOLLOW the steps.

Allthough CUPS is for UNIX (the U in CUPS), I think it's a bit sad
that it doesn't have something that we would call "professional mode"
as an option, where someone who knows what he does can install a
printer that is not attached to the system at the moment, or that
cannot be autodetected (maybe some dotmatrix or daisywheel printer
that is needed to print carbon copies).



> Any departure is simply bad, as main windows-like philosophy theorem is 
> that user are not allowed to think, because of the danger he/she will 
> become a master of his/her own computer, while making him a slave is a 
> target.
> 
> Only those who are slaves of their own computer, and programs they use, 
> will constantly need help and pay for it.

Translated from a PC commercial: "My computer knows who I am, and knows
what I want."

Another attitude at least famous among german "Windows" users: If the
PC says (!) something, it is alright. Asking for the bankomatcard PIN?
Well, enter it! An obscure web page wants your name and postal address
in order to let you see the dancing elephants? Go aheead, type it in!
"The computer will know what it does."

For any consequences, the "I don't care" campaign, set up by the
MICROS~1 initiated misbelief that "Windows" administers itself, has
spread terrible results in regards of virus infections, trojans,
pirated copies and illegal file sharing. People just don't care, they
just want the dancing elephants - for free. The logical implication
is that the PC is made responsible for everything the user did
wrong.

That's why I often think PCs are often personified; apotheosis is
the next step (cf. the Forbin Project). Is it possible that people
attribute the intelligency to the PC that they don't seem to have
theirselves?

If you think that's stupid - well, at least it's the reality here. :-)



-- 
Polytropon
>From 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: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Erik Norgaard wrote:

Greg Larkin wrote:


It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
given to the port make process.  Has that been enabled on both of your
installations?


That works! it will build and install fine if I comment that from my 
make.conf, I thought that this port was to work with mod_perl2!?


Too fast, without "WITH_MODPERL2=yes" build and installed yes, but 
didn't work, it appears that a large portion of the port was simply not 
built nor installed despite the lack of error.


See patch in other reply on this thread.

Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: locking attempts fails in FreeBSD (jail)

2009-05-29 Thread Wojciech Puchar


So, what does that mean?
What is limiting the locking in jails, howto avoid?


other question - what filesystem do you use for directory when locks are 
placed?

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


growing a graid3 array and growfs not growing ....

2009-05-29 Thread Vikash Badal
Can someone please advise why growfs would return:
growfs: we are not growing (8388607->4194303) ?


I have a FreeBSD 7.2 server in a VM.
I initially had 5 x 4G disks

Created a raid
graid3 label datavol da2 da3 da4 da5 da6

I upgraded them to 5 x 8g disks

swopped out the virtual disks one at a time

graid3 remove -n 0 datavol
graid3 insert -n 0 datavol da2
[wait]
..
graid3 remove -n 4 datavol
graid3 insert -n 4 datavol da6
[wait]

graid3 stop datavol
growfs /dev/raid3/datavol

error message: growfs: we are not growing (8388607->4194303) ?

vix-sw-raid# graid3 list
Geom name: datavol
State: COMPLETE
Components: 5
Flags: NONE
GenID: 0
SyncID: 1
ID: 2704170828
Zone64kFailed: 0
Zone64kRequested: 0
Zone16kFailed: 0
Zone16kRequested: 0
Zone4kFailed: 0
Zone4kRequested: 524
Providers:
1. Name: raid3/datavol
   Mediasize: 34359736320 (32G)
   Sectorsize: 2048
   Mode: r0w0e0
Consumers:
1. Name: da2
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Flags: NONE
   GenID: 0
   SyncID: 1
   Number: 0
   Type: DATA
2. Name: da3
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Flags: NONE
   GenID: 0
   SyncID: 1
   Number: 1
   Type: DATA
3. Name: da4
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Flags: NONE
   GenID: 0
   SyncID: 1
   Number: 2
   Type: DATA
4. Name: da5
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Flags: NONE
   GenID: 0
   SyncID: 1
   Number: 3
   Type: DATA
5. Name: da6
   Mediasize: 8589934592 (8.0G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Flags: NONE
   GenID: 0
   SyncID: 1
   Number: 4
   Type: PARITY


fdisk /dev/raid3/datavol
*** Working on device /dev/raid3/datavol ***
parameters extracted from in-core disklabel are:
cylinders=1044 heads=255 sectors/track=63 (16065 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=1044 heads=255 sectors/track=63 (16065 blks/cyl)

fdisk: invalid fdisk partition table found
fdisk: /boot/mbr: length must be a multiple of sector size


what am I missing ?









Please note: This email and its content are subject to the disclaimer as 
displayed at the following link 
http://www.is.co.za/legal/E-mail+Confidentiality+Notice+and+Disclaimer.htm. 
Should you not have Web access, send a mail to disclaim...@is.co.za and a copy 
will be emailed to 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"


Re: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Greg Larkin wrote:

Hi Erik,

Please update your ports tree, then apply this patch:

http://people.freebsd.org/~glarkin/diffs/libapreq2.diff

I reinstalled the port successfully like so:

make WITH_MODPERL2=yes install clean

Whenever the error message "make: don't know how to make w" appears in a
port build, it indicates that the port requires gmake to build properly,
but some Makefile is calling the BSD make instead.  That's caused if
"make" is called directly or if the Makefile sets MAKE=make and calls a
subdirectory Makefile.

If this patch solves the problem, I'll ask s...@freebsd.org to commit it
for you.


Hi, thanks, the port builds and installs correctly with this patch.

Problem solved, thanks again, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: locking attempts fails in FreeBSD (jail)

2009-05-29 Thread Wojciech Puchar

it's completely strange for me too, as you said that
directories are writable.



the lock-errors from dovecot-deliver I ve solved my lock_method=dotlock (or 
flock).



anyway it should work :(


* The lock-issue is ONLY in jails!


i do use jails, i do use dovecot for IMAP/POP and everything works. anyway 
i don't use dovecot-deliver.



So, what does that mean?
What is limiting the locking in jails, howto avoid?


no idea. as far as we are in jail it should work the same at least in 
theory.

___
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: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Greg Larkin wrote:
> 
>> It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
>> given to the port make process.  Has that been enabled on both of your
>> installations?
> 
> That works! it will build and install fine if I comment that from my
> make.conf, I thought that this port was to work with mod_perl2!?
> 
> Thanks, Erik
> 
> 

I'm no expert on mod_perl2 or the Apache API, but from the looks of the
port, setting WITH_MODPERL2=yes installs the extra modules so you can
call the API library from a Perl script.

The upstream package just wasn't designed to install correctly on a
system where gmake is not named "make".  The patch I created should fix
that problem.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH+zQ0sRouByUApARAmy6AKCmgjAEGxJy4bGoAKk7hyGOpqwiWQCfdcyY
HzkYnVZzcs2TvlCXBn2Prio=
=Wpl2
-END PGP SIGNATURE-

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


7.2 don't set xorg.conf

2009-05-29 Thread Tony
hi, i re-install standar (recommended) way 7.2 version, and finish setp when
i reboot.. i set Xorg -configure and failed,...  this works when i select
the packages to install to by group

(*) User % X-Interfaces

before when i install 1st time i select one-by-one and when i finished and
restarted Xorg -configure rowks to wrote xorg.conf.new

and any way last i said either start X

what i do?

regards from cuba

Tony

---
Red Telematica de Salud - Cuba
  CNICM - Infomed

___
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: locking attempts fails in FreeBSD (jail)

2009-05-29 Thread Oskar Eyb
 wrote

> you don't get an answer probably because nobody knows. 
> it's completely strange for me too, as you said that 
> directories are writable.


the lock-errors from dovecot-deliver I ve solved my lock_method=dotlock (or 
flock).


But I cant change it in ssl-build-param


* The lock-issue is ONLY in jails!

Efcntl(write-lock) locking failed for file /tmp.tmp: Invalid argument
Ffile_try_lock(/tmp.tmp) failed: Invalid argument


So, what does that mean?
What is limiting the locking in jails, howto avoid?



Cheers, Oskar

 Original-Nachricht 
> Datum: Fri, 29 May 2009 09:44:43 +0200
> Von: "Oskar Eyb" 
> An: freebsd-questions@freebsd.org
> Betreff: locking attempts fails in FreeBSD (jail)


> dovecot: 2009-05-29 03:45:50 Fatal: ssl-build-param:
> file_try_lock(/var/db/dovecot/ssl-parameters.dat.tmp) failed: Invalid argument




> deliver(u...@example.com): 2009-05-29 03:43:24 Error: fcntl(write-lock)
> locking failed for file /data/maildirs/example.com/user/dovecot.index.log:
> Invalid argument
> 
-- 
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und
Telefonanschluss nur 17,95 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
___
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: Patching? Probably a trivial question, but...

2009-05-29 Thread Steve Bertrand
Kurt Buff wrote:
> On Wed, May 27, 2009 at 11:36, Mel Flynn
>  wrote:
>> On Wednesday 27 May 2009 17:21:42 Kurt Buff wrote:
>>> All,
>>>
>>> I've gotten a patch for a program in the ports tree from one of the
>>> authors of the program - not the port maintainer - to fix a small
>>> problem, but don't know how to install the updated port.
>>>
>>> I cd'ed into the
>>> /usr/ports/%CATEGORY%/%PROGRAM%/work/%PROGRAM-VERSION% directory, then
>>> performed 'patch >>
>>> Then I did a make, but got no output.
>>>
>>> So - I'm obviously lacking clue here. Anyone have a spare set?
>> Don't feel like reading the entire thread atm, but for reference:
>> - Patches need to have relative paths, where the root of the path corresponds
>> to the port's notion of $PATCH_WRKSRC
>> - You can find out this directory by running:
>> Â  Â  Â  Â % make -C /usr/ports/category/portname -V PATCH_WRKSRC
>> Â The default is $WRKSRC which is $WRKDIR/$DISTNAME by default.
>> Â Example:
>> Â  Â  Â  Â % make -C /usr/ports/sysutils/nagios-statd -V PATCH_WRKSRC
>> Â  Â  Â  Â 
>> /stable/usr/obj/usr/ports/sysutils/nagios-statd/work/nagios-statd-3.12
>>
>> - Patches are automatically applied if they reside in the port's notion of
>> PATCHDIR and are named patch-*
>> - You can find out this directory by running:
>> Â  Â  Â  Â %make -C /usr/ports/category/portname -V PATCHDIR
>> Â The default is $.CURDIR/files.
>> Â Example:
>> Â  Â  Â  Â % make -C /usr/ports/sysutils/nagios-statd -V PATCHDIR
>> Â  Â  Â  Â /usr/ports/sysutils/nagios-statd/files
>>
>> - In order to apply a new patch after you have previously gone past the patch
>> stage (configure, build, install), either run make clean or:
>> Â  Â  Â  Â % rm $(make -C /usr/ports/category/portname -V PATCH_COOKIE)
>> Â The above can cause problems, with the build. The normal course of action 
>> is
>> to make clean.
> 
> Excellent. I will be trying this tomorrow - I'm leaving work early
> today to get some things taken care of.

Kurt,

I had to leave rather hastily the other day, but I did test the patch,
and it worked ok. If this is a one-off thing, here is how I did it:

# cd /usr/ports/category/program
# make clean
# ee source.patch (pasted the patch in)
# make configure (which preps the source)
# cd work/progname
# patch < ../../source.patch
# cd ../..
# make
# make install

All worked well.

Steve



smime.p7s
Description: S/MIME Cryptographic Signature


Re: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Greg Larkin wrote:


It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
given to the port make process.  Has that been enabled on both of your
installations?


That works! it will build and install fine if I comment that from my 
make.conf, I thought that this port was to work with mod_perl2!?


Thanks, Erik


--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: Canon printer and TurboPrint

2009-05-29 Thread Wojciech Puchar

Anyway, it allows you to do something that CUPS won't: It lets
you install a printer that is not attached to the system. Yes,
I know, sounds stupid. :-)


nothing stupid. As CUPS (and lots of modern software) is based on 
windows-like philosophy even if runs on unix, it's quite natural.


Someone decided that the right steps of installing driver is to connect 
printer and then install, so user HAVE TO FOLLOW the steps.


Any departure is simply bad, as main windows-like philosophy theorem is 
that user are not allowed to think, because of the danger he/she will 
become a master of his/her own computer, while making him a slave is a 
target.


Only those who are slaves of their own computer, and programs they use, 
will constantly need help and pay for it.

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


Re: Canon printer and TurboPrint

2009-05-29 Thread Wojciech Puchar

Whoa. I don't think that level of personal attack is appropriate or acceptable
behaviour in a public forum. (I call it attack because you clearly regard
socialist as a swear word. I'm not a socialist but I don't regard it as an
insult.


it's not insult. it's just lethal disease than must be cured or it will 
destroy civilisation

___
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: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Greg Larkin wrote:
> 
>> I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
>> installed.  I'm pretty sure I've seen an error like this while working
>> on a port a few months back.  I'll take a look and see if I can jog my
>> memory about what the solution was.
> 
> Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, libapreq2 2.08
> and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 7.2-STABLE trying
> to install libapreq2 2.12.
> 
> BR, Erik
> 

Hi Erik,

Please update your ports tree, then apply this patch:

http://people.freebsd.org/~glarkin/diffs/libapreq2.diff

I reinstalled the port successfully like so:

make WITH_MODPERL2=yes install clean

Whenever the error message "make: don't know how to make w" appears in a
port build, it indicates that the port requires gmake to build properly,
but some Makefile is calling the BSD make instead.  That's caused if
"make" is called directly or if the Makefile sets MAKE=make and calls a
subdirectory Makefile.

If this patch solves the problem, I'll ask s...@freebsd.org to commit it
for you.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH+ma0sRouByUApARAgHuAJ42HkTf12DwdbRq4Z8NlN21GKPw7gCfaTp4
1mU47NIMiDP7+np2+6QyHCs=
=IPtu
-END PGP SIGNATURE-

___
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: libapreq2 broken?

2009-05-29 Thread Barry Byrne
 

> -Original Message-
> From: owner-freebsd-questi...@freebsd.org 
> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of 
> Erik Norgaard

> Greg Larkin wrote:
> > I can confirm that this is also a problem on 7.0-RELEASE 
> with Perl 5.8.9
> > installed.  I'm pretty sure I've seen an error like this 
> while working
> > on a port a few months back.  I'll take a look and see if I 
> can jog my
> > memory about what the solution was.
> 
> Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, 
> libapreq2 2.08 
> and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 
> 7.2-STABLE trying 
> to install libapreq2 2.12.

I have the same issue on a couple of 6.2-RELEASE boxes, with perl-5.8.9_2
installed. Never did find a solution to this, so interested on any insight
anyone may have.

Thanks,

Barry

___
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: Canon printer and TurboPrint

2009-05-29 Thread Jonathan McKeown
[Sorry for the excessive quoting - I couldn't decide which bits to take out]

On Friday 29 May 2009 12:48:00 Jerry wrote:
> On Fri, 29 May 2009 09:34:36 +0200
>
> Jonathan McKeown  wrote:
> >On Thursday 28 May 2009 22:52:47 Jerry wrote:
> >> Did you ever bother to consider that if the printer manufacturers
> >> actually formed a consensus on a printer language, some third world
> >> county or the EU would probably sue them. Nothing I have seen in 20
> >> years equals the audacity of the EU. As long as no 'standard' no
> >> matter how arbitrary, stupid or counter-productive exists, they are
> >> in theory safe from the EU. Besides, nothing stifles development as
> >> tightly as being bound to an arbitrary 'standard'.
> >
> >What a breathtakingly stupid remark.
> >
> >The EU has acted against two companies (Microsoft and Intel) who have
> >used illegal business methods to protect and extend their monopolies
> >and suppress competition.
> >
> >Or are you suggesting that a format or protocol which is implemented
> >by several different companies, allowing vendors to compete fairly on
> >other grounds (price, features, quality, ... ) while protecting
> >consumers by making it possible for them to move from one vendor to
> >another, is somehow a worse idea than a proprietary format or protocol
> >which is forced into a market-dominating position by illegal tactics
> >such as paying manufacturers extra to incorporate it, or penalising
> >them financially for providing competing products?
>
> The concept behind the EU is socialism, pure and simple. It attempts to
> create an artificial playing field that allows the incompetent to
> compete with the motivated. It forces those who create new technology
> to share it, usually sans monetary compensation, with common bottom
> feeders. A free, open market is the way to encourage development and
> new ideas and technology. Not some pathetic, socialistic concept.
>
> >If that's the case, why is no-one trying to use the courts to prevent
> >the use of ODF, a published standard which is now used by several
> >companies and Free Software projects to provide a common format for
> >documents?
> >
> >Once a company dominates a particular market it's held to a different
> >standard than other companies in that market - because the power of
> >the monopoly can be used not only to prevent competition in the
> >original market, but to extend the market domination into new markets,
> >by techniques like product tying, distributing at below cost
> >(effectively drawing subsidy from the original monopoly product) until
> >competitors are driven out of business, and so on.
>
> A company has the right to disperse their product as they see fit. I
> know a socialist like you finds that abhorrent; however, it is never the
> less true. Tell me, if I wanted to sell you a $300 thousand dollar
> Ferrari for $10, would you: A: complain to the police or what ever legal
> authority you feel so fit to complain to; B: slam $10 in my hand in a
> heart beat? I think we know the answer. You are a hypocrite.
>
> Has it ever occurred to you how a company grows and becomes successful?
> I know, in your world it is by using the Government to squash
> competition; however, in a truly free society, it is by hard word and
> giving the consumer what they want at a price they are willing to pay.
> Basic business 101.
>
> >Microsoft has been convicted of doing all these things, in US courts,
> >in courts in Asia, and in courts in Europe. These are matters of fact,
> >not opinion.
> >
> >Intel has been convicted of many of these things in courts in Asia and
> >in Europe.
> >
> >The fact that the US system is too supine to take action against these
> >companies doesn't make the EU ``arrogant''. Let's not forget why Unix
> >took off and expanded the way it did: once upon a time the US courts
> >did take antitrust seriously, and prevented AT&T using its telco
> >monopoly to expand into market domination of the computer business.
>
> The spinelessness of the American court system is that they do not take
> legal action against European countries that practice reverse
> discrimination, or the outright breach of copyright laws, etc. I know,
> you socialists also abhor copyright laws. The concept of an individual
> actually benefiting from his/her hard work and not having to share it
> with every scum sucker who comes begging at his door disturbs you.

Whoa. I don't think that level of personal attack is appropriate or acceptable 
behaviour in a public forum. (I call it attack because you clearly regard 
socialist as a swear word. I'm not a socialist but I don't regard it as an 
insult. I do regard hypocrite as an insult which I choose to ignore.)

Your first paragraph, the one beginning ``the concept behind the EU is 
socialism, pure and simple'', is essentially the Microsoft party line: the 
socialist EU wants to steal our hard work and give it away to people who 
can't stand the heat of competition. The reality is a

Re: Canon printer and TurboPrint

2009-05-29 Thread Polytropon
On Fri, 29 May 2009 15:35:47 +0200 (CEST), Wojciech Puchar 
 wrote:
> > output PS when printing (that's a standard), the data can be sent
> > directly to the printer that processes it.
> >
> > In case of PCL, apsfilter is quite okay, but you can "just" employ
> > gs to do the work, so apsfilter is not neededly required. It can
> 
> isn't apsfilter just using gs as backend?

As far as I understood, it is. Driven by a text-mode menu, it
lets you select printer by category and then uses gs to generate
the input fed by an application into the printer's language.
It helps to utilize the system's printer spooler. You can make
settings regarding quality, printer connection, printer name,
and other stuff. It's quite simple and easy to use, in the
case you don't want to "get hands dirty" with /etc/printcap. :-)

Anyway, it allows you to do something that CUPS won't: It lets
you install a printer that is not attached to the system. Yes,
I know, sounds stupid. :-)

At the moment, I'm using it with some help by the de- list.
I've added some extra gs flags to the configuration which is
text file based (very comfortable), now everything works fine
over parallel line. (My next goal is to achieve the same via
network, shouldn't be a problem, worked before.)




-- 
Polytropon
>From 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: libapreq2 broken?

2009-05-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Erik Norgaard wrote:
> Greg Larkin wrote:
> 
>> I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
>> installed.  I'm pretty sure I've seen an error like this while working
>> on a port a few months back.  I'll take a look and see if I can jog my
>> memory about what the solution was.
> 
> Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, libapreq2 2.08
> and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 7.2-STABLE trying
> to install libapreq2 2.12.
> 
> BR, Erik
> 

Hi Erik,

It seems to be a problem only when the "WITH_MODPERL2=yes" switch is
given to the port make process.  Has that been enabled on both of your
installations?

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH+Z+0sRouByUApARAojkAJ9dCEmR4hzvTQV49jKRqswzb398ogCfVMNZ
J798URwEuRjylwsu5YPy2aI=
=rSvH
-END PGP SIGNATURE-

___
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: Canon printer and TurboPrint

2009-05-29 Thread Wojciech Puchar

output PS when printing (that's a standard), the data can be sent
directly to the printer that processes it.

In case of PCL, apsfilter is quite okay, but you can "just" employ
gs to do the work, so apsfilter is not neededly required. It can


isn't apsfilter just using gs as backend?
___
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: libapreq2 broken?

2009-05-29 Thread Erik Norgaard

Greg Larkin wrote:


I can confirm that this is also a problem on 7.0-RELEASE with Perl 5.8.9
installed.  I'm pretty sure I've seen an error like this while working
on a port a few months back.  I'll take a look and see if I can jog my
memory about what the solution was.


Thanks, I had it working on 7.1-STABLE with Perl 5.8.8, libapreq2 2.08 
and gmake 3.80, now I have Perl 5.10.0 gmake 3.81 on 7.2-STABLE trying 
to install libapreq2 2.12.


BR, Erik

--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.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: Canon printer and TurboPrint

2009-05-29 Thread Wojciech Puchar

it. Of course best they can do is not to do anything.


In fact, they're simply ignoring it.


The best they can do with anything that exist.


If they would like to really punish MS, fines will be much higher and
MEANINGFUL to microsoft.


But that's not intended, as you pointed out. The situation SHOULD
not change; the question is just: How can we (the EU) get some
money out of this situation, and maybe repeat it at another time
(which requires that nothing changes)?


Still this is not a problem for me as i do not use windows.
But it's bad as there are people that use windows because they want to and 
they should pay only for windows, no extra tax.


In the same time they do best possible marketing for microsoft - computer 
lesson in schools. But i don't opt to change it to use say FreeBSD in 
schools. I opt for removing computer lessons from public schools.
EVEN BETTER - to remove public schools at all, and not getting money 
for them by taxes. then parents could decide to what private school will 
children go, what will learn, and pay for it.



The government is always a SOURCE, not solution to a problem.




deleted part below after reading, as i don't have anything to add...

You just exactly described problem of public school's computer lesson.

But it's just part of a bigger problem - existence of public schools paid 
from out taxes.



The teachers sometimes even don't have a clue about what
they should teach.


This is not only on computer lessons.

Most teachers are just dumb, because there is no free-market mechanism to 
do the selection. If teacher will get employed in public school, it's 
really difficult to fire him/her out.


In schools i was, most teachers was simply dumb. I don't require wonders, 
but knowing basics of physics is quite important requirement of being 
physics teacher.


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


upcupsd / freebsdd

2009-05-29 Thread Pieter Donche

I'm putting a APC1000 UPS with APC Network Management Card (AP9617)
to freebsd system with apcupsd, via ethernet cable over SNMP.
apcsupsd is running, apcaccess status returns the status variables.
When pulling out powercable of UPS and back in, I do get 'Warning power 
loss detected; Power failure: Running on UPS batteries; Power has 
returned". So far, so good.


The Overview page in the webinterface shows there is power in the
UPS form over 2 hours. How can I force a faster automatic freebsd
shutdown to see if it is working (can't wait 2 hours)

The web-interface  under UPS / Configuration / shutdown
shows (the defaults):
Start of the shutdown
 Low Battery Duration  02 min
 Shutdown Delay: 90 secs
 (max. Required Delay: 2 minutes)
 Basic Signaling Shutdown  (not checked) Enabled
Duration of Shutdown
 Sleep Time:0.0 hours
End of Shutdown
 Max Battery Capacity:  00 %
 Return Delay:  000 seconds

but do these refer to shutdown of a unix client or shutdown of the UPS 
itself?


The manual is confusing (it's linux oriented not freebsd) most referenced
files do not exist at the mentioned paths...
___
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: Canon printer and TurboPrint

2009-05-29 Thread Polytropon
On Fri, 29 May 2009 01:35:00 -0700, per...@pluto.rain.com wrote:
> Polytropon  wrote:
> 
> > ... If the printer has PS or PCL, gs or even apsfilter will help.
> 
> Dunno about PCL, but if the printer has PS it surely does not need
> gs.  The whole point of gs -- in connection with printing -- is to
> translate PS into some other form that a non-PS printer can handle.

You're correct, PS doesn't need gs. Because most (all?) applications
output PS when printing (that's a standard), the data can be sent
directly to the printer that processes it.

In case of PCL, apsfilter is quite okay, but you can "just" employ
gs to do the work, so apsfilter is not neededly required. It can
add some functionality.



-- 
Polytropon
>From 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: Canon printer and TurboPrint

2009-05-29 Thread Polytropon
On Fri, 29 May 2009 09:48:29 +0200 (CEST), Wojciech Puchar 
 wrote:
> maybe yet? but yes - i think the first poster exaggerated things. UE 
> doesn't (yet?) fights with open standard. They even say they are promoting 
> it. Of course best they can do is not to do anything.

In fact, they're simply ignoring it.



> If they would like to really punish MS, fines will be much higher and 
> MEANINGFUL to microsoft.

But that's not intended, as you pointed out. The situation SHOULD
not change; the question is just: How can we (the EU) get some
money out of this situation, and maybe repeat it at another time
(which requires that nothing changes)?



> The government is always a SOURCE, not solution to a problem.

I may illustrate this with an example from Germany:

Politicians, accompanied by their counselors from the industry,
released rules about what software to use in schools and in
professional schools, in ministries, in executive organs.
This choice is always "Windows" (allthough obviously outdated
versions), and only in the mission critical fields mainframes
are used (IBM mostly, and Siemens).

This leads to two important facts:

1. Children who learn in school do only learn "Windows". They
get knowledge that they can't use on more modern "Windows"
systems anymore. Example: In school they have "Windows 2000"
with "Word '97". Then, they encounter "Windows XP" with some
newer "Office" (in worst case, the one with that strange GUI
concept).

2. Educational companies who educate professional pupils (in
preparation for a job) are explicitely regulated which "Windows"
to use. They get money if they meet the requirements. This
money, of course, comes from taxes (and I'm sure you know
where taxes come from). As soon as a company would say, "We
want to prepare our pupils for the growing importance of
Linux and UNIX in the corporate world, so we want to offer
a class for Linux beginners", they would get no money for
it (allthough Linux itself is free of charge, PCs aren't).

In these settings where "Windows" is used, there's almost
no one who can administer the systems nearly correctly.
This is because of the misbelief that "Windows" administers
itself. In some cases, the maintainers of the PC classes
even don't bother installing expensive MICROS~1 products
that they got a pirated copy of on 30 PCs.

The teachers sometimes even don't have a clue about what
they should teach.

Pupils leaving these edicational companies treat PCs like
worse typewriters and usually aren't able to use any kind
of text processing software halfways properly. When they
enter a job, they recognize that they haven't learned
anything useful.

Nobody cares.

You see: Politicians (those who are responsible for the
decisions made) create their own problems - they are the
source of the problems.


-- 
Polytropon
>From 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: 7-7.2 upgrade, websvn

2009-05-29 Thread Pieter Donche

On Fri, 29 May 2009, Greg Larkin wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Pieter Donche wrote:
> Recently upgraded 7.0->7.2
> a user tells that he gets, using websvn
>  Error running this command: svn --config-dir /tmp --version
>svn: not found
> anyone a similar experience?
> ___
I haven't run into that problem yet, but here are some questions to help
troubleshoot it:

- - Dumb question alert :-) I assume that websvn and svn were installed
from ports on the 7.0 system?

svn from ports, websvn from tarball (used by 1 user) in his public_html
directory.


- - On the upgraded system, what is the output of "pkg_info | grep -i
websvn" and "pkg_info | grep -i subversion"?

$ pkg_info | grep -i subversion
subversion-1.6.2Version control system
websvn is the very latest version 2.2.1


- - Has the websvn config file been edited to point to the svn executable?
   Specifically, you may need to add this line:
$config->setSVNCommandPath("/usr/local/bin/");

as I understood from my yser, nothing of that was previously set
(SVNCommandPath, diff, tar, gzip etc... )
Setting it makes indeed svn to be found, 
but then I wonder why it worked before 7.2?

(phpinfo shows that PHP environment PATH (as well as Apache PATH) are
/sbin:/bin:/usr/sbin:/usr/bin
(can't remember if it was somehting different before 7.2, but our
/usr/local/etc/php.ini hasn't changed for months..)
(the example lines commented out)


Hope that helps, and post the answers to those questions back here.

Cheers,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKH9qG0sRouByUApARAq6HAKCSA901wPp/YIa2dgbUYQ2CX3IKAwCeKR5A
BuJN/djWokys9UKL1iIyLlc=
=WxUO
-END PGP SIGNATURE-




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


  1   2   >