[Bug 283359] dtrace -h is broken again
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 283359] dtrace -h is broken again"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Dec 2024 15:24:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283359
--- Comment #2 from shamaz.mazum@gmail.com ---
(In reply to Mark Johnston from comment #1)
For example, you can do the following (works for me at least):
1) Download base.txz from here:
https://download.freebsd.org/releases/amd64/14.2-RELEASE/base.txz
2) Create a new fs:
$ zfs create mypool/jails/freshjail
(it is mounted to /jails/freshjail)
3) Extract base.txz into /jails/freshjail
4) Add this to /etc/jail.conf
freshjail {
host.hostname = freshjail.local; # Hostname
path = "/jails/freshjail"; # Path to the jail
ip4 = inherit;
ip6 = inherit;
mount.devfs; # Mount devfs inside the jail
exec.start = "/bin/sh /etc/rc"; # Start command
exec.stop = "/bin/sh /etc/rc.shutdown"; # Stop command
}
5) Start the jail:
$ service jail onestart freshjail
6) Go to the jail and run dtrace -h
--
You are receiving this mail because:
You are the assignee for the bug.