On 04/24/2013 06:15 PM, Cristian Rodríguez wrote:
On 04/24/2013 09:32 AM, Thomas Goettlicher wrote:
Reading about chancing return values I guess we need a lot of help for a long periode of time until systemd is mature and in a stable state.
The "changing return value" part was just an example of the possible perils of calling tools specifically and intentionally designed as a human only interfaces instead of using the programming API. it was not an example of something that has or will happend. (tools will always return EXIT_SUCCESS when everything is cool, and a positive number on fail)
Which is the current Service module implementation: Calls a systemctl command and checks return value (success || not). If it fails, all the output is returned (errors if any are present, additional commands to be called by user). Anyway, using D-BUS might be better at least for querying for available services, targets, and their status. I'd see the target distribution as openSUSE 13.1. Thanks for your offer! Bye Lukas -- Lukas Ocilka, Cloud & Systems Management Department SUSE LINUX s.r.o., Praha -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org