Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Yar Tikhiy
On Tue, Aug 15, 2006 at 07:26:08PM +0200, Stefan Bethke wrote: Am 14.08.2006 um 22:07 schrieb Darryl Yeoh: While destroying gif interface, I notice it also removes IPv4 default route. Has anyone else encountered this ? No problem on a FreeBSD 6.1-STABLE #8: Fri Jun 16 17:15:03 CEST

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-16 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc. destroy the tun interface they're using when they exit? Flushing all routes then would be rather harmful. I'm glad I haven't

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-17 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 10:23:13AM +0200, Stefan Bethke wrote: Ouch. Don't ppp(8), OpenVPN etc

Re: Default route (IPv4) demolished by destroying clone (gif/gre) interface

2006-08-17 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 03:59:13PM -0500, Brooks Davis wrote: On Thu, Aug 17, 2006 at 08:49:27AM +1200, Andrew Thompson wrote: On Wed, Aug 16, 2006 at 12:15:25PM -0500, Brooks Davis wrote: On Wed, Aug 16, 2006 at 07:58:44PM +0400, Yar Tikhiy wrote: On Wed, Aug 16, 2006 at 09:54:19AM

Re: identity crisis of 6-STABLE in ipfw ipv6 ?

2006-08-18 Thread Yar Tikhiy
On Wed, Aug 16, 2006 at 10:57:02AM -0400, John Baldwin wrote: On Wednesday 16 August 2006 04:53, David Malone wrote: On Wed, Aug 16, 2006 at 08:13:20AM +0200, Kees Plonsz wrote: I just updated to 6-STABLE but my ipfw rules stopped working. It seems that me6 is vanished into thin air.

Re: Pleading for commit

2006-10-26 Thread Yar Tikhiy
On Tue, Oct 24, 2006 at 03:04:09PM -0500, Dan Nelson wrote: In the last episode (Oct 24), Doug Barton said: Duane Whitty wrote: Patching it myself after every cvs update is not such a big deal; It is forgetting to patch it after every update which is a big deal. Write a little script

Re: Build failure in procfs module

2005-08-16 Thread Yar Tikhiy
On Tue, Aug 16, 2005 at 01:29:45AM +0400, Boris Samorodov wrote: On Thu, 11 Aug 2005 19:34:09 +0400 Yar Tikhiy wrote: On Thu, Aug 04, 2005 at 12:28:35PM +0400, Boris Samorodov wrote: On Mon, 18 Jul 2005 19:19:24 +0400 Yar Tikhiy wrote: On Thu, Jul 14, 2005 at 02:15:07PM +0400, Yar Tikhiy

Re: kernel statistics weirdness on RELENG_6{_1,_2} / 64bit?

2006-11-28 Thread Yar Tikhiy
if maybe something good or bad happens. It did not. At this point, I wanted to include links to two mails on amd64@ I found when I first searched for this oddity, both of which had no reply. Instead I found a posting to net@ that occured in the meantime, and a reply to it by Yar Tikhiy two

Re: negative runtime etc., the story continues

2006-12-21 Thread Yar Tikhiy
On Tue, Dec 19, 2006 at 11:49:43PM +0100, V??clav Haisman wrote: Hi, I wrote about how FreeBSD 6.1 RC1, with latest RELENG_6 kernel, prints loads of calcru: runtime went backwards... and calcru: negative runtime... messages when the FreeBSD runs as virtual server under Microsoft Virtual

How I updated 4.11 to 6.2 in a single reboot

2007-02-20 Thread Yar Tikhiy
Hi all, I hope the following story will divert a few potential subscribers from freebsd-eol and save some effort aimed to keep the 4.11 zombie dancing. DISCLAIMER: I take no responsibility for inconvenience or damage that can happen if one uses my story as a how-to guide, especially without full

Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

2007-03-04 Thread Yar Tikhiy
On Tue, Feb 27, 2007 at 04:03:30PM -0500, Mikhail Teterin wrote: On Tuesday 27 February 2007 15:53, Alex Kozlov wrote: = Yes, I switched to swap-backed md already. But the malloc-based variety is = currently the _default_ (see /etc/defaults/rc.conf)... = Bad default. Filing a PR. Keep

Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

2007-03-05 Thread Yar Tikhiy
On Sun, Mar 04, 2007 at 10:59:46PM -0500, Kris Kennaway wrote: On Sun, Mar 04, 2007 at 10:59:46AM +0300, Yar Tikhiy wrote: On Tue, Feb 27, 2007 at 04:03:30PM -0500, Mikhail Teterin wrote: On Tuesday 27 February 2007 15:53, Alex Kozlov wrote: = Yes, I switched to swap-backed md already

Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

