obextool wrapper arbitrarily performs lengthy scans
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
obextool (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: obextool
obextool wrapper is assuming that the only way to specify OBEXCMD is by env var, and performs time wasting scans even when just invoked with --help.
* Arbitrarily performs all scans (bluetooth & irda) also when just invoked with "--help".
* Wrongly assumes that it is missing OBEXCMD info even when --obexcmd option is provided. While trying to be helpful, this unsolicited scanning becomes an annoyance.
$ obextool --obexcmd "obexftp -b 11:22:33:44:55:66"
Define OBEXCMD environment variable to disable this scan!
Scanning for Irda devices
<~10 seconds>
Scanning for bluetooth devices
<~10 seconds>
Using obexftp command: /usr/bin/obexftp -t /dev/ttyS0
Found ObexTool version 0.33 ...
Found configuration file /etc/obextool/
Found configuration file /etc/obextool/
Found configuration file /etc/obextool/
This makes it very hard to invoke obextool from Thunar and other X applications, which require yet another wrapper.