Package: lintian Version: 2.5.68 Severity: wishlist Usertags: skel Policy 10.7.5 discusses the requirements for the /etc/skel directory:
https://www.debian.org/doc/debian-policy/#user-configuration-files-dotfiles These checks could be added: * Checking for files/dirs in /etc/skel that do not start with a dot, severity error * Checking for files/dirs in /etc/skel (except shells, see below), severity warning Please whitelist shells that currently use the directory reasonably legitimately (though I think some of these are policy violations). I would suggest the whitelist should be package+file based, so the shells should be able to keep their existing files, but not add any more, nor add any paths from the other shells. $ apt-file search -x ^/etc/skel | grep sh: bash: /etc/skel/.bash_logout bash: /etc/skel/.bashrc bash: /etc/skel/.profile ksh: /etc/skel/.kshrc mksh: /etc/skel/.mkshrc There is one package in the Debian archive that will trigger this warning and I've already filed bug #887118 about that: $ apt-file search -x ^/etc/skel | grep -v sh: kytos-utils: /etc/skel/kytos/napp-structure/username/__init__.py kytos-utils: /etc/skel/kytos/napp-structure/username/napp/README.rst.template kytos-utils: /etc/skel/kytos/napp-structure/username/napp/__init__.py kytos-utils: /etc/skel/kytos/napp-structure/username/napp/kytos.json.template kytos-utils: /etc/skel/kytos/napp-structure/username/napp/main.py.template kytos-utils: /etc/skel/kytos/napp-structure/username/napp/openapi.yml.template kytos-utils: /etc/skel/kytos/napp-structure/username/napp/settings.py.template -- bye, pabs https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part