To quickly review the latest changes to an rpm package, there’s a handy plugin for yum called yum-changelog. It’s part of the Fedora repository and can be installed by invoking The usage is quite self-explanatory, but here a a few useful examples anyway: To list the whole changelog history of a package, run To list the changelog of a specific… Read more »
Labelling a partition can be quite handy, especially for partitions on usb drives that usually get auto-mounted to a folder that corresponds to their label. Usually the label is set when the partition is created. If the label is not explicitly specified, it is usually auto-generated. To change the label, there are a couple of tools available: ext2/ext3/ext4 partitions You… Read more »
Assumed you want to find the package that contains the shared object libGLU.so.1, e.g. because a binary is dynamically linked against it, and ldd tells you that the shared library requirements are not met. On Fedora (or any yum-type os) you’d run and yum would tell you, that mesa-libGLU comes with /usr/lib64/libGLU.so.1 which could fulfill your need (could because you… Read more »
With the release of Fedora 18, there have been some changes to the /etc/sysconfig directory. For example, switching the default display manager is no longer done by altering parameters in /etc/sysconfig/desktop but via Therefore, to switch from the default gdm to kdm you’d run:
In contrast to Ubuntu (or even Microsoft Windows) default installations of Fedora do not send the client’s hostname to the DHCP server. To change this behaviour, add a DHCP_HOSTNAME variable to your /etc/sysconfig/network-scripts/ifcfg-eth0 file (eth0 being your NIC’s interface name): Of course, this only works if you actually get your IP address via DHCP (since the DHCP server hands off… Read more »
Based on Harald Hoyer’s great tutorial on boot time optimization for Fedora 17, here’s a list of services I usually disable on my Fedora 17 boxes: This is just a memory hook for myself. YMMV and of course what’s expendable depends on the configuration you use on your box. For an explanation of the systemctl mask command have a look… Read more »
Quite a few things have changed since I made the Bootstrapping a Fedora 15 rootserver post, e.g. download urls, anaconda options and the way you add boot targets to grub2 (in contrast to legacy grub). So here’s an updated version… Get initial ramdisk and kernel This is basically still the same as with Fedora 15. The download links have changed… Read more »
In GRUB, the default boot menu entry was determined by the order of entries in /boot/grub/menu.lst, the default one being the n-th specified by the default=n parameter. In GRUB2 the main configuration file /boot/grub2/grub.cfg isn’t usually altered manually any more but automatically generated by invoking grub2-mkconfig. You can change the default boot target by changing the GRUB_DEFAULT paramater in /etc/default/grub…. Read more »
Usually, rpm –queryformat can be used to generate all sorts of rpm package listing. You could, for example, use the vendor tag to separate the packages that are tagged with RPM Fusion from the list of all installed packages (rpm -qa): Unfortunately, there is no 1:1 mapping between rpm’s vendor tag and the install repository. In some cases, the vendor… Read more »
This rather cryptic error may appear during a Fedora 16 installation and simply tries to tell you, that you forgot to create a BIOS boot partition. If you’re doing a kickstart install, a look at Fedora’s Kickstart wiki page may be helpful. A big yellow alert box essentially tells you to add the following line to your kickstart file that… Read more »