Problems getting callouts to work

David Leangen linux at leangen.net
Sun Jun 11 20:20:27 PDT 2006


Hello!

I noticed that I must have been reading an older version of the spec.

I checkout out the new version, which says:

  Callouts are programs invoked when the device object list is
  modified. As such, callouts can be used to maintain system-wide 
  policy (that may be specific to the particular OS) such as 
  changing permissions on device nodes, updating the system wide 
  /etc/fstab file or configuring the networking subsystem. 

  There are three different classes of callouts. A callout 
  involves sequentially invoking all executable programs in the
  string list in listed order. 

I understand what a callout is, and that all executable programs in the
string list info.callouts.* will be executed...

But the doc does not say WHERE this list is and how to add callouts to
the list.


If somebody could tell me this, I would be very grateful.


Thank you!
David





On Thu, 2006-06-08 at 09:13 +0900, David Leangen wrote:
> Hello!
> 
> In the spec documentation, it says that when there is a device event,
> callouts will executing in the directories:
> 
>  /etc/hal/device.d
>  /etc/hal/capability.d
>  /etc/hal/property.d
> 
> To test this, I inserted a "hello world" executable in device.d.
> However, when I add and remove a device, it is not being executed.
> 
> 
> Are there additional things that I need to set up to get this to work?
> 
> (Using FC4)
> 
> Thank you!
> David
> 
> 
> 
> _______________________________________________
> hal mailing list
> hal at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal



More information about the hal mailing list