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

Bug#976149: debian-policy: [9.3.2] drop requirement to not fail if /etc/default file is deleted



Hello,

On Mon 30 Nov 2020 at 07:49PM +01, Bill Allombert wrote:

> On Mon, Nov 30, 2020 at 02:37:08PM +0100, Oxan van Leeuwen wrote:
>> Source: debian-policy
>> Version: 4.5.1.0
>> Severity: normal
>>
>> Currently Policy requires that init.d scripts, and only init.d scripts, don't
>> fail if the corresponding /etc/default is removed (section 9.3.2, second-to-last
>> paragraph).
>>
>> Personally I interpret "not fail" as "succeed to function", i.e. it has to
>> actually start the daemon. I don't think that's a particularly sensible
>> requirement.
>
> 'not fail' here means that the script terminates with return code 0.

This is how I would read it too.  Would a patch to add "(i.e. exit with
return code 0)" resolve the original submitter's concerns?

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature


Reply to: