ppr-list-digest volume 5, number 42, message 1

Note: please don't spam any of the e-mail addresses which you see here. Follow this link if you want some addresses to misuse.


From: Kenneth Tindle <ktindle@uky.edu>
Date: Wed, 30 Jul 2003 14:11:02 -0400
Subject: PPR: PPR 1.51 release errata

David,

The new release of PPR has two bugs that bit me.

Number One: the Perl 5.8.0 taint checks are still growling.  To wit:

ppop not ready: at /usr/lib/ppr/lib/PPR/PPOP.pm line 191

is spit out by show_queues.cgi.

I didn't check, but I'll bet that's the open2() call blowing up
because it is tainted.

Number Two:

In the installation tarball, off its unpack root, is the directory
'z_install_begin'.  In file 'install_create_accounts.sh', the
COMMENT variable is loaded with a string with embedded spaces.
Later, this is used in a useradd command directly with the '-c'
switch.

Nope.  This will blow up useradd, as you must wrap a string with
embedded spaces in double quotation marks so useradd can parse it.
I simply substituted dashes for the embedded spaces, and then edited
/etc/passwd directly to put the spaces back after installation.
But this will stop the install cold if you don't poke around, as I
had to do.  Well, assuming you don't have the ppr and pprwww users
already made.

It is certainly worth mentioning- this is Red Hat Linux 9.  Yeah,
a bit late mentioning this, but better late than never.