From owner-freebsd-net@freebsd.org Sun Apr 29 22:54:45 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 266AAFBBFD3 for ; Sun, 29 Apr 2018 22:54:45 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-QB1-obe.outbound.protection.outlook.com (mail-eopbgr660049.outbound.protection.outlook.com [40.107.66.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 93BBB6AE49 for ; Sun, 29 Apr 2018 22:54:43 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM (52.132.66.153) by YQBPR0101MB1539.CANPRD01.PROD.OUTLOOK.COM (52.132.69.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.18; Sun, 29 Apr 2018 22:54:41 +0000 Received: from YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a]) by YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM ([fe80::893c:efc2:d71f:945a%13]) with mapi id 15.20.0715.023; Sun, 29 Apr 2018 22:54:41 +0000 From: Rick Macklem To: FreeBSD Net Subject: Re: Starting and stopping nfsd apparently results in permanently disabling it Thread-Topic: Starting and stopping nfsd apparently results in permanently disabling it Thread-Index: AQHT4AzWf+Y/FHnrSEygMDxJpefyWw== Date: Sun, 29 Apr 2018 22:54:41 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQBPR0101MB1539; 7:oKxW+fAFqvO+oMluDJacPXTHMzltyCVPah9oZSauCJSLzSIyonm/U7M7QX5CwlvlnZhMVAO2a6VN493FFbmXYBsvQsfjAKjxuGC6lYOTzD6I697zpEuG/F3Kg359W0pIvs44wehXFY7FFEkbWXuLZKuPCH/fo25LdPxgmi6tumXAdOXxYOjuMR+sMeeVDvXJqvmNEumfxUu9FErqUfbWydYSiBN1Wz7m3RWcKT3pG2ZPajHyEuV2eXGQ/d7h9rwq x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989080)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(2017052603328)(7153060)(7193020); SRVR:YQBPR0101MB1539; x-ms-traffictypediagnostic: YQBPR0101MB1539: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(3002001)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:YQBPR0101MB1539; BCL:0; PCL:0; RULEID:; SRVR:YQBPR0101MB1539; x-forefront-prvs: 0657D528EC x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(366004)(39850400004)(346002)(39380400002)(376002)(189003)(199004)(81156014)(8676002)(81166006)(106356001)(105586002)(186003)(97736004)(8936002)(786003)(316002)(305945005)(33656002)(2900100001)(25786009)(6436002)(74482002)(68736007)(6916009)(478600001)(6506007)(14454004)(26005)(102836004)(229853002)(99286004)(7696005)(55016002)(3280700002)(558084003)(3660700001)(486006)(86362001)(476003)(74316002)(5250100002)(5660300001)(6246003)(2906002)(9686003)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQBPR0101MB1539; H:YQBPR0101MB1042.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-microsoft-antispam-message-info: qJP8aV4AHCFYf5GkR9Du6uU2grTLZvyi2gO1QdQD/alMWqVGqV6ZJnPLug/2owurRTNLYbI63gPOTOKZbv6wr1eTaA1GHos3wZSxXNg6Q9qFu2ZbfEb/+SuLLGdsUJrfx1mjmcJJEpItfrQegNXBKrOz0WJPruAd8fokP0W7pqWK/1o1+J+NGS4+lTOXYAew spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 40c78827-c19e-4503-04e8-08d5ae2431c3 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 40c78827-c19e-4503-04e8-08d5ae2431c3 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2018 22:54:41.9088 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQBPR0101MB1539 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2018 22:54:45 -0000 After a little look at nfsd.c, I think you need to SIGKILL the kernel daemo= n to get rid of it. (That is what nfsd.c does.) If you do a "ps ax" and find a "nfsd (server)" still there, "kill -9 "= it and then you can probably start the nfsd again. rick