Return-Path: Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by krbdev.mit.edu (Postfix) with ESMTPS id 616623F23C for ; Tue, 22 Aug 2017 18:03:54 -0400 (EDT) Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7MM3rA0007181 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 22 Aug 2017 22:03:53 GMT Received: from alton.us.oracle.com (alton.us.oracle.com [10.135.188.58]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id v7MM3qg5005620 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 22 Aug 2017 22:03:53 GMT Received: from alton.us.oracle.com (localhost [127.0.0.1]) by alton.us.oracle.com (8.15.2+Sun/8.15.2) with ESMTP id v7MM0f9W014292 for ; Tue, 22 Aug 2017 17:00:41 -0500 (CDT) Received: (from wfiveash@localhost) by alton.us.oracle.com (8.15.2+Sun/8.15.2/Submit) id v7MM0fBs014291 for rt@krbdev.mit.edu; Tue, 22 Aug 2017 17:00:41 -0500 (CDT) X-Authentication-Warning: alton.us.oracle.com: wfiveash set sender to will.fiveash@oracle.com using -f Date: Tue, 22 Aug 2017 17:00:41 -0500 From: Will Fiveash To: rt@krbdev.mit.edu Subject: Re: [krbdev.mit.edu #8607] kpropd should write a pidfile when started in standalone mode... Message-ID: <20170822220041.GA13897@oracle.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8+11 (2a0d3c4a9b0f) (2017-02-23) X-Source-Ip: aserv0021.oracle.com [141.146.126.233] RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 716 On Tue, Aug 22, 2017 at 01:47:40PM -0400, john@iastate.edu via RT wrote: > ...so it can be properly managed by systemctl etc. > > I have included a sample patch to implement this. > NOTE: I changed the command line flags to match the other kerberos daemons > : > > # ./kpropd -h > Usage: ./kpropd [-r realm] [-s srvtab] [-dS] [-f slave_file] > [-F kerberos_db_file ] [-u kdb5_util_pathname] > [-x db_args]* [-p port] [-a acl_file] > [-P pid_file] (standalone mode only) > [-A admin_server] Interface stability is an issue I have with this patch. I would prefer a unique flag other than -P be used to provide the pid file name. -- Will Fiveash Oracle Solaris Software Engineer