The fact that the postinst works if invoked manually makes me believe that at least this is main-menu's fault and that partonf-mkfs is not executed at all when selected in the menu. The issue with the wrong proc entry remains of course.