[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-devel-list
Subject: Swap problem in rawhide
From: Ömer Fadıl USTA <omerusta () gmail ! com>
Date: 2015-03-21 5:06:26
Message-ID: CAATbBR1MPthWX2rOWJPiX_fzSXmjeAJBRGrK+8pKhtTLy37Lvw () mail ! gmail ! com
[Download RAW message or body]
anaconda or systemd creates swap partition/file values in /etc/fstab
with a wrong pri value.
in /etc/fstab it shows as uuid=.... swap swap pri=-1 0 0
on the other hand after system reboots systemd's fstab-generator gives
error and not enables swap. ( So if you didn't edit your /etc/fstab
and change value to uuid=... swap swap defaults 0 0 you will have
a DISABLED swap )
Why fstab-generator couldn't handle swap ? Because it is not programmed for
getting a negative value as pri parameter. Thus in logs it says :
systemd-fstab-generator[16571]: Failed to parse priority: Numerical
result out of range
systemd's fstab generator is checking if pri exist or it is between 0 - 32767
so if we delete pri=-1 part from /etc/fstab it will be not a problem for
fstab-generator ( pri is optional )
PS : Bug reported as #1204336
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic