Bug 39176

Summary: swapoff -a is broken in mount-2.11b-3
Product: [Retired] Red Hat Linux Reporter: Ed McKenzie <eem12>
Component: mountAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-05-05 02:21:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ed McKenzie 2001-05-05 02:20:58 UTC
Description of Problem:
swapoff -a doesn't unmount all swap partitions, as expected.

How Reproducible:
100%

Steps to Reproduce:
[root@nebulascape /root]# swapon /dev/hdg4
[root@nebulascape /root]# swapon -s
Filename
		Type		Size	Used	Priority
/dev/hdg4                       partition	370936	0	-2
[root@nebulascape /root]# swapoff -a
[root@nebulascape /root]# swapon -s
Filename
		Type		Size	Used	Priority
/dev/hdg4                       partition	370936	0	-2
[root@nebulascape /root]# swapoff /dev/hdg4
[root@nebulascape /root]# swapon -s
Filename
		Type		Size	Used	Priority
[root@nebulascape /root]#   
[root@nebulascape /root]# swapon -a
[root@nebulascape /root]# swapon -s
Filename
		Type		Size	Used	Priority
/dev/hdg4                       partition	370936	0	-3
[root@nebulascape /root]# 

Actual Results:
swapoff -a should free all swap space.

Expected Results:
swapoff -a has no effect.

Additional Information:

Comment 1 Bernhard Rosenkraenzer 2001-05-06 18:08:16 UTC
Fixed in 2.11b-4