/etc/init.d/hsf isn't starting: /lib64/rc/sh/runscripts.sh: line 117: .: /usr/sbin: is a directory After a little investigation, it looks as though $1 in runscripts.sh is getting /usr/sbin instead of /usr/sbin/rchsf. I'm not sure if this is a problem with openrc-0.2.5 or hsfmodem. Just for a little test, I removed the symlink and copied /usr/sbin/rchsf (the file it was linking to) into /etc/init.d as hsf and then started it. It then proceeded to start fine. I also noticed that /usr/sbin/hsfstop is complaining about too many arguments when stopping /etc/init.d/hsf (if you remove the symlink and copy the rchsf to /etc/init.d): /usr/sbin/hsfstop: line 62: [: too many arguments /usr/sbin/hsfstop: line 65: return: too many arguments Reproducible: Always Steps to Reproduce: 1. emerge hsfmodem 2. hsfconfig 3. /etc/init.d/hsf start Actual Results: /lib64/rc/sh/runscripts.sh: line 117: .: /usr/sbin: is a directory Expected Results: Starting Conexant HSF softmodem emerge --info: 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 Intel(R) Core(TM)2 Duo CPU T5270 @ 1.40GHz Timestamp of tree: Thu, 31 Jul 2008 03:20: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: 2.0.0 sys-apps/openrc: 0.2.5 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.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=nocona -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/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=nocona -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://portage.home http://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j6" 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/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://server.home/gentoo-portage" USE="X a52 aac acl acpi adns alsa amd64 apache2 audiofile avi bcmath bdf berkdb bzip2 calendar cddb cdparanoia cdr cjk clamav cli cpudetection cracklib crypt ctype cups curl curlwrappers dbus dga directfb dri dts dvb dvd dvdread emu-linux-x86 encode exif fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm gif gmp gnutls gpm gsm gtk gtk2 hal hash iconv ieee1394 imagemagick imap imlib innodb ipv6 isdnlog ithreads java javascript jpeg jpeg2k json kde lcms ldap ldap-sasl libcaca logrotate lzo mad matroska mcal mhash midi mime mjpeg mmx mmxext mng mp3 mp4 mpeg msession msn mudflap multilib mysql mysqli ncurses network nls nptl nptlonly nsplugin nss nvidia ogg openal opengl openmp osc oss pam pcmcia pcntl pcre pdf pdo pear perl pg-intdatetime php png posix ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba sasl sdl seamonkey session simplexml snmp soap sockets spl sqlite sse sse2 ssl ssse3 subversion suhosin svg sysfs tcpd theora threads tidy tiff tokenizer transcode truetype unicode usb utempter v4l v4l2 vcd vorbis wddx wifi wxwindows x264 xcomposite xforms xine xml xorg xpm xsl xv xvid xvmc zip zlib" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 vesa fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I don't see anything syntactically wrong in /usr/sbin/hsfstop and runscript should be happy with symlinked init scripts. Reassigned to base-system team.
(In reply to comment #1) > I don't see anything syntactically wrong in /usr/sbin/hsfstop and runscript > should be happy with symlinked init scripts. > Reassigned to base-system team. > Looks like /usr/sbin/hsfstop just has problems when it tries to output something. I don't have any problems with it if the /etc/init.d/hsf file is not a symlink.
Which means it's not our bug.
Apparently you are the only one having this problem, so I'm closing this as INVALID.
*** Bug 254095 has been marked as a duplicate of this bug. ***