Why are Linux namespace links in /proc red in color? Announcing the arrival of Valued...

Tips to organize LaTeX presentations for a semester

Why complex landing gears are used instead of simple,reliability and light weight muscle wire or shape memory alloys?

My mentor says to set image to Fine instead of RAW — how is this different from JPG?

Weaponising the Grasp-at-a-Distance spell

How to change the tick of the color bar legend to black

What does it mean that physics no longer uses mechanical models to describe phenomena?

Should a wizard buy fine inks every time he want to copy spells into his spellbook?

Can humans save crash-landed aliens?

Is there hard evidence that the grant peer review system performs significantly better than random?

What does the writing on Poe's helmet say?

After Sam didn't return home in the end, were he and Al still friends?

Flight departed from the gate 5 min before scheduled departure time. Refund options

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

Why not use the yoke to control yaw, as well as pitch and roll?

How to ask rejected full-time candidates to apply to teach individual courses?

Co-worker has annoying ringtone

How many time has Arya actually used Needle?

Project Euler #1 in C++

Why are vacuum tubes still used in amateur radios?

How much damage would a cupful of neutron star matter do to the Earth?

If Windows 7 doesn't support WSL, then what is "Subsystem for UNIX-based Applications"?

Simple HTTP Server

Random body shuffle every night—can we still function?

Monty Hall Problem-Probability Paradox



Why are Linux namespace links in /proc red in color?



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionwhy are there links to links in system directories?linux namespace, How to connect internet in network namespace?Compute total CPU usage of a PID namespaceremove link from Linux namespaceWhat are the ways and risks of using linux namespaces as nonroot user?Why memmap IO are ignored in /proc/[PID]/ioWith Linux user namespaces, why can clone() mount /proc, but unshare() cannot?Is there a file that associates a thread to its network namespace?Why is the sum of /proc/pid/stat CPU greater than /proc/statWhat other `namespace` oriented linux commands are there?





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







0















I inspected the symlinks in an Ubuntu VM for the namespace related directories under /proc/PID/ns. I see all the links are in red color.



enter image description here



I even tried to test using unshare to see if I can create a new namespace. I tested using mount namespace and a new namespace is assigned to the new process.



root@VM:/# ll /proc/$$/ns
total 0
dr-x--x--x 2 root root 0 Apr 21 01:56 ./
dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026531840] **
lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]
root@VM:/#
root@VM:/# unshare --mount
root@VM:/#
root@VM:/# ll /proc/$$/ns
total 0
dr-x--x--x 2 root root 0 Apr 21 01:56 ./
dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026532226] **
lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]


Can anyone tell why the symlinks are in red ? Does this mean the namespace feature is not working ?










share|improve this question





























    0















    I inspected the symlinks in an Ubuntu VM for the namespace related directories under /proc/PID/ns. I see all the links are in red color.



    enter image description here



    I even tried to test using unshare to see if I can create a new namespace. I tested using mount namespace and a new namespace is assigned to the new process.



    root@VM:/# ll /proc/$$/ns
    total 0
    dr-x--x--x 2 root root 0 Apr 21 01:56 ./
    dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026531840] **
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]
    root@VM:/#
    root@VM:/# unshare --mount
    root@VM:/#
    root@VM:/# ll /proc/$$/ns
    total 0
    dr-x--x--x 2 root root 0 Apr 21 01:56 ./
    dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026532226] **
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
    lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]


    Can anyone tell why the symlinks are in red ? Does this mean the namespace feature is not working ?










    share|improve this question

























      0












      0








      0








      I inspected the symlinks in an Ubuntu VM for the namespace related directories under /proc/PID/ns. I see all the links are in red color.



      enter image description here



      I even tried to test using unshare to see if I can create a new namespace. I tested using mount namespace and a new namespace is assigned to the new process.



      root@VM:/# ll /proc/$$/ns
      total 0
      dr-x--x--x 2 root root 0 Apr 21 01:56 ./
      dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026531840] **
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]
      root@VM:/#
      root@VM:/# unshare --mount
      root@VM:/#
      root@VM:/# ll /proc/$$/ns
      total 0
      dr-x--x--x 2 root root 0 Apr 21 01:56 ./
      dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026532226] **
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]


      Can anyone tell why the symlinks are in red ? Does this mean the namespace feature is not working ?










      share|improve this question














      I inspected the symlinks in an Ubuntu VM for the namespace related directories under /proc/PID/ns. I see all the links are in red color.



      enter image description here



      I even tried to test using unshare to see if I can create a new namespace. I tested using mount namespace and a new namespace is assigned to the new process.



      root@VM:/# ll /proc/$$/ns
      total 0
      dr-x--x--x 2 root root 0 Apr 21 01:56 ./
      dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026531840] **
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]
      root@VM:/#
      root@VM:/# unshare --mount
      root@VM:/#
      root@VM:/# ll /proc/$$/ns
      total 0
      dr-x--x--x 2 root root 0 Apr 21 01:56 ./
      dr-xr-xr-x 9 root root 0 Apr 21 01:56 ../
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 cgroup -> cgroup:[4026531835]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ipc -> ipc:[4026531839]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 ** mnt -> mnt:[4026532226] **
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 net -> net:[4026531957]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 pid -> pid:[4026531836]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 user -> user:[4026531837]
      lrwxrwxrwx 1 root root 0 Apr 21 01:56 uts -> uts:[4026531838]


      Can anyone tell why the symlinks are in red ? Does this mean the namespace feature is not working ?







      symlink proc namespace






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 13 mins ago









      JakeJake

      543822




      543822






















          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f513631%2fwhy-are-linux-namespace-links-in-proc-red-in-color%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f513631%2fwhy-are-linux-namespace-links-in-proc-red-in-color%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...