Date: Mon, 14 Mar 2016 22:43:30 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 208001] After turning off the jail does not remove network routes Message-ID: <bug-208001-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208001 Bug ID: 208001 Summary: After turning off the jail does not remove network routes Product: Base System Version: 10.3-BETA2 Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: admin@support.od.ua CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org After turning off the jail does not remove network routes. Helps only change the IP address or reboot the server # service jail start Starting jails: web. # service jail status JID IP Address Hostname Path web 10.0.0.22 web.otrada.local /jails/web # service jail stop Stopping jails: web. # service jail status JID IP Address Hostname Path # service jail start Starting jails: cannot start jail "web": ifconfig: ioctl (SIOCAIFADDR): No such process jail: web: /sbin/ifconfig re0 inet 10.0.0.22/24 alias: failed . # netstat -rn4 | grep 10.0 10.0.0.0/24 link#1 U re0 10.0.0.0/24 link#1 U re0 10.0.0.0/24 link#1 U re0 10.0.0.0/24 link#1 U re0 10.0.0.0/8 10.0.0.125 UGS re0 10.0.0.1 link#1 UHS lo0 10.0.0.19 link#1 UHS lo0 10.0.1.1 link#10 UHS lo0 10.0.2.48 link#10 UH ng1 10.0.3.5 link#11 UH ng2 # route get 10.0.0.0/24 route to: 10.0.0.0 destination: 10.0.0.0 mask: 255.255.255.0 fib: 0 interface: re0 flags: <UP,DONE,PINNED> recvpipe sendpipe ssthresh rtt,msec mtu weight expire 0 0 0 0 1500 1 0 Example config /etc/jail.conf: allow.raw_sockets =3D 1; exec.clean; exec.system_user =3D "root"; exec.jail_user =3D "root"; exec.start =3D "/bin/sh /etc/rc"; exec.stop =3D "/bin/sh /etc/rc.shutdown"; exec.consolelog =3D "/var/log/jail_${name}_console.log"; mount.devfs; mount.fstab =3D "/etc/fstab.$name"; allow.mount; allow.set_hostname =3D 0; allow.sysvipc =3D 0; path =3D "/jails/${name}"; web { host.hostname =3D "web.otrada.local"; ip4.addr =3D "re0|10.0.0.22/24"; ip4.addr +=3D "lo0|127.0.1.1/8"; ip6.addr +=3D "re0|2001:470:28:140::121/64"; allow.sysvipc =3D 1; mount.procfs; devfs_ruleset =3D 7; # path =3D "/jails/billing-test"; } --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208001-8>