[Pkg-kde-extras] Bug#472626: /usr/bin/strigidaemon: i/o priority is probably not set

Greg Kochanski gpk at kochanski.org
Tue Mar 25 12:25:08 UTC 2008


Package: strigi-daemon
Version: 0.5.8-1
Severity: normal
File: /usr/bin/strigidaemon


In src/daemon/strigithread.cpp, an attempt is made to set
the I/O priority to the IDLE class.   However, the man
page for ionice states that the IDLE scheduling class is
only available for UID=root.

Consequently, strigi's attempt will silently fail
unless the documentation is wrong.   (Since strigi
doesn't seem to be a set-UID program.)

#ifdef HAVE_LINUXIOPRIO
    sys_ioprio_set(IOPRIO_WHO_PROCESS, 0, IOPRIO_CLASS_IDLE);
#endif

The proper solution is probably to try to set it to the
IDLE scheduling class.   If that fails, set it to the
lowest priority in the normal scheduling class.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages strigi-daemon depends on:
ii  dbus                       1.1.20-1      simple interprocess messaging syst
ii  dbus-x11                   1.1.20-1      simple interprocess messaging syst
ii  libc6                      2.7-6         GNU C Library: Shared libraries
ii  libdbus-1-3                1.1.20-1      simple interprocess messaging syst
ii  libgcc1                    1:4.3.0-1     GCC support library
ii  libstdc++6                 4.3.0-1       The GNU Standard C++ Library v3
ii  libstreamanalyzer0         0.5.8-1       streamanalyzer library for Strigi 
ii  libstreams0                0.5.8-1       streams library for for Strigi Des
ii  libxml2                    2.6.31.dfsg-2 GNOME XML library
ii  poppler-utils              0.6.4-1       PDF utilitites (based on libpopple

strigi-daemon recommends no packages.

-- no debconf information





More information about the pkg-kde-extras mailing list