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

Bug#201182: Not exactly frivolous



On 16 Jul 2003 04:42:18 +0800, Dan Jacobson <jidanni@jidanni.org> said: 

>>>>>> "T" == Thomas Hood <jdthood@yahoo.co.uk> writes:
T> Well, it's not exactly frivolous.  If we were designing the system
T> from scratch we would probably have the initscripts return a
T> non-zero status on failure to perform the requested action.
T> Programs calling the initscripts could then choose to ignore this
T> return value.  But it would be too much work to change the whole
T> system to work this way now.

> Too bad there is 'no room' to mention this anywhere in the docs.

	You are both missing the point. Init scripts are conffiles
 (with reason). conffiles are not removed when a package is removed,
 only upon purge. When I remove a package with an init script, I do
 not want to be bombarded at boot up with extraneous error messages

	Hence, if the packages does not exist, the init scripts are
 nops. This has nothing to do with return values, which can be
 proposed for normal operation.

	This is the specific case for initscripts belonging to a
 removed package.

	manoj
-- 
The sum of the intelligence of the world is constant.  The population
is, of course, growing.
Manoj Srivastava   <srivasta@debian.org>  <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C



Reply to: