systemd config files???

Balint Szigeti balint.szgt at gmail.com
Tue Jul 22 11:26:57 UTC 2014


Why doesn't system respect FSH? What is its benefit?
Cite man 7 hier
......
       /usr/lib
              Object libraries, including dynamic libraries, plus some
executables which usually are not invoked directly.  More complicated
pro‐
              grams may have whole subdirectories there.
......
i.e.
man systemd-sysctl
    systemd-sysctl.service is an early-boot service that configures
sysctl(8) kernel parameters.
    See sysctl.d(5) for information about the configuration of this
service.

man sysctl.d
NAME
       sysctl.d - Configure kernel parameters at boot
SYNOPSIS
       /etc/sysctl.d/*.conf
       /run/sysctl.d/*.conf
       /usr/lib/sysctl.d/*.conf
DESCRIPTION
       At boot, systemd-sysctl.service(8) reads configuration files from
the above directories to configure sysctl(8) kernel parameters.

# ll /etc/sysctl.conf 
-rw-r--r--. 1 root root 225 Mar 26 14:55 /etc/sysctl.conf
# ll /etc/sysctl.d/
total 0
lrwxrwxrwx. 1 root root 14 Apr  3 09:17 99-sysctl.conf -> ../sysctl.conf
# cat /etc/sysctl.conf 
# System default settings live in /usr/lib/sysctl.d/00-system.conf.
# To override those settings, enter new settings here, or in
an /etc/sysctl.d/<name>.conf file
#
# For more information, see sysctl.conf(5) and sysctl.d(5).
[root at szigeti-6560b ~]# cat /usr/lib/sysctl.d/00-system.conf
...

# man -k sysctl|grep systemd
systemd-sysctl (8)   - Configure kernel parameters at boot
systemd-sysctl.service (8) - Configure kernel parameters at boot

man systemd-sysctl.service
NAME
       systemd-sysctl.service, systemd-sysctl - Configure kernel
parameters at boot
SYNOPSIS
       systemd-sysctl.service
       /usr/lib/systemd/systemd-sysctl
DESCRIPTION
       systemd-sysctl.service is an early-boot service that configures
sysctl(8) kernel parameters.
       See sysctl.d(5) for information about the configuration of this
service.
SEE ALSO
       systemd(1), sysctl.d(5), sysctl(8),



I think, the config files should store in /etc instead of everywhere
else. The chroot applications are exceptions. It cause we MUST
mount /usr in / (root) partion.

Balint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20140722/8cc532dd/attachment.html>


More information about the users mailing list