{"id":58190,"date":"2014-12-24T09:33:13","date_gmt":"2014-12-24T17:33:13","guid":{"rendered":"http:\/\/www.transterrestrial.com\/?p=58190"},"modified":"2014-12-24T15:25:22","modified_gmt":"2014-12-24T23:25:22","slug":"weird-linux-problem-2","status":"publish","type":"post","link":"https:\/\/www.transterrestrial.com\/wordpress\/2014\/12\/24\/weird-linux-problem-2\/","title":{"rendered":"Weird Linux Problem"},"content":{"rendered":"<p>Anyone have any ideas why I can&#8217;t do a yum update in Fedora? Or rather, why I can&#8217;t write to the disk as root?<\/p>\n<blockquote><p># yum update<br \/>\nLoaded plugins: langpacks, refresh-packagekit<br \/>\nCannot open logfile \/var\/log\/yum.log<br \/>\nRepository google-chrome is listed more than once in the configuration<\/p>\n<p>[Errno 30] Read-only file system: &#8216;\/var\/cache\/yum\/x86_64\/20\/adobe-linux-x86_64\/repomd.xml.old.tmp&#8217;<\/p><\/blockquote>\n<p>Here&#8217;s what I&#8217;m seeing at \/:<\/p>\n<blockquote><p># ls -l<br \/>\ntotal 65<br \/>\nlrwxrwxrwx.   1 root root     7 Dec 11  2013 bin -> usr\/bin<br \/>\ndr-xr-xr-x.   6 root root  4096 Dec 22 14:47 boot<br \/>\ndrwxr-xr-x.  21 root root  3520 Dec 24 09:15 dev<br \/>\ndrwxr-xr-x. 140 root root 12288 Dec 24 09:15 etc<br \/>\ndrwxr-xr-x.   4 root root  4096 Dec 20  2013 home<br \/>\nlrwxrwxrwx.   1 root root     7 Dec 11  2013 lib -> usr\/lib<br \/>\nlrwxrwxrwx.   1 root root     9 Dec 11  2013 lib64 -> usr\/lib64<br \/>\ndrwx&#8212;&#8212;.   2 root root 16384 Dec 11  2013 lost+found<br \/>\ndrwxr-xr-x.   2 root root  4096 Nov  7 16:53 media<br \/>\ndrwxr-xr-x.   3 root root  4096 Dec 20  2013 mnt<br \/>\ndrwxr-xr-x.   4 root root  4096 Oct 29 15:18 opt<br \/>\ndr-xr-xr-x. 222 root root     0 Dec 24 09:14 proc<br \/>\ndr-xr-x&#8212;.  12 root root  4096 Dec 22 15:33 root<br \/>\ndrwxr-xr-x.  34 root root   900 Dec 24 09:17 run<br \/>\nlrwxrwxrwx.   1 root root     8 Dec 11  2013 sbin -> usr\/sbin<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 srv<br \/>\ndr-xr-xr-x.  13 root root     0 Dec 24 09:14 sys<br \/>\ndrwxrwxrwt.  12 root root   280 Dec 24 09:21 tmp<br \/>\ndrwxr-xr-x.  12 root root  4096 Dec 11  2013 usr<br \/>\ndrwxr-xr-x.  21 root root  4096 Dec 24 09:14 var<\/p><\/blockquote>\n<p>Here&#8217;s \/var:<\/p>\n<blockquote><p># ls -l \/var<br \/>\ntotal 112<br \/>\ndrwxr-xr-x.   2 root root  4096 Dec 11  2013 account<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 adm<br \/>\ndrwxr-xr-x.  14 root root  4096 Dec 20  2013 cache<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  5 21:27 crash<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  2  2013 cvs<br \/>\ndrwxr-xr-x.   3 root root  4096 Oct  2 09:32 db<br \/>\ndrwxr-xr-x.   3 root root  4096 Dec 11  2013 empty<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 games<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 gopher<br \/>\ndrwxr-xr-x.   3 root root  4096 Aug  7 17:19 kerberos<br \/>\ndrwxr-xr-x.  46 root root  4096 Dec 24 09:14 lib<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 local<br \/>\nlrwxrwxrwx.   1 root root    11 Dec 11  2013 lock -> ..\/run\/lock<br \/>\ndrwxr-xr-x.  15 root root  4096 Dec 24 09:15 log<br \/>\nlrwxrwxrwx.   1 root root    10 Dec 11  2013 mail -> spool\/mail<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 nis<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 opt<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 preserve<br \/>\nlrwxrwxrwx.   1 root root     6 Dec 11  2013 run -> ..\/run<br \/>\ndrwxr-xr-x.  10 root root  4096 Dec 11  2013 spool<br \/>\ndrwxrwxrwt. 539 root root 36864 Dec 24 09:15 tmp<br \/>\ndrwxr-xr-x.   2 root root  4096 Aug  7  2013 yp<\/p><\/blockquote>\n<p>I tried to just create a file in \/root, with no success (though that&#8217;s not really surprising, given the permissions).  What&#8217;s really weird is that I have no problems writing as a normal user. It&#8217;s just a problem with root. Which is, of course, a big problem. I&#8217;ve tried rebooting, with no joy.<\/p>\n<p>[Later afternoon update]<\/p>\n<p>OK, I&#8217;ve gotten the machine beaten into submission. I loaded Fedora 21 on a live USB, and (unlike Fedora 20) it will actually boot with my new motherboard. So I cleaned up the drives, then installed the new OS on the new SSD. I overmounted my old \/home drive onto the new \/home, and I&#8217;m reinstalling software, which is going very fast, because the SSD is very fast. With the new quad-core processor, I&#8217;m cooking with Crisco. Nice Christmas present to myself.<\/p>\n<p>[Update a few minutes later]<\/p>\n<p>Wow. Just did a reboot after a bunch of updates. Ten seconds.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anyone have any ideas why I can&#8217;t do a yum update in Fedora? Or rather, why I can&#8217;t write to the disk as root? # yum update Loaded plugins: langpacks, refresh-packagekit Cannot open logfile \/var\/log\/yum.log Repository google-chrome is listed more than once in the configuration [Errno 30] Read-only file system: &#8216;\/var\/cache\/yum\/x86_64\/20\/adobe-linux-x86_64\/repomd.xml.old.tmp&#8217; Here&#8217;s what I&#8217;m seeing &hellip; <a href=\"https:\/\/www.transterrestrial.com\/wordpress\/2014\/12\/24\/weird-linux-problem-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Weird Linux Problem<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16,27,3],"tags":[],"class_list":["post-58190","post","type-post","status-publish","format-standard","hentry","category-administrative","category-mathematics","category-technology-and-society"],"_links":{"self":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/58190","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/comments?post=58190"}],"version-history":[{"count":4,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/58190\/revisions"}],"predecessor-version":[{"id":58200,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/posts\/58190\/revisions\/58200"}],"wp:attachment":[{"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/media?parent=58190"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/categories?post=58190"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.transterrestrial.com\/wordpress\/wp-json\/wp\/v2\/tags?post=58190"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}