[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#214486: apache: modules-config has problems with cut in coreutils 5.0-5



Package: apache
Version: 1.3.28-1
Severity: normal

at line 119 in /usr/sbin/modules-config, is:
		LAST=`wc -l $TMP | cut -d " " -f 1`
		DIFF=`expr $LAST - $FIRST`

However, cut in coreutils 5.0-5 doesn't behave as expected:
clockwork[1002-0]% wc -l /etc/apache/httpd.conf
   1038 /etc/apache/httpd.conf
clockwork[1003-0]% wc -l /etc/apache/httpd.conf | cut -d " " -f 1

clockwork[1004-0]%

after upgrading to coreutils 5.0.91-2, things are happier:
clockwork[1016-0]% wc -l /etc/apache/httpd.conf | cut -d " " -f 1
1002
clockwork[1017-0]%

Not sure if it's all prior versions of coreutils, or simply that exact
version I had.

Ben

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux clockwork 2.4.22-20031005 #1 Sun Oct 5 18:28:32 EDT 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache depends on:
ii  apache-common                 1.3.28-1   Support files for all Apache webse
ii  debconf                       1.3.14     Debian configuration management sy
ii  dpkg                          1.10.15    Package maintenance system for Deb
ii  libc6                         2.3.2-8    GNU C Library: Shared libraries an
ii  libdb4.1                      4.1.25-6   Berkeley v4.1 Database Libraries [
ii  libexpat1                     1.95.6-6   XML parsing C library - runtime li
ii  libmagic1                     4.04-1     File type determination library us
ii  logrotate                     3.6.5-2    Log rotation utility
ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap
ii  perl [perl5]                  5.8.1-2    Larry Wall's Practical Extraction 

-- debconf information:
* apache/init: true
* apache/enable-suexec: false
* apache/server-admin: korvemaker@sympatico.ca
* apache/server-port: 80
* apache/server-name: localhost
* apache/document-root: /var/www


-- 
Ben Korvemaker
korvemaker@sympatico.ca
31AB 75AD 4CBF C164 1963              I can't remember if I'm the
A674 1C53 0733 C855 8011               good twin or the evil one.



Reply to: