:: Re: [DNG] Wifi problem - dhclient t…
Página Inicial
Delete this message
Reply to this message
Autor: aitor
Data:  
Para: dng
Assunto: Re: [DNG] Wifi problem - dhclient times out with no reply
Hi Steve,

On 22/3/22 10:13, Steve Litt wrote:
> Would ubus be a plug-compatible replacement for dbus?


If you are referring to a full replacement for dbus in general, It's meant to be in
the case of lightweith systems using WM or desktops that don't depend on dbus (e.g. lumina).

On the contrary, if you are referring to a sort of plugdev group allowingmembers to mount
and umount hotplug devices with nosuid (for security reasons), I can give you a working example
of such program that uses the interface provided by ubusd to register its procedures or methods

under a specific namespace in json format:

{
  "group": "dmount",
  "access": {
    "ering.dmount": {
      "methods": [ "mount" , "umount" , "remove"]
    }
  }
}

It's up to the user to define the restrictions for "user" and "group". In the example above,
all regular users of the group dmount will be able to call any of the three callbacks (mount,
umount and remove) defined in the daemon (dmountd).

On the other hand, the client dmount provides a user-friendly way to call these procedures:


$ dmount --help
Usage:
    dmount -h|--help        # Print this message.
    dmount 0 DEVICE TARGET  # Mount DEVICE in the specified TARGET.
    dmount 1 DEVICE         # Unmount DEVICE.
    dmount 2 DEVICE         # Remove DEVICE



The package of the program is available here:

https://www.gnuinos.org/dmount/ <https://www.gnuinos.org/dmount/>

All the build dependencies are available in gnuinos chimaera.

New ideas for the name of this application are very welcome (dmount stands diskmount).

dmount or diskmount...? What's your take?

Bear in mind that fsmithred developed a script called usbmount. So, this name already exists.

Cheers,

Aitor.