<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 3, 2013 at 4:58 PM, Lennart Poettering <span dir="ltr"><<a href="mailto:lennart@poettering.net" target="_blank">lennart@poettering.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On Sun, 28.04.13 20:37, Umut Tezduyar (<a href="mailto:umut@tezduyar.com">umut@tezduyar.com</a>) wrote:<br>
<br>
> Hi,<br>
><br>
> Should DefaultOOMScore= and DefaultLimit***= be really under [Manager]?<br>
> Wouldn't it be better to have an [Exec] section. Or even have [Service],<br>
> [Mount],.. sections that can give separate configuration per exec<br>
> unit.<br>
<br>
</div>Hmm, the fields without "Default" prefix are applied to PID1 itself,<br>
too, hence they definitely belong into [Manager] I'd say.<br>
<br>
For the ones prefix with Default, we could probably move them to a new<br>
section [Units] or so. But we'd probably have to do that in a compatible<br>
way, so this doesn't break existing systems. And that's not too<br>
nice. Not sure whether it is worth that effort?<br>
<div class="im"><br>
> Also, there are many configuration options per exec units that are not in<br>
> the system.conf. Are we open taking patches on completing missing<br>
> configuration options?<br>
<br>
</div>Actually, the last time I checked them there were only very few where a<br>
default in system.conf really makes sense I think. Which ones do you<br>
have in mind?<br></blockquote><div> </div><div style>Umut: I use ControlGroupPersistent= on one shot unit files to measure their cpuacct. I have a generator that adds ControlGroupPersistent dropins for oneshot service files when I want to measure the cpuacct. Maybe it would be nice to have a DefaultControlGroupPersistent=yes in .conf.</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
I mean, we can surely add more, but I let's always come up with a useful<br>
usecase first, please...<br>
<div class=""><div class="h5"><br>
Lennart<br>
<br>
--<br>
Lennart Poettering - Red Hat, Inc.<br>
</div></div></blockquote></div><br></div></div>