Package: rkhunter
Version: 1.2.7-13
Severity: wishlist
Subject: rkhunter: postinst-script depends on "in-place" flag of sed
Package: rkhunter
Version: 1.2.7-13
Severity: minor


the postinst-script of this package contains "sed -i" (for in-place
replacement); while this is of course valid, it prevents the package
from being installed on woody systems

i know that this package is currently in sid and will never go to
sarge, not to speak of woody; however, since the use of new features of
sed (i guess, "-i" was introduced with sed-4.0 and woody is using sed-3.1)
is the only reason why i cannot install the package on older systems,
i would highly appreciate if this could be changed.


i normally use something like:
 TEMPFILE=`/bin/tempfile`
 sed $file -e '...' > $TEMPFILE
 cat $TEMPFILE > $file
 rm $TEMPFILE

(but since i am no vulnerability guru, i am not sure how secure this
solution is, and what would be better...)


anyhow, looking through the postinst script, i also noticed that you are
checking for the existance of a file named $CF, but then you are
manipulating a file named $DF
is this a typo (or is it just my ignorance off the postinstall-process)?
if so, i guess this bug-report should have a higher priority than
"minor"

mfg.asd.r
IOhannes


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages rkhunter depends on:
ii  debconf [debconf 1.4.58                  Debian configuration management sy
ii  file             4.12-1                  Determines file type using "magic"
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  wget             1.10.1-1                retrieves files from the web

rkhunter recommends no packages.

-- debconf information excluded

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages rkhunter depends on:
ii  debconf [debconf 1.4.58                  Debian configuration management sy
ii  file             4.12-1                  Determines file type using "magic"
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent
ii  wget             1.10.1-1                retrieves files from the web

rkhunter recommends no packages.

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to