HEADS UP: sshd(8) + nologin(5) going to work again

2007-08-16 Thread Yar Tikhiy
Hi all, As some of us may have noticed, sshd(8) has ignored nologin(5) in its default configuration since it was PAM-ified. That is a pain to admins of multi-user systems as they have to resort to drastic means such as killing the sshd master process when they need to disable user logins temporar

panic after removing usb flash disk

2007-08-16 Thread Artem Kuchin
Hello! I don't know if it really belongs to this list, since i have only tested on 7-CURRENT, but on the other hand 7-CURRENT is soon going to be stable. So here it goes: 1) insert usb flash disk 2) usbd detected it 3) mount it (mount -t msdosfs /dev/da1s1 /mnt) 4) simply pull the pen drive o

Re: panic after removing usb flash disk

2007-08-16 Thread Jeremy Chadwick
On Thu, Aug 16, 2007 at 04:28:59PM +0400, Artem Kuchin wrote: > Hello! > > I don't know if it really belongs to this list, since > i have only tested on 7-CURRENT, but on the other hand > 7-CURRENT is soon going to be stable. > > So here it goes: > > 1) insert usb flash disk > 2) usbd detected it

Re: panic after removing usb flash disk

2007-08-16 Thread Momchil Ivanov
На Thursday 16 August 2007 14:28:59 Artem Kuchin написа: > Hello! > > I don't know if it really belongs to this list, since > i have only tested on 7-CURRENT, but on the other hand > 7-CURRENT is soon going to be stable. > > So here it goes: > > 1) insert usb flash disk > 2) usbd detected it > 3)

Re: panic after removing usb flash disk

2007-08-16 Thread Roman Bogorodskiy
Artem Kuchin wrote: > Hello! > > I don't know if it really belongs to this list, since > i have only tested on 7-CURRENT, but on the other hand > 7-CURRENT is soon going to be stable. > > So here it goes: > > 1) insert usb flash disk > 2) usbd detected it > 3) mount it (mount -t msdosfs /dev

Re: panic after removing usb flash disk

2007-08-16 Thread Oliver Fromme
Roman Bogorodskiy wrote: > Artem Kuchin wrote: > > [FreeBSD crashes when a mounted device disappears] > > It's not a bug, it's a feature. I certainly wouldn't call it a feature. As others have noted, it is a known shortcoming in FreeBSD, and fixing it is non-trivial. Always remember to umou

Re: panic after removing usb flash disk

2007-08-16 Thread Eugene Grosbein
On Thu, Aug 16, 2007 at 04:46:11PM +0400, Roman Bogorodskiy wrote: > It's not a bug, it's a feature. Kernel panic just cannot be a feature, and other OSes do not panic this way. Is is design problem and it _is_ the bug (the hard-to-fix one). Eugene ___

Re: panic after removing usb flash disk

2007-08-16 Thread Ian Smith
On Thu, 16 Aug 2007, Oliver Fromme wrote: > Roman Bogorodskiy wrote: > > Artem Kuchin wrote: > > > [FreeBSD crashes when a mounted device disappears] > > > > It's not a bug, it's a feature. > > I certainly wouldn't call it a feature. As others have > noted, it is a known shortcoming

Re: panic after removing usb flash disk

2007-08-16 Thread Kevin Oberman
> Date: Thu, 16 Aug 2007 22:38:23 +0800 > From: Eugene Grosbein <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > > On Thu, Aug 16, 2007 at 04:46:11PM +0400, Roman Bogorodskiy wrote: > > > It's not a bug, it's a feature. > > Kernel panic just cannot be a feature, and other OSes do not > panic th

Re: panic after removing usb flash disk

2007-08-16 Thread Kevin Oberman
> Date: Thu, 16 Aug 2007 10:08:17 -0700 > From: Jeremy Chadwick <[EMAIL PROTECTED]> > > On Thu, Aug 16, 2007 at 09:31:32AM -0700, Kevin Oberman wrote: > > To further complicate things, many of the major contributors to FreeBSD > > are only interested in it for its use as a server or embedded OS. T

update from RELEASE to STABLE changed /dev/ad or geom behavior?

2007-08-16 Thread Michael Proto
Hello all, To fix a bug in PF I recently updated my home firewall platform (a shrunk-down install of FreeBSD 6 on a CompactFlash card mounted read-only as /dev/ad0a) from the RELENG_6_2 to the RELENG_6 branch. All went very well there and the PF problem is resolved, but now I've run across a new i

Re: panic after removing usb flash disk

2007-08-16 Thread Jeremy Chadwick
On Thu, Aug 16, 2007 at 09:31:32AM -0700, Kevin Oberman wrote: > To further complicate things, many of the major contributors to FreeBSD > are only interested in it for its use as a server or embedded OS. This > means that they are willing to commit resources to SMP, which they need, > but not so w

