Analysis of information sources in references of the Wikipedia article "Tuning mechanisms for stringed instruments" in English language version.
Pegs are tapered, and must contact the insides of the holes on both sides of the pegbox. The fit is very important, of course, as is the nature of the contacting surfaces there. Raw wood on raw wood never works well, so a preparation is usually applied to facilitate a smooth turning of the peg.