Bug#732920: procps: sysctl --system fails to load /etc/sysctl.conf
On Fri, Feb 14, 2014 at 08:56:42PM +0100, Joerg Dorchain wrote: > would you mind uploading an interim packet with the fix? Sure thing, 3.3.9-2 should be hitting ftp master in the next few minutes. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732920: procps: sysctl --system fails to load /etc/sysctl.conf
Joerg Dorchain writes: > The broken version is now in testing. And a router not routing > packets anymore due to sysctl not enabling forwarding is a serious > functionality bug. I agree. This bug should be RC. -- Romain Francoise http://people.debian.org/~rfrancoise/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732920: procps: sysctl --system fails to load /etc/sysctl.conf
Hello, would you mind uploading an interim packet with the fix? The broken version is now in testing. And a router not routing packets anymore due to sysctl not enabling forwarding is a serious functionality bug. Bye, Joerg signature.asc Description: Digital signature
Bug#732920: procps: sysctl --system fails to load /etc/sysctl.conf
On Sun, Dec 22, 2013 at 10:31:23AM -0800, Pete Wyckoff wrote: > Since 69 was fixed, to use sysctl --system, a bug in sysctl > makes it that no settings in /etc/sysctl.conf are loaded. Thanks for your report and pin-pointing the problem. I have put this change into the upstream git repository. - Craig -- Craig Small (@smallsees) http://enc.com.au/ csmall at : enc.com.au Debian GNU/Linux http://www.debian.org/ csmall at : debian.org GPG fingerprint:5D2F B320 B825 D939 04D2 0519 3938 F96B DF50 FEA5 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#732920: procps: sysctl --system fails to load /etc/sysctl.conf
Just ran into this problem as well. Took a while to figure out why network packets were not forwarded even though "net.ipv4.ip_forward = 1" was set in /etc/sysctl.conf.
Bug#732920: procps: sysctl --system fails to load /etc/sysctl.conf
Package: procps Version: 1:3.3.9-1 Severity: normal Since 69 was fixed, to use sysctl --system, a bug in sysctl makes it that no settings in /etc/sysctl.conf are loaded. Function PreloadSystem() has this near the end: if (stat(DEFAULT_PRELOAD, &ts) < 0 && S_ISREG(ts.st_mode)) { if (!Quiet) printf(_("* Applying %s ...\n"), DEFAULT_PRELOAD); rc |= Preload(DEFAULT_PRELOAD); } The first comparison is backwards. This could be grave if admins rely on settings in /etc/sysctl.conf for security-related issues. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages procps depends on: ii initscripts 2.88dsf-43 ii libc6 2.17-97 ii libncurses5 5.9+20130608-1 ii libncursesw5 5.9+20130608-1 ii libprocps31:3.3.9-1 ii libtinfo5 5.9+20130608-1 ii lsb-base 4.1+Debian12 Versions of packages procps recommends: ii psmisc 22.20-1 procps suggests no packages. -- Configuration Files: /etc/sysctl.conf changed [not included] -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org