Hint: us­ing sock­ets across jails

I want to use a socket (mysql) in mul­tiple jails. Us­ing nullfs to mount it in each jail where you want to use it does not work (bug in nullfs?). Us­ing a hard­link (if the jails reside on the same FS) works. I hope this info safes a little bit of time in case someone tries to do the same.

The host­name MySQL sees in such a con­nec­tion is “loc­al­host”. Maybe this is ob­vi­ous to one or an­other, but be­cause jails don’t have a 127.0.0.1 it was not ob­vi­ous to me.

StumbleUponXINGBalatarinBox.netDiggGoogle GmailNetvouzPlurkSiteJotTypePad PostYahoo BookmarksVKSlashdotPocketHacker NewsDiigoBuddyMarksRedditLinkedInBibSonomyBufferEmailHatenaLiveJournalNewsVinePrintViadeoYahoo MailAIMBitty BrowserCare2 NewsEvernoteMail.RuPrintFriendlyWaneloYahoo MessengerYoolinkWebnewsStumpediaProtopage BookmarksOdnoklassnikiMendeleyInstapaperFarkCiteULikeBlinklistAOL MailTwitterGoogle+PinterestTumblrAmazon Wish ListBlogMarksDZoneDeliciousFlipboardFolkdJamespotMeneameMixiOknotiziePushaSvejoSymbaloo FeedsWhatsAppYouMobdiHITTWordPressRediff MyPageOutlook.comMySpaceDesign FloatBlogger PostApp.netDiary.RuKindle ItNUjijSegnaloTuentiWykopTwiddlaSina WeiboPinboardNetlogLineGoogle BookmarksDiasporaBookmarks.frBaiduFacebookGoogle ClassroomKakaoQzoneSMSTelegramRenrenKnownYummlyShare/​Save

Linux mod­ules now us­able on amd64

Today I re­moved the LINUX stuff from GENERIC on amd64 (this syncs with i386). Now that kib@ com­mit­ted the ker­nel linker stuff the linux mod­ule is us­able on amd64 too. This al­lows for more easy testing/​patching on amd64 and also al­lows on-​demand-​loading like on i386.