[arch-general] On /etc/conf.d deprecation

Tom Gundersen teg at jklm.no
Sun Dec 9 20:29:36 EST 2012


On Mon, Dec 10, 2012 at 12:46 AM, Dimitrios Apostolou <jimis at gmx.net> wrote:
> Personally I believe all distros that switch to systemd will add their own
> twist to it. Distro-independant Unit files sounds like Utopia. In reality I
> expect unit files to be patched for various custom needs of different
> distros. But anyway if it is actually achieved it would be great.

So far this has not been necessary (afaik) for the projects that do
provide unit files upstream. Of course, there are still a lot of
projects that don't, so we will see what happens in the future.

> 1) On a memory constrained system I use the following for spamassassin:
> SPAMD_OPTS="-c --min-spare 0 --max-children 1 -s local5". I don't think this
> can be customized by other means.

This seems like a typical example of something that the daemon itself
should have support for reading from its own config files rather than
relying on it being passed on the command-line. Rather than fixing
this in Arch, I'd suggest contacting spamassassin and request support
for these options (and any other) to be added to their config file. In
the meantime I suggest patching the unit file locally, and revisit the
issue if upstream reject the change.

> 2) For the crond started service of sysstat, I keep all history with
> HISTORY=9999 in /etc/conf.d/sysstat. I don't know if /etc/conf.d is being
> deprecated for everything or only for systemd started daemons, but this is a
> non-systemd example that makes good use of it.

It appears sysstat store their configuration file in /etc/conf.d, so
this is not really a problem.

-t


More information about the arch-general mailing list