Search Results: "tg"

25 June 2006

Andres Salomon: freenode again

So apparently last night, Freenode was compromised. Even worse, there’s the potential that passwords were compromised. Freenode’s policy of requiring you to register via Nickserv created a nice policy of forcing people to use passwords for IRC (of all things), which makes this even sadder. Then again, it also finally chased me off that godawful network (which is a good thing).

22 June 2006

Jonathan McDowell: There's no point signing email with an unpublished PGP key.

I got some bounces today from Nationwide (no doubt spam backscatter), but the interesting thing about them was that they were PGP signed. Some digging reveals that Nationwide seem to sign their outgoing mail, which is nice to see. Further digging fails to find any nationwide.co.uk keys on pgp.net, keyserver.net or pgp.com. Well that's useful, isn't it? They're not the only people who do this - I regularly see posts to mailing lists that are signed but the key isn't available. Why bother signing mails if your public key isn't out there? It doesn't really give the impression you understand why you're signing things.

20 June 2006

Carlos Villegas: /sbin/bootchartd and KDE

After finding out that bootchart wasn't considering the whole time for KDE to start up, we are trying to modify bootchart so it ends up with another program. The changes doesn't seem to be working for the moment as the program selected to end logging can't be found in bootchart.tgz. Anybody familiar with this?
On the other side, we are considering to add ELF prelinking as one of the hotpots to decrease the boot process time. Probably it could help when big programs start that need to link to many libraries, e.g. KDE.
Well, as a remark, anonymous comments are now enabled in the blog and a contact address has been added to both, the webpage and the blog.

16 June 2006

Tollef Fog Heen: Ubuntu dapper for SPARC released

A bit later than the others, with a bit of manual hacking of debian-cd scripts as well as the publish-release script (so we didn't lose the other arches) and with a great effort from Fabio, Adam and Celso, Dapper for SPARC (with Niagara support) is now out. It got delayed due to the tg3 NIC on the T1000 and the kernel not playing to nicely together.

14 June 2006

Gunnar Wolf: Comas is moving

Hi! This is Comas, the conference management system we all know and love! Perhaps you remember me from /www.consol.org.mx/">/www.consol.org.mx/">CONSOL 2004 and 2005, Debconf 5 and 6, CICOL, Seminario Globalizaci n, Conocimiento y Desarrollo or other such great conferences! Well, it is a pleasure for me to announce I am moving.
That's right - My developers have felt too constrained by CVS to keep being merry and productive, and decided to move away from it and to Subversion. If you are tracking my development history, you should have noticed a new file in my base CVS directory, called DONT_USE_THIS_REPOSITORY_ANYMORE. I will reproduce it here following Gunnar's wishes, and hoping it is useful to you.
PLEASE DON'T USE THIS REPOSITORY ANYMORE! Just in the meantime, while we migrate our current installations to point to the correct server, while our users take note, and while the kind GBorg admins lock down this project: PLEASE DON'T USE THIS REPOSITORY. WE HAVE MOVED. The Comas project will no longer be hosted at GBorg - We are moving to Debian's Alioth.
Comas' webpage (although it is still ugly :) ) is still the same as always. The repository will no longer be handled through CVS - We switched to Subversion. Don't worry, the usage is basically the same. You can use anonymous access to get the Subversion tree. If you want to participate in the project, register at Alioth and ask us for commit access. You can also use the very nice SVN Web interface, which allows you to look at each of the files, view the changes, and even subscribe to the Comas RSS feeds! Development goes on. Stay tuned! Greetings, - Gunnar Wolf
Of course, as in any migration, there is still a lot of things to do. Mail the other contributors and interested people notifying them of the move. Migrate (and check the validity of) any tickets we have in the old site. Point all the places where there is Comas-related information to the new repository. Close the existing project page at GBorg. Sanely re-structure the repository in a more standard and functional way (and hope it does not break current installations ;-) ). Rework the documentation that has been neglected in the last months. Rework the bits of logic that never smelt very good but -as a dead rat- now positively stink. Fixe the things that will eventually stink as well... Anyway, I'm sure this will speed up my growth!
I am very excited on which way my dear authors will continue to push me - I know I'm quite a lousy program for many things, and I know there is a lot for me to learn until I am a military-grade conference management system - But my many parents have written me with deep love, and I understand they had to write hastily parts of my code. I understand their mistakes, but I hope they make them go away soon.

