Ketosis induced by a ketogenic diet should not be pursued by people with pancreatitis because of the high dietary fat content. Ketosis is also contraindicated in pyruvate carboxylase deficiency, porphyria, and other rare genetic disorders of fat metabolism.