Subject: Bug#900354: lintian: warn against guarding adduser/addgroup calls

From: Julien Cristau <[email-masked]>
Date: Tue, 29 May 2018 16:33:21 +0200

On 05/29/2018 04:28 PM, Chris Lamb wrote:
> tags 900354 + moreinfo
> thanks
> 
> Hi Julien,
> 
> Thanks for the report.
> 
>> <@weasel> "guarding adduser calls considered harmful"
> 
> … regardless of --system or? oh, some concrete examples of "good" and
> "bad" would be really helpful here in ensuring we implement exactly
> what you after if you could spend a couple of seconds on that?
> 
I would think adduser/addgroup without --system in maintainer scripts
should be verboten altogether.  I'll try to poke through codesearch to
find other examples later.

Cheers,
Julien