Comment 15 for bug 433701

Revision history for this message
John Baptist (jepst79) wrote :

@Milan: Yes, we should provide descriptions for those services we
know, and allow operations on all services, even those we don't know.

However, I think the list of "known" services should not be
hard-coded; rather, there should be a way for services to register
themselves with service manager and thereby provide a description. So,
for example, the service manager, upon encountering an unknown service
in /etc/init.d/myserviced would look at
/usr/share/registered-services/myserviced.desktop (for example) and
find out that the friendly name is "My Service" and the description is
"This service provides some services." This way any arbitrary package
can be extended to provide a "nice" description by including the
appropriate .desktop file.

What do you think of this idea?

Follow-up: maybe the services.desktop file could contain firewall
exception information as well, for integration with a possible
eventual firewall manager GUI?