URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 73284
[ Назад ]

Исходное сообщение
"/etc/rc: WARNING: run_rc_command: cannot run /sbin/"

Отправлено rednikov , 03-Апр-07 11:20 
приветствую..
при загрузке оч раздражает строчка
/etc/rc: WARNING: run_rc_command: cannot run /sbin/devd

но как убрать не совсем представляю..
с чем это может быть связано?


Содержание

Сообщения в этом обсуждении
"/etc/rc: WARNING: run_rc_command: cannot run /sbin/"
Отправлено rednikov , 03-Апр-07 12:07 
упс...
Этого devd вообще нет...

Собирал образ с параметрами :
# Options to put in make.conf during installworld only
CONF_INSTALL='
#NO_ACPI=YES
NO_BLUETOOTH=YES
NO_CVS=YES
NO_FORTRAN=YES
NO_HTML=YES
NO_MAN=YES
NO_LPR=YES
#NO_SENDMAIL=YES
NO_SHAREDOCS=YES
NO_EXAMPLES=YES
#NO_INSTALLLIB=YES
NO_CALENDAR=YES
#NO_MISC=YES
#NO_SHARE=YES
'

# Options to put in make.conf during both build- & installworld.
CONF_WORLD='
#NO_ACPI=YES            # do not build acpiconf(8) and related programs
NO_ATM=YES              # do not build ATM related programs and libraries
NO_BLUETOOTH=YES        # do not build Bluetooth related stuff
#NO_BOOT=YES            # do not build boot blocks and loader
#NO_CRYPT=YES           # do not build any crypto code
NO_CVS=YES              # do not build CVS
NO_CXX=YES              # do not build C++ and friends
NO_DICT=YES             # do not build the Webster dictionary files
#NO_DYNAMICROOT=YES     # do not link /bin and /sbin dynamically
NO_FORTRAN=YES          # do not build g77 and related libraries
NO_GAMES=YES            # do not build games (games/ subdir)
NO_GDB=YES              # do not build GDB
NO_GPIB=YES             # do not build GPIB support
NO_I4B=YES              # do not build isdn4bsd package
#NO_INET6=YES           # do not build IPv6 related programs and libraries
NO_INFO=YES             # do not make or install info files
NO_IPFILTER=YES         # do not build IP Filter package
NO_KERBEROS=YES         # do not build and install Kerberos 5 (KTH Heimdal)
NO_LIBC_R=YES           # do not build libc_r (re-entrant version of libc)
#NO_LIBPTHREAD=YES       # do not build libpthread (M:N threading library)
NO_LIBTHR=YES           # do not build libthr (1:1 threading library)
NO_LPR=YES              # do not build lpr and related programs
NO_MAILWRAPPER=YES      # do not build the mailwrapper(8) MTA selector
NO_MAN=YES              # do not build manual pages
#NO_MODULES=YES          # do not build modules with the kernel
#NO_NETCAT=YES          # do not build netcat
NO_NIS=YES              # do not build NIS support and related programs.
NO_OBJC=YES             # do not build Objective C support
#NO_OPENSSH=YES         # do not build OpenSSH
#NO_OPENSSL=YES         # do not build OpenSSL (implies NO_KERBEROS/NO_OPENSSH)
#NO_PF=YES              # do not build PF firewall package
NO_PROFILE=YES          # Avoid compiling profiled libraries
NO_RCMDS=YES            # do not build or install BSD r* commands (rsh, etc).
#NO_SENDMAIL=YES         # do not build sendmail and related programs
#NO_SHARE=YES           # do not go into the share subdir
#NO_SHARED=YES          # build /bin and /sbin dynamically linked (bad idea
NO_SHAREDOCS=YES        # do not build the 4.4BSD legacy docs
#NO_TCSH=YES            # do not build and install /bin/csh (which is tcsh)
NO_TOOLCHAIN=YES        # do not build programs for program development
NO_USB=YES              # do not build usbd(8) and related programs
#PP_NO_NAT=YES           # do not build with NAT support (see make.conf(5))
#PPP_NO_NETGRAPH=YES     # do not build with Netgraph support
PPP_NO_RADIUS=YES       # do not build with RADIUS support
#PPP_NO_SUID=YES        # build with normal permissions
#TRACEROUTE_NO_IPSEC=YES # do not build traceroute(8) with IPSEC support
NO_BIND=YES            # Do not build any part of BIND
NO_BIND_DNSSEC=YES     # Do not build dnssec-keygen, dnssec-signzone
NO_BIND_ETC=YES        # Do not install files to /etc/namedb
NO_BIND_LIBS_LWRES=YES # Do not install the lwres library
NO_BIND_MTREE=YES      # Do not run mtree to create chroot directories
NO_BIND_NAMED=YES      # Do not build named, rndc, lwresd, etc.
NO_BIND_UTILS=YES       # Do not build dig, host, nslookup, nsupdate
#WITH_BIND_LIBS=YES        # Install the BIND libs and include files
#NO_NETGRAPH=YES
#NO_KLDLOAD=YES
NO_PAM=YES
NO_P1003_1B=YES
NO_GCOV=YES
NO_HTML=YES
NO_RESCUE=YES
NO_HESIOD_LIBC=YES
BOOT_COMCONSOLE_SPEED=115200
NO_EXAMPLES=YES
#NO_INSTALLLIB=YES
NO_CALENDAR=YES
#NO_MISC=YES
#NO_LOCALES=YES
#NO_SYSCONS=YES
'

Кто нить подскажет в котором из них отключается сборка devd... :)))
В данном случае идёт речь о сборке nanoBSD...


"/etc/rc: WARNING: run_rc_command: cannot run /sbin/"
Отправлено drug , 02-Июл-10 13:13 
/usr/src/sbin/devd
# cat Makefile

# $FreeBSD: src/sbin/devd/Makefile,v 1.8.10.1 2010/02/10 00:26:20 kensmith Exp $

PROG_CXX=devd
SRCS=    devd.cc token.l parse.y y.tab.h
MAN=    devd.8 devd.conf.5
WARNS?=    4

NO_SHARED?=YES

DPADD=    ${LIBL} ${LIBUTIL}
LDADD=    -ll -lutil

YFLAGS+=-v
CFLAGS+=-I. -I${.CURDIR}

CLEANFILES= y.output

.include <bsd.prog.mk>


Дальше догадаетесь?