Home Blog Page 8684

NetBSD advisory: Close-on-exec, SUID and ptrace(2)

Author: JT Smith

From Nets-security.org: “A process could exec a setuid binary, while gaining ptrace control over it for a
short period before the process was activated. The ptrace controller process
could then modify the address space of the controlled process and abuse its
elevated privileges.”

Category:

  • Linux

Sun’s UltraSparc III outsells other Sun chip, but faces competition

Author: JT Smith

ZDNet has a story saying Sun Microsystems’
UltraSparc III chip passed a key milestone, becoming the most widely shipped Sun
processor. The story also notes that Sun faces competition from Microsoft and IBM servers using Linux.

Category:

  • Unix

Interview: Richard Dale of KDE Bindings

Author: JT Smith

Fosdem.org has an interview with Dale, author of KDE Bindings. He describes how he got into the project, what kind of work is involved.

Category:

  • Open Source

KaZaa suspends downloads

Author: JT Smith

Anonymous Reader writes, “Details are still sketchy, but it looks like KaZaa has suspended the ability to download its program under pressure from the Dutch courts who ordered the service shut down last month. Those who already have KaZaa should still be able to use it, but for how long?”

http://www.mp3newswire.net/stories/2002/kazaasuspe nds.html

Debian has slow security updates?

Author: JT Smith

DebianPlanet.com discusses that possiblity. “Some comments on the Linux Today story about
the recent glibc security update challenged my
perception that Debian is very responsive to
security problems in core packages. Basically,
they say that this vulnerability was reported on
December 14th. Has it really taken one month to
deliver a core glibc update?”

Category:

  • Linux

Pros and cons of the Linux PDA

Author: JT Smith

ZDNet has commentary from the Meta Group: “Although the idea that a personal digital assistant running Linux could
provide the same functionality as a Windows CE or Pocket PC device at a significantly lower
cost is attractive, fact is most costs come from hardware.”

Gentoo Linux: One fast little penguin (to run, not install)

Author: JT Smith

By Matt Butcher

I first ran across Gentoo Linux when an errant click on a “search results” page led me to Gentoo’s site. Reading the FAQ, I learned that Gentoo (named after a small, fast species of Penguin) is about to release version 1.0 of a Linux distribution based on the idea that everything should be built fresh from the source.

After skimming the documents, I left the page and went back to my work, unimpressed. In fact, I was puzzling over why anyone would use a distribution that requires the user to start the installation by compiling new compilers. But over the next few days I couldn’t help but question myself: Was I, a competent Linux user and software developer, afraid of trying my hand at building a desktop system from scratch? Within a week, my rationality caved to my pride, and I found myself downloading the 16-meg ISO image and burning it onto a CD.

I popped it into my Athlon and hit the power switch. The machine booted, and I found myself staring blankly at the ISOLINUX banner and a boot prompt. Afraid to start off on the wrong foot, I just stared at it, thinking that perhaps it was loading something or probing my hardware. But nothing happened. The cursor just blinked. At that moment, it occurred to me that Gentoo Linux should come with a bright red sticker that says in large letters “WARNING: Installing Gentoo Linux is not for the faint of heart!”

Remembering that the Web site had an online installation manual, I brought out the laptop and punched in the URL. Once I had the manual in front of me, my anxieties eased. Following the instructions, I hit enter at the boot prompt, and things continued on. I set about modprobe’ing drivers and configuring the network, as the manual indicated. Once I had the network enabled, I ran rsync and updated the packages on the system, giving me the most up-to-date code.

It took me a few minutes, but I settled comfortably into the realization that this installation was not a flashy, polished GUI installer a la Mandrake, but a user-driven command-line interface more akin to “Linux from scratch.” It didn’t take any graphics or fancy UI to convince me, though, that this was a very powerful package.

