On Mon, Aug 29, 2011 at 08:10:32PM +0200, Tom Gundersen wrote: > On Mon, Aug 29, 2011 at 7:26 PM, Seblu <[email protected]> wrote: > > On Mon, Aug 29, 2011 at 12:17 AM, Tom Gundersen <[email protected]> wrote: > >> On Sun, Aug 28, 2011 at 11:51 PM, Dave Reisner <[email protected]> wrote: > >>> On Sun, Aug 28, 2011 at 11:44:17PM +0200, Earendil wrote: > >>>> I have also added the capability to stip th sysctl.conf files in many > >>>> files in the sysctl.d directory. > >>>> This idea was inspired by Debian architecture. > >>> > >>> Sure, systemd uses this as well. Do we have any cases where distributing > >>> a sysctl file with a package is needed? I'm really not sure this is > >>> something that's wanted/needed in Arch. > >> > >> I agree with Dave, if we are going to support this there should be at > >> least one user of it. Are there any packages that either already ship > >> with their own sysctl file, or that would benefit from doing it? > > As /etc/udev/rules.d, sysctl.d can be reserved for users. > > > > It's a very pratical way of setting system config. Make it a default, > > is a good advice for users. > > It will maybe also help packager which want add some systcl param. > > (chicken or the egg?) > > I'm all for it if we have users (packages). I.e. if there are packages > that could use this, I'd be happy to merge a patch. A candidate would > be any package that instructs the user to add something to > sysctl.conf. I have not seen this, but maybe it exists.
Well... ---- $ grep 'sysctl.conf' /var/abs/*/*/*.install /var/abs/community/radvd/radvd.install:add the following line to /etc/sysctl.conf: ---- > > If we start shipping files in /usr/lib/sysctl.d/, then the counerpart > in /etc makes sense for user files and as an override mechanism. > However, if there are no shipped files, then the user might as well > keep all the config in /etc/sysctl.conf. > > -t
