Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2078DC43387 for ; Tue, 18 Dec 2018 17:13:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id ECE5A21873 for ; Tue, 18 Dec 2018 17:13:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727130AbeLRRNC convert rfc822-to-8bit (ORCPT ); Tue, 18 Dec 2018 12:13:02 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:52816 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726899AbeLRRNC (ORCPT ); Tue, 18 Dec 2018 12:13:02 -0500 Received: from marcel-macpro.fritz.box (p4FF9F1DE.dip0.t-ipconnect.de [79.249.241.222]) by mail.holtmann.org (Postfix) with ESMTPSA id 36A63CF35E; Tue, 18 Dec 2018 18:20:39 +0100 (CET) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: [PATCH BlueZ v3 00/30] Major rewrite for Multi-Node and DBus From: Marcel Holtmann In-Reply-To: <370824AD-3981-4FE9-9D3B-B010EC4B3EBC@intel.com> Date: Tue, 18 Dec 2018 18:12:59 +0100 Cc: Szymon Janc , "linux-bluetooth@vger.kernel.org" , Johan Hedberg , "Stotland, Inga" Content-Transfer-Encoding: 8BIT Message-Id: References: <20181215002624.9313-1-brian.gix@intel.com> <17761993.WvVeqkb5i9@ix> <398288BA-8B31-4D3F-97CE-62E4CD683923@intel.com> <5F351471-7372-4486-B8A9-5D146AB60160@holtmann.org> <370824AD-3981-4FE9-9D3B-B010EC4B3EBC@intel.com> To: Brian Gix X-Mailer: Apple Mail (2.3445.102.3) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Brian, >>>>> This patch-set has been applied upstream. >>>> >>>> There is something wrong with Makefile.mesh >>> >>> This was tested by us on Fedora 27 and 28, without issues. >>> >>> What build platform produced these errors? >> >> start adding Fedora 29 to your test platform. However this has nothing to do with Fedora 29, the whole idea of just commenting something out and committing it is just not something we do. Actually it is something that should never be done if you are operating with git. Use your personal trees for testing. >> >>> Since Marcel is backing out the entire patchset, we will create a v4 patchset that removes btmesh (the non-daemon executable) entirely. It probably won’t actually be needed in the future anyway... The DBus APIs should be sufficient. >> >> Be careful to not take tools away from people that might depend on it right now. > > The only functionality that was available in btmesh that was not in the meshd daemon, was the ability to request a beacon be sent. This is done automatically by the daemon. > > The balance of btmesh functionality was to be a foreground app so that all the debug output is on the console. This can be done with the meshd executable with the -nd argument (no detach). > > After consulting with Inga, we think btmesh should be removed entirely. actually the whole concept of detach is really old code from bluetoothd. Please stop using daemon() and try to fork yourself as a daemon. Leave this to system to someone else. Just start the process and enter the mainloop. The only difference should be where the log messages go. And with systemd even you do stderr, then it will be logged into journald as well. If you are in doubt, look at more recent projects like iwd on how things are done there. Regards Marcel