[Bug 1079014] New: sysctl does not apply values
http://bugzilla.opensuse.org/show_bug.cgi?id=1079014 Bug ID: 1079014 Summary: sysctl does not apply values Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: All Status: NEW Severity: Major Priority: P5 - None Component: Basesystem Assignee: werner@suse.com Reporter: bwiedemann@suse.com QA Contact: qa-bugs@suse.de CC: schwab@suse.com Found By: Development Blocker: --- Steps To Reproduce: strace sysctl -w vm.swappiness=10 cat /proc/sys/vm/swappiness 60 # rpm -q procps procps-3.3.12-lp150.2.2.x86_64 openat(AT_FDCWD, "/proc/sys/vm/swappiness", O_WRONLY|O_TRUNC) = 3 lseek(3, 1, SEEK_CUR) = 1 write(3, "10\0", 3) = 3 close(3) Changing values works when using echo 10 > /proc/sys/vm/swappiness So probably the trailing \0 vs \n is causing trouble. sysctl on 42.3 created a trailing \n -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1079014
http://bugzilla.opensuse.org/show_bug.cgi?id=1079014#c1
--- Comment #1 from Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1079014
Bernhard Wiedemann
http://bugzilla.opensuse.org/show_bug.cgi?id=1079014
http://bugzilla.opensuse.org/show_bug.cgi?id=1079014#c2
Dr. Werner Fink
participants (1)
-
bugzilla_noreply@novell.com