[Bug 176452] Review Request: oddjob - a D-BUS service which runs odd jobs on behalf of client applications

bugzilla at redhat.com bugzilla at redhat.com
Mon Jan 16 19:34:41 UTC 2006


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: oddjob - a D-BUS service which runs odd jobs on behalf of client applications


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176452





------- Additional Comments From nalin at redhat.com  2006-01-16 14:34 EST -------
As you've noted, the sample configurations provided under /usr/share/doc are for
a not-particularly-useful sample service.

The sample script (usr/lib/oddjob/oddjob-sample.sh) is configured for oddjobd
(etc/oddjobd.conf.d/oddjobd-sample.conf) and the system-wide copy of D-BUS
(etc/dbus-1/system.d/oddjob-sample.conf).  (Uncovered a bug in the default
sample here, fixed it in 0.22).

After installation of these files, a restart of both the messagebus and oddjobd
services will be required to make both daemons reread their respective
configurations.

That done, a client can invoke the service using either:
  oddjob_request -s com.redhat.oddjob.sample -o /com/redhat/oddjob/sample -i
com.redhat.oddjob.sample sample
or, using the more standard D-BUS client tool:
  dbus-send --system --print-reply --dest=com.redhat.oddjob.sample
/com/redhat/oddjob/sample com.redhat.oddjob.sample.sample

The script indicated in the configuration will be run with superuser privileges,
and the client will receive its exit status and whatever it output to stdout and
stderr.

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list