[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#58266: bf-2.2.7: PCMCIA network install is broken



Taketoshi Sano <kgh12351@nifty.ne.jp> wrote:

> BTW, /etc/pcmcia/network and /etc/init.d/pcmcia use some command
> that are not available on root system (boot-floppies) such as
> netstat (/etc/pcmcia/network), start-stop-daemon and fgrep
> (/etc/init.d/pcmcia).
>
> I don't know if they cause the trouble or not, and I wish to ask Brian
> about these.

I need to address several points:

 (1)   Netstat is used by the pcmcia network script only to
       check on the status of the network (i.e., when the
       script is called as "network check").  Therefore, I
       don't think that it's dependence on netstat will pre-
       vent the PCMCIA package from establishing a network
       connection.  If anyone can demonstrate that I'm
       wrong, then we can look at fixing this.

 (2)   Start-stop-daemon is supposed to be the standard
       mechanism for scripts in init.d to run daemons.  If
       it is causing a problem, however, the pcmcia script
       doesn't have to use it.  Please let me know.

 (3)   It is true that /etc/init.d/pcmcia does use fgrep.
       This can easily be changed to "grep -F"; however,
       perhaps it would be better to provide two tiny
       scripts on the root system: fgrep, which runs "grep
       -F"; and egrep, which runs "grep -E".  That would
       keep other scripts that happen to be dependent on
       fgrep or egrep from breaking.  What do you think?

Brian


Reply to: