Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261740 - net-dialup/hsfmodem-7.80.02.01 with sys-apps/openrc-0.4.3-r1: /etc/init.d/hsf fails to start
Summary: net-dialup/hsfmodem-7.80.02.01 with sys-apps/openrc-0.4.3-r1: /etc/init.d/hsf...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 18:23 UTC by Erik Boritsch
Modified: 2013-09-07 09:21 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Boritsch 2009-03-08 18:23:03 UTC
I get following error if I try to (re)start hsf init script with openrc-0.4.3-r1:

/lib/rc/sh/runscript.sh: line 117: .: /usr/sbin: is a directory

Init script was working fine with baselayout1

Reproducible: Always
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-09 16:54:10 UTC
Reassigning to net-dialup herd.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-03-13 20:52:18 UTC
I don't use openrc or hsfmodem.

Either the reporter or someone from base-system team will have to find the solution for this. 
Comment 3 Andrzej Kardas 2009-07-12 15:20:31 UTC
> Either the reporter or someone from base-system team will have to find the
> solution for this. 
> 
I run in to similar problem with hsfmodem-7.80.02.03 and openrc-0.4.3-r3 (the problem is not caused by ebuild same problem with core installation). The init script is created during hsfconfig run and it's just a symlink to /usr/sbin/rchsf. Somehow the openrc is not able to run the init script this way. The simple workaround for this problem is to copy the rchsf script over the simlink (rename it to hsf) to /etc/init.d/. After doing this the script is lunching properly and the modem is fully usable. Of course you have to recopy the file after every run of hsfconfig.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-22 00:11:35 UTC
Thanks for the info.

To get this straight, we cannot copy the init script on installation? Only after hsfconfig is ran?
Comment 5 Egor Y. Egorov 2010-07-13 09:09:20 UTC
See http://bugs.gentoo.org/show_bug.cgi?id=308865

This solved by adding

dosed "/\/etc\/init\.d\/hsf/s/ln -s/cp/" /usr/sbin/hsfconfig || die

into src_install (for hsfmodem-7.80.02.05)
Please test.

Sory, my English is bad.

Comment 6 Pacho Ramos gentoo-dev 2013-09-07 09:21:25 UTC
dropped