The storyFrom hernia + -ary. By surface analysis, herni- + -ary.Etymology from Wiktionary, CC BY-SA 4.0.