[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



Control: tags 1 + confirmed

Hi Jörg!

* Jörg Frings-Fürst <debian@jff-webhosting.net>, 2015-08-30, 13:38:
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, but I think it incorrectly assumes that --home always goes after --system.

--
Jakub Wilk


Reply to: