Mailinglist Archive: opensuse-bugs (3985 mails)

< Previous Next >
[Bug 661993] New: compcache init script
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 2 Jan 2011 03:52:44 +0000
  • Message-id: <bug-661993-21960@http.bugzilla.novell.com/>

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@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: Manuel.Stol@xxxxxxxxxxxxx
QAContact: qa@xxxxxxx
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.

< Previous Next >