Lintian ReportsBETA

Tag versions

Emaintainer-script-lacks-home-in-adduser

The tag is present in Lintian version 2.113.26. That is the most recent version we know about.

We use semantic versions. The patch number is a commit step indicator relative to the 2.113.0 release tag in our Git repository.

You can find the detection logic for this version at commit 43a81d7. For merge requests, please use the latest version in the Lintian check scripts.

Visibility: error

Renamed from:

The maintainer script apparently runs 'adduser --system' but hardcodes a path under '/home' for the '--home' option or does not use the '--home' option.

The FHS says: /home is a fairly standard concept, but it is clearly a site-specific filesystem. The setup will differ from host to host. Therefore, no program should rely on this location.

Note that passing --no-create-home alone does not solve the issue because home field of passwd file point to a non existing /home subdirectory. Please use adduser --no-create-home --home /nonexistent instead.

For more information please consult:

The following 4 source packages in the archive triggered the tag 4 times (in any Lintian version).

We found 2 overrides. The tag performed 50% of the time.