[Bug 753589] New: sysctl settings are not restored after suspend
https://bugzilla.novell.com/show_bug.cgi?id=753589 https://bugzilla.novell.com/show_bug.cgi?id=753589#c0 Summary: sysctl settings are not restored after suspend Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: openSUSE 12.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: srid@rkmail.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64; U; ru) Presto/2.10.229 Version/11.61 I've noticed that my custom settings from /etc/sysctl.conf are not applied when machine wakes up from suspend/hibernation. (tested on 2 machines) Reproducible: Always Steps to Reproduce: 1. put something in /etc/sysctl.conf, for example "vm.dirty_bytes = 4194304" 2. apply new settings: sysctl -e --system 3. make sure that that settings are applied 4. run pm-hibernate (pm-suspend) 5. resume machine 6. check current settings again Actual Results: All custom sysctl settings are missing Expected Results: settings should be restored from configuration files -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c1
--- Comment #1 from Iakov Karpov
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c
Iakov Karpov
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c2
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c3
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c4
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c5
Iakov Karpov
How is 3. done, exactly?
man sysctl? #sysctl variable print current value #sysctl -a print all variables and values I'm personally using "sysctl vm.dirty_bytes", because I set it in my sysctl.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c6
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c7
Iakov Karpov
OK
What happens if you suspend by "echo mem > /sys/power/state" instead of running pm-suspend?
Everything looks fine when suspending that way. At least, vm.dirty_bytes is not reset to 0. # sysctl vm.dirty_bytes vm.dirty_bytes = 4194304 # echo mem > /sys/power/state # sysctl vm.dirty_bytes vm.dirty_bytes = 4194304 # -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c8
Rafael Wysocki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c9
Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c
Vojta Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c10
Vojta Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c11
--- Comment #11 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c12
--- Comment #12 from Vojta Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c13
Stefan Seyfried
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c14
--- Comment #14 from Dr. Werner Fink
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c15
--- Comment #15 from Vojta Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c16
--- Comment #16 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c17
--- Comment #17 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c18
--- Comment #18 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c19
Vojta Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c20
--- Comment #20 from Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c21
Fabio Scl
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c22
--- Comment #22 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c23
Fabio Scl
Fabio, if you think there's a problem, please reopen the bug - closed bugs are ignored ;)
Ops -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c24
--- Comment #24 from Fabio Scl
(In reply to comment #22)
Fabio, if you think there's a problem, please reopen the bug - closed bugs are ignored ;)
Ops
To all: I apologize, reopened now. See #21 for details. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c25
--- Comment #25 from Vojta Dziewięcki
I modified/reverted line:
resume|thaw) on_ac_power || pm-powersave false ;;
with
resume|thaw) on_ac_power || pm-powersave ;;
Yeah, it should definitely be like this, I don't know why I wrote "false" there, my bad. I'll fix it in the next maintenance update, cause it's not worth doing one on it's own. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c26
--- Comment #26 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c
Wojtek Dziewięcki
https://bugzilla.novell.com/show_bug.cgi?id=753589
https://bugzilla.novell.com/show_bug.cgi?id=753589#c27
Wojtek Dziewięcki
participants (1)
-
bugzilla_noreply@novell.com