Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516970

Summary: media-tv/gentoo-vdr-scripts should depend on >=sys-process/procps-3.3.9 for /bin/pidof
Product: Gentoo Linux Reporter: Florian Steinel <Florian.Steinel>
Component: Current packagesAssignee: Gentoo VDR Project <vdr>
Status: RESOLVED INVALID    
Severity: normal CC: media-tv
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Florian Steinel 2014-07-12 16:51:26 UTC
The file from gentoo-vdr-scripts depends on the command "pidof". 
The command "pidof" was provided by the sysvinit until version sys-apps/sysvinit-2.88-r6 (see also the elog message from the sysvinit ebuild).
As of version 3.3.9 the command is provided by the ebuild >=sys-process/procps-3.3.9 .

Reproducible: Always

Steps to Reproduce:
1. upgrade sys-apps/sysvinit to version 2.88-r6
2. start or restart vdr with "rc-service vdr restart"

Actual Results:  
* Preparing start of vdr:
 *   Waiting for DVB devices ...                                                                                                                                                                                                                                         [ ok ]
 *   Checking config files ...                                                                                                                                                                                                                                           [ ok ]
 * Starting vdr ...                                                                                                                                                                                                                                                      [ ok ]
 *   Waiting for working vdr ...
/usr/share/vdr/inc/rc-functions.sh: Zeile 16: pidof: Kommando nicht gefunden.
 * VDR process died, please check logfile                                                                                                                                                                                                                                [ !! ]
/usr/share/vdr/inc/rc-functions.sh: Zeile 16: pidof: Kommando nicht gefunden.
 * ERROR: vdr failed to start


Expected Results:  
the vdr process runs

a symlink from /sbin/killall5 to /sbin/pidof provides works also.
Comment 1 Joerg Bornkessel (RETIRED) gentoo-dev 2014-07-13 21:44:39 UTC
<snip>
emerge --unmerge procps -p

!!! 'sys-process/procps' is part of your system profile.
!!! Unmerging it may be damaging to your system.

</snap>

output of

emerge --info
eselect profile list

plz.
Comment 2 Florian Steinel 2014-07-16 18:49:43 UTC
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.12.21-gentoo-r1 x86_64)
=================================================================
System uname: Linux-3.12.21-gentoo-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-gentoo-2.2
KiB Mem:     4041564 total,   1464812 free
KiB Swap:    3903756 total,   3888832 free
Timestamp of tree: Tue, 15 Jul 2014 23:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.4.5, 4.5.4, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo Florian-portage gnome-git-bak rust
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
INSTALL_MASK="/lib32/systemd /lib/systemd /usr/lib/tmpfiles.d /usr/lib32/tmpfiles.d /usr/lib32/systemd /usr/lib/systemd"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
USE="X a52 aac acl acpi alsa amd64 apng artworkextra avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus deskbar djvu dri dts dvb dvd dvdr emboss encode exif fam fftw firefox flac fortran gallium gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hunspell iconv inotify ipv6 jpeg jpeg2k keyring lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses nls nptl nscd ogg opengl openmp orc pam pango pcre pcsc-lite pdf pkcs11 png pulse pulseaudio qt3support raw readline session smartcard spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tagwriting tcpd theora threads thumbnail tiff totem tracker truetype udev udisks unicode usb v4l vorbis x264 xattr xcb xml xmp xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" DVB_CARDS="ttpci" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en en_GB en_US" LIRC_DEVICES="sir" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Florian Steinel 2014-07-16 18:49:53 UTC
eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/13.0
  [2]   default/linux/amd64/13.0/selinux
  [3]   default/linux/amd64/13.0/desktop *
  [4]   default/linux/amd64/13.0/desktop/gnome
  [5]   default/linux/amd64/13.0/desktop/gnome/systemd
  [6]   default/linux/amd64/13.0/desktop/kde
  [7]   default/linux/amd64/13.0/desktop/kde/systemd
  [8]   default/linux/amd64/13.0/developer
  [9]   default/linux/amd64/13.0/no-multilib
  [10]  default/linux/amd64/13.0/x32
  [11]  hardened/linux/amd64
  [12]  hardened/linux/amd64/selinux
  [13]  hardened/linux/amd64/no-multilib
  [14]  hardened/linux/amd64/no-multilib/selinux
  [15]  hardened/linux/amd64/x32
  [16]  hardened/linux/uclibc/amd64
  [17]  hardened/linux/musl/amd64
Comment 4 Florian Steinel 2014-07-16 18:50:03 UTC
qlop -f e1 -l sysvinit
Tue Feb 26 23:19:31 2013 >>> sys-apps/sysvinit-2.88-r4
Fri Jul 11 00:36:24 2014 >>> sys-apps/sysvinit-2.88-r7

qlop -f e1 -l procps
Mon Dec 23 16:15:03 2013 >>> sys-process/procps-3.3.8-r1
Sat Jul 12 18:53:02 2014 >>> sys-process/procps-3.3.9
Comment 5 Joerg Bornkessel (RETIRED) gentoo-dev 2014-07-26 14:33:42 UTC
Florian,
as i suggest in comment [1]
sys-process/procps-3.3.9
is part of your system profil

take a look in
http://devmanual.gentoo.org/general-concepts/dependencies/index.html#implicit-system-dependency
how to handle system own packages

I think something goes wrong as you switched to the latest system profile
there was a block in sysvinit / procps
maybe you did not know how to resolve this block an blocked the update of sysvinit in package.mask
maybe...
anyway.

to fix this:
remove the mask
emerge sysvinit -uO  // to upgrade sysvinit
emerge procps // to install the missing system package

this will fix your local problem