Bug#793613: lintian: error in adduser --home check
On Fri, Jul 31, 2015 at 11:20:26AM +0200, Julien Cristau wrote:
> On Sat, Jul 25, 2015 at 16:49:58 +0200, Kurt Roeckx wrote:
>
> > Package: lintian
> > Version: 2.5.33
> >
> > Hi,
> >
> > lintian shows the following error:
> > E: ntp: maintainer-script-should-not-use-adduser-system-without-home postinst:23
> >
> > However, it's called like this:
> > ntp.postinst: adduser --system --quiet --ingroup ntp --no-create-home ntp
> >
> Looks to me like lintian is right, and you should set ntp's $HOME to
> something like /nonexistent instead of /home/ntp.
The message it gives is very confusing.
Kurt
Reply to: