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

Bug#793613: lintian: error in adduser --home check



On Sun, Aug 02, 2015 at 03:11:40PM +0200, Bastien Roucaries wrote:
> 
> 
> Le 31 juillet 2015 18:10:32 GMT+02:00, Kurt Roeckx <kurt@roeckx.be> a écrit :
> >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.
> 
> It is corrected under next version (you could get a glimpse at gît)

Thanks, I think it's more clear now.  It wasn't obvious to me that
if you use --system you also need to use --home, and that --home
shouldn't point to somewhere in /home, but it does actually say
that.


Kurt


Reply to: