Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112919 - (apache 1.3.33) apatchectl fullstatus fails due to wrong operator priorities
Summary: (apache 1.3.33) apatchectl fullstatus fails due to wrong operator priorities
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-18 07:58 UTC by Kosma Moczek
Modified: 2006-06-05 13:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kosma Moczek 2005-11-18 07:58:35 UTC
There is an operator priority related issue that makes it impossible to use
fullstatus (it says that Lynx is not present).

Reproducible: Always
Steps to Reproduce:
1. Enable fullstatus in httpd.conf
2. $ which lynx #ensure that lynx *is* there
3. $ apachectl fullstatus # try fullstatus
Actual Results:  
lynx not found!

You need to emerge 'net-www/lynx' for status monitoring via the
'status' and 'fullstatus' commands to work.

Expected Results:  
display fullstatus

Example solution: replace the line

if [ "${LYNX}" = "no" -a "${ARGV}" = "status" -o "${ARGV}" = "fullstatus" ];

if [ "${LYNX}" = "no" -a "${ARGV}" = "status" -o "${LYNX}" = "no" -a "${ARGV}" =
"fullstatus" ];

However, there should be a better way to do this (like brackets), but I'm not
that good in bash scripting.

---------------------------------------------------------
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.13-gentoo-r3 i686)
=================================================================
System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://src.gentoo.pl"
LANG="pl_PL"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib adns alsa apache apm audiofile avi berkdb
bitmap-fonts bzip2 crypt cups curl dga dri eds emboss encode esd ethereal exif
expat fam fftw flac foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk
gtk2 idn imagemagick imlib ipv6 jpeg kde lcms libcaca libg++ libwww lirc
logrotate mhash mikmod mmx mng motif mp3 mpeg mysql nas ncurses nls nptl
nsplugin offensive ogg oggvorbis opengl oss pam pcre pdflib perl php png ppds
python qt quicktime readline recode sdl slang spell sse ssl tcpd tetex tiff
truetype truetype-fonts type1-fonts udev userlocales v4l vorbis win32codecs
xinerama xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-18 08:09:27 UTC
T(In reply to comment #0)
> There is an operator priority related issue that makes it impossible to use
> fullstatus (it says that Lynx is not present).

That is not a bug, it's intentional.

*** This bug has been marked as a duplicate of 82311 ***
Comment 2 Kosma Moczek 2005-11-18 09:28:30 UTC
This is *not* a duplicate. Please read more carefully. :( My report has nothing
to do with portage dependencies. It's about a bug in apachectl script.
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2006-06-05 13:07:22 UTC
fixed in 1.3.34-r13, thanks