On Fri, Sep 30, 2005 at 01:49:52AM +0300, Jukka Suomela wrote:
> So, by following the documentation, I should now write something to
> /etc/sysctl.conf. Fine, I could do that, but this sounds like a bit
> strange upgrade path for a regular user. After all, I don't think I

since you (not you Jukka, but the package maintainers :)) are deprecating
/etc/network/options, it would be nice to provide some automatic
transition to procps:/etc/sysctl.conf.

I wrote and attached a small shell script snippet based on your
/etc/init.d/networking, which tries to achieve the current semantics
as much as possible, i.e. it only sets options but never unsets them.
The only reverted semantic is that currently netbase overrides procps
(which is caused by the rcS.d sequence code), while in the script
procps overrides netbase.

You could probably add the snippet to postinst or somewhere similar and
remove /etc/network/options in prerm.
Since /etc/sysctl.conf is a conffile of another package, you should
probably surround the transition by some medium priorized debconf
question.

procps is Priority: required, I don't know if you need to Depend: on it
or Recommend: it then.


Thanks for your work & regards
   Mario
-- 
It is practically impossible to teach good programming style to students
that have had prior exposure to BASIC: as potential programmers they are
mentally mutilated beyond hope of regeneration.  -- Dijkstra

Attachment: options2sysctl.sh
Description: Bourne shell script

Reply via email to