Skip to content

Commit

Permalink
Update help for the random swap encryption method
Browse files Browse the repository at this point in the history
  • Loading branch information
dgdavid committed Sep 19, 2019
1 parent 47848cd commit 9bf026d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/lib/y2partitioner/widgets/encrypt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,12 @@ def help_for_random_swap(encrypt_method)
"boot, and its previous content is destroyed. You should disable Hibernation through your " \
"respective DE Power Management Utility and set it to Shutdown on Critical to avoid Data " \
"Loss!</p>" \
"<p>Also note the device UUID changes every time the swap is encrypted, and the file " \
"system label cannot be preserved when re-encrypting the device. Please, make sure your " \
"swap device is mounted by a stable device name (e.g., udev device id), otherwise a wrong " \
"device could be encrypted instead of your swap!</p>"),
"<p>Please, make sure your swap device is mounted by a stable name that is not subject to " \
"change on every reboot. For example, for a swap partition use the udev device id instead " \
"of the partition device name. Otherwise a wrong device could be encrypted instead of " \
"your swap! In that regard, note both the file system label and the UUID change every " \
"time the swap is re-encrypted, so they are not valid options to mount a " \
"randomly encrypted swap device.</p>"),
label: encrypt_method.to_human_string
)
end
Expand Down

0 comments on commit 9bf026d

Please sign in to comment.