Access host's systemd from firejail --overlay namespace

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











up vote
0
down vote

favorite












Instead of initializing a whole discrete system, I want to run isolated programs and services within the same host. I can already achieve that with firejail --noprofile --overlay, but the problem is because it's a separate namespace, I can't reach systemd from within it and have it run services.



Is there anyway to partially allow access to systemd? I don't have security concerns, I only want to isolate the services like a container.



If the same is achievable with other container tech like LXC, systemd-nspawn, Docker, etc I'm all ears.







share|improve this question

























    up vote
    0
    down vote

    favorite












    Instead of initializing a whole discrete system, I want to run isolated programs and services within the same host. I can already achieve that with firejail --noprofile --overlay, but the problem is because it's a separate namespace, I can't reach systemd from within it and have it run services.



    Is there anyway to partially allow access to systemd? I don't have security concerns, I only want to isolate the services like a container.



    If the same is achievable with other container tech like LXC, systemd-nspawn, Docker, etc I'm all ears.







    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Instead of initializing a whole discrete system, I want to run isolated programs and services within the same host. I can already achieve that with firejail --noprofile --overlay, but the problem is because it's a separate namespace, I can't reach systemd from within it and have it run services.



      Is there anyway to partially allow access to systemd? I don't have security concerns, I only want to isolate the services like a container.



      If the same is achievable with other container tech like LXC, systemd-nspawn, Docker, etc I'm all ears.







      share|improve this question













      Instead of initializing a whole discrete system, I want to run isolated programs and services within the same host. I can already achieve that with firejail --noprofile --overlay, but the problem is because it's a separate namespace, I can't reach systemd from within it and have it run services.



      Is there anyway to partially allow access to systemd? I don't have security concerns, I only want to isolate the services like a container.



      If the same is achievable with other container tech like LXC, systemd-nspawn, Docker, etc I'm all ears.









      share|improve this question












      share|improve this question




      share|improve this question








      edited May 1 at 5:59
























      asked Apr 29 at 12:38









      Oxwivi

      1,0762921




      1,0762921

























          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%2f440722%2faccess-hosts-systemd-from-firejail-overlay-namespace%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%2f440722%2faccess-hosts-systemd-from-firejail-overlay-namespace%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)