Dne 18.8.2009 19:53, Klaus Kaempf napsal(a): [...]
I still don't get while you insist that reading a config file needs root privileges.
Actually reading it as root is a side effect. I'd like to keep the functionality in one module. We already have boolean Service::Restart(string service), boolean Service::Stop(string service), map Service::Info (string name), integer Service::Status (string name), ... which already work with LSB services, why this functions should not be enhanced to work also with custom services? I mean if Service::Restart() doesn't find a LSB service it could search for a custom service. This way we can simply hide the implementation details about custom services. More over the standard Yast Runlevel editor would work with custom services automatically, users could change them locally even without WebYaST... -- Best Regards Ladislav Slezák Yast Developer ------------------------------------------------------------------------ SUSE LINUX, s.r.o. e-mail: lslezak@suse.cz Lihovarská 1060/12 tel: +420 284 028 960 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org