Stable Release Updates in Fedora

If you missed it there seems to be yet another debate going on about updates in Fedora. I don’t intend to rehash anything. Josh Boyer has a bit of an op-ed post which I think is a good read.

Think of the issue in a simple scenario:
Should Fedora 12, which was released in Nov 2009 with KDE 4.3 receive the recent KDE 4.4 update? Or should KDE 4.4 be reserved for Fedora 13 which will be released in June 2010? And who benefits or loses in each of those options?
(In case you don’t know, KDE 4.4 was available as stable update at the end of February).

My personal opinion is that it really does not matter FOR ME. I do not mind 4-6 month wait for software. (BUT Some people are impatient) And on the flip-side if I get a massive problematic update, I am experienced enough to work through it. (BUT Some people are total newbies)

I read the Stable Release Updates Vision, and the only thing I can express is surprise. I don’t know if Fedora as it exists will accommodate this or if it can work out as envisioned. I would think this puts more responsibility on the contributors (who are mostly volunteers).

I would love to see more stability in Fedora, but I don’t know what the fair cost should be.

Please read the Updates Vision and if you partake in this debate please be considerate of the many different types of users and contributors involved in Fedora.

Fedora and Linux Blogs

I know the trend now is “status updates”, but I still enjoy reading blogs more. And I’ve been doing lots more reading and far less writing lately.

I thought I might share the Fedora and Linux blogs that I enjoy. (Sorry I don’t have an OPML link).


CentOS / Red Hat related

Linux miscellaneous

If you don’t know about Planet Fedora its a great place to peruse through some blogs. The volume is way too high to subscribe.

There are few other Fedora/Linux blogs but they either seem dead or their authors have moved onto other things. Right now, I like my mix of technical snippets as well as general Fedora discussion – especially from the people who put their dedicated effort into it.

ps. Even though I generally don’t read many “Howto” style blogs, I am always interested in recommendations.

Google Wave

I have a dozen Google Wave invites left. Use my contact form with your email and I’ll send you an invite.

Pretty cool, but too bad it eats up 99% CPU and 15% of my memory with Fedora 3.5 in Linux! Maybe 20% ram …

11/27: 1pm EST Still 8 left.

Boot Failure When Fedora 12 Grub Installs to non-MBR Partition

I prefer to keep Windows on the MBR. So I install grub to a separate partition. I then allow the Windows Loader to chainload grub (example).

I noticed a problem with the Fedora 12 Anaconda Installer. If I chose to install grub to the First sector of boot partition instead of the MBR, I get an un-bootable system.

It is easy to see the problem if you compare fdisk output. (I reduced the output for clarity)

Before I installed Fedora 12 32-bit to /dev/sda10

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2089    16779861    7  HPFS/NTFS
/dev/sda4            6268       36479   242677890    f  W95 Ext'd (LBA)
/dev/sda10          23762       25589    14683378+  83  Linux
/dev/sda14          34076       36192    17004771   83  Linux
/dev/sda15          36193       36478     2297263+  82  Linux swap / Solaris

After I installed Fedora 12:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2089    16779861    7  HPFS/NTFS
/dev/sda4            6268       36479   242677890    f  W95 Ext'd (LBA)
/dev/sda10  *       23762       25589    14683378+  83  Linux
/dev/sda14          34076       36192    17004771   83  Linux
/dev/sda15          36193       36478     2297263+  82  Linux swap / Solaris

The boot flag is set to the wrong partition.

To fix this problem

Just boot with a CD/DVD, choose “Rescue” mode and run fdisk at the shell to change the boot flag. If you need more help, details follow:

  1. Boot with the system using your Fedora DVD or CD#1.
  2. Select “Rescue installed system”. (Select the proper settings, networking is not necessary)
    At the “Rescue” screen, you can “Skip” the mounting of your installed system.
    At the “First Aid Kit quickstart” menu, Select “shell”.
  3. At the shell prompt, use fdisk (BE CAREFUL!)
    bash-4.0# fdisk /dev/sda
    Command (m for help): a        (toggle bootable flag)
    Partition number (1-15): 10    (the partition you installed Fedora)
    Command (m for help): a        (command needs to be run twice)
    Partition number (1-15): 1     (the partition with MBR)
    Command (m for help): p        (verify everything looks correct)
    Command (m for help): w        (write table to disk and exit)
    The partition table has been altered!
    Calling ioctl() to re-read partition table.
    Syncing disk.
  4. Reboot.

