Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19089 - The systems claims to swap on and off, even without a swap partition
Summary: The systems claims to swap on and off, even without a swap partition
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-10 14:01 UTC by Jan Henrik Helmers
Modified: 2003-04-27 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Henrik Helmers 2003-04-10 14:01:55 UTC
I don't have a swap partition, but when booting, and powering off, it still says
"activating swap", "activating(possibly) more swap" and something similar when
powering off. Could this be made a runlevel or somehow removed in a "safe" way;
without hacking the system files?

Reproducible: Always
Steps to Reproduce:
1.Touch power button
2.Wait
3.Stare at messages fly by

ALSO

1.Type "poweroff" in console with "root" permissions
2.Wait
3.Stare at console messages
Actual Results:  
It claimed to swap on and off, it even said [OK].

Expected Results:  
Stopped trying to swap on/off, or told me that I didn't have a swap partition,
or preferable be something I could remove(rc-update del swap boot).

This is my first bug report, so I hope I didn't do _everything_ wrong. o.O
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-10 15:57:03 UTC
Its cosmetic, and it shows ok, because 'swapon -a' without swap do not
fail.
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-27 13:06:19 UTC
Changed activation messages to be a bit more 'generic'.  It will no longer
do the swapoff stuff if no devices/files was activated.

This will be in next unstable baselayout.