Re: [PATCH BlueZ v3 00/30] Major rewrite for Multi-Node and DBus

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux