On Fri, Jan 24, 2014 at 04:32:54PM +0100, Lennart Poettering wrote:
Do we really need a service for this? Can't this be done instead
via a
tmpfiles snippet that uses "f" and the extra argument at the end?
I mean I am not convinced it's worth involving shell here. Also the
canonical way to write things to /proc or /sys is
{/etc,/usr/lib/}/sysctl.d/ and {/etc,/usr/lib/}/tmpfiles.d/ if it's
simple and static. And I don't see why we shouldn't do this differently
in this case than in all others...
Using tmpfiles.d for this is not very obvious. Who would expect that a
service intended to handle temporary files is used for configuration?
For example the man page says:
| tmpfiles.d — Configuration for creation, deletion and cleaning of
| volatile and temporary files
Regards
Till