Lew's blog

Pet Peeves: run-parts(8), asynchronous execution, and logging

I run Slackware on two of my systems. I have always admired Slackware's simplicity and honesty. Some people accuse it of being overly complex, but I've found that what others see as complexity, I see as the ability to control and fine-tune. Other distributions may be great for those who are looking for a Unix system with a Microsoft feel, but I prefer my OS to not hide it's controls, to not tell me that, for my own good, it won't do what I want it to do.

Slackware's run-parts(8) is one of those simple tools that works well. Built from a simple /bin/sh script, and using basic Linux tools, Slackware's run-parts does the basic work of "batch" processing for cron. But, this simplicity has it's price; target scripts are run synchronously, one after the other. If one get's stuck, the remainder can't run. And, there's no easy way to determine if a script has got "stuck"; there's no conveniently accessable logging of the start or termination of each script, nor is there any consistent way to gather messages from the scripts into one place.

And, so, my pet peeve: run-parts(8) doesn't do everything that I need in a batch processor. So, I went and built my own add-on solution.

System Management: 

KDE 3 Troubles

Recently, something went drastically wrong with my KDE 3.5 desktop (yes, I still use KDE 3.5). Long story short, KDE 3.5 now has problems creating content in .directory files. It will sometimes create the file, but leave it empty (0 bytes written). If such an empty .directory file is encountered by Konqueror, or any of the KDE directory selection tools (for example, a file open dialog), it immediately hangs the application.

PogoPlug

A couple of weeks ago, I bought myself a Pogoplug (V2, gray) to try out. The PogoPlug comes with an embedded linux system, and is set up to externalize (through my.pogoplug.com) any USB storage device you connect to it. I wasn't as much interested in the services of my.pogoplug.com as I was in using the device as a general-purpose linux system.

About: 
System Configuration: 

Websites in minutes

Just over a week ago, a good friend passed away. I wanted to do something special as a memorial for him, so I put together a website where his friends and family can post pictures and stories about him.

VoIP providers

Since I received my IP04 from Rowetel, I've wanted to connect my telephony system to the real world. Consequently, I've spent some time researching VoIP providers, looking for good inbound and outbound rates in my target areacode. It looks like I might have found one.

System Management: 

(Mis)Using Comsat

Recently, my day stood still as I waited for an important email. While I stared at my email client, silently encouraging it to report my long-awaited email, I cursed my immobility. Here I sat, stuck indoors, in front of a screen, when I could instead enjoy the good weather, sip a cold drink and read a book on my deck. How I wished for a portable tool that would notify me audibly when email arrived in my In Basket.

System Management: 
System Configuration: 

Pages

Subscribe to RSS - Lew's blog