{"id":2679,"date":"2012-02-06T21:00:10","date_gmt":"2012-02-06T19:00:10","guid":{"rendered":"http:\/\/mummila.net\/kommentit\/?p=2679"},"modified":"2012-02-06T21:00:10","modified_gmt":"2012-02-06T19:00:10","slug":"fails-to-launch-recovery-menu-when-postfix-resolvconf-installed","status":"publish","type":"post","link":"https:\/\/mummila.net\/kommentit\/2012\/02\/06\/fails-to-launch-recovery-menu-when-postfix-resolvconf-installed\/","title":{"rendered":"Fails to launch recovery menu when Postfix &amp; Resolvconf installed"},"content":{"rendered":"<p>I have two computers affected by this and one that is not, each running Precise. I&#8217;ve tracked down the cause, but I&#8217;m not sure which of the components involved (friendly-recovery, resolvconf, postfix and upstart) is the culprit, so I&#8217;ll file this for friendly-recovery which is at least severly affected. Feel free to correct the target with better insight.<\/p>\n<p>Steps to reproduce:<br \/>\n0. Have the &#8217;postfix&#8217; and &#8217;resolvconf&#8217; packages installed.<br \/>\n1. Boot into recovery mode.<\/p>\n<p>What happens:<br \/>\nThe boot proceeds in nonsplash (text) mode, but in the end the recovery menu fails to show up. Instead the graphical greeter is brought up.<\/p>\n<p>What I expect to happen:<br \/>\nFor the recovery menu to show up so I can use it.<\/p>\n<p>The cause:<br \/>\nFor debugging this, I first enabled logging for friendly-recovery.conf. That log implicated resolvconf, so I enabled logging for resolvconf, and that in turn revealed this:<\/p>\n<p>cp: cannot create regular file `\/var\/spool\/postfix\/etc\/resolv.conf&#8217;: Read-only file system<\/p>\n<p>So I checked, and indeed postfix wasn&#8217;t there on my laptop which wasn&#8217;t affected. It seems that due to the read-only file system, the resolvconf upstart job fails, which in turn leads to the resolvconf-dependent friendly-recovery job to also fail.<\/p>\n<p>The workaround:<br \/>\nUninstall postfix if you can afford to.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems that due to the read-only file system, the resolvconf upstart job fails, which in turn leads to the resolvconf-dependent friendly-recovery job to also fail. The workaround: Uninstall postfix.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8860],"tags":[2679],"class_list":["post-2679","post","type-post","status-publish","format-standard","hentry","category-vianhallintajarjestelmat","tag-ubuntu","sijainti-launchpad"],"_links":{"self":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/2679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/comments?post=2679"}],"version-history":[{"count":3,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/2679\/revisions"}],"predecessor-version":[{"id":2682,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/posts\/2679\/revisions\/2682"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/media?parent=2679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/categories?post=2679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/kommentit\/wp-json\/wp\/v2\/tags?post=2679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}