Everything is a Freaking DNS problem - rhel http://127.0.0.1:8080/blog/taxonomy/term/479/0 en Packaging Djagios http://127.0.0.1:8080/blog/packaging-djagios <p>After all the politics involved in getting a package in a distro, or not it was time for a nice small and clean package of a fresh and promising open source project. <a href="http://www.djagios.org/" rel="nofollow">Djagios</a> was an easy choice.</p> <p>I've uploade the <a href="http://repo.inuits.be/centos/5/os/noarch/djagios-0.1.3-1.noarch.rpm" rel="nofollow">rpm</a> and <a href="http://repo.inuits.be/centos/5/os/SRPMS/djagios-0.1.3-1.src.rpm" rel="nofollow">Source RPM</a> to repo.inuits.be and getting the SPEC file in the upstream repo was 10 minutes work.</p> <p>Next step is to get it into Fedora , and EPEL :)</p> http://127.0.0.1:8080/blog/packaging-djagios#comments centos djagios epel fedora nagios packaging rhel rpm Sun, 20 Dec 2009 20:42:00 +0000 Kris Buytaert 974 at http://127.0.0.1:8080/blog Packaging Drush http://127.0.0.1:8080/blog/packaging-drush <p>A couple of weeks ago I was once again manually installing Drush as there were no packages for CentOS / EPEL or whatever, apart from the <a href="http://drupal.org/node/502452" rel="nofollow">needed patch </a> to get it running on a 5.1.X RHEL php</p> <p>I had found <a href="http://drupal.org/node/508086" rel="nofollow">this</a> thread on Drupal.org mentioning that a package already exists<br /> however David had not answered the exact location yet<br /> So I created a drush package with a with the above mentionned patch and sent it to Jon Ciesla again he gave some suprising feedback ;)</p> <p><cite><br /> Drush itself might need to be modified in Fedora. It seems<br /> like one of the major functions of drush is to install and update<br /> modules. That's great for modules we don't ship as rpms, but we can't<br /> allow drush to modify modules that we ship.<br /> </cite></p> <p>This feedback pretty much leaves me with 3 options.</p> <p>The first one is the easiest one, I just forget about packaging drush for Fedora.</p> <p>The second one would require me to patch Drush so that for all existing drupal modules that have been packaged for Fedora, Drush will call yum to install them. This obviously would create a lot of work maintaining this excludelist.</p> <p>The third one would be to disable the download functionality for Drush in a Fedora/Rhel enviornment, Jon suggested that this would probably be the saftest path.</p> <p>(Jon also suggested a fourth option, namely removing all drupal modules from fedora and add a prohibition to package them in the Packaging Guidelines, which he immediately called ridiculous.)</p> <p>I once again understand the problem of the Distribution maintainer, but on the other hand if I were the upstream Drush developer I wouldn't want to see my software severely disabled in a distribution.</p> <p>So what do you folks think, disable the functionality or not ?</p> <p>PS. Yes I've contacted upstream , but I haven't gotten a reply yet.</p> http://127.0.0.1:8080/blog/packaging-drush#comments drupal drush epel fedora rhel rpm Sun, 20 Dec 2009 20:41:10 +0000 Kris Buytaert 973 at http://127.0.0.1:8080/blog Drupal 6 for EPEL http://127.0.0.1:8080/blog/drupal-6-epel <p>Some of you might have noticed that Fedora 11 and up already have an up to date Drupal6 version, but EPEL , which is what a lot of people are using on their CentOS or RHEL builds only has a Drupal5. I asked Jon Ciesla, who is maintaing the Drupal packages in Fedora why :</p> <p><cite><br /> Because when Drupal was initially built for EL-5 and EL-5, the 5.x<br /> branch was the current release. It's up to date, 5.20 is the most<br /> recent release, and is still supported upstream in terms of security<br /> fixes. 6 is out, and has been for awhile, but we have the following:</cite></p> <p><a href="http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies" title="http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies" rel="nofollow">http://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies</a></p> <p>Since 5.x isn't broken or insecure, it'll be a tough sell to move to<br /> 6.x. Once upstream drops support, this may change.<br /> </p> <p>It's a correct answer from a Distribution point of view, but the fact is it is widening the gap between the Ops and the Devs. If the ops want to keep their platform clean we need to have our software packaged on the platform we want to use, which is most often an Enterprise Linux distro, on the other there is understandably no hair on a dev's head that he will be building a new site on a Drupal 5 platform.</p> <p>So until the Drupal community doesn't declare Drupal 5 dead, RHEL and CentOS users will have to use 3rd party Drupal6 RPMS , or rebuild the F12 rpm from Source again .</p> http://127.0.0.1:8080/blog/drupal-6-epel#comments centos drupal epel guidelines politics rhel rpm Sun, 20 Dec 2009 20:39:27 +0000 Kris Buytaert 972 at http://127.0.0.1:8080/blog Why openSLES doesn't exist http://127.0.0.1:8080/blog/node/501 <p>Over a year ago I asked <a href="http://www.krisbuytaert.be/blog/?q=node/210">Lazyweb</a>: <cite>I wonder why nobody tried to rebuild SLES like RHEL...</cite>Yesterday .. <a>Dag</a> responded. It indeed seems that the community around Fedora and CentOS is much bigger than the community around openSUSE<br /> The comment from Leo to his posting is confirming that. <a href="http://www.stroobant.be/" rel="nofollow">Luc </a> makes an observation regarding the use of any Suse based product .. namely that people who are using it are stripping Yast from it .. sounds like something I could have said :)</p> http://127.0.0.1:8080/blog/node/501#comments centos closedsuse opensuse rhel sles Fri, 09 Nov 2007 16:41:31 +0000 Kris Buytaert 501 at http://127.0.0.1:8080/blog Multiple Bond Interfaces in Centos/RHEL http://127.0.0.1:8080/blog/node/446 <p>So earlier today I was fighting with </p> <p><cite>bond1: error fetching interface information: Device not found</cite></p> <p>I had a machine with 4 nics that I wanted to bond 2 by to. I had no problem getting the bond0 device up witn any of the interfaces, however getting a bond1 up always resulted in the above error.</p> <p>The friendly guys from #centos on freenode pointed me to the missing config.</p> <p><cite>options bonding mode=4 max_bonds=4</cite></p> <p>The important part being max_bonds<br /> it seems that the default is 1 so adding one more fails.</p> http://127.0.0.1:8080/blog/node/446#comments bond bond0 bond1 centos rhel Tue, 11 Sep 2007 18:28:51 +0000 Kris Buytaert 446 at http://127.0.0.1:8080/blog Taking over management of a Xen box http://127.0.0.1:8080/blog/node/445 <p>So once in a while you get to take over the management of a machine someone installed with no documentation, with lots of playing around and no clue on how it should be reproducible. You're pretty sure that if you reboot the machine it won't come up with the right services, or in this case with the right Virtual machines up and running.</p> <p>So I got this box with about 7 different xen configs in /etc/xen and none in /etc/xen/auto .. however different lvm volumes were created and 3 virtual machines were running. The different xen configs looked all the same.<br /> web1, web, web.orig, web.working you know :(</p> <p>So my challenge was to figure out the config of the running virtual machines<br /> Luckily I bumped into some Redhat articles that tought me virsh dumpxml<br /> Now I`m not really a fan of xml based config but it got me quite far.</p> <p>Eg. on one of my own machines the output looks pretty good.</p> <p><xmp><br /> [root@core named]# xm list<br /> Name ID Mem(MiB) VCPUs State Time(s)<br /> Domain-0 0 619 1 r----- 1242.5<br /> web.hs62.be 1 511 1 -b---- 4648.2<br /> [root@core named]# virsh dumpxml 1</xmp></p> <p><domain type='xen' id='1'><br /> <name>web.hs62.be</name><br /> <uuid>f7cb62b9d3aa8a07489604285fe3d842</uuid><br /> <os><br /> <type>linux</type><br /> <kernel>/boot/vmlinuz-2.6-xen</kernel><br /> <initrd>/boot/initrd-2.6-xen.img</initrd><br /> <root>/dev/sda1 rw</root><br /> <cmdline>selinux=0 3</cmdline><br /> </os><br /> <memory>524288</memory><br /> <vcpu>1</vcpu><br /> <on_poweroff>destroy</on_poweroff><br /> <on_reboot>restart</on_reboot><br /> <on_crash>restart</on_crash><br /> <devices><br /> <interface type='bridge'><br /> <source bridge='xenbr0'/><br /> <mac address='00:16:3e:0a:e8:9b'/></mac></source></interface></devices></domain></p> <script path='vif-bridge'/> <disk type='block' device='disk'> <driver name='phy'/> <source dev='vm_volumes/root-web.hs62.be'/> <target dev='sda1'/> </target></source></driver></disk> <disk type='block' device='disk'> <driver name='phy'/> <source dev='vm_volumes/tmp-web.hs62.be'/> <target dev='sda2'/> </target></source></driver></disk> <disk type='block' device='disk'> <driver name='phy'/> <source dev='vm_volumes/usr-web.hs62.be'/> <target dev='sda3'/> </target></source></driver></disk> <disk type='block' device='disk'> <driver name='phy'/> <source dev='vm_volumes/swap-web.hs62.be'/> <target dev='sda4'/> </target></source></driver></disk> <disk type='block' device='disk'> <driver name='phy'/> <source dev='vm_volumes/home-web.hs62.be'/> <target dev='sda5'/> </target></source></driver></disk> <console tty='/dev/pts/0'/> Might come handy some day</console></script> http://127.0.0.1:8080/blog/node/445#comments centos rhel xen Tue, 11 Sep 2007 18:23:45 +0000 Kris Buytaert 445 at http://127.0.0.1:8080/blog