Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46075 - sys-apps/apcupsd extraneous line in apccontrol script breaks event handling
Summary: sys-apps/apcupsd extraneous line in apccontrol script breaks event handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 47839 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-03-28 23:21 UTC by Christopher G. Stach II
Modified: 2004-04-21 14:11 UTC (History)
1 user (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 Christopher G. Stach II 2004-03-28 23:21:14 UTC
Fix:

*** /etc/apcupsd/apccontrol.old Mon Mar 29 01:14:28 2004
--- /etc/apcupsd/apccontrol     Mon Mar 29 01:12:12 2004
***************
*** 85,91 ****
        if [ -f /etc/apcupsd/powerfail ] ; then
           printf "Continuing with shutdown."  | wall
        fi
-       ;;
      ;;
      failing)
        echo "Battery power exhaused on UPS ${2}. Doing shutdown." | wall
--- 85,90 ----


Reproducible: Always
Steps to Reproduce:
1. Unplug UPS communications cable or generate an event another way
2.
3.

Actual Results:  
Script execution error.

Expected Results:  
Worked. :)

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1800MHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -msse2 -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -msse2 -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages notitles sandbox userpriv
usersandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/
http://open-systems.ufl.edu/mirrors/gentoo
http://mirror.clarkson.edu/pub/distributions/gentoo/ http://gentoo.netnitco.net"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl acpi aim alsa apache2 apm arts avi berkdb bonobo cdr cjk
crypt cscope cups curl dga directfb dvd encode esd ethereal evo fam fbcon
foomaticdb gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icc icc-pgo
icq imagemagick imap imlib innodb jabber jack java jikes jpeg junit ladcca lcms
lesstif libg++ libwww lirc mad maildir matrox mbox memlimit mikmod mmx motif
mozilla mpeg msn mysql nas ncurses nls odbc oggvorbis opengl oscar oss pam
pdflib perl plotutils png python qt quicktime readline samba sasl scanner sdl
slang slp socks5 speex spell sse ssl svga tcltk tcpd theora tiff truetype
unicode usb video_cards_matrox wmf x86 xface xinerama xml xml2 xmms xosd xv
yahoo zlib"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-04-19 06:57:13 UTC
*** Bug 47839 has been marked as a duplicate of this bug. ***
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-04-21 14:11:54 UTC
in cvs