apache problems

2007-08-16 Thread Reinhold
Hi I am having some problems with apache22 on my box. What happens is, when I'm viewing loads and loads of pages, apache will stop responding untill I restart it again. This normally happens when the free memory shown by top gets to about +- 100MB. Here is my dmesg output: Copyright (c) 1992-2007

apache problems

2007-08-16 Thread Reinhold
Hi I am having some problems with apache22 on my box. What happens is, when I'm viewing loads and loads of pages, apache will stop responding untill I restart it again. This normally happens when the free memory shown by top gets to about +- 100MB. Here is my dmesg output: Copyright (c) 1992-2007

Re: apache problems

2007-08-16 Thread Jeremy Chadwick
On Thu, Aug 16, 2007 at 07:28:24PM +0200, Reinhold wrote: > Hi Hello. First off, you sent mail to the list twice. I don't know why, but you did. Be patient. :-) > I am having some problems with apache22 on my box. What happens is, when > I'm viewing loads and loads of pages, apache will stop

Re: apache problems

2007-08-16 Thread Reinhold
Thanks for the reply I'm having some mail problems as well, today is not my day. I'll remove all the stuff you mentioned and change back to 4BSD Will I have to recompile all the ports as well? I don't think its a PF problem because I have used this rule set of mine for a few years with no proble

apache problems

2007-08-16 Thread Reinhold
Hi I am having some problems with apache22 on my box. What happens is, when I'm viewing loads and loads of pages, apache will stop responding untill I restart it again. This normally happens when the free memory shown by top gets to about +- 100MB. Here is my dmesg output: Copyright (c) 1992-2007

Re: apache problems

2007-08-16 Thread Reinhold
Thanks for the reply I'm having some mail problems as well, today is not my day. I'll remove all the stuff you mentioned and change back to 4BSD Will I have to recompile all the ports as well? I don't think its a PF problem because I have used this rule set of mine for a few years with no proble

Re: apache problems

2007-08-16 Thread Reinhold
Thanks for the reply I'm having some mail problems as well, today is not my day. I'll remove all the stuff you mentioned and change back to 4BSD Will I have to recompile all the ports as well? I don't think its a PF problem because I have used this rule set of mine for a few years with no proble

Re: apache problems

2007-08-16 Thread Miroslav Lachman
Jeremy Chadwick wrote: [...] I'm also getting this error when I do a gracful restart of apache [Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Filter [Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable the 'httpready' Accept Fil

Re: apache problems

2007-08-16 Thread Jeremy Chadwick
On Thu, Aug 16, 2007 at 08:39:28PM +0200, Reinhold wrote: > Thanks for the reply > > I'm having some mail problems as well, today is not my day. > > I'll remove all the stuff you mentioned and change back to 4BSD > Will I have to recompile all the ports as well? Nope, you won't. > I don't think

Re: apache problems

2007-08-16 Thread Jeremy Chadwick
On Thu, Aug 16, 2007 at 09:16:00PM +0200, Miroslav Lachman wrote: > Jeremy Chadwick wrote: > [...] >>> I'm also getting this error when I do a gracful restart of apache >>> [Thu Aug 16 05:12:16 2007] [warn] (22)Invalid argument: Failed to enable >>> the 'httpready' Accept Filter >>> [Thu Aug 16 05:

mail problems was Re: apache problems

2007-08-16 Thread Reinhold
Thanks for the tips on postfix but they don't work for me. I have my mail server behind a pf firewall box on a local ip I have attached my pf.conf file so that you can see what it looks like, I also have to tell spamd to use the hostname of the mail sever but when I use the -h flag is sops working

RE: mail problems was Re: apache problems

2007-08-16 Thread Kevin K.
n't unload the modules despite nothing using them. If > >> you have them built-in to your kernel, it gets even worse. > > > > It is not always possible to load modules after OS startup is done > > - when securelevel is 1 or above, you can not load kernel module

6.2, USB wedged

2007-08-16 Thread Charles Sprickman
Hi all, I'm not too familiar with USB in 5.x or 6.x. After some great one-on-one work with one of the NUT UPS tools devs, he got many linuxisms out of the tripplite_usb code so I can monitor a UPS here. The code is likely not perfect, and sometimes the NUT daemon needs to be restarted to ge

limiting output of second stage loader

2007-08-16 Thread Charles Shannon Hendrix
I have configured a custom menu in the FreeBSD loader. I didn't want beastie.4th so I wrote my own and it works well. However, I would really like to have this stage not send any output to the console except what is needed for displaying the menu and any error messages I specifically want to wri