13 June 2006

Aigars Mahinovs: F-word on BBC and shot Muslims

Pre-story: In Forestgate in London police stormed inside a house, shot one man and arrested him and his brother. After 10 days it turned out that no evidence of any gilt to them was found in the raid and the raid is only based on some secret intelligence. During the day when I was watching the news the brother that was shot was describing how policemen dragged him down the stairs shouting him to "Shut the f*** up!", the F-word was bleeped and that was ok. The real surprise to me was that it was not bleeped out when retransmitted in the evening news at 22:00. I am glad that UK's media are not as puritan as USA's. P.S. I think that this incident with another innocent Muslim person being brutally shot by the police without any warning is the best thing that Al Quaeda could have organized. I just hope that this will get the same outcry internationally as here in UK and that will turn the tide from "war" to "freedom".

Bartosz Feński: step closer to upgrade of my server

I've got a new second hand hardware for my server, so I'm step closer to upgrade it eventually. Right now server is running on an old Celeron 300MHz, 256MB of RAM and 80GB hard disk.
(fenio@serwer)~$uptime
14:19:07 up 59 days, 21:57, 1 user, load average: 10.70, 10.75, 10.61
(fenio@serwer)~$
As you can see it's very loaded. Mainly because of Apache which eats almost whole CPU power serving about 40 domains. In addition almost each domain have virtual mails, ftp and sql base. So it's about time to upgrade it. New hardware is 2xPentium III 733MHz, 1GB of RAM and 2x250GB disks. I hope that'll be enough for some time. I didn't decided yet how to use disks... LVM comes to my mind, but maybe RAID since I've got hardware controller for that? RAID0 seems to be interesting solution and should increase overall performance. Changing hardware seems to be great opportunity to finally switch from Woody to something newer. Am I last person still using Woody these days? :) I'm going to finally use some software that'll allow me to put some duties on users instead of me. I mean some software helping administration of virtual hosts. I found three interesting projects for that purpose: Any experience with some of them? Any recommendations? Or maybe something else I missed during search? My personal wishlist is: Any hints? ;)

10 June 2006

Martin F. Krafft: DNS server selection, and why not to BIND yourself

