Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Dec 2024 15:24:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 283359] dtrace -h is broken again
Message-ID:  <bug-283359-227-REuHqtdcHC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-283359-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-283359-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=3D283359

--- 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 =3D freshjail.local;               # Hostname
    path =3D "/jails/freshjail";                     # Path to the jail
    ip4 =3D inherit;
    ip6 =3D inherit;
    mount.devfs;                               # Mount devfs inside the jail
    exec.start =3D "/bin/sh /etc/rc";            # Start command
    exec.stop =3D "/bin/sh /etc/rc.shutdown";    # Stop command
}

5) Start the jail:
$ service jail onestart freshjail

6) Go to the jail and run dtrace -h

--=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-283359-227-REuHqtdcHC>