Bug 39509

Summary: Priorities of swap from /etc/fstab are ignored
Product: systemd Reporter: Maciej Piechotka <uzytkownik2>
Component: generalAssignee: Lennart Poettering <lennart>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Maciej Piechotka 2011-07-24 12:08:57 UTC
I have following entries in fstab:

UUID="bd07bff6-13f0-487e-94c7-abb726e463c1"	none		swap		sw,pri=0			0 0
/dev/zram0					none		swap		sw,pri=32767,discard		0 0

However just after boot swaps are set as:

# swapon -s
Filename				Type		Size	Used	Priority
/dev/zram0                              partition	1048572	0	0
/dev/mapper/picard--main-swap           partition	4194300	0	0

After swapoff /dev/zram0 && swapon -a the priorities are set correctly.
Comment 1 Lennart Poettering 2011-08-30 19:26:16 UTC
Fixed in git.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.