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

Bug#797395: [maintainer-script-should-not-use-adduser-system-without-home] false positivies



Hi,

Jakub Wilk wrote:
> >I use at a maintainer script this line:
> >
> >'adduser --home /var/lib/saned  --quiet --system --no-create-home --group saned
> >|| true'
> 
> Lintian uses this regexp (see
> data/scripts/maintainer-script-bad-command):
> 
> (adduser(?:\s.*)?\s--system(?=\s)(?!.*\s--home\s+(?:["']?/(?!home/)|"?\$[\(\[\{]?)).*)
> 
> The regexp made my head hurt,

Huh?

> but I think it incorrectly assumes
> that --home always goes after --system.

You're right. Will work on a fix for that.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: