Search Results: "mt"

30 September 2009

Jon Dowland: FAC-1

This is my first attempt at homebrew. It's from a stout kit, purchased from the Elderberry Home Brew Centre, which you can find at 28 Station Road, Whitley Bay. The fellow there is very helpful and gave me lots of advice on starting out. I'd recommend anyone interested in beer or wine making in the Newcastle or North Tyneside area to make the journey. In honour of a period in modern British music I am really fond of, I've decided to call it "FAC-1". Thus, when the first stage is complete and I siphon off a sampler, I can call that "FAC-2".

29 September 2009

Jon Dowland: archfs build dependencies

build-dependencies using an XML manpage
build-dependencies using an nroff manpage
archfs has been accepted into unstable! I've been working on this package in between other tasks for quite a long time. I based my package on prior packaging work by Adam Sloboda from mentors.debian.net. The upstream package lacks a manpage, and one of the changes I have made from the initial packaging was to replace an XML-authored manpage by Adam with a roff one (based on the processed output of the XML one). I did this because I find authoring roff documents easier than XML ones. Another consequence is the build dependencies a lot simpler. We can see just how simpler thanks to Frans Pops' debtree.

28 September 2009

Jon Dowland: Ruby vs. Python

Pablo Lorenzzoni writes to defend Ruby in response to Kanwei Li's April post about dropping it in favour of Python. Kanwei's post has some questionable points that Pablo rightly picks up on (being forced to use ternary operators?) and some that he doesn't ("LOC matters, people."). Just like Kanwei, some time ago I decided to ditch Ruby and focus on Python for the tasks that I would normally use Ruby for. The two final nails in the coffin for me were Interestingly, Pablo cites rubygems as one of the points in favour of Ruby. Whilst both Pablo and Kanwei mostly focus on technical details for their attack and defence of Ruby, these two points for me were largely social, community issues.

26 September 2009

Stefano Zacchiroli: RC bugs of the week - week 4

RCBW - week #4 RC bugs squashed this week by yours truly: You're welcome to join the initiative!, in doing so please tag the blog post as "debian" and "rc".

25 September 2009

MJ Ray: Strange Spammer Sightings

I ve seen a couple of the conversation-spams described in Misspelled nemesis club: A new twist on spam? It looks like they exploit the typically weak moderation practices of many software discussion mailing lists. Do you think they are human-powered? Are they caught out if you set default_member_moderation (new list member postings are moderated) or equivalent in the list software? Google and Yahoo Groups seem to be suffering worst. Do they even have such an option? I ve also caught some strange behaviour on one of the SMTP servers we run for a customer. Does anyone know what virus or worm or other nasty authenticates but gives itself away by sending RCPT TO:<MISSING*EMAIL*ADDRESS> to SMTP servers?

23 September 2009

Jon Dowland: win7 window management

Since I've started today writing about UI issues, I might as well continue. I stumbled across a satirical review of Windows7 on kuro5hin (who knew kuro5hin was still being updated?) which highlighted one or two new window management features:
You can drag a window to the top to maximize it, which is surprisingly useful. Dragging it to the side maximizes it to use half the screen, which is great for two Explorer windows for moving stuff around.
I've always found old-windows' right-click-on-taskbar menu items for auto-arranging windows very useful and wished that stock GNOME was as useable (you can get a bit closer with Devil's Pie. I might still one day resurrect my own window manager idea). This is probably no more discoverable than the old way, but useful none-the-less.

Jon Dowland: GIMP UI failures

Finding usability failures in GIMP is not exactly needle-in-haystack difficulty. Today's frustration: it appears to disable your ability to minimize the Toolbox and related windows. I can't imagine why that was considered a good idea.

20 September 2009

Martin Meredith: Ubuntu Global Jam Birmingham (UK)

The Birmingham Bug Jammers at the Last event

The Birmingham Bug Jammers at the Last event

The Ubuntu Global Bug Jam is just around the corner, and once again, the kind folks at the Linux Emporium have kindly offered the use of their offices to the Ubuntu UK team. Last time, we focused on bugs, and this time it s only slightly different. Instead of it being a Bug Jam it s just going to be a Jam . There will be people on hand to talk to about Bug Triaging, packaging, translating (and I hope we ll get the whole of Ubuntu translated into English by the end of the Jam), and anything else you can think of. So, if you re interested in helping make Ubuntu a better distro, and live in (or can travel to) the Birmingham Area in the UK, then you re welcome to come along. The Jam is on the 2nd-4th October, and we ll be around on all three days. If you need more info, please feel free to email me on <mez AT ubuntu DOT com>. Last year we had a great time, with refreshments (including beer) provided. Juggling penguins, and one person sleeping underneath the conference room table overnight. Hopefully we ll also have the live Video Streams up and running again for anyone who can t make it (or other Ubuntu Jams) to join in with! You can also find some blog posts about our last bug jam

Neil Williams: Finally using drivel 3.0.0

drivel is now in a good enough state that I can use it myself - or at least, that's what I'm hoping. It's installed on at least one of my machines and I've already had to fix a glitch or two, so here goes. :-)

Sadly, livejournal users may well be disappointed by 3.0.0 - the XMLRPC for the meta properties of LJ posts is broken and I've so far failed to get a usable response from the lj_dev community. Faced with choosing no LJ support or LJ support without metatags, I'm going with no metatags, at least for now. Hopefully once the code is in use, someone will help find a fix.

Blogger has gained Subject support, MT has tags, WP and Serendipity are OK (albeit with some issues) and advogato is working too.

The string freeze ends at the end of this month (10 days) so there's time for a few more fixes but current SVN is likely to be what gets released as 3.0.0.

The main changes are behind the scenes - dropping old libraries like gtksourceview1.0 and libglade, moving from libsoup2.2 to libsoup2.4, dropping libgnome and libgnomeui, using GtkBuilder and dropping curl (not needed with libsoup2.4). There is little new functionality, 3.0.0 is primarily focused on keeping drivel working through the upcoming GTK transitions so that there's time to deal with other issues. Still been a huge amount of work though - one very good reason for NOT adding new functionality if it brings in a new library dependency. There is still code to be removed from 3.0.0 and I'm intent on ensuring that new functionality comes from using the existing libraries in better ways.

.... and then it crashed after posting . . .

:-(

19 September 2009

Christoph Haas: Tired of Nagios and Cacti? Try Zabbix.

One of my professional duties in my past ten years was monitoring systems. Even my diploma thesis was dedicated to distributed monitoring (altough my professor sucked badly). Apart from a few custom-programmed scripts to analyze special situations (e.g. proxy clusters) I used tools that fellow administrators will find familiar: Nagios and Cacti. And another less famous text-configuration-based monitoring tool called Cricket. That worked well somehow but Cricket was hard to learn for my coworkers and Cacti seems unreliable and fundamentally broken in terms of SNMP checking. Besides why do I have to set up availability checking in Nagios and set up checking of the same parameters in another software to draw graphs? Just recently I came across an open-source software I hadn t heard of before: Zabbix. And although it has a few rough edges it seems way more professional than other common tools (the commercial tools I saw are even worse than the open-source variants). I tried it and after a lot of reading and trying it looks like it has a good potential to replace Nagios and Cacti. So I thought I d sum up my personal experiences with all of these tools. Nagios. Their makers claim that it s the industry-standard in IT infrastructure monitoring . Honestly it s a great tool but considering how many years it has been existing it barely evolved. During my diploma thesis I wrote an alternative software that I called MrNetwork that dealt with flaws that Nagios hasn t even fixed today. Still Nagios is a tool I have used for many years and it is very reliable.Nagios service detail screen Advantages: Annoyances: Cricket. As Nagios does not support plotting graphs of the monitored values I was in need of another piece of software. Basically Cricket is a frontend to RRD (which stores data in a rotating/round-robin file that keeps data of the last X minutes/hours/days). It has a textual configuration that takes a lot of getting used to. It s main principle is inheritance of settings they call it configuration tree . Which means you have a master DEFAULTS file that contains general settings like how to query SNMP. In a subdirectory you define a certain class of devices that you want to monitor e.g. routers (the DEFAULTS are inherited to this level). Within the routers directory you can just define a list of routers you want to monitor. All settings are inherited from above (parent directories). It s more a geek tool for shell lovers. Cricket screenshotAdvantages: Annoyances: Cacti. Another frontend to RRD and a pretty sophisticated one. Nearly everything is configured through its web interface. And the result is beautiful. It s not entirely reliable though and SNMP support (at least in version 0.8.7b) is a big fail. I like Cacti for its user interface is much better than Cactis but it s less reliable and flexible. Cacti screenshotAdvantages: Disadvantages: Zenoss. People pointed me to Zenoss which is supposed to offer the same functionality as other monitoring systems but is much more integrated. So this short list is more a quick one-day-experimental expression than a thorough analysis. But in the end much of the fuss is just marketing. Advantages: Annoyances: Zabbix. This is the tool I have been evaluating for the past two weeks and currently I m moving all checks away from Nagios and Cacti and put it into Zabbix. So the following list is more a first impression instead of a year-long experience. (I m using Zabbix 1.6.5 here. Debian Lenny s 1.4 version lacked some interesting features like proper SNMP handling so I backported the newer version to Lenny.) Zabbix seems very close to the perfect monitoring system I had always dreamt of. I would have designed it differently in some aspects though. Zabbix screenshotAdvantages: Annoyances: See also: Ben Rockwood s blog Further similar software I didn test thoroughly: Hyperic and Opsview (I ll surely update this blog post while I learn more about Zabbix.) All of the above tools are great. I m not meaning to say that Zenoss is total crap for example. The differences are subtle. And whether a piece of software suits your needs really depends on your expectations. I love that all this software is available as open-source. And a totally unscientific but fun analysis of the community is counting the number of active people in the respective channels on the Freenode IRC network: Either Nagios has the largest fanbase or perhaps that means that the majority of people needs help with it. :)
http://en.wikipedia.org/wiki/Network_monitoring

17 September 2009

Daniel Leidert: Green IT - a GSoC topic?

I m back from the conference at Berlin Faktor X - Tag der nat rlichen Ressourcen , a side-conference of the World Resources Forum 2009 in Davos. It was pretty interesting, although the topic is not new. If you don t know it: We are running out of (several) resources. The main topics going through the media are often energy and oil . Well, several metals will become much more problematic much more earlier! So, what is the aim: material-, product- and production-efficiency and recycling/upcycling(/downcycling). One of the topics mentioned at the conference was the IT industry. One of the keywords is green IT - more efficiency through IT, more efficiency by more efficient hardware, better recycling of hardware, . Another point was more efficiency by more efficient software . One of the questions mentioned was how much resources costs a click at google . I think, one can adapt this question to almost every software. We have several software, which is widely used. I ll just mention the apache web-server. Would t it be good to know, that this widely used software won t waste CPU cycles for nothing? So what about a GSoC project checking such often/widely used software for efficiency (besides checking for buffer or heap overflows or NULL pointer dereferences)? Can anybody imagine such a project? What is your opinion?

16 September 2009

Adrian von Bidder: Introducing Pony Express

Email on a desktop Unix system is apparently a hard topic. At least, so far nobody seems to have solved it to my satisfaction... That's where the Pony Express comes in: a sensible /usr/bin/sendmail implementation for desktop sysstems: Mercurial repository is available; Pony Express is written in Python 3. I'll not upload a Debian package right now since as far as I've seen Python 3 is not supported by the usual Python helper scripts. Status: Lots of missing features and probably lots of bugs, but I use it from kmail to deliver mail, and the commandline "mail" also works. But that's the extent of the testing it has received so far, and in addition it's also one of the first things I've ever done in Python, so consider yourself warned. Still, feedback and patches welcome. Update: Daniel, no, I can't. I missed msmtp when I looked for a solution after I saw that nullmailer and ssmtp wouldn't do what I wanted. Update: cate / simon: my apt-cache search skills obviously suck, I didn't find esmtp either. Oh, well... I wanted to learn Python anyway, and since Pony Express is basically a frontend to Python's smtp library, it was not that much work. lamson sounds interesting for other projects, I'll have to look at it. From the description it's not what I want here, though. Marius: kmail does its own queueing, so I usually use the send later option and send non-local email from the commandline only while connected. I'll have to think about a non-daemon, non-cron queue style that suits my need (event-triggered from if-up.d perhaps), but as soon as I start to accept mail that I can't immediately get out of the system complexity goes up quite a bit. Developing PX into a full MTA would still be a fun project and I've got a few other ideas that I could incorporate. Not tonight, though ;-)

11 September 2009

Zak B. Elep: New Server

Site was down for almost a week, due to my provider being DDoSed. Email was broken more so as SMTP was the target, but it was rather odd that the data center decided to block outgoing SMTP connections from a block of IPs, where my VPS is unfortunately a member of. I've since switched to a new provider. This makes my third OpenVZ VPS, though I was meaning to move on to Xen. At 6 US dollars a month though, it seems quite a bargain, so I'll have to see where this goes. The move also afforded me to change some stuff under the hood. Apache is gone, replaced by nginx (although this required having blosxom running under a thttpd backend, until I can whip up a FastCGI equivalent.) BIND gave way to maradns, cutting down significant memory usage. And dropbear replaces the OpenSSH server. Exim 4 and dovecot remain though, as they seem to quite big (or small) enough for my purposes. I'll document more about the changes in later posts. In the meantime, I need to catch up on emails and packaging...

MJ Ray: Tricky question for a worker co-op: @CooperativeWave

This isn t a problem which many companies have to deal with. It s simple for lots of them: ignore things like climate change except when laws or public relations (or employee relations?) require otherwise. As far as the company is concerned, the aim is to make money. Not so for the third sector. One of the cooperative principles is to work for the sustainable development of our communities through policies approved by our members (taken from Statement on the Co-operative Identity). I think climate change is real, a threat to sustainable development and can be minimised by human action. But have I got policies approved by TTLLP members about it? Nope. There s usually something more urgent to work on. Not so for the co-operative group. They re supporting The Wave in London on Saturday 5 December 2009 with subsidised transport and more. Will you be there? What do you think of it? If you re a young people , you can also make your views known at Play to Stop - Europe for Climate (the EU and MTV - together at last!).

10 September 2009

Steve McIntyre: Cool DebConf

Yeah, OK, I suck and I should have posted about DebConf 9 while I was there or shortly afterwards. Well, I've been busy with various things (or, to be more specific, one person \o/). I'm slowly catching up on stuff now, so I thought I'd write something and link to some photos! I drove down from the UK with Neil, Chris and Chris and we had a good trip. We left Cambridge really early on Wednesday the 22nd, stopped at Le Mans for lunch, then headed to San Sebastian overnight. The French autoroutes were mostly empty and we made very good time, swapping drivers every two hours. Le Mans The venue was superb, with just about all the facilities we needed on site. And there was a handy outdoor bar in the park just up the street. Yay! MT residence As always, it was excellent to meet up with Debian friends old and new from all over the world. The DebConf team did a great job of making the conference happen and I had a wonderful time, as did everybody else I spoke to. Tincho! There was an official day trip involved, but as we had 2 cars from the UK a group of us rebelled and made our own trip out to do touristy things. We visited the Roman ruins in Merida (photos here), then as we were so close to Portugal we decided to head over the border and found the lovely old town of Elvas. Elvas After the conference, we headed slowly back up to the north coast of Spain, stopping over in Madrid and then Bilbao before catching the overnight ferry back to England. Along the way on that trip we saw a few sights such as the historic city of Pamplona and the "Valley of the Fallen", the monument to people killed in the Spanish Civil War. Valley of the Fallen I got back to Cambridge late on Monday the 3rd, tired but happy. We'd done 2,400 or so miles in the car and several hundred more on the ferry, and we'd all had a great journey. We saw some silly stuff along the way too, and I'll post more about those soon.

Jon Dowland: chromium

For the last few weeks I have been using the chromium browser as the main browser both at work and at home. There's an Ubuntu PPA containing .debs of nightly chromium builds which works fine on Debian sid AMD 64 (as others have mentioned). The "killer feature" for me about Google Chrome when it was first announced was the tab/window process isolation. What I really like about chromium is how fast it feels. Opening new windows is blazingly fast. I can reorganise windows and tabs however I like (which I used to enjoy doing in Epiphany before the feature disappeared). I installed chromium without high expectations. I suspect the features I like about it (speed, stability) will end up in other browsers and I've been expecting to move back to Epiphany (or perhaps even Firefox). However, maybe I'll just stick with chromium for a while.

9 September 2009

Pete Nuttall: qmail users.

I get lots of spam, and the normal techniques get rid of it. I also get lots of DSNs, which are a mail server's way of telling me it accepted my mail but can't deliver it for some reason. DSNs are ok, but suffer from the problem that someone can fake addresses and get the DSNs sent to another address. Spammers, for example. The procmail people like to claim that if a person if filtering spam with procmail, then he/she has already lost. By this they mean that accepting spam at smtp-time is a bad idea. Most systems filter mail at smtp-time, and reject the spam right then. This way, they never take the mail and never have to send a DSN. A simple bit of reasoning might be: Never accept mail unless:
  1. You actually want it
  2. You have somewhere to put it
Qmail users, on the other hand, appear to have a nasty habit of accepting anything then bouncing it back. Thats nice for the warm friendly internet that qmail was written for (joke) but its less good in these days of spammers. So, if you run qmail, or any mail server, reject at smtp time, don't bounce. The temptation to compose a standard mail saying "I didn't send this mail, stop bouncing like a moron" and binding a key to send it in mutt is great.

Brett Parker: LVM weirdness

I'm having some issues with LVM, basically it appears that I can't assign over a certain amount of my pv, where that certain amount is somewhere around 1.5TB... output from all the relevant chunks are:
ensenada:~# lvdisplay
  --- Logical volume ---
  LV Name                /dev/main/root
  VG Name                main
  LV UUID                ZR33WS-glE2-bUn6-adCX-n50C-37eX-Fc7Pde
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                7.45 GB
  Current LE             1907
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:0
  --- Logical volume ---
  LV Name                /dev/main/voldemort
  VG Name                main
  LV UUID                DrT0co-THRw-6Zcy-Q3PT-OiQj-4KBz-xfV0Un
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                1.37 TB
  Current LE             358400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           254:1
ensenada:~# vgdisplay
  --- Volume group ---
  VG Name               main
  System ID
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  56
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               5.45 TB
  PE Size               4.00 MB
  Total PE              1428053
  Alloc PE / Size       360307 / 1.37 TB
  Free  PE / Size       1067746 / 4.07 TB
  VG UUID               ddVSIr-W9BU-XOWJ-gdSo-HZ4m-vw3M-S33Q3s
ensenada:~# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sda3
  VG Name               main
  PV Size               5.45 TB / not usable 1.54 MB
  Allocatable           yes
  PE Size (KByte)       4096
  Total PE              1428053
  Free PE               1067746
  Allocated PE          360307
  PV UUID               sFxRYg-Ua60-zpMT-DMqo-tpD5-d24W-qfW31p
ensenada:~# lvcreate -n test -L 74G main
  Logical volume "test" created
ensenada:~# pvs
  PV         VG   Fmt  Attr PSize PFree
  /dev/sda3  main lvm2 a-   5.45T 4.00T
ensenada:~# lvs
  LV        VG   Attr   LSize  Origin Snap%  Move Log Copy%  Convert
  root      main -wi-ao  7.45G
  test      main -wi-a- 74.00G
  voldemort main -wi-ao  1.37T
ensenada:~# lvremove /dev/main/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed
ensenada:~# lvcreate -n test -L 75G main
  device-mapper: reload ioctl failed: Invalid argument
  Aborting. Failed to activate new LV to wipe the start of it.
  LV main/test in use: not deactivating
  Unable to deactivate failed new LV. Manual intervention required.
ensenada:~# lvremove /dev/main/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed
ensenada:~# lvcreate -n test -L 74G main
  Logical volume "test" created
ensenada:~# lvremove /dev/main/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed
ensenada:~#
Please, someone, put me out of my misery - this is driving me nuts! Extra info:
ensenada:~# uname -a
Linux ensenada 2.6.26-2-amd64 #1 SMP Fri Aug 14 07:12:04 UTC 2009 x86_64 GNU/Linux
ensenada:~# dpkg -l lvm2
Desired=Unknown/Install/Remove/Purge/Hold
  Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
 / Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
 / Name                  Version               Description
+++-=====================-=====================-==========================================================
ii  lvm2                  2.02.39-7             The Linux Logical Volume Manager
ensenada:~#
ensenada:~# cat /etc/debian_version
5.0.1
(Erm, just remembered that I haven't got comments enabled at the mo, so if you've got fixes, please mail me! iDunno@sommitrealweird.co.uk - thanks!)

5 September 2009

Jon Dowland: exploring git repositories

I am in the process of moving the Doom packages that the Debian Games Team maintain from subversion to git. I started with a small native package called game-data-packager. The clone operation took hours to run and resulted in a 90-odd Mb git repository. Since game-data-packager is a relatively small collection of shell scripts with a recent history, I have reason to believe that git svn has imported much more of the Games Team SVN repo than just the game-data-packager bits. After fiddling with git repack -a -d, git prune and git gc --aggressive, the repository is still 80Mb large. How do I determine what is using all this space? Can anyone advise me on the best way to analyse a repository like this?

4 September 2009

Marc 'Zugschlus' Haber: TCP and mobile IP

Steinar H. Gunderson, sesse, has written an interesting article about TCP performance. I didn t find your blog s comment function, so I am commenting with a trackback. (note: which didn t work either, The auto-discovered trackback URI does not match our target URI ) I frequently use mobile internet, using various of the German GSM/UMTS network operators, out of a moving train. As you have written, this frequently causes packet loss which is not only not caused by congestion, but sends the congestion avoidance algorithms on a false path. For example, when the train passes through the 3575 m long Distelrasentunnel between Frankfurt and Fulda, my network link is broken for like two minutes. Passing through other parts of Germany sometimes gives me a ping response of hundreds of thousands of microseconds by virtue of the rather huge send buffer the UMTS equipment has. In these circumstances, ssh sessions frequently take tens of minutes to notice that the network is back before the session is useable again. Frequently, it doesn t come up again before an hour has passed. And I have not found a way to work myself around this. Can you explain what s happening here, and do you have any ideas to solve the issue?

Next.

Previous.