I have been searching for a new DNS server for quite some time now. Among the ones I inspected were:
  • MyDNS, which seems interesting, but so far hasn't won my fancy because it has hardcoded SQL table names which do not at all fit in with our infrastructure, so I'd have to provide translation views (which isn't that much trouble). Upstream seems active, the bug count is low, but according to popcon, a whopping total of 0 participating people have mydns-pgsql installed. No wonder. Mh. Also, the package is unavailable on amd64 at the moment.
  • MaraDNS, which looks good and has a nice configuration file format, very similar to the djbdns (which I really like). The maintainer has indicated he'd prefer someone to adopt the package, not sure if I want to do that. Upstream seems active (and responsive), the bug count is equally low, popcon lists 35 installations.
  • nsd, which looks good but uses BIND-style zone files. No thanks! Read this about parsing them. I am just not all too thrilled about redundancy and brittleness.
So with all of the above, it comes down to MaraDNS or PowerDNS for me, depending on whether I want flat files (easy to maintain by separate users, with permissions set with per-domain granularity) or SQL (flexible, but not as easy to control access). My goal is to give certain users complete control over their own zones. Anyway, in the process, I did look at BIND 9 again, simply because it certainly has some interesting features the others do not have, namely nsupdate, DNSSEC, TSIG, and IPv6. So with the help of this awesome document on starting with a secure BIND configuration, I got the name server up and running with only few problems (zone files suck). However, it did not take me long to abandon it for good: The reason is #372591. I have found that the only way to give users the ability to create and modify zone files for their own domains in a fail-proof manner (so that they don't accidentally screw up permissions), is by using POSIX ACLs, so that each zone file has permissions like this:
# file: zones/belligerence.net
# owner: madduck
# group: dnsmasters
user::rw-
group::r--
group:bind:r--
mask::r--
other::---
BIND, however, insists on checking the standard Unix permissions of files it reads and fails rather verbosely if it decides that it cannot, or rather should not be able to read them:
Jun 10 15:36:15.871 client 84.7x.xx.129#33283: query: belligerence.net IN A
Jun 10 15:36:15.871 client 84.7x.xx.129#33283: error
I've let of most of my steam on IRC, but for the record, here's Bernhard R. Link's explanation, quoted with permission. He did point out that he knows only very little about BIND and comes at this rather from the point of view of the system-level privileges.
When POSIX permissions fail, it's always hard to decide. The system might not be able to drop root permissions properly and one might end up reading stuff not intended to be read. It took some time in Unix history to get privilege dropping right, and there's nothing worse than a BIND suddenly sending out your shadow file. the point is, bind needs root to bind to its ports. Then it has to make sure that root privilege is not abused. That can be either done by making sure on is only the specific user (which is hard to do portably, and sometimes fails), or double check you only access what you are allowed. Ideally it should drop privileges good enough, but given how often this failed in the past, double checks are a good thing.
I disagree. Of course it's hard to argue that double checks aren't a good thing, especially when it comes to security issues with respect to an application that has one of the worst security track records of all Unix applications. However, what BIND is doing here is covering up a potentially greater problem: if the underlying system does not handle privilege drops properly, then that needs fixing. If an admin runs such a system, there's the root of the problem. It helps only marginally that BIND is trying to help prevent attacks. Fix the problem at its root, don't fix or patch for the symptoms! Now, of course, it does not really hurt that BIND does these checks. However, if it does them, it should at least be less na ve about them. POSIX ACLs have been around for, what, almost 10 years now. Go figure. Btw: this applies to many other tools/standards in the Unix world. scp, for instance, also cannot handle ACLs. So MaraDNS or PowerDNS?

Steve Kemp: Looks like a shotgun wedding to me

Last night I reinstalled Debian GNU/Linux upon my laptop so that I could have a clean starting point and a simple LVM setup. Why? Well xen-tools has had half-hearted LVM support for a few months, but not complete. And waiting for other people to add fixes has become unbearable. So now I have a 7Gb root partition and a 12Gb LVM group which can be used to create new Xen instances upon. (Or for anything else I guess!) Speaking of Xen Tools. Yesterday was a major day of work. I’ve split up the code from one monolithic script xen-create-image into three simpler programs which are called in turn:

7 June 2006

David Pashley: Converting Epoch Time values To Timestamps

Just a quick one. If you've ever created a table using the number of seconds since 1970 and realised, after populating it with data, that you really need it in a TIMESTAMP type? If so, you can quickly convert it using this SQL:
ALTER TABLE entries 
   ALTER COLUMN created TYPE TIMESTAMP WITH TIME ZONE
      USING TIMESTAMP WITH TIME ZONE 'epoch' + created *interval '1 second';
With thanks to the PostgreSQL manual for saving me hours working out how to do this.

Dirk Eddelbuettel: Vraiment mal!

A few days ago, AvantGo syncing to my trusted (yet dated) Tungsten C failed all of a sudden. As I hadn't updated anything on the Kubuntu / Ubuntu box I use as my home workstation, and the (aptly named) malsync library which implements the protocol under Linux/Unix didn't change, I was a tad puzzled. Perusing AvantGo's website was pointless. Years ago they mentioned Linux support via the (unsupported) malsync library, now they seem to hide it. So what the heck, off went an email to AvantGo's support. To their credit, a reply arrived within 48 hours. While they pointed me to a Mac OS X answer (eek!) in their knowledgebase, it contained the basic hint: new prc files for a new version were required. So Google: if someone asks you why AvantGo syncing from Linux all of a sudden fails, tell them to get the new files from here. The app is now called M-Business and requires a fresh setup of server, id and password; but you're off to the races afterwards.

5 June 2006

MJ Ray: Debian-Legal Package List May 2006

May 2006 traffic discussed bacula cdbs cxxtools db3 db4.2 EiffelStudio ipv6calc ircd-irc2 java*-runtime/compiler libapache-mod-proxy-html libfaad* libx264* libjlha-java maxdb-doc opensaml postgresql sharpmusique sork-* sun-java5-jre tetex tremulous wget xfonts-utils [link to my index]

2 June 2006

Evan Prodromou: 13 Prairial CCXIV

The Globe and Mail had an article today about a new Ubuntu version in the works. (I think the headline writer screwed up.) It's good to see a Linux distribution's release covered in the mainstream press.

Uwe Hermann: OS Install Experiences - Part 3: PC-BSD [Update]


Note: This article is part of my OS Install Experiences series.
I'll continue with the recently released operating system PC-BSD 1.1, which is based on FreeBSD 6.1. This is actually the first time I installed a BSD-like OS, so I thought it would be a bit of a hassle. But I was surprised to find that the install was really pretty easy (which is a major goal of PC-BSD, as I understand it). I didn't even read a manual or installation instructions or anything... Install
  1. First, I downloaded a PC-BSD 1.1 CD #1 image, burned it on a CD, and booted from that.
  2. The first installer screen is text-based (later it's graphical), and allows you to choose between a normal install ("boot FreeBSD"), install "with ACPI", "safe mode", "single user mode", and "with verbose logging". You can also "escape to loader prompt", or "reboot".
  3. While the installer runs, it merely shows a nice desktop background, pressing any key shows you the boot messages.
  4. After a while you can select a screen resolution for the graphical installer, run fdisk, escape into an "emergency shell", chroot into the root partition, or reboot. Default is to start the installation at a pre-selected screen resolution.
  5. You can choose the language and keyboard layout. Although you can click "back" to return to previous steps in the installer, you can not go back to the language/keyboard selection later!
  6. Partitioning. First, you can choose on which disk to install, then choose the partition to use. The list only shows the primary partitions and an "extended DOS" partition. Device names for disks are a bit different in BSD world. /dev/ad0 (counting starts at 0) is the first disk, /dev/ad0s1 (counting starts at 1) the first "partition" (called "slice" in BSD). It doesn't seem to be possible to install PC-BSD on an extended partition (please correct me if I'm wrong), so I installed it on /dev/hda2 (/dev/ad0s2 in BSD-speak), which is a primary partition. To make things more complex and confusing, a BSD slice can contain multiple "partitions" (not the same as Linux partitions!). I now have /dev/ad0s2a, which is the boot partition, and /dev/ad0s2b, the swap partition. Confused? Me too.
  7. Note that changes made to the partition table seem to be effective immediately, there's no way to go back without losing data! Debian's installer is better at this. The default PC-BSD file system is UFS, btw.
  8. The hardware will be automatically detected (worked quite well for me).
  9. You can now choose to either install the BSD bootloader in the MBR, or install no bootloader at all. Not sure what the best thing for me is here, but I decided to install the BSD bootloader (overwriting GRUB). I might have to re-install GRUB (and tell it about PC-BSD) if the BSD bootloader cannot boot the other (Linux) OSes.
  10. Now I must enter the root password, and I can also create another user. I noticed that passwords can only contain alpha-numeric characters (no %$ ,.#+!? and so on). WTF? They can't be serious... Also, you must enter a real name for the normal user, it won't let you continue until you type something... Pretty annoying. There's a checkbox called "Auto-Login User?" which is enabled by default, but I didn't find out what exactly that does...
  11. The network is successfully auto-configured via DHCP. I was not asked for a hostname, but typed hostname after the install and I got PCBSD.localhost.
  12. Reboot. The CD is not ejected automatically, you have to remove it manually before booting up.
  13. I'm asked to insert CD 2 (language packs), which I don't have (or want), as I only burned CD 1. Clicking "abort" does the trick, and I can continue with English as the default language.
  14. Finally, I'm dropped into a KDE session, and that's it.
Security That's it. Comments, suggestions, flames? Update 2006-06-02: Added IPv6 netstat/sockstat output.

27 May 2006

Arnaud Fontaine: Google's summer of code has begun

I was really glad to be accepted for Google Summer of Code. My (accepted) proposal was on DWTT (Distribution Wide Tracker Tool) and CRMI (Collaborative Repository of Meta-Informations about source packages) mentored by Raphaël Hertzog. I have worked a bit on DWTT today and have written a webpage on the Debian wiki about the project. I'm currently pondering which is the best python framework to use : Having recently used ZODB (this means Zope Object DataBase) in a project, I think it's a great object database because it's very tightly integrated with Python, which makes it easy to use for programmers. ZODB is python-specific though, whereas SQLObject backends (for MySQL and Postgres) makes it language-independent. In the next weeks i will work on DWTT design. Until june 16, I have a lot of school work, which is why I won't have enough free time to work on the project, hence a slowdown in the project.

25 May 2006

Uwe Hermann: OS Install Experiences - Part 2: SUSE Linux


Note: This article is part of my OS Install Experiences series.
Next up: a SUSE 10.1 install. It's been a few years since I touched a SUSE distribution (it was something like SUSE Linux 5.3 or so), a lot has happened since then... Here's a rough sketch of the installation and a few superficial remarks and facts related to security. Install
  1. First, I downloaded a SUSE 10.1 CD image, burned it on a CD, and booted from that.
  2. The installer that showed up is graphical, and you can choose between a normal installation, booting a rescue system, or running a memory test (uses memtest86, I presume).
  3. While the installer runs it merely shows a rotating logo, but you can switch to other consoles (ALT+F1, ALT+F3, ALT+F4) for watching log messages passing by.
  4. You can choose the language used in the installer, later also your timezone and keyboard layout. You can also check the installation medium, which verifies the checksum of the CD, I guess.
  5. Next, you'll be asked to accept a license agreement (yeeaah, whatever).
  6. Your hardware will be automatically detected (worked quite well for me), and after that you can choose between a new install or a system upgrade.
  7. As for the desktop, you can use GNOME, KDE, text-mode (no desktop), or a "minimal graphical system" (it turns out that means fvwm, at least that's what I think).
  8. The graphical partitioning tool feels a bit awkward at first, I needed several tries until I figured out how to make it use the layout I wanted it to. The default file system suggested by the tool is ReiserFS.
  9. There's an explicit option which lets you choose the default run-level for the system (run-level 5 is pre-configured).
  10. The bootloader, GRUB, recognized the other partitions (Debian stable + unstable), added an entry for SUSE Linux, and created a working setup. Nice, although more control over the process (e.g. naming of the boot options) would be nice.
  11. Reboot.
  12. I'm asked to insert CDs 2 and 3, which I don't have (or want), as I only burned CD 1. Clicking "abort" a few times does the trick, and I can continue by choosing a hostname and domain name for the box (hydra + local.domain).
  13. Now I must enter the root password. Very nice: I have the choice between DES, MD5, or Blowfish (SUSE default) for the hashing/encryption of user passwords.
  14. Afterwards, the network is configured (automatically, via DHCP). You can enable a firewall at this point, and enable/disable access to the ssh port explicitly. It's also possible to enable "VNC remote administration" (default: off), or configure a proxy.
  15. Authentication methods for users, available from the installer: local (/etc/passwd), LDAP, NIS, Windows Domain.
  16. When adding a new user, there are some options. Per default, the user is in the groups "users" (no per-user groups, it seems), "dialout" and "video", but that can be configured. Password expiration is disabled. The default shell is bash.
  17. And now... another registration message (in the release notes, actually). May I quote (from my head): The registration procedure transfers zmd's unique device identifier to Novell's registration web service. The information sent may also include OS, version, architecture, and the output of uname and hwinfo, according to that text. More on that later, maybe...
  18. Of course, SUSE Linux comes with SUSE's/Novell's AppArmor enabled by default, but I haven't looked into it, yet.
  19. Now some problems appeared. More hardware discovery took place, it seems, then the screen turned black (with only a non-blinking cursor in the upper left), no reaction to any input -> I performed a hard reboot.
  20. After booting, I'm dropped into fvwm (although I chose GNOME in the installer), the reason probably being the forced reboot. After looking around a bit in the menus and stuff, I wanted to start sax2 (to find out what it does), but the screen turned black again -> another hard reboot. Could it be that I don't have enough RAM for this (256 MB)?
  21. Anyways, at this point I lost interest in playing with the system any further, and gathered the below information for comparison reasons...
Security That's it. Comments, suggestions, flames?

Carlos Parra Camargo: Typo 2.6.0_with-rails release

In typo page were asking for mirroring a typo 2.6.0_with-rails so i added this line in typo wiki: Mirror 6: tar.gz (from Carlos Parra Camargo) If you didn't know it, this web page run typo 2.6.0 ;)

21 May 2006

Andrew Pollock: [life/americania] Time flies when you're having fun

Half a year ago yesterday, I stepped off a plane in the United States. It's been an eventful 6 months, as can be seen from reviewing my blog, and I thought I'd summarise the top 10 things I like and dislike about living in this country as opposed to Australia. Ten things I like about living in California:
  1. Plenty of sunshine Love the sunshine. It was a bit wet in winter and early spring, but I'm told that it should be pretty much rain (and cloud) free for the rest of the year. Daylight saving also helps make enjoying the copious amounts of sunshine easier, it doesn't get dark until well after 8pm.
  2. The public transport options, particularly in San Francisco are vast Particularly in San Francisco, your options for getting around the city are huge. You've got the BART, the Muni (which covers about three distinct forms of public transport in itself), and the VTA overhead electric and petrol powered buses. Elsewhere in the Bay Area, you've got the Caltrain, and VTA light rail and buses.
  3. Petrol pumps You need never darken the door of a petrol station. Everywhere has pay at the pump (with plastic of course), and the pumps all have the automatic latch, so you don't even need to stand at the side of the car holding the handle while it fills up.
  4. Free parking This was a big change, coming from Canberra, which has a love affair with pay and display parking. Even the multi-storey and underground carparks in the downtown areas are free.
  5. Pedestrian crossings that countdown No excuse to get skittled because you thought you could make it in time. You known exactly how long you've got before you'll get mowed down before you step off the side of the road.
  6. The postal system Saturday delivery. Every mailbox is an outgoing mailbox (just put the little flag up).
  7. Right turns on red This is a real time saver. I can't see why Australia couldn't adopt this for left turns. The only downside is you can spend so much time looking to your left for a break in the traffic to dart out in, that you miss your green arrow (but that's what the guy behind you and his horn is for).
  8. Corporately run rental apartment complexes Instead of having an apartment complex where individual landlords own each apartment, the entire complex (and they tend to be larger) is owned by a mega-corporation that employs half a dozen people to maintain it and run it as a business. The upside is they tend to have better facilities, an onsite office (great for receipting packages delivered during the week), onsite maintenance (some places even have a service-level agreement). This offers some economies of scale that you wouldn't otherwise have.
  9. At least the perception of a low cost of living I haven't done the sums, and it's probably partially because the bills come monthly instead of quarterly, but all the utility bills seem fairly low and reasonable. Dollar for dollar, petrol is also cheaper, even though it's jumped a dollar a gallon in the time we've been here.
Of course, one must take a balanced look at these things... Ten things I don't like about living in the United States:
  1. The currency Not a big fan of the notes. I miss the one and two dollar coins, and the distinctiveness between each denomination. I figure that vending machines over here must be so much more expensive because they have to have a note reader, and even then, the treasury decides to produce some new oddball note that half of the readers don't recognise... I blame tipping. If there were no tipping, the utility of one dollar bills would diminish enormously.
  2. The government bureaucracy As my blog records, I haven't exactly had a smooth run with the system over here...
  3. The banking system The banking system in general is woeful by comparison. The cheque (or check) still reigns supreme, whereas it's nearly obsolete in Australia. There's no such animal as BPay (and oh how I miss it). In fact, the equivalent system here often involves the bank cutting a cheque on your behalf and mailing it to the biller. How ridiculously antediluvian is that? Oh, and I miss vaguely decently authenticated electronic payments. I've been at cafes were I've paid by credit card, and haven't even had to provide a signature. Given that the credit card is actually a debit card, it's pretty disturbing how easily someone can clean out your bank account.
  4. Ex-tax pricing I'm so glad that when they introduced the GST in Australia, they required by law that all prices include it. Most prices here don't, but the occasional food outlet does (like Subway for example), so it's sufficiently confusing that you can't budget for how much you're going to actually fork out.
  5. ATM fees The ATM fees are more in your face. Instead of the bank charging you a fee at the end of the month for every transaction conducted at an ATM that isn't theirs, the ATM itself tacks on an extra amount to the withdrawal and effectively skims the money. I've seen fees as high as $5 a transaction, but $2 is fairly common. It's kind of weird seeing an ATM withdrawal of $42 on your bank statement... So having a bank account that doesn't charge you feeds for non-bank ATM withdrawals is all well and good, but it doesn't stop the ATM from charging you.
  6. Inaudible pedestrian crossings Oh, the number of times I haven't been paying attention and missed the walk light at a pedestrian crossing... In some places, they do make noises like birds, or talk to you when you can walk, but they're definitely not the norm.
  7. The road surface For the highways, they seem to have gone for quantity and not quality, or they're too busy to take offline to resurface. Either way, the road surface quality is pretty poor.
  8. Sugar Everything is loaded with sugar. Absolutely everything.
  9. Alcohol labelling Light beer is low calorie, not low alcohol. I miss Australia's concept of "standard drinks". Makes it very hard to drink and drive responsibly.

19 May 2006

Uwe Hermann: OS Install Experiences - Part 1: Debian stable + unstable [Update]

Debian Open Use Logo
Note: This article is part of my OS Install Experiences series.
OK, so let's start with something simple: Debian. Simple in the sense that there probably won't be too many surprises for me as a Debian developer (or for most readers of Planet Debian). For other people this might be interesting, though, and some facts are probably interesting to one or the other experienced Debian user/developer, too... Hardware A few words on the hardware I'll be installing all these OSes on. It's a cheapo (200 Euros) x86 PC (Intel Celeron, 2 GHz), 80 GB IDE hard drive, 256 MB RAM, ATI Radeon 9200 SE graphics adapter, Realtek PCI ethernet controller, CDROM, USB, and all the other standard stuff. Nothing fancy, really. Install
  1. First, I downloaded a Debian sarge 3.1r2 CD image, burned it on a CD, and booted from that.
  2. An installer menu showed up, where you can press F3 for boot options. I chose "expert26", which will ask me more questions and give me a 2.6 Linux kernel instead of 2.4.
  3. The installer (newt-based, i.e. not graphical) will now start to boot a base Linux system.
  4. Now, you can choose your language (used in the installer), country, region, and keyboard layout.
  5. You'll be asked which additional kernel modules you want to load (default: all), and whether you want PCMCIA support. Also, you can choose which extra installer components should be loaded (LVM, PPP, serial, IrDA, ...).
  6. Your hardware can be automatically detected (my Realtek card was successfully detected, the "8139too" kernel module was then loaded).
  7. The network was successfully auto-configured via DHCP within seconds.
  8. Now you can choose a hostname and domain name for the box. I used "hydra" as hostname (guess why), and "local.domain" as domain name.
Partitioning Now the funny part starts: partitioning the disk. As I will be installing >= 10 OSes, this needs a bit of consideration. I have chosen to create a 10 GB (primary) partition for a Redmond OS I'll be installing later (for games, testing, proprietary software I'm forced to use, and similar things). This will be the first partition and I marked it bootable, as Windows might choke otherwise. For the rest, I reserved 5 GB for each OS — that should do. So the next two (primary) partitions are 5 GB each. I'll leave these empty for now, as I might encounter obscure OSes which must be installed on primary partitions. Let's hope it won't be more than two ;-) As you can only have four primary partitions, I then had to create a logical partition, which will "contain" any further partitions. The next three (secondary) partitions are 1 GB each, intended to be used as swap. One of those I marked as swap in order to use it for Debian. Other Linux installations will be able to reuse this one. The other two are reserved in case I encounter OSes which have another form of swap and cannot use Linux swap partitions... The rest is easy: create twelve 5 GB partitions => lots of space for more OSes. Here's the resulting fdisk output:
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
      Device Boot      Start         End      Blocks   Id  System
   /dev/hda1   *           1        1216     9767488+  83  Linux
   /dev/hda2            1217        1824     4883760   83  Linux
   /dev/hda3            1825        2432     4883760   83  Linux
   /dev/hda4            2433        9964    60500790    5  Extended
   /dev/hda5            2433        2554      979933+  82  Linux swap / Solaris
   /dev/hda6            2555        2676      979933+  83  Linux
   /dev/hda7            2677        2798      979933+  83  Linux
   /dev/hda8            2799        3406     4883728+  83  Linux
   /dev/hda9            3407        4014     4883728+  83  Linux
   /dev/hda10           4015        4622     4883728+  83  Linux
   /dev/hda11           4623        5230     4883728+  83  Linux
   /dev/hda12           5231        5838     4883728+  83  Linux
   /dev/hda13           5839        6446     4883728+  83  Linux
   /dev/hda14           6447        7054     4883728+  83  Linux
   /dev/hda15           7055        7662     4883728+  83  Linux
   /dev/hda16           7663        8270     4883728+  83  Linux
   /dev/hda17           8271        8878     4883728+  83  Linux
   /dev/hda18           8879        9486     4883728+  83  Linux
   /dev/hda19           9487        9964     3839503+  83  Linux
Install, continued
  1. The Debian partitioning tool allowed me to do all of the above via a friendly menu. As it does not modify the partition table until you say "done", I could revert many changes, and play around with different layout ideas until I was satisfied.
  2. Next thing you can choose is the Kernel flavor (386, 686, smp).
  3. You may now configure and install GRUB, the bootloader. I installed it at "(hd0)", the master boot record of the hard disk.
  4. Soon the CD ejects, and you have to reboot.
  5. After a restart (which also shows whether GRUB works fine), you can now choose your timezone, and decide whether you want shadow passwords (say yes!).
  6. Now enter the root password, and decide whether you want to create an additional user account (say yes, and enter a different password here).
  7. You can now configure apt, e.g. tell it which sources you'd like to use (CDROM, FTP, HTTP, ...). You'll be asked whether you want to install software from Debian's "non-free" archive. After choosing a mirror (and proxy settings, if you like), you can (should!) also say yes to the question whether you want security updates...
  8. Finally, you may now choose "tasks" (desktop, web server, file server, ...) your machine should be able to perform; this will influence which packages will be installed. You may choose "manual package selection", of course, if you want more control. I used "desktop".
  9. That's about it. You'll see a few more application-specific questions (configuration of MTA, ssh, fonts, X11, gdm, and others), and after that you'll be left with a GNOME login window.
Security I collected some (partly) security-relevant information after that. Ok, so that's it for Debian stable. Unstable is 99% the same, except that you do a "vi /etc/apt/sources.list; apt-get update; apt-get dist-upgrade". I'll do that later maybe, compare the findings, and report notable differences here, but it shouldn't be too many (I guess). Not today, though, I need some sleep now. Comments, suggestions, flames? Update 2006-05-19: Updated "why is Debian-exim capitalized?" info as per comments, thanks!

14 May 2006

Gustavo Noronha Silva: 13 May 2006

So, I just finished the first "working draft" of the TurboGears 0.9 packaging. I've uploaded a tarball with all the source and binary packages involved. They should work on unstable; please send comments and error reports to my email (look at the maintainer of the turbogears package). The packaging for TurboGears 0.8.9 is also available, and in need of comments and testing. I'm hoping to be able to upload turbogears 0.8.9 and the modules I packaged to unstable this week, and TG 0.9 to experimental. You can see many of the packages are already available in the python-modules team subversion repository.

Next.

Previous.