Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233727 - xfce-extra/xfce4-sensors-0.10.99.3-r2 fails to invoke hddtemp against network block devices (/dev/nbd*)
Summary: xfce-extra/xfce4-sensors-0.10.99.3-r2 fails to invoke hddtemp against network...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 16:14 UTC by Jon Marston
Modified: 2008-09-26 14:32 UTC (History)
1 user (show)

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


Attachments
New version of the hddtemp patch to fix the issue (hddtemp.patch,896 bytes, patch)
2008-08-02 16:49 UTC, Jon Marston
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Marston 2008-08-02 16:14:32 UTC
When xfce4-sensors invokes hddtemp, it should probably ignore network block devices as they do not work with hddtemp.
As a result, the sensors plugin fails to start 

Reproducible: Always

Steps to Reproduce:
1.NBD enabled kernel
2.Emerge xfce4-sensors and enable the plugin
3.Log in
4.Observer error message

Actual Results:  
Error when xfce4-sensors tried to start.
Error message:
"An error occurred when executing "/usr/sbin/hddtemp -n -q /dev/nbd0":
ERROR: /dev/nbd0: can't determine bus type (or this bus type is unknown)
"

Expected Results:  
Sensors plugin should start.

Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: 2.6.26-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+
Timestamp of tree: Thu, 31 Jul 2008 08:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ http://gentoo.virginmedia.com/  http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.mneisen.org/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi activefilter adplug alsa amd64 amrnb amrwb ao ares arts artworkextra asyncns atm audiofile autoipd avahi bash-completion berkdb bl bonjour bookmarks branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr chicken chipcard cli clisp corba cpudetection cracklib crypt cscope css cups daap dbus dhcp djbfft djvu dri dts dv dvb dvd dvdr dvdread eap-tls eds emovix enca encode esd exif extrafilters fame fbcon ffmpeg fftw filepicker firefox flac float fontconfig fortran fpx ftp fuse gadu gd gdbm gedit ggi gif glib gnome gnutls gpac gphoto2 gpm grace graphviz groupwise gs gstreamer gtk guile hal hbci hddtemp hdri howl-compat iconv id3tag idea imagemagick iproute2 ipv6 isdnlog jack jack-tmpfs java jbig joystick jpeg jpeg2k kde ladspa lame latex lcms libcaca libnotify libsamplerate live lm_sensors logrotate loop-aes lua lzo mad matroska mdnsresponder-compat meanwhile midi mjpeg mmap mmx mmxext mng modplug mono mozdevelop mp2 mp3 mpeg mpi mppe-mppc msn mtp mudflap multilib multiuser musepack musicbrainz mysql nas nautilus ncurses nemesi nethack netjack network networking new-login nls nntp nptl nptlonly nsplugin nxclient ocaml odbc offensive ofx ogg openal openexr opengl openmp openntpd optimisememory pam parse-clocks passwordsave paste64 pcre pdf perl php pike png pnm portaudio pppd prediction pulseaudio python qq qt3 qt4 quicktime quotes radius rar rdesktop readline reflection rtc rtsp ruby samba sasl sdl sdl-image seamonkey server session shout silc simplexml skins sndfile soap sox speex spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification stream suid svg sysfs tcl tcpd teletext tga theora threads tiff timidity tk tordns truetype tta unicode upnp urandom utils v4l v4l2 vcd vim-pager vim-syntax vlm vnc vorbis vram wavpack wma wmf wxwindows x264 x86emu xanim xcb xcomposite xforms xft xml xmlreader xmlrpc xmlwriter xmpi xorg xosd xulrunner xv xvid xvmc zephyr zeroconf zlib zoran" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jon Marston 2008-08-02 16:49:05 UTC
Created attachment 162005 [details, diff]
New version of the hddtemp patch to fix the issue
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2008-09-26 14:32:05 UTC
thanks, fixed