Why Linux startup behaves different with overlayFS?

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











up vote
0
down vote

favorite












I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).



Recently we added overlayfs using init script as done here:
https://blockdev.io/read-only-rpi/



As you can see in above link, the overlay is above rootfs (rootfs is readonly).



At first, it seemed to me that all works the same (as without overlay).



But today I noticed a strange thing:
With overlay, only the root's vncserver has started, not the user's vncserver.
I have no idea why.



I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.



What can be the reason for this change in behavior of started services per user with overlay ?



The Linux is Gentoo distribution.









share



























    up vote
    0
    down vote

    favorite












    I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
    I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).



    Recently we added overlayfs using init script as done here:
    https://blockdev.io/read-only-rpi/



    As you can see in above link, the overlay is above rootfs (rootfs is readonly).



    At first, it seemed to me that all works the same (as without overlay).



    But today I noticed a strange thing:
    With overlay, only the root's vncserver has started, not the user's vncserver.
    I have no idea why.



    I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.



    What can be the reason for this change in behavior of started services per user with overlay ?



    The Linux is Gentoo distribution.









    share

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
      I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).



      Recently we added overlayfs using init script as done here:
      https://blockdev.io/read-only-rpi/



      As you can see in above link, the overlay is above rootfs (rootfs is readonly).



      At first, it seemed to me that all works the same (as without overlay).



      But today I noticed a strange thing:
      With overlay, only the root's vncserver has started, not the user's vncserver.
      I have no idea why.



      I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.



      What can be the reason for this change in behavior of started services per user with overlay ?



      The Linux is Gentoo distribution.









      share















      I have an issue related to overlay filesystem, and I don't understand how to overcome it. I hope someone can help:
      I have vncserver (tigervnc), and in startup I see that vncserver service has started for all users (root+user) have vncserver (tigervnc).



      Recently we added overlayfs using init script as done here:
      https://blockdev.io/read-only-rpi/



      As you can see in above link, the overlay is above rootfs (rootfs is readonly).



      At first, it seemed to me that all works the same (as without overlay).



      But today I noticed a strange thing:
      With overlay, only the root's vncserver has started, not the user's vncserver.
      I have no idea why.



      I actually assume that EVERYTHING should be the same whether I use overlay or not, including all the started services.



      What can be the reason for this change in behavior of started services per user with overlay ?



      The Linux is Gentoo distribution.







      filesystems startup readonly overlayfs





      share














      share












      share



      share








      edited 2 mins ago

























      asked 8 mins ago









      ransh

      368249




      368249

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f474624%2fwhy-linux-startup-behaves-different-with-overlayfs%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474624%2fwhy-linux-startup-behaves-different-with-overlayfs%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)