Posts

Showing posts from March, 2007

Start building Ubuntu/Debina packages

Hans asked a while ago about packaging software for Ubuntu/Debian. Here are some hints and good pointers, I hope. I have for a long time build RPM-packages for various distributions. When I began to create .debs this was booth good and bad to have a good knowledge about RPMs. Debian has a lot of utilities that makes things very smoothly, there are a lot of these tools I miss when creating RPM:s now days. On the other hand when you are used to describe your package in one .spec-file you may be a bit scared of all files you got in your debian-directory. Briefly described, the debian directory and .spec file has the same goal. They describe how to build the package from the source. I would say that if you are building a very simple package RPM:s are easier but as soon as you want to do more complex things deb:s are easier. for instance one thing you get help with creating debs is restarting daemons correct after upgrades etc, this is a mes for RPMs. I will not describe exactly what to ...

AppArmor is in Universe for Feisty

This morning I got a mail from Kees Cook that told me that the AppArmor packages now is a part of Ubuntus Universe repository for Feisty. I hope we will make it to a really good packages including all the AppArmor functionality for Feisty+1.

In the enterprise world

Except from having a terrible cold this week I have been at two seminaries. The first one was Red Hat and JBoss Value² Tour. Red Hat clearly show that they have entered into the offices of managers, CEOs, CIOs, VPs etc. They also show that they want to lock you in as any other vendor, but they can defend themself that at least the source is open. From a commercial and organizational perspective I think they do one important thing wrong. They are still not shipping proprietary drivers such as wireless, graphic cards, codecs etc. This means that as a system manager one must still handle these things to give the users a pleasant drive on the desktop. Here is an area where other providers such as Suse and also Ubuntu have done a tremendous job. On the other hand Suse trie to lock us in with Yast, even if it is open source, which makes it harder to manage from central point. Ubuntu on the other hand lack of kerberos/ldap/AD integration in main, which is a demand in many organizations. Red H...

Debian package patches

The small amount of time I have spent on Apparmor to day have been to merge my and Kees Cooks work. Then I updated to the latest subversion revision. Now I run into problems with dpatch , which I never have used before. I have to spend some time to look into more details, but it have to be another day. I have not released any new packages to day, but Kees uploaded his packages to revu a few days ago. I will soon watch on Jamie Oliver on TV.

New release of Apparmor packages

I have now repackage the Apparmor packages for Ubuntu as a Multibinary package. This means that the source is one tar.gz-file and I will only need to do one upload to a central repository. Other changes are that they are based on the March 2007 snapshot and include build dependencies. But also minor changes to better conform with Ubuntu/Debian policies. Packages can be found at: http://www.linuxalert.org/ubuntu/apparmor/ . Unfortunately, I can at the moment see any possibility to get them into Feisty. It have to be for Feisty+1. If my assumption is correct I will host my own repository or try to get them in the official backports repository.

Apparmor packages availiable

As I wrote yesterday I am packaging AppArmor for Ubuntu. When I got home from work today I continued my packaging. I have fixed so the kernel modules are loading at boot. Kees was kind to provide me a module-assistant enabled package for the kernel modules. That saved med a lot of work and time, since I never had packaged kernel modules before. Further, I added some dependencies, did some testing and packaged the documentation. You can find the packages here . They are built for Ubuntu Feisty. Normally when building packages from a project you take one tar.gz-file and build one or several packages. With AppArmor it is a bit different. The project provides snapshots of the Subversion tree in several tar.gz-files. As a beginning I build one package from each of the provided tar.gz-files. Later, I hope AppArmor starts to do regular normal releases. I will then revamp the packages to build all packages from one tar.gz-file.

AppArmor for Ubuntu

Last summer I did an effort to build packages of AppArmor ( project page ) to Ubuntu. Unfortunately, I needed at that time patch and recompile the kernel. That took a lot of work and time. I did not manage to spend all that work to maintain the packages. A few days ago I got a mail from Crispin Cowan that Kees Cook had told him that patching the kernel is not necessary any more. Yesterday and today I have spent some time to refresh my packages. The last snapshot of AppArmor from October last year did not compile in Feisty. Instead I took the last subversion revision. The status looks not to good for that either, some of the Perl scripts refers to an undefined variable. I hope I will get some help from the AppArmor guys.

Command not found

Today, I found the command-not-found feature in Ubuntu Feisty. The feature is useful when running commands in bash. If the command you tries to run is not installed you get a suggestion what to install. $ svn checkout https://forgesvn1.novell.com/svn/apparmor/ The program 'svn' is currently not installed. You can install it by typing: sudo apt-get install subversion bash: svn: command not found $ I like! The functionality is included as standard in Fesity.

Naked PC saga continues

I wrote about Dell and Linux a few days ago. ZDnet confirms the problem. They called all five top vendors in UK and asked about buy a naked PC. Some of the vendors said that they could, but when ZDnet tried to they failed. Just as I did with Dell. Up to proof all big suppliers. I want to buy a laptop for my wife. The one of you that let me choose any, not just one, of your models in Sweden without an operating system or with a free Linux pre-installed (preferably Ubuntu) will get the order. Of course it must be cheaper than with Microsoft windows, last time a got €130 in rebate. So you need to be close to that.

Dell and Linux

There have been a lot of discussion about Dell and Linux for a while. Both at Dell's Idea Storm , different news and blogs. It had not only been at Linux and Open source news sites, but also in major computer magazines. Dell seems and confess that they are confused about Linux and how to fit in their business model. Mark describes it pretty well in his blog . He also mentions that taking part in Microsofts marketing budget is important money. This is impossible for the suppliers to admit officially, but several suppliers have told me this of the record. When I bought my new laptop this Christmas, I looked for a specific configuration but also for the possibility to buy one without an OS or with Linux pre installed. Any Linux is better than Windows, even if I replace it with Ubuntu. At a fair here in Sweden early last fall a Dell representative told me that I could buy a laptop without Windows if I called them, but not on the site. When it was time for me to buy my laptop mailed Del...

Bazaar Version Control

I have played a bit with bzr a few days. I have earlier planned to setup a subversion server. The plan was to use subversion instead of cvs. But I thought it was complex to set up, a version control system should be easy to set up and use. I have also heard that there have been some problem when upgrading the repository database and I do not want to loose my repository since I also use it as a backup. Bzr is nice and easy to set up as well as use. It is easy extensible and have good documentation and tutorials . The tutorials makes it easy to start using it. Since it is a distributed system, the thinking when using it must be a bit different. You will get good help reading bzr for CVS users . bzr will be my version control system of choice. It is also used a lot in the Ubuntu community.

Look at Go-open in the sofa

I gave up on my problems with Hauppauge PVR 500MCE. I think the card is broken. Instead I saw a shop selling a KISS PVR 558 for about €200. So I bought one. The box runs Linux and the GPL-parts of the software can be downloaded as source. I can FTP to the box and read and write videos, pictures and audio files. The box support free format such as OGG as well as propitary formats. Through their web service can I program it to record a show where ever I am. I have now uploaded the go-open TV-shows and can finally look at them from my sofa, without having the laptop in my knee. The campaign and shows was sponsored by Canonical and HP among others.

TV card problem, but great Feisty

Image
I did a network install yesterday of Ubuntu Feisty Fawn Herd 5 on my meant to be TV-computer. I have earlier struggled with getting a good picture with my Hauppauge PVR 500MCE. A few weeks ago I noted that Feisty will have full support for the TV-card, including firmware. Today it was time to try it out. It worked out of the box, I did noting extra. Brilliant!! But, a big BUT ... there is still a bad picture. If I amplify the signal, it get worse. If I reduce the signal then it, also, get worse. It looks like there are two problems; noise and not fully correct tuned signal. So on the picture quality view nothing had been better since last time. Does anyone have any ideas? I start to believe that I have a hardware problem, maybe it is time to buy another card. The new feature within Feisty that suggests what application or decoder you need to show a file works great. This feature will simplify for a lot of users. By the way, here is a dump of my dmesg output. Everything looks good, from...

Feisty Herd 5 is out

Ubuntu Feisty Fawn Herd 5 is out. I have not seen any official announcement yet, but I am downloading it. I have also installed Feisty on my laboration computer today. It looks very nice and I have not noticed any major glitches.