<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>57732</bug_id>
          
          <creation_ts>2004-07-20 07:49 0000</creation_ts>
          <short_desc>/etc/conf.d/apmd contains invalid option --proxy-timeout</short_desc>
          <delta_ts>2005-01-04 03:53:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InCVS</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>stsp@binarchy.net</reporter>
          <assigned_to>mobile@gentoo.org</assigned_to>
          <cc>base-system@gentoo.org</cc>
    
    <cc>liquidx@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>stsp@binarchy.net</who>
            <bug_when>2004-07-20 07:49:03 0000</bug_when>
            <thetext>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&apos;
  usage: apmd [-c seconds] [-P apmd_proxy] [-p percent] [-qVvW] [-w percent] [-?]

in /etc/conf.d/apmd it says: APMD_OPTS=&quot;-P /etc/apm/apmd_proxy --proxy-timeout 30&quot;
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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -march=pentium2 -fomit-frame-pointer -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=pentium2 -fomit-frame-pointer -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache distcc sandbox userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;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&quot;
MAKEOPTS=&quot;-j8&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bugs-vjacob-gentoo@lorteoen.dk</who>
            <bug_when>2004-07-31 06:23:56 0000</bug_when>
            <thetext>I&apos;m using the sys-apps/apmd-3.0.2-r3 ebuild also. I see the exact same &quot;unrecognized option&quot; error. I also see the same solution, and I use this solution.

Therefore I suggest the solution should be to comment out the &quot;--proxy-option 30&quot; 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 &apos;apmd&apos; and experience non-working APM on Gentoo. Thanks in advance.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>henrik@brixandersen.dk</who>
            <bug_when>2005-01-04 03:53:23 0000</bug_when>
            <thetext>Fixed InCVS. Thank you for reporting this.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>