<br><br><div class="gmail_quote">On Wed, Aug 24, 2011 at 9:31 AM, Jef Spaleta <span dir="ltr">&lt;<a href="mailto:jspaleta@gmail.com">jspaleta@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br><br><div class="gmail_quote"><div class="im">On Wed, Aug 24, 2011 at 9:22 AM, Alexander Kurtakov <span dir="ltr">&lt;<a href="mailto:akurtako@redhat.com" target="_blank">akurtako@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

I want to add one more POV - not every database is constantly-used. Example<br>
usage is Amarok using mysql database and I really want mysql to not be started<br>
until I start Amarok.  Not that this is very common usage scenario but still I<br>
know at least one guy using Amarok with mysql :).<br>
<br></blockquote></div><div>You are using a system-wide network exposed mysql for Amarok?  Is this mysql serving information to multiple clients or multiple users? If its system-wide and only being used by one application by one user, why is it being run system-wide?<font color="#888888"></font></div>
</div></blockquote><div><br>And to belabor the point a bit more. We really need to have distinct discussions about what a system service &quot;default&quot; is and what its okay for local admins are encourage/discourage/allowed to do.<br>
<br>If you need to run a private instance of mysql on non-standard network ports to serve a local Amarok application in an on-demand fashion. Then you can do that as a local admin. In fact working with the mysql packager you might be able to use systemd&#39;s support for multiple instances to make it easier to set that up without it interfering with the system default mysql.<br>
<br>However, does it make since to write the default init for the system-wide mysql with this usage case in mind? I&#39;m not sure.<br><br>It could very well be that for right now the system wide mysql default init needs to refrain from socket activation as mysql is primarily aimed at a server workload  and not an on-demand workload. Any service that primarily services remote systems instead of local applications will probably want to start up fully at boot and not on demand later.<br>
<br>I guess that&#39;s sort of the sane boundary for me with regard to socket activiation. If a service wants to see the outside world via tcp sockets...probably should not be on-demand by default.  If its unix socket only..it can probably be a socket activated service.  There will be of course things that break that simple rule..but as I guide I think it will work as a starting point for service packagers.<br>
<br><br>-jef<br></div></div>