The installation manual provided concise step-by-step instructions that got me through partitioning the disk, creating the file system, unpacking a build system, and building the compilers and core libraries. During this process, the settings and flags were optimized to my system (MY system!), so everything from GCC to KDE was compiled to take advantage of my Athlon architecture. The Gentoo Portage package management did all the grunt work of resolving dependencies and handling “config” and “make” scripts. For each package, Portage downloaded the newest version from the appropriate Web site, built it from source, and installed it.

Between these installations (sometimes lasting six or seven hours), I edited configuration files, tweaked scripts, and changed settings to meet my preferences. Some things weren’t configured to my liking at first, but a few tweaks and rebuilds fixed that. I compiled the kernel at least six times until it was just perfect. There were a few instances where the instructions for Gentoo configuration differed from reality, especially in regard to installing KDE, but Gentoo’s mailing list archive answered most of my questions.

The experience of installing Gentoo was, to be trite, empowering. I experienced no small amount of pride when I booted the system and everything from GRUB to Mozilla was tailored to my specifications. Having control over the build environment (specifically through USE variables), I had compiled into my distribution only what I knew I wanted. I didn’t have to pop in a three CD set of binaries and install hundreds of packages that I didn’t need just to get the few dozen that I wanted. Binaries ran faster, because they were compiled for my processor instead of the generic i386 (or i586). The desktop was uncluttered and the menus organized the way I like them (with only the applications I use). For the first time, I really felt like I had taken advantage of the availability of the source code. It wasn’t an easy process, nor was it quick, but I had crafted for myself a system that came pretty close to my ideal, and I was proud of that.

The process to get from that ISOLINUX banner to a stable system with KDE took me about four days, much of which was spent waiting while packages downloaded and compiled. In the end, though, I had a shiny new installation optimized to my system and running smoothly. It was hard. It took a long time. But in the end, it was well worth it. In fact, the next time I find myself with four or five days with nothing to do, I’ll probably install it on my laptop. But first I’ll print out the installation manual.

Matt Butcher is a systems integrator and software developer for Aleph-Null, Inc. While he’s waiting for things to compile, he reads T. S. Eliot to his newborn daughter, Anna.

Category:

  • Linux

2.5 kernel status update

Author: JT Smith

Guillaume Boissiere in a post to LKML: “I’ve seen several times on this list people wondering what features
were in the works for 2.5 and what the status of the development was.
I did some grepping on the archive and put together a list of things
that have been discussed / worked on for 2.5 over the past year or
so.”

It's probably pretty incomplete and full of errors at this point but 
I'll be happy to update it if you send me email.

o Merged   New scheduler for improved scalability       (Ingo Molnar)
o Merged   Rewrite of the block IO (bio) layer          (Jens Axboe)
o Merged   New kernel device structure (kdev_t)         (Linus
Torvalds)
o Merged   Initial support for USB 2.0                  (Greg KH,
others)
o Ready    Add User-Mode Linux (UML)                    (Jeff Dike)
o Ready    Add ALSA (Advanced Linux Sound Architecture) (ALSA team)
o Ready    IDE layer update                             (Andre
Hedrick)
o 

Category:

  • Linux

Will the new iMac go the way of the cube?

Author: JT Smith

NewsFactor Network writes: “Because of its radical design, unusual shape and small footprint, Apple’s new iMac computer has been compared by many to the company’s failed Cube. But I would argue that the new iMac is completely different from that machine. In fact, I believe it is a lot more like the original iMac then it is the Cube — and may thus be destined for the same level of success.”

Category:

  • Unix

Developers, give .NET a chance

Author: JT Smith

NewsFactor Network writes: “Today, with .NET and J2EE, the waters are muddying quite a bit. Which one should you choose, and for what reason? .NET is being touted as “a better Java.” In fact, if you look under the hood, the syntactical similarities between Java and .NET’s flagship language C# are quite frightening. Namespaces, Web services and XML are terms and traits we were first exposed to by the Sun camp. Microsoft may appear to be playing catch-up, but it is doubtful they are thinking of .NET as just another marketing scheme, like ActiveX.”