2007-03-05 Thread Yar Tikhiy
On Mon, Mar 05, 2007 at 01:14:29PM -0500, Mikhail Teterin wrote: On Monday 05 March 2007 08:23, Yar Tikhiy wrote: = How will it break them?  swap backing only touches swap if there is = memory pressure, i.e. precisely the situation in which malloc backing = will panic. = = I forgot

Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

2007-03-05 Thread Yar Tikhiy
On Mon, Mar 05, 2007 at 09:30:22PM +0200, Kostik Belousov wrote: On Mon, Mar 05, 2007 at 10:17:14PM +0300, Yar Tikhiy wrote: On Mon, Mar 05, 2007 at 01:14:29PM -0500, Mikhail Teterin wrote: On Monday 05 March 2007 08:23, Yar Tikhiy wrote: = How will it break them?  swap backing only

Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

2007-03-06 Thread Yar Tikhiy
On Mon, Mar 05, 2007 at 01:14:29PM -0500, Mikhail Teterin wrote: On Monday 05 March 2007 08:23, Yar Tikhiy wrote: = How will it break them?  swap backing only touches swap if there is = memory pressure, i.e. precisely the situation in which malloc backing = will panic. = = I forgot

Re: Kernel Panic on 4.3-RC #0 using PPPoE

2001-03-27 Thread Yar Tikhiy
Hi, On Tue, Mar 27, 2001 at 12:40:11PM -0800, Archie Cobbs wrote: Mike Tancsa writes: Not sure why this hasn't been detected before though. Below is a possible patch. It has been at http://www.freebsd.org/cgi/query-pr.cgi?pr=25478 and discussed a few times in freebsd-net. Here is

Re: Kernel Panic on 4.3-RC #0 using PPPoE

2001-03-27 Thread Yar Tikhiy
On Wed, Mar 28, 2001 at 11:30:49AM +0400, Yar Tikhiy wrote: Please take a careful look at the frames 6 through 9 of the stack trace in PR#25478, so you may notice that your patch happens to do nothing about the broblem. You are going to add a check for IFF_UP to ether_output_frame() while

Re: ALTQ, pf and VLANs

2005-04-03 Thread Yar Tikhiy
On Thu, Mar 31, 2005 at 04:45:52PM +0100, Max Laier wrote: On Thursday 31 March 2005 04:38, Marko ??uk wrote: Max, that solution works fine. I have tried it and it works fine for me. Thanks. Anyway, do you know some issues with dropping traffic on em0 vlan enabled interfaces and

Re: problem with vlan interfaces in 6-STABLE

2006-01-23 Thread Yar Tikhiy
On Mon, Jan 23, 2006 at 01:28:00PM +0100, Oliver Brandmueller wrote: Hi everybody, After my latest update to FreeBSD hudson 6.0-STABLE FreeBSD 6.0-STABLE #15: Mon Jan 23 12:29:38 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NFS-32-FBSD6 i386 I have a small problem with my vlan

Re: problem with vlan interfaces in 6-STABLE

2006-01-28 Thread Yar Tikhiy
On Tue, Jan 24, 2006 at 02:01:47AM +0300, Yar Tikhiy wrote: On Mon, Jan 23, 2006 at 01:28:00PM +0100, Oliver Brandmueller wrote: After my latest update to FreeBSD hudson 6.0-STABLE FreeBSD 6.0-STABLE #15: Mon Jan 23 12:29:38 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/NFS-32

Re: Restartable system call behaviour

2006-02-01 Thread Yar Tikhiy
On Wed, Feb 01, 2006 at 08:48:30PM +, Pete French wrote: I have a piece of coode which does some networking, in which I see read and write calls failing with 'Interrupted system call' from time to time. You will get EINTR if the interrupt occurs before any data is read or

Re: questions about building releng_6

2006-02-12 Thread Yar Tikhiy
On Sun, Feb 12, 2006 at 01:29:10AM -0600, Z.C.B. wrote: I was just looking at building releng_6 on a releng_5 box. What I am wondering about is how to specify a location other than /usr/obj and Just set the MAKEOBJDIRPREFIX variable in the environment to the desired path, and the build system

Re: SSH login takes very long time...sometimes

2006-02-19 Thread Yar Tikhiy
On Sat, Feb 18, 2006 at 01:20:29AM +0200, Rostislav Krasny wrote: On Thu, 16 Feb 2006 08:35:18 +0100 [EMAIL PROTECTED] (Dag-Erling Sm??rgrav) wrote: David Malone [EMAIL PROTECTED] writes: I did once mail des@ to ask him if he'd mind me changing the default login timeout for sshd to be

