Date: Tue, 26 Jun 2018 17:38:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229266] some system utilities take JID only, not jail name Message-ID: <bug-229266-227-fMCHISvGlS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229266-227@https.bugs.freebsd.org/bugzilla/> References: <bug-229266-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229266 Jamie Gritton <jamie@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamie@FreeBSD.org Version|10.4-RELEASE |CURRENT --- Comment #1 from Jamie Gritton <jamie@FreeBSD.org> --- I found four programs that let you specify a jail by JID only: cpuset(1) ipfw(8) sockstat(1) ugidfw(8) Eight programs (11 if you count the jail programs themselves) that allow ja= ils to be specified by name or ID: ifconfig(8) ifconfig(8) pkill(1) ps(1) service(8) sysrc(8) xtop(1) zfs(8) And one that only allows jail by name: rctl(8) Of the four that only take a JID, a fix is easy for cpuset, ipfw, and socks= tat. ugidfw(8) actually parses the JID in libugidfw(3), and I'm hesitant to introduce a library dependency within another library; I may end up basical= ly re-coding jail_getid(3) there. A "fix" for rctl(8) to take JIDs is out of scope: the name parsing for that= one is actually done in the kernel. --=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-229266-227-fMCHISvGlS>