Page MenuHomeFreeBSD

skip bectl jail test if jail not installed
ClosedPublic

Authored by olivier on Apr 29 2020, 5:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 14, 4:06 AM
Unknown Object (File)
Dec 2 2024, 12:04 AM
Unknown Object (File)
Dec 2 2024, 12:04 AM
Unknown Object (File)
Dec 1 2024, 11:58 PM
Unknown Object (File)
Dec 1 2024, 11:43 PM
Unknown Object (File)
Oct 8 2024, 5:50 AM
Unknown Object (File)
Oct 5 2024, 7:28 AM
Unknown Object (File)
Oct 5 2024, 5:06 AM
Subscribers

Details

Summary

Prevent a failure if system compiled with a WITHOUT_JAIL.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olivier created this revision.
kevans added a subscriber: kevans.

Interesting; I didn't realize we had a WITHOUT_JAIL option, and I'm a little surprised that it's not more invasive than it is. Right now it will only remove jail/jexec/jls, the jail rc script, and remove jail support from ifconfig... there's a number of other things that could probably be trivially taught to drop jail support WITHOUT_JAIL so that libjail isn't required either.

Nonetheless, this change is definitely correct. =-)

This revision is now accepted and ready to land.Apr 29 2020, 1:59 PM