Re: RELENG_6 weird '..' permission troubles

2006-02-19 Thread Yar Tikhiy
On Thu, Feb 16, 2006 at 04:57:57PM +0300, Dmitry Morozovsky wrote: On Thu, 16 Feb 2006, James Wyatt wrote: JW I've seen something very similar when the permissions of the mount point's JW underlieing subdirectory wasn't 777. Really strange to see, but it was a JW fallout from a company-wide

Re: IPv6 and IPFW

2006-02-19 Thread Yar Tikhiy
On Sun, Feb 19, 2006 at 04:38:21PM +0900, Hajimu UMEMOTO wrote: Hi, On Sat, 18 Feb 2006 17:34:35 -0800 Peter Losher [EMAIL PROTECTED] said: plosher [1 text/plain; ISO-8859-1 (quoted-printable)] plosher Hajimu UMEMOTO wrote: The ipfw in 6-STABLE has an IPv6 awareness, but it is not

Re: smb_ntencrypt: password encryption is not available #2

2006-02-19 Thread Yar Tikhiy
On Sat, Feb 18, 2006 at 09:51:24AM +0100, Per olof Ljungmark wrote: Per olof Ljungmark wrote: Well, options NETSMBCRYPTO options NETSMB did not work out very well: Do I need anything else here? smb_usr.o(.text+0x4ad):/usr/src/sys/netsmb/smb_usr.c:274: undefined

HEADS UP: build-time options for kernel modules

2006-02-19 Thread Yar Tikhiy
Hi all, As some folks have already noticed, a change affecting modules' build-time options was merged to RELENG_6. Namely, almost all modules now get their options from the main kernel conf file. The only exceptions I'm aware of are pf.ko and ipfw.ko -- the latter gets INET6 and IPSEC stuff, but

Re: RELENG_6 weird '..' permission troubles

2006-02-19 Thread Yar Tikhiy
On Sun, Feb 19, 2006 at 04:01:53PM +0300, Dmitry Morozovsky wrote: On Sun, 19 Feb 2006, Yar Tikhiy wrote: YT On Thu, Feb 16, 2006 at 04:57:57PM +0300, Dmitry Morozovsky wrote: YT On Thu, 16 Feb 2006, James Wyatt wrote: YT YT JW I've seen something very similar when the permissions

Re: RELENG_6 weird '..' permission troubles

2006-02-20 Thread Yar Tikhiy
On Sun, Feb 19, 2006 at 01:27:48PM +0100, Nicolas Rachinsky wrote: * Yar Tikhiy [EMAIL PROTECTED] [2006-02-19 13:58 +0300]: This looks like a file-a-PR case if you are sure you didn't overlook anything. To the best of my knowledge, the underlying mount point permissions should affect

Re: SSH login takes very long time...sometimes

2006-02-21 Thread Yar Tikhiy
On Sun, Feb 19, 2006 at 10:57:01PM +0200, Rostislav Krasny wrote: On Sun, 19 Feb 2006 13:49:12 +0300 Yar Tikhiy [EMAIL PROTECTED] wrote: On Sat, Feb 18, 2006 at 01:20:29AM +0200, Rostislav Krasny wrote: On Thu, 16 Feb 2006 08:35:18 +0100 [EMAIL PROTECTED] (Dag-Erling Sm??rgrav) wrote

Re: SSH login takes very long time...sometimes

2006-02-24 Thread Yar Tikhiy
On Sat, Feb 25, 2006 at 02:08:21AM +0900, Hajimu UMEMOTO wrote: On Fri, 24 Feb 2006 15:51:53 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti Excellent! What about RES_DFLRETRY decreasing from 4 to 2? Does it need rosti more testing or discussion? It seems reasonable to me, and

Re: mount_smbfs trouble after cvsup

2006-02-24 Thread Yar Tikhiy
On Wed, Feb 22, 2006 at 11:04:54AM +, Gavin Atkinson wrote: On Tue, 2006-02-21 at 19:29 +0800, Tai-hwa Liang wrote: On Tue, 21 Feb 2006, Bachilo Dmitry wrote: I've cvsuped from 6.0 to 6.1-PRERELEASE and now I can't mount NT's shares with password. It worked fine before, but after

Re: SSH login takes very long time...sometimes

2006-02-25 Thread Yar Tikhiy
On Sat, Feb 25, 2006 at 02:42:46AM +0200, Rostislav Krasny wrote: On Fri, 24 Feb 2006 20:40:07 +0300 Yar Tikhiy [EMAIL PROTECTED] wrote: To Rostislav: Could you do now, with the resolver fixes applied, the following experiment: find how many dead nameservers in resolv.conf it takes

Re: SSH login takes very long time...sometimes

2006-02-27 Thread Yar Tikhiy
On Sat, Feb 25, 2006 at 02:08:21AM +0900, Hajimu UMEMOTO wrote: On Fri, 24 Feb 2006 15:51:53 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti Excellent! What about RES_DFLRETRY decreasing from 4 to 2? Does it need rosti more testing or discussion? It seems reasonable to me, and

Re: SSH login takes very long time...sometimes

2006-03-01 Thread Yar Tikhiy
On Wed, Mar 01, 2006 at 12:28:14AM +0900, Hajimu UMEMOTO wrote: Hi, On Mon, 27 Feb 2006 18:19:54 +0300 Yar Tikhiy [EMAIL PROTECTED] said: yar I finally spared some time to test your recent changes and found yar that the resolver still would retry using the first, and only the yar first

Re: SSH login takes very long time...sometimes

2006-03-01 Thread Yar Tikhiy
On Sat, Feb 25, 2006 at 04:28:50PM +0900, Hajimu UMEMOTO wrote: On Sat, 25 Feb 2006 02:42:46 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti I've found the problem in both: ftpd(8) and ftp(1). In the ftpd(8) a rosti getaddrinfo() is called in two places with hints.ai_socktype == 0 and

Re: Remote Installworld

2006-03-02 Thread Yar Tikhiy
On Thu, Mar 02, 2006 at 01:28:34AM -0800, Nick Price wrote: I'm currently administering a machine about 1500mi from me with nobody local to the machine to assist me. Anyways, my only access to this machine is via SSH, no remote serial console or anything. When I try to

Re: mount_smbfs trouble after cvsup

2006-03-05 Thread Yar Tikhiy
On Sun, Mar 05, 2006 at 08:01:31PM +, Gavin Atkinson wrote: On Fri, 24 Feb 2006, Yar Tikhiy wrote: On Wed, Feb 22, 2006 at 11:04:54AM +, Gavin Atkinson wrote: Is there a reason this change was made? And is there a reason why The change wasn't against NETSMBCRYPTO, it just

Re: Failing to understand getrusage()

2006-03-06 Thread Yar Tikhiy
On Thu, Mar 02, 2006 at 11:50:29PM +, Nick Barnes wrote: At 2006-03-02 22:24:17+, Nik Clayton writes: I'm failing to understand how getrusage() works, which is a bit perplexing, because it doesn't seem like it would be terribly complicated. ru_maxrss is the maximum resident set

Re: cvs commit: www/en/releases/6.1R todo.sgml

2006-03-07 Thread Yar Tikhiy
On Mon, Mar 06, 2006 at 02:50:41PM -0800, Ade Lovett wrote: While we're at it, bin/94028 points out a fundamental problem with ifconfig(8) as it stands on 6.1-PRERELEASE, preventing MTUs from being set on vlan interfaces. I've taken the PR -- no reason to panic. -- Yar

Re: Failing to understand getrusage()

2006-03-07 Thread Yar Tikhiy
On Tue, Mar 07, 2006 at 12:11:56PM +0200, Kostik Belousov wrote: On Tue, Mar 07, 2006 at 02:15:56AM +0300, Yar Tikhiy wrote: Personally, I'd like to say a me too. /me too fails to see why in a quiet, idle system ru_maxrss is very unpredictable over numerous runs of the test program

Re: cvs commit: www/en/releases/6.1R todo.sgml

2006-03-07 Thread Yar Tikhiy
On Mon, Mar 06, 2006 at 02:50:41PM -0800, Ade Lovett wrote: While we're at it, bin/94028 points out a fundamental problem with ifconfig(8) as it stands on 6.1-PRERELEASE, preventing MTUs from being set on vlan interfaces. A patch has been sent to the audit trail of the PR. All interested

Re: Failing to understand getrusage()

2006-03-10 Thread Yar Tikhiy
On Tue, Mar 07, 2006 at 06:12:59PM +0200, Kostik Belousov wrote: On Tue, Mar 07, 2006 at 06:06:31PM +0300, Yar Tikhiy wrote: On Tue, Mar 07, 2006 at 12:11:56PM +0200, Kostik Belousov wrote: On Tue, Mar 07, 2006 at 02:15:56AM +0300, Yar Tikhiy wrote: Personally, I'd like to say a me

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