[Bug 661993] New: compcache init script
https://bugzilla.novell.com/show_bug.cgi?id=661993 https://bugzilla.novell.com/show_bug.cgi?id=661993#c0 Summary: compcache init script Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Manuel.Stol@AlliedData.nl QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=406691) --> (http://bugzilla.novell.com/attachment.cgi?id=406691) /etc/init.d/boot.compcache User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-IE) AppleWebKit/533.3 (KHTML, like Gecko) konqueror/4.5.90 Safari/533.3 Fixed a few compcache init scripts flaws: - Settings in /etc/sysconfig/compcache were ignored in /etc/init.d/boot.compcache, - Disabling compcache by setting COMPCACHE_SIZE_KB to "-1", didn't work, - Using the default number of ramzswap devices by setting COMPCACHE_NUM_DEVICES to "0" didn't work, - When stopping ramzswap devices, not only disable them as swap but also free the cached pages from memory by calling 'rszcontrol /dev/ramzswapX --reset', - Don't use COMPCACHE_NUM_DEVICES to enumerate the ramzswap devices, because it could have been lowered after the 'compcache start' call; e.g. a user could do: + compcache start + lower COMPCACHE_NUM_DEVICES in /etc/sysconfig/compcache + compcache restart - Improved compcache sysconfig option descriptions. Please, REVIEW my changes. See attached files. Reproducible: Always Steps to Reproduce: 1. Edit /etc/sysconfig/compcache 2. Execute /etc/init.d/boot.compcache 3. Fixed init scripts attached. -- 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=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c1
--- Comment #1 from Manuel Stol
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c2
Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c3
--- Comment #3 from Manuel Stol
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c4
--- Comment #4 from Takashi Iwai
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c5
--- Comment #5 from Manuel Stol
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c6
Manuel Stol
https://bugzilla.novell.com/show_bug.cgi?id=661993
https://bugzilla.novell.com/show_bug.cgi?id=661993#c7
Manuel Stol
participants (1)
-
bugzilla_noreply@novell.com