[Bug 229968] jail can see other interfaces in linprocfs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 22 18:27:17 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229968

            Bug ID: 229968
           Summary: jail can see other interfaces in linprocfs
           Product: Base System
           Version: 11.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: jasonmader at gmail.com

I hope I'm not missing something, but in a jail using Linux compatibility, 

jail {
  interface = ix1;
  linux = new;
  mount.fstab = /var/jail/etc/fstab;
}

/var/jail/etc/fstab:
linprocfs /var/jail/compat/linux/proc linprocfs rw 0 0

It appears that the jail can see the ix0 interface on the host. I would have
thought it would see ix1 mapped as eth0 only.

 NAMI  "/compat/linux/proc/net/dev"
 GIO   fd 4 read 571 bytes
       "Inter-|                                                   Receive| 
Transmit
          face|bytes    packets errs drop fifo frame compressed multicast| 
bytes    packets errs drop fifo colls carrier compressed
          eth0:  400275    5236    0    0    0     0          0         1  
668562    4589    0    0    0     0       0          0
          eth1:       0       0    0    0    0     0          0         0      
 0       0    0    0    0     0       0          0
           lo0:  208242    1115    0    0    0     0          0         0  
208242    1115    0    0    0     0       0          0
       "

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list