Bug#1143184: netcfg: Remove /var/run/stab support?

Colin Watson <[email protected]> Fri, 31 Jul 2026 14:26:50 +0100
Newsgroups gmane.linux.debian.devel.boot
Message-ID <amyimqWV8gcULtZm__39386.3579652802$1785504566$gmane$org@camorr.rosewood.vpn.ucam.org>
Source: netcfg
Version: 1.204
Severity: wishlist

netcfg still has various bits of code to support checking whether an 
interface is listed in /var/run/stab.  As far as I know, that was only 
created by pcmcia-cs, which we stopped using in 2007 and which has long 
since been removed.  hw-detect's changelog mentions this:

hw-detect (1.54) unstable; urgency=low

  [ Joey Hess ]
  * Remove cruft left over from the days of pcmcia-cs.
    - pcmciautils doesn't create a cardmgr.pid, so stop looking for it to
      determine if pcmcia is started. Look for the pcmcia_core module being
      loaded  instead.
    - No need for funky redirections when running the init script as it no
      longer starts a daemon.
    - /var/run/stab was only produced by pcmcia-cs, so the whole
      gen_pcmcia_devnames section can no longer run; remove.
    - Only modify config.opts in /target if pcmcia_resources is preseeded.
  [...]

 -- Frans Pop <[email protected]>  Fri, 06 Jul 2007 00:17:19 +0200

Does anyone know of a reason we shouldn't drop this cruft from netcfg 
too?

Thanks,