summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2021-01-10 18:28:22 -0500
committerVincent Grande2021-01-10 18:28:22 -0500
commit89bcd5a97a11331cad52cb58e263eb32083db82a (patch)
treec2713c7c1ceecfd3e27ce04f5ae96b3ba2aa9b3e
parentdcc60bbfd4eff5a25ce5c7c96c4f2571a5bf32fb (diff)
downloadaur-89bcd5a97a11331cad52cb58e263eb32083db82a.tar.gz
another big fix
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--sysctl.conf53
3 files changed, 58 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4912ea3f440b..61dc82b07609 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -17,9 +17,11 @@ pkgbase = procps-ng-nosystemd-minimal-git
replaces = sysvinit-tools
backup = etc/sysctl.conf
source = git+https://gitlab.com/procps-ng/procps.git
+ source = sysctl.conf
source = fs66093.patch
sha256sums = SKIP
sha256sums = SKIP
+ sha256sums = SKIP
pkgname = procps-ng-nosystemd-minimal-git
diff --git a/PKGBUILD b/PKGBUILD
index 1aa439e57ebd..ec1583d7409a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,8 +17,10 @@ conflicts=(procps procps-ng sysvinit-tools)
provides=(procps procps-ng sysvinit-tools)
replaces=(procps sysvinit-tools)
source=("git+https://gitlab.com/procps-ng/procps.git"
- fs66093.patch)
+ 'sysctl.conf'
+ 'fs66093.patch')
sha256sums=('SKIP'
+ 'SKIP'
'SKIP')
pkgver() {
diff --git a/sysctl.conf b/sysctl.conf
new file mode 100644
index 000000000000..2840f59e05f1
--- /dev/null
+++ b/sysctl.conf
@@ -0,0 +1,53 @@
+# Configuration file for runtime kernel parameters.
+# See sysctl.conf(5) for more information.
+
+# Have the CD-ROM close when you use it, and open when you are done
+#dev.cdrom.autoclose = 1
+#dev.cdrom.autoeject = 1
+
+# See evil packets in your logs
+#net.ipv4.conf.all.log_martians = 1
+
+# Never accept redirects or source routes (these are only useful for routers)
+#net.ipv4.conf.all.accept_redirects = 0
+#net.ipv4.conf.all.accept_source_route = 0
+#net.ipv6.conf.all.accept_redirects = 0
+#net.ipv6.conf.all.accept_source_route = 0
+
+# Enable packet forwarding
+#net.ipv4.ip_forward = 1
+#net.ipv6.conf.all.forwarding = 1
+
+# Source route verification
+#net.ipv4.conf.default.rp_filter = 1
+
+# Tweak the port range used for outgoing connections
+#net.ipv4.ip_local_port_range = 32768 61000
+
+# Tweak those values to alter disk syncing and swap behavior
+#vm.vfs_cache_pressure = 100
+#vm.laptop_mode = 0
+#vm.swappiness = 60
+
+# Tweak how the flow of kernel messages is throttled
+#kernel.printk_ratelimit_burst = 10
+#kernel.printk_ratelimit = 5
+
+# Reboot 600 seconds after kernel panic or oops
+#kernel.panic_on_oops = 1
+#kernel.panic = 600
+
+# Enable SysRq key
+kernel.sysrq = 1
+
+# Append the PID to the core filename
+kernel.core_uses_pid = 1
+
+# Allow users to create hard or symbolic links only if they
+# already have access to the source file
+fs.protected_hardlinks = 1
+fs.protected_symlinks = 1
+
+# Raise inotify resource limits
+fs.inotify.max_user_instances = 1024
+fs.inotify.max_user_watches = 524288