Category Archives: Technology and Society

Weird Linux Problem

Anyone have any ideas why I can’t do a yum update in Fedora? Or rather, why I can’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: ‘/var/cache/yum/x86_64/20/adobe-linux-x86_64/repomd.xml.old.tmp’

Here’s what I’m seeing at /:

# ls -l
total 65
lrwxrwxrwx. 1 root root 7 Dec 11 2013 bin -> usr/bin
dr-xr-xr-x. 6 root root 4096 Dec 22 14:47 boot
drwxr-xr-x. 21 root root 3520 Dec 24 09:15 dev
drwxr-xr-x. 140 root root 12288 Dec 24 09:15 etc
drwxr-xr-x. 4 root root 4096 Dec 20 2013 home
lrwxrwxrwx. 1 root root 7 Dec 11 2013 lib -> usr/lib
lrwxrwxrwx. 1 root root 9 Dec 11 2013 lib64 -> usr/lib64
drwx——. 2 root root 16384 Dec 11 2013 lost+found
drwxr-xr-x. 2 root root 4096 Nov 7 16:53 media
drwxr-xr-x. 3 root root 4096 Dec 20 2013 mnt
drwxr-xr-x. 4 root root 4096 Oct 29 15:18 opt
dr-xr-xr-x. 222 root root 0 Dec 24 09:14 proc
dr-xr-x—. 12 root root 4096 Dec 22 15:33 root
drwxr-xr-x. 34 root root 900 Dec 24 09:17 run
lrwxrwxrwx. 1 root root 8 Dec 11 2013 sbin -> usr/sbin
drwxr-xr-x. 2 root root 4096 Aug 7 2013 srv
dr-xr-xr-x. 13 root root 0 Dec 24 09:14 sys
drwxrwxrwt. 12 root root 280 Dec 24 09:21 tmp
drwxr-xr-x. 12 root root 4096 Dec 11 2013 usr
drwxr-xr-x. 21 root root 4096 Dec 24 09:14 var

Here’s /var:

# ls -l /var
total 112
drwxr-xr-x. 2 root root 4096 Dec 11 2013 account
drwxr-xr-x. 2 root root 4096 Aug 7 2013 adm
drwxr-xr-x. 14 root root 4096 Dec 20 2013 cache
drwxr-xr-x. 2 root root 4096 Aug 5 21:27 crash
drwxr-xr-x. 2 root root 4096 Aug 2 2013 cvs
drwxr-xr-x. 3 root root 4096 Oct 2 09:32 db
drwxr-xr-x. 3 root root 4096 Dec 11 2013 empty
drwxr-xr-x. 2 root root 4096 Aug 7 2013 games
drwxr-xr-x. 2 root root 4096 Aug 7 2013 gopher
drwxr-xr-x. 3 root root 4096 Aug 7 17:19 kerberos
drwxr-xr-x. 46 root root 4096 Dec 24 09:14 lib
drwxr-xr-x. 2 root root 4096 Aug 7 2013 local
lrwxrwxrwx. 1 root root 11 Dec 11 2013 lock -> ../run/lock
drwxr-xr-x. 15 root root 4096 Dec 24 09:15 log
lrwxrwxrwx. 1 root root 10 Dec 11 2013 mail -> spool/mail
drwxr-xr-x. 2 root root 4096 Aug 7 2013 nis
drwxr-xr-x. 2 root root 4096 Aug 7 2013 opt
drwxr-xr-x. 2 root root 4096 Aug 7 2013 preserve
lrwxrwxrwx. 1 root root 6 Dec 11 2013 run -> ../run
drwxr-xr-x. 10 root root 4096 Dec 11 2013 spool
drwxrwxrwt. 539 root root 36864 Dec 24 09:15 tmp
drwxr-xr-x. 2 root root 4096 Aug 7 2013 yp

I tried to just create a file in /root, with no success (though that’s not really surprising, given the permissions). What’s really weird is that I have no problems writing as a normal user. It’s just a problem with root. Which is, of course, a big problem. I’ve tried rebooting, with no joy.

[Later afternoon update]

OK, I’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’m reinstalling software, which is going very fast, because the SSD is very fast. With the new quad-core processor, I’m cooking with Crisco. Nice Christmas present to myself.

[Update a few minutes later]

Wow. Just did a reboot after a bunch of updates. Ten seconds.

Marsha Ivins

doesn’t like the asteroid mission.

Some Twitter responses:

Jerry Pournelle

He apparently suffered a minor stroke. From his son, Alex:

Jerry had a small stroke. He is recovering well at a local hospital. Prognosis is good, though they’re running more tests and he’s expected to stay at least another day or two.

“He felt well enough to call Mom [Mrs. Pournelle] from the hospital.

“Thank you for your thoughts and prayers. More updates when we have them.

I saw him a few weeks ago, and he seemed to be doing as well as a man his age who has recovered from a brain tumor could be expected to. Best wishes for a rapid recovery.

Friday’s Barge Landing

Here‘s the SpaceX press release. Note that no government agency is funding them to do this. It’s actual internal R&D, a rarity in this industry, at least up until now. Also, if NASA was doing this, they’d spend billions up front on analysis. In contrast, SpaceX is flying, and failing, and improving, and flying again, and failing and improving. They may not land on Friday, but they’ll be a lot closer to being able to do it.

[Update a while later]

Why the CRS-5 mission could change everything.