Tag Archives: Fedora

Viewing package changelogs with yum

      No Comments on Viewing package changelogs with yum

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 »

How to label a partition

      No Comments on How to label a partition

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 »

Search for a package containing a certain file

      No Comments on Search for a package containing a certain file

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 »

How to send a client’s hostname to the DHCP server

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 »

Expendable Fedora 17 default services

      No Comments on Expendable Fedora 17 default services

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 »

Bootstrapping a Fedora 17 rootserver

      No Comments on Bootstrapping a Fedora 17 rootserver

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 »

Change GRUB2 default boot target

      2 Comments on Change GRUB2 default boot target

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 »

How to list rpm packages from certain repository

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 »