cryptsetup warning message about swap file

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
4
down vote

favorite
1












  • What is this about? I need to setup some key? Or ignore it? This is
    new 17.10 installation. Swap is on, file /swapfile exists. Home
    encryption enabled, at setup.

  • How about SSD installation, may be swap should be turned off? RAM is
    enougn. Anyway I don't want to crypt it, processor is too slow.

leonid@LeonidMew:~/Downloads$ sudo update-initramfs -u



update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
cryptsetup: WARNING: Invalid source device /swapfile
cryptsetup: WARNING: target cryptswap1 has a random key, skipped


Update: What means priority -1, is it turned off?



leonid@LeonidMew:~/Downloads$ swapon -s
Filename Type Size Used Priority
/dev/dm-0 partition 2096636 0 -1









share|improve this question



























    up vote
    4
    down vote

    favorite
    1












    • What is this about? I need to setup some key? Or ignore it? This is
      new 17.10 installation. Swap is on, file /swapfile exists. Home
      encryption enabled, at setup.

    • How about SSD installation, may be swap should be turned off? RAM is
      enougn. Anyway I don't want to crypt it, processor is too slow.

    leonid@LeonidMew:~/Downloads$ sudo update-initramfs -u



    update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
    cryptsetup: WARNING: Invalid source device /swapfile
    cryptsetup: WARNING: target cryptswap1 has a random key, skipped


    Update: What means priority -1, is it turned off?



    leonid@LeonidMew:~/Downloads$ swapon -s
    Filename Type Size Used Priority
    /dev/dm-0 partition 2096636 0 -1









    share|improve this question

























      up vote
      4
      down vote

      favorite
      1









      up vote
      4
      down vote

      favorite
      1






      1





      • What is this about? I need to setup some key? Or ignore it? This is
        new 17.10 installation. Swap is on, file /swapfile exists. Home
        encryption enabled, at setup.

      • How about SSD installation, may be swap should be turned off? RAM is
        enougn. Anyway I don't want to crypt it, processor is too slow.

      leonid@LeonidMew:~/Downloads$ sudo update-initramfs -u



      update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
      cryptsetup: WARNING: Invalid source device /swapfile
      cryptsetup: WARNING: target cryptswap1 has a random key, skipped


      Update: What means priority -1, is it turned off?



      leonid@LeonidMew:~/Downloads$ swapon -s
      Filename Type Size Used Priority
      /dev/dm-0 partition 2096636 0 -1









      share|improve this question















      • What is this about? I need to setup some key? Or ignore it? This is
        new 17.10 installation. Swap is on, file /swapfile exists. Home
        encryption enabled, at setup.

      • How about SSD installation, may be swap should be turned off? RAM is
        enougn. Anyway I don't want to crypt it, processor is too slow.

      leonid@LeonidMew:~/Downloads$ sudo update-initramfs -u



      update-initramfs: Generating /boot/initrd.img-4.13.0-32-generic
      cryptsetup: WARNING: Invalid source device /swapfile
      cryptsetup: WARNING: target cryptswap1 has a random key, skipped


      Update: What means priority -1, is it turned off?



      leonid@LeonidMew:~/Downloads$ swapon -s
      Filename Type Size Used Priority
      /dev/dm-0 partition 2096636 0 -1






      encryption ssd swap






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 15 at 1:49

























      asked Feb 15 at 1:43









      LeonidMew

      303214




      303214




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          It's a result of this bug:



          https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1720036



          It seems to just be an slightly irritating error message with no practical consequences and is safe to ignore






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006307%2fcryptsetup-warning-message-about-swap-file%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            It's a result of this bug:



            https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1720036



            It seems to just be an slightly irritating error message with no practical consequences and is safe to ignore






            share|improve this answer
























              up vote
              3
              down vote



              accepted










              It's a result of this bug:



              https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1720036



              It seems to just be an slightly irritating error message with no practical consequences and is safe to ignore






              share|improve this answer






















                up vote
                3
                down vote



                accepted







                up vote
                3
                down vote



                accepted






                It's a result of this bug:



                https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1720036



                It seems to just be an slightly irritating error message with no practical consequences and is safe to ignore






                share|improve this answer












                It's a result of this bug:



                https://bugs.launchpad.net/ubuntu/+source/cloud-initramfs-tools/+bug/1720036



                It seems to just be an slightly irritating error message with no practical consequences and is safe to ignore







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 3 at 11:07









                J W

                462




                462



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1006307%2fcryptsetup-warning-message-about-swap-file%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Which professions warranted travel in Medieval times?

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error