Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139891 - sys-power/powersave fails to unload services
Summary: sys-power/powersave fails to unload services
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-10 08:45 UTC by Avuton Olrich
Modified: 2006-08-22 09:49 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 Avuton Olrich 2006-07-10 08:45:18 UTC
I need to unload net.eth0 before I can suspend, so I put it into /etc/powersave/sleep as such:

SUSPEND2DISK_RESTART_SERVICES="net.eth0 nfsmount"

When I return to my computer, kpowersave's progress bar is a few precent done, stuck on net.eth0. I look at my ps auxf and see the following:

root     23611  0.0  0.2  20484  2224 ?        S    00:24   0:00 /usr/sbin/powersaved -d
root     32686  0.0  0.1   6012  1644 ?        S<   00:58   0:00  \_ /bin/bash /usr/libexec/powersave/scripts//prepare_suspend_to_disk global.suspend2disk scheme_performance empty 4
root     32740  0.0  0.2   6516  2156 ?        S<   00:58   0:00      \_ /bin/bash /sbin/runscript.sh /etc/init.d/net.eth0 stop
root       335  0.0  0.1   6516  1464 ?        S<   00:58   0:00      |   \_ /bin/bash /sbin/runscript.sh /etc/init.d/net.eth0 stop
root       336  0.0  0.0   2464   364 ?        S<   00:58   0:00      |       \_ cat /var/lib/init.d/exclusive/nfsmount
root     32741  0.0  0.0   5324   688 ?        S<   00:58   0:00      \_ awk {print "##  "$0}

emerge --info:
Portage 2.1.1_pre2-r6 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.17.4-libpata-ck1 x86_64)
=================================================================
System uname: 2.6.17.4-libpata-ck1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.1
distcc[12231] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/.distcc//state failed: No such file or directory [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-g -O2 -march=athlon64 -pipe -ffast-math -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-fno-enforce-eh-specs -g -O2 -march=athlon64 -pipe -ffast-math -msse3"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nostrip sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/initng-portage /usr/local/mpd-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X a52 aac aalib acpi aim alsa ao asf audiofile avi bash-completion berkdb bitmap-fonts bittorrent bzip2 c++ cairo calendar cdda cddb cdparanoia cli clock-screen crosscompile crypt css cups curl dbus debug dri dvd dvdr dvdread encode ext-png ext-zlib fam ffmpeg firefox flac foomaticdb fortran gcj gdb gif glut glx gmail gpm grammar gstreamer gstreamer010 gtalk gzip hal id3 ieee1394 image imlib imlib2 java javascript jikes joystick jpeg jpeg2k kde kdehiddenvisibility key-screen lame libnotify libsamplerate libvisual linuxkeys linuxthreads-tls live lzw lzw-tiff mad mmap mouse mozilla mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer ncurses net nfs nntp no-old-linux nomalloccheck nptl nptlonly nsplugin nvidia nxclient objc offensive ogg openal openexr opengl openssh openssl oscar pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime rar readline reflection reiser4 reiserfs rss rtc scp screen sdl search-screen session smp speedo speex spell spl ssl subversion svg svgz symlink sysfs syslog szip t1lib theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode unzip usb utf8 vim vim-with-x vorbis web wma wma123 wmf wordperfect xcomposite xfs xinerama xorg xpm xrandr xscreensaver xv xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_joystick input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-22 09:49:56 UTC
sorry, no idea how to fix this :(

you might want to try to do it manually with a script or consult upstream.