debian
Tips and Tricks for Using Xen under Ubuntu or Debian
Submitted by specialj on Sat, 2008-05-31 03:19.I’ve been reading through the launchpad bugs for Xen and thought that I could use them to illustrate some tips and tricks for using Xen in Ubuntu or Debian. I ran into some problems with Xen today on a system after having been upgraded from Ubuntu 7.10 to Ubuntu 8.04 and from Xen 3.1 to Xen 3.2. This should help as a checklist when diagnosing various Xen problems.
The reniced package is not a daemon but still potentially useful
Submitted by specialj on Mon, 2008-05-19 02:05.I recently tried the reniced package only to find that it isn’t a daemon at all as is indicated by its name ending in “d”. It’s too bad because if it was it could be useful. It could always be called frequently from cron in order to have a system that continuously adjusts the niceness of running processes. The config file is pretty nice as it’s just a list of a nice level pair with a regular expression to match against the list of processes. This can be useful to change the niceness of processes launched without any other mechanism for controlling the nice level. I found that running firefox and kvm with a niceness of 10 can keep either from making the rest of the system too unresponsive.
Removing package cruft from a Debian or Ubuntu system
Submitted by specialj on Mon, 2008-04-28 19:59.Over time, especially with Ubuntu and it’s 6 month release cycle, a system can contain a number of packages that are no longer needed but still present on the system in some way. I have a number of techniques I use to locate these packages and remove them and I thought I would share them.
Answering package dependency questions using apt-cache and apt-rdepends
Submitted by specialj on Mon, 2008-04-28 04:30.I often find myself asking the same questions about package dependencies. It can sometimes be confusing to remember which command answers which question due to the similarity of the commands. These are the common questions:
Intrusion detection through file integrity checks
Submitted by specialj on Tue, 2008-04-22 20:50.Here are some of the applications with available packages for Debian and Ubuntu:
I’m leaning toward trying Stealth because I like the design. Lots of folks seem to like FCheck for its simplicity.
Determining which installed packages are from universe or multiverse
Submitted by specialj on Wed, 2008-04-16 05:49.I was interested in trying to determine how many packages were installed from universe on the servers I manage. Luckily I came across a helpful discussion titled list installed Universe packages which suggested this command:
comm -12 <(apt-cache dumpavail | grep-dctrl -nsPackage -FSection universe/ |sort) <(dpkg --get-selections | awk '$2 == "install" { print $1 }' |sort)
To get the command to work I had to install the package dctrl-tools (for the grep-dctrl command):
sudo apt-get install dctrl-tools
After that it worked pretty well and can easily be adapted to search for other sections. It turns out that my servers use many packages from universe but none from restricted or multiverse, which is nice.
MySQL 5.1 gets more exciting
Submitted by specialj on Thu, 2008-04-10 05:14.There are a number of things to look forward to in MySQL 5.1 such as the support for data partitioning, new replication methods, and logging to the database. One feature that shows promise is a plugin API to extend the database. This is only as good as the plugins developed and their ease of integration. That’s why I was pleased to see that the Debian MySQL 5.1 package will contain the plugins for PBXT and SphinxSE which are both excellent storage engine projects.
Debian with alternative kernels
Submitted by specialj on Fri, 2008-03-14 02:41.I was noticing that kfreebsd-amd64 and kfreebsd-i386 are now architectures in the Debian unstable repositories. I’ve always been interested in running a GNU operating system with an alternative kernel. Of course, so far nothing has been stable enough to warrant leaving Linux. And besides, Linux does have the best mascot of all the kernels. The Linux kernel is also largely responsible for the rapid growth of the free software movement. Still, the idea is appealing and here’s where things stand with other kernels.
Creating the debian-sys-maint MySQL account on a Debian or Ubuntu system
Submitted by specialj on Thu, 2008-03-13 02:02.I was working on a server running MySQL and found that the debian-sys-maint account not longer existed which caused errors when upgrading the mysql packages. It was relatively simple to fix by getting the password from the /etc/mysql/debian.cnf file and running the following command:
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'password';
In this case the word password is replaced by the value in the /etc/mysql/debian.cnf file.
Kernel Update Day
Submitted by specialj on Tue, 2008-02-12 16:05.New kernel releases have been released by both the Ubuntu and Debian teams. Both address CVE-2008-0600 which could allow an attacker to escalate their privileges. The Debian vserver kernels have also been updated to address CVE-2008-0163 which allows users in one vserver to access information in another. For Ubuntu this comes just a week after the last Linux kernel security update.
Debian 4.0 (Etch) Release 2 Released
Submitted by specialj on Tue, 2008-01-01 20:18.And I had just finished burning some copies of 4.0r1 (onto rewritable discs so they'll be reused). Still I'm happy to have a new version with updated and more secure software included. It also means that people should update their Debian Etch systems as I have been doing the last couple of days. It's also worth reading the Deabin 4.0r2 Release Announcement for an overview of the changes and the Debian 4.0 (Etch) changelog for specific details.
Password Gorilla comes to Ubuntu and Debian
Submitted by specialj on Fri, 2007-12-21 01:10.I’m happy to see that my favorite password manager has finally been packaged for Debian and Ubuntu. I’ve never found a graphical password manager that I liked as much as Password Gorilla. Plus, of all the password saving programs, it has the best name.
Kernel updates available for Ubuntu and Debian
Submitted by specialj on Thu, 2007-12-20 20:58.Time to update those kernels. Here are the details:




Recent comments
2 weeks 4 days ago
3 weeks 2 days ago
8 weeks 3 days ago
8 weeks 4 days ago
8 weeks 4 days ago
9 weeks 2 days ago
9 weeks 2 days ago
10 weeks 1 day ago
10 weeks 1 day ago
10 weeks 1 day ago