[Bug 229266] some system utilities take JID only, not jail name
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Jun 26 17:38:32 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229266
Jamie Gritton <jamie at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jamie at FreeBSD.org
Version|10.4-RELEASE |CURRENT
--- Comment #1 from Jamie Gritton <jamie at 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 jails
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 sockstat.
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 basically
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list