{"id":51,"date":"2008-03-22T23:01:57","date_gmt":"2008-03-22T20:01:57","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=51"},"modified":"2008-03-22T23:01:57","modified_gmt":"2008-03-22T20:01:57","slug":"glibc-27-on-centos-rhel-5","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2008\/03\/glibc-27-on-centos-rhel-5\/","title":{"rendered":"glibc 2.7 on CentOS \/ RHEL 5"},"content":{"rendered":"<p><strong>Update:<\/strong> Note! The issue was fixed in CentOS\/RHEL 5.2 !<\/p>\n<p>glibc 2.7 introduces a new flag to open() syscall, called <a title=\"O_CLOEXEC flag explanation\" href=\"http:\/\/lwn.net\/Articles\/249006\/\">O_CLOEXEC<\/a>.<\/p>\n<p>The official redhat 2.6.18 kernel (even of version 5.1) <a title=\"redhat bug\" href=\"http:\/\/bugs.debian.org\/cgi-bin\/bugreport.cgi?bug=454638\">doesn't support it<\/a>, and returns errors  (in strace it looks like open() returns unknown error 530).<\/p>\n<p>So.. just try not to use glibc 2.7  on RedHat, until they support it. If you want an adventure, <a title=\"dzickus kernel\" href=\"http:\/\/people.redhat.com\/dzickus\/el5\">this kernel<\/a> seems to do the job..<\/p>\n<p>How did I encounter this uncommon problem, you ask? I'm running Debian unstable VM inside a CentOS5 host (the VM's kernel is actually a CentOS5 kernel). Debian upgraded glibc to 2.7, and later the VM couldn't function (open \/etc\/passwd gave error 530). Not too smart of me, I guess. But dzickus kernel seems to solve it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update: Note! The issue was fixed in CentOS\/RHEL 5.2 ! glibc 2.7 introduces a new flag to open() syscall, called O_CLOEXEC. The official redhat 2.6.18 kernel (even of version 5.1) doesn&#8217;t support it, and returns errors (in strace it looks like open() returns unknown error 530). So.. just try not to use glibc 2.7 on [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[75],"tags":[28,70,203],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/51"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/51\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=51"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=51"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}