What updates /var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







2















After logging into 18.04.1 LTS, motd shows (among other things):



- Livepatch server check failed.


Digging into motd I see that this message is generated by a script residing in



/etc/update-motd.d/80-livepatch


and this script is referencing:



/var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache


which contains:



esm: disabled (not available)
fips: disabled (not available)
livepatch: enabled
client-version: 8.0.6
architecture: x86_64
cpu-model: Intel(R) Core(TM) i5 CPU 661 @ 3.33GHz
last-check: 2018-11-09T05:00:22.613601172-05:00
boot-time: 2018-11-09T05:29:20-05:00
uptime: 18h38m26s
status:
- kernel: 4.15.0-38.41-generic
running: true
livepatch:
checkState: check-failed
patchState: nothing-to-apply
version: ""
fixes: ""


So it looks like this cache file was last updated yesterday with the output of canonical-livepatch status but I am wondering what triggers the update of this file and if there is a way to force it to update?



Note: I do know why livepatch was disabled and it is now enabled again...I still get the failed message when logging in and that is what triggered my quest to understand what is going on here.










share|improve this question































    2















    After logging into 18.04.1 LTS, motd shows (among other things):



    - Livepatch server check failed.


    Digging into motd I see that this message is generated by a script residing in



    /etc/update-motd.d/80-livepatch


    and this script is referencing:



    /var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache


    which contains:



    esm: disabled (not available)
    fips: disabled (not available)
    livepatch: enabled
    client-version: 8.0.6
    architecture: x86_64
    cpu-model: Intel(R) Core(TM) i5 CPU 661 @ 3.33GHz
    last-check: 2018-11-09T05:00:22.613601172-05:00
    boot-time: 2018-11-09T05:29:20-05:00
    uptime: 18h38m26s
    status:
    - kernel: 4.15.0-38.41-generic
    running: true
    livepatch:
    checkState: check-failed
    patchState: nothing-to-apply
    version: ""
    fixes: ""


    So it looks like this cache file was last updated yesterday with the output of canonical-livepatch status but I am wondering what triggers the update of this file and if there is a way to force it to update?



    Note: I do know why livepatch was disabled and it is now enabled again...I still get the failed message when logging in and that is what triggered my quest to understand what is going on here.










    share|improve this question



























      2












      2








      2


      0






      After logging into 18.04.1 LTS, motd shows (among other things):



      - Livepatch server check failed.


      Digging into motd I see that this message is generated by a script residing in



      /etc/update-motd.d/80-livepatch


      and this script is referencing:



      /var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache


      which contains:



      esm: disabled (not available)
      fips: disabled (not available)
      livepatch: enabled
      client-version: 8.0.6
      architecture: x86_64
      cpu-model: Intel(R) Core(TM) i5 CPU 661 @ 3.33GHz
      last-check: 2018-11-09T05:00:22.613601172-05:00
      boot-time: 2018-11-09T05:29:20-05:00
      uptime: 18h38m26s
      status:
      - kernel: 4.15.0-38.41-generic
      running: true
      livepatch:
      checkState: check-failed
      patchState: nothing-to-apply
      version: ""
      fixes: ""


      So it looks like this cache file was last updated yesterday with the output of canonical-livepatch status but I am wondering what triggers the update of this file and if there is a way to force it to update?



      Note: I do know why livepatch was disabled and it is now enabled again...I still get the failed message when logging in and that is what triggered my quest to understand what is going on here.










      share|improve this question
















      After logging into 18.04.1 LTS, motd shows (among other things):



      - Livepatch server check failed.


      Digging into motd I see that this message is generated by a script residing in



      /etc/update-motd.d/80-livepatch


      and this script is referencing:



      /var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache


      which contains:



      esm: disabled (not available)
      fips: disabled (not available)
      livepatch: enabled
      client-version: 8.0.6
      architecture: x86_64
      cpu-model: Intel(R) Core(TM) i5 CPU 661 @ 3.33GHz
      last-check: 2018-11-09T05:00:22.613601172-05:00
      boot-time: 2018-11-09T05:29:20-05:00
      uptime: 18h38m26s
      status:
      - kernel: 4.15.0-38.41-generic
      running: true
      livepatch:
      checkState: check-failed
      patchState: nothing-to-apply
      version: ""
      fixes: ""


      So it looks like this cache file was last updated yesterday with the output of canonical-livepatch status but I am wondering what triggers the update of this file and if there is a way to force it to update?



      Note: I do know why livepatch was disabled and it is now enabled again...I still get the failed message when logging in and that is what triggered my quest to understand what is going on here.







      motd canonical-livepatch ubuntu-advantage






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 '18 at 18:38







      marvhen

















      asked Nov 11 '18 at 3:38









      marvhenmarvhen

      455




      455






















          1 Answer
          1






          active

          oldest

          votes


















          0














          /etc/cron.daily/ubuntu-advantage-tools runs effectively:



          /usr/bin/ubuntu-advantage status > /usr/bin/ubuntu-advantage/ubuntu-advantage-status.cache





          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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            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%2f1091845%2fwhat-updates-var-cache-ubuntu-advantage-tools-ubuntu-advantage-status-cache%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            /etc/cron.daily/ubuntu-advantage-tools runs effectively:



            /usr/bin/ubuntu-advantage status > /usr/bin/ubuntu-advantage/ubuntu-advantage-status.cache





            share|improve this answer






























              0














              /etc/cron.daily/ubuntu-advantage-tools runs effectively:



              /usr/bin/ubuntu-advantage status > /usr/bin/ubuntu-advantage/ubuntu-advantage-status.cache





              share|improve this answer




























                0












                0








                0







                /etc/cron.daily/ubuntu-advantage-tools runs effectively:



                /usr/bin/ubuntu-advantage status > /usr/bin/ubuntu-advantage/ubuntu-advantage-status.cache





                share|improve this answer















                /etc/cron.daily/ubuntu-advantage-tools runs effectively:



                /usr/bin/ubuntu-advantage status > /usr/bin/ubuntu-advantage/ubuntu-advantage-status.cache






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 12 at 21:53









                guntbert

                9,516133170




                9,516133170










                answered Feb 12 at 18:27









                gQuigsgQuigs

                39038




                39038






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1091845%2fwhat-updates-var-cache-ubuntu-advantage-tools-ubuntu-advantage-status-cache%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Human spaceflight

                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                    張江高科駅