Package: mini-buildd-common Version: 0.8.20 Severity: serious User: debian...@lists.debian.org Usertags: piuparts
Hi, during a test with piuparts I noticed your package creates a system user with a home directory in /home/$SYSUSER, which is a policy violation. The FHS (which is part of the policy) states: "/home : User home directories (optional)" "/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." http://www.debian.org/doc/packaging-manuals/fhs/fhs-2.3.html#HOMEUSERHOMEDIRECTORIES System users are usually placed in /var/lib. Possible problems that can arise in case /home is a remote file system: * the local root user may not be allowed to write to /home * $SYSUSER may have different UIDs on different hosts For that particular piuparts test /home has been made unusable. >From the attached log (scroll to the bottom...): Selecting previously unselected package mini-buildd-common. (Reading database ... 11674 files and directories currently installed.) Unpacking mini-buildd-common (from .../mini-buildd-common_0.8.20_all.deb) ... Setting up mini-buildd-common (0.8.20) ... Adding system user `mini-buildd' (UID 103) ... Adding new user `mini-buildd' (UID 103) with group `sbuild' ... Creating home directory `/home/mini-buildd' ... Stopped: Couldn't create home directory `/home/mini-buildd': File exists. Removing directory `/home/mini-buildd' ... Removing user `mini-buildd' ... dpkg: error processing mini-buildd-common (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: mini-buildd-common cheers, Anderas
mini-buildd-common_0.8.20.log.gz
Description: GNU Zip compressed data