Re: [procps-ng] archlinux default sysctl.conf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, 14 Jun 2013 15:13:55 +1000
Gaetan Bisson <bisson@xxxxxxxxxxxxx> wrote:

> [2013-06-13 19:58:06 -0500] Leonid Isaev:
> > 	After reading sysctl-related manpages in systemd, I started to
> > wonder about the logic behind /etc/sysctl.conf shipped with
> > core/procps-ng. If one follows systemd's conventions, this file should be
> > in /usr/lib/sysctl.d and mnemonically called something like
> > "100-archlinux-default.conf". Also note, that systemd currently doesn't
> > document /etc/sysctl.conf at all...
> 
> See: /usr/lib/systemd/system/systemd-sysctl.service
> 
> This is the legacy location of the kernel parameters configuration file.
> Eventually I would like to get most things out of it and to /usr/lib/...
> In the meantime it's fine as it is; if you have any specific issues or
> want a parameter to be taken out to /usr/lib please open a feature
> request.

Thanks for the explanation. Yes, I know that systemd parses the legacy
sysctl.conf and I don't have any issues with the default (4 uncommented) sysctl
parameters, although I do change most of them :)

But after moving my configuration into /etc/sysctl.d/, I found it odd to keep
an empty sysctl.conf to "mask" the defaults (I don't know whether
/etc/sysctl.d has a higher preference than sysctl.conf in the current systemd)
instead of doing it via symlinks in /etc/sysctl.d/. It seems logical and
alignes with systemd documentation to have distro-specific settings in a
fixed-name .conf file inside /usr/lib/sysctl.d/...

> 
> Cheers.
> 

Best,
-- 
Leonid Isaev
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux