Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57732 - /etc/conf.d/apmd contains invalid option --proxy-timeout
Summary: /etc/conf.d/apmd contains invalid option --proxy-timeout
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-07-20 07:49 UTC by Stefan Sperling
Modified: 2005-01-04 03:53 UTC (History)
2 users (show)

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 Stefan Sperling 2004-07-20 07:49:03 UTC
When starting apm via /etc/init.d/apmd start, using the default /etc/conf.d/apmd
it complains as follows:

  /usr/sbin/apmd: unrecognized option `--proxy-timeout'
  usage: apmd [-c seconds] [-P apmd_proxy] [-p percent] [-qVvW] [-w percent] [-?]

in /etc/conf.d/apmd it says: APMD_OPTS="-P /etc/apm/apmd_proxy --proxy-timeout 30"
removing the --proxy-timeout 30 option solves the problem.


apmd version installed: apmd-3.0.2-r3
emerge info:
Gentoo Base System version 1.4.16
Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Mobile Pentium II
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.fu-berlin.de/pub/unix/linux/mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/ rsync://rsync.fhh.opensource-mirror.de/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts audiofile avi berkdb crypt cups encode fbcon foomaticdb ftp gdbm gif gnutls gpm gtk gtk2 imap imlib jikes joystick jpeg libg++ libwww mad mbox mikmod mmx motif mpeg ncurses nls offensive oggvorbis oss pam pcmcia pdflib perl png python qt quicktime readline sdl spell ssl svga tcpd tiff truetype trusted vim-with-x x86 xml2 xmms xv xvid zlib"
Comment 1 vjacob 2004-07-31 06:23:56 UTC
I'm using the sys-apps/apmd-3.0.2-r3 ebuild also. I see the exact same "unrecognized option" error. I also see the same solution, and I use this solution.

Therefore I suggest the solution should be to comment out the "--proxy-option 30" and perhaps make a note in a comment next to this commented option, why the option is there in the first place / what the plan is or was.

For every day apmd stays the same, people can install 'apmd' and experience non-working APM on Gentoo. Thanks in advance.
Comment 2 Henrik Brix Andersen 2005-01-04 03:53:23 UTC
Fixed InCVS. Thank you for reporting this.