Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759104AbZFJTZS (ORCPT ); Wed, 10 Jun 2009 15:25:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755410AbZFJTZI (ORCPT ); Wed, 10 Jun 2009 15:25:08 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:65257 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754376AbZFJTZH (ORCPT ); Wed, 10 Jun 2009 15:25:07 -0400 Date: Wed, 10 Jun 2009 12:25:05 -0700 (PDT) From: Christian Kujau To: Harald Dunkel cc: LKML Subject: Re: how to stop kernel nfsd? In-Reply-To: <4A2FE268.60505@t-online.de> Message-ID: References: <1MDcTI-1elcES0@fwd00.aul.t-online.de> <4A2FE268.60505@t-online.de> User-Agent: Alpine 2.01 (DEB 1184 2008-12-16) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Provags-ID: V01U2FsdGVkX1/YMLHvok+GGkzFeiooic9hxZjazhDiVHXCpr5 BJAR+Wk+kEZ/+TcSCsMK0UrPs5vJl/qA2bkRkHORNSwQvq9can cBzFgFWFelLXURTyMa09A== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1120 Lines: 31 On Wed, 10 Jun 2009, Harald Dunkel wrote: > To terminate the nfs service Lenny's /etc/init.d/nfs-kernel-server tries > kill -INT Mine does: start-stop-daemon --stop --name nfsd ...thus sending signal 15 (terminate) to the nfsd processes. Not sure what INT does to nfsd. > Surely I am not asking for support for Lenny's kernel. But it would be > interesting to know what the kernel nfs daemons are supposed to do when > they receive a signal. AFAICS this is not documented. It's called nfs-kernel-server because it communicates with the kernel NFS moduels, but it's a userspace issue nonetheless, methinks: https://lists.sourceforge.net/lists/listinfo/nfs (I justed tested it: kill -INT ends the nfsd processes, but I'm not sure if graceful or not...) HTH, Christian. -- BOFH excuse #245: The Borg tried to assimilate your system. Resistance is futile. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/