-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix iocage with non-vnet PPP network interfaces (#362)
PPP-like interfaces, such as tun(4), have an additional dest parameter in their config strings, separated from the first by a string. ip4_addr and ip6_addr must be quoted in several places to make such interfaces work.
- Loading branch information
Showing
2 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a2d9c47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change causes
iocage
to break if the jail is being configured withip4=inherit
andip4_addr=none
. When thejail
command-line is executed, you${ip4_addr_propline}
is empty which effectively looks like a null-string argument to Jail.I've got a local change that fixes it, will create a PR when I have a chance.
a2d9c47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I would have opened an issue w/this, but it seems issues are disabled on the repo...?)
a2d9c47
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah mostly as I was tired of fielding bug reports. I tried increasing the font on the landing page (you may have seen it's unfortunately intimidatingly large) but i kept getting bugs. I'm not interested in going backwards to fix bugs as I have rewritten this entire program. PR's are fine, or comments on commits like yours who have a fix.
Once the new version is ready for usage, I'll be removing the giant scary intro text and linking the new repo. Which will certainly have issues open. The current master and even develop work quite well, so I figured it wouldn't be a big deal. Thanks for the heads up and upcoming fix @benschumacher 👍