FS#57990 - [arch-install-scripts] genfstab creates invalid fstab swap priority
Attached to Project:
Arch Linux
Opened by Paul Kerry (paulkerry) - Tuesday, 27 March 2018, 11:15 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 January 2019, 16:27 GMT
Opened by Paul Kerry (paulkerry) - Tuesday, 27 March 2018, 11:15 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 05 January 2019, 16:27 GMT
|
Details
Description: genfstab creates invalid fstab swap priority
Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: From a recent install, genfstab creates a swap entry in /etc/fstab with "defaults,pri=-2" This then creates the following journal entries... Failed to parse swap priority "defaults,pri=-2", ignoring: Numerical result out of range "man swapon" states "priority is a value between -1 and 32767" and also "When no priority is defined, it defaults to -1". Interestingly with no priority set, "cat /proc/swaps" shows "Priority=-2" which doesn't really match the above. Perhaps remove the "pri=" from genfstab as swap priority usage is clearly explained at https://wiki.archlinux.org/index.php/Swap#Priority ? Regards Paul. |
This task depends upon
Closed by Dave Reisner (falconindy)
Saturday, 05 January 2019, 16:27 GMT
Reason for closing: Fixed
Additional comments about closing: testing/arch-install-scripts 21-1
Saturday, 05 January 2019, 16:27 GMT
Reason for closing: Fixed
Additional comments about closing: testing/arch-install-scripts 21-1