Steal sysctl.conf from initscripts
Basically another README file for stuff that we manage.
This commit is contained in:
parent
b1a5d764a3
commit
801ccd93e2
10
sysctl.conf.README
Normal file
10
sysctl.conf.README
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# sysctl settings are defined through files in
|
||||||
|
# /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/.
|
||||||
|
#
|
||||||
|
# Vendors settings live in /usr/lib/sysctl.d/.
|
||||||
|
# To override a whole file, create a new file with the same in
|
||||||
|
# /etc/sysctl.d/ and put new settings there. To override
|
||||||
|
# only specific settings, add a file with a lexically later
|
||||||
|
# name in /etc/sysctl.d/ and put new settings there.
|
||||||
|
#
|
||||||
|
# For more information, see sysctl.conf(5) and sysctl.d(5).
|
@ -34,6 +34,7 @@ Source3: 85-display-manager.preset
|
|||||||
# Prevent accidental removal of the systemd package
|
# Prevent accidental removal of the systemd package
|
||||||
Source4: yum-protect-systemd.conf
|
Source4: yum-protect-systemd.conf
|
||||||
Source5: inittab
|
Source5: inittab
|
||||||
|
Source6: sysctl.conf.README
|
||||||
|
|
||||||
# Patch series is available from http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v215-stable
|
# Patch series is available from http://cgit.freedesktop.org/systemd/systemd-stable/log/?h=v215-stable
|
||||||
# GIT_DIR=~/src/systemd/.git git format-patch-ab -M -N --no-signature v216..master
|
# GIT_DIR=~/src/systemd/.git git format-patch-ab -M -N --no-signature v216..master
|
||||||
@ -877,6 +878,10 @@ chmod 600 %{buildroot}/etc/crypttab
|
|||||||
|
|
||||||
install -m 0644 %{SOURCE5} %{buildroot}/etc/
|
install -m 0644 %{SOURCE5} %{buildroot}/etc/
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}/etc/sysctl.d
|
||||||
|
install -m 0644 %{SOURCE6} %{buildroot}/etc/sysctl.conf
|
||||||
|
ln -s ../sysctl.conf %{buildroot}/etc/sysctl.d/99-sysctl.conf
|
||||||
|
|
||||||
# We create all wants links manually at installation time to make sure
|
# We create all wants links manually at installation time to make sure
|
||||||
# they are not owned and hence overriden by rpm after the user deleted
|
# they are not owned and hence overriden by rpm after the user deleted
|
||||||
# them.
|
# them.
|
||||||
@ -1103,6 +1108,8 @@ getent passwd systemd-journal-upload >/dev/null 2>&1 || useradd -r -l -g systemd
|
|||||||
%dir %{_sysconfdir}/udev/rules.d
|
%dir %{_sysconfdir}/udev/rules.d
|
||||||
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/crypttab
|
%ghost %verify(not md5 size mtime) %config(noreplace,missingok) /etc/crypttab
|
||||||
/etc/inittab
|
/etc/inittab
|
||||||
|
%config(noreplace) %{_sysconfdir}/sysctl.conf
|
||||||
|
%{_sysconfdir}/sysctl.d/99-sysctl.conf
|
||||||
%dir %{_prefix}/lib/systemd
|
%dir %{_prefix}/lib/systemd
|
||||||
%{_prefix}/lib/systemd/system-generators
|
%{_prefix}/lib/systemd/system-generators
|
||||||
%{_prefix}/lib/systemd/user-generators
|
%{_prefix}/lib/systemd/user-generators
|
||||||
|
Loading…
Reference in New Issue
Block a user