touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #117839
[Bug 1516225] [NEW] Swapon does not respect fstab negative priorities order
Public bug reported:
uname -a
Linux msi-ge60-ubuntu 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
sudo swapon --summary
Filename Type Size Used Priority
/dev/sdc2 partition 50331644 0 -1
/dev/sda6 partition 50331644 0 -2
However, in /etc/fstab:
# swap was on /dev/sda6 during installation
UUID=4870beef-bb2c-40c1-91da-f1444f90c51b none swap sw,nofail,pri=-1 0 0
# swap on SSD Samsung /dev/sdc2
UUID=fa2b8ce4-6ce7-4fb2-ac12-475264bed20f none swap sw,nofail,pri=-2 0 0
Does the fact that sdc2 is a SSD makes swapon override the fstab priorities?
It is suspicious that swapon prints sdc2 first in the summary. despite the following facts:
- sdc2 priority is -2 in fstab
- sdc2 is declared after sda2 in fstab
- sdc2 is after sda2 in alphabetical order
** Affects: util-linux (Ubuntu)
Importance: Undecided
Status: New
** Summary changed:
- Swapon does not respect fstab priorities
+ Swapon does not respect fstab negative priorities
** Summary changed:
- Swapon does not respect fstab negative priorities
+ Swapon does not respect fstab negative priorities order
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1516225
Title:
Swapon does not respect fstab negative priorities order
Status in util-linux package in Ubuntu:
New
Bug description:
uname -a
Linux msi-ge60-ubuntu 4.2.0-18-generic #22-Ubuntu SMP Fri Nov 6 18:25:50 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
sudo swapon --summary
Filename Type Size Used Priority
/dev/sdc2 partition 50331644 0 -1
/dev/sda6 partition 50331644 0 -2
However, in /etc/fstab:
# swap was on /dev/sda6 during installation
UUID=4870beef-bb2c-40c1-91da-f1444f90c51b none swap sw,nofail,pri=-1 0 0
# swap on SSD Samsung /dev/sdc2
UUID=fa2b8ce4-6ce7-4fb2-ac12-475264bed20f none swap sw,nofail,pri=-2 0 0
Does the fact that sdc2 is a SSD makes swapon override the fstab priorities?
It is suspicious that swapon prints sdc2 first in the summary. despite the following facts:
- sdc2 priority is -2 in fstab
- sdc2 is declared after sda2 in fstab
- sdc2 is after sda2 in alphabetical order
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1516225/+subscriptions
Follow ups
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: Launchpad Bug Tracker, 2016-02-02
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: Phillip Susi, 2015-12-03
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: jean-christophe manciot, 2015-12-03
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: Phillip Susi, 2015-11-20
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: jean-christophe manciot, 2015-11-19
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: jean-christophe manciot, 2015-11-18
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: Phillip Susi, 2015-11-17
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: jean-christophe manciot, 2015-11-16
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: jean-christophe manciot, 2015-11-16
-
[Bug 1516225] Re: Swapon does not respect fstab priorities order
From: Phillip Susi, 2015-11-16
-
[Bug 1516225] Re: Swapon does not respect fstab negative priorities order
From: jean-christophe manciot, 2015-11-15
-
[Bug 1516225] Re: Swapon does not respect fstab negative priorities order
From: Phillip Susi, 2015-11-14