I doubt this will affect many people since most people choose to install Fedora directly to the MBR. However I am reporting here in case someone else might find this useful. I noticed this a few days ago on Fedora 12-Beta 64-bit, but I had been too busy to check the bug reports. Will do that soon.

If you run into this problem (or similar) please leave a comment or contact me.

UPDATE: Should be fixed for Fedora 13. Bug 533658

Fedora 12 Released

It’s that time of year again, the Fedora Project announced the release of Fedora 12.

This release has received a great deal of polish, and with that plenty of media and documentation to go along with it.

Please see what’s new in Fedora 12. Some of the highlights include:

  • Optimized performance – The 32-bit packages have been compiled for i686 systems
  • Faster updates – The yum-presto plugin is default and RPM has updated its compression format
  • More comprehensive networking and broadband support
  • Next-generation (Ogg) Theora video
  • Bluetooth on-demand
  • Moblin graphical interface for netbooks
  • Gnome 2.28
  • KDE 4.3 (with updated “Air” theme)
  • Better webcam support
  • Better tablet support
  • Improvements to Virtualization

There is also available a condensed form of the release notes in 1 page, also in PDF.

As always, you can download Fedora 12 using the standard mirrors or using the Torrent (recommended).

When reading through all the information and documentation, it is easy to tell that a great deal of polish went into this release! Happy installing.

NT Bootloader Update

This post really has no purpose other than just a snapshot for me.

My current c:\boot.ini:

[boot loader]
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINNT="Microsoft Windows 2000 Professional" /noexecute=optin /fastdetect
multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
c:\linux1.bin="[ sda7]  Fedora 11   (32)  [06/2009]"
c:\linux2.bin="[ sda8]  Fedora  9   (32)  [05/2008]"
c:\linux3.bin="[ sda9]  Fedora 11   (64)  [06/2009]"
c:\linux4.bin="[sda10]  Fedora 10   (32)  [11/2008]"
c:\linux5.bin="[sda11]  CentOS 5.3  (32)  [07/2009]"
c:\linux6.bin="[sda12]  OpenSuSe 11 (32)  [10/2008]"

That F9 and F10 will be replaced with F12 (beta at the moment). I might even drop in a Ubuntu Karmic Koala in there somewhere (if I get the time).

I know, I really need to retire my Windows 2000!
I think I also need to repartition that system!

Or best idea: I should get a new computer that supports KVM and switch to virtualization instead of this octuple-boot nightmare !!!

Time to start saving …

SSH Client Configuration

I have a VPS which is host to many websites. Some of those sites are permitted ssh access for their admins. However I am the admin to several sites myself. Each site has a different username (login/password) for administration. Additionally I have changed the ssh port to a different number (instead of the default 22) to avoid some script/bot attacks.

All of this makes for very inconvenient ssh usage and plenty of typing errors. For example:

# ssh -p33333
# ssh -p33333

Fortunately ssh provides a client configuration file to make “shortcuts” for things like this.
If you start by reading the ssh_config man page:

# man ssh_config

It will reveal 4 useful options:

  • Host – A “shortcut” name which can be used instead of the full hostname address.
  • Hostname – The real host name which is the actual server to log into.
  • Port – Port number on the host server.
  • User – The username used to log in. Typically ssh will use the current unix username if not specified.

So using the above example. I created the the file: ~/.ssh/config:

[mirandam@atlas ~]$ cd .ssh
[mirandam@atlas .ssh]$ touch config

with the following contents:

Host site1
Port 33333
User username_site1

Host site2
Port 33333
User username_site2

Now I can ssh to either site with a simpler command. These do exactly the same as the previous ssh commands:

# ssh site1
# ssh site2

NOTE: Read the man page carefully. If you see the following error:

Bad owner or permissions on /home/mirandam/.ssh/config

This means you did not properly set the permissions on the config file. To fix:

# chmod 600 ~/.ssh/config

There are many other options in the config file for users who might have more specific options (X11 Forwarding, Timeouts, Compression, etc.).
For anyone with multiple ssh accounts on different servers, this is very convenient to implement. Note this also works for scp and sftp.