path: guix_1.4.0-9/gnu/build/linux-boot.scm (logand (network-interface-flags sock interface) IFF_UP))) (define (pidof program) "Return the PID of the first presumed instance of PROGRAM." (let ((program (basename program))) path: guix_1.4.0-9/etc/guix-install.sh { # Check if nscd is up and suggest to start it or install it if [ "$(type -P pidof)" ]; then if [ ! "$(pidof nscd)" ]; then _msg "${WAR}We recommend installing and/or starting your distribution 'nscd' service" _msg "${WAR}Please read 'info guix \"Application Setup\"' about \"Name Service Switch\"" path: guix_1.4.0-9/etc/guix-install.sh chk_sys_nscd() { # Check if nscd is up and suggest to start it or install it if [ "$(type -P pidof)" ]; then if [ ! "$(pidof nscd)" ]; then _msg "${WAR}We recommend installing and/or starting your distribution 'nscd' service" path: guix_1.4.0-9/gnu/packages/busybox.scm ;; The pidof tests assume that pid 1 is called "init" but ;; that is not true in guix build environment (substitute* "testsuite/pidof.tests" (("-s init") "-s $(cat /proc/1/comm)")) path: guix_1.4.0-9/gnu/packages/busybox.scm (("/bin/false") (which "false"))) ;; The pidof tests assume that pid 1 is called "init" but ;; that is not true in guix build environment (substitute* "testsuite/pidof.tests"