During DebConf, Russ and I reviewed this bug and believe that the only remaining issue is to document /nonexistent. So I am seeking seconds
for the following patch.
diff --git a/policy/ch-opersys.rst b/policy/ch-opersys.rst
index e4ed008..7d9e20a 100644
--- a/policy/ch-opersys.rst
+++ b/policy/ch-opersys.rst
@@ -296,6 +296,18 @@ The UID and GID numbers are divided into classes as follows:
``(uid_t)(-1) == (gid_t)(-1)`` *must not* be used, because it is the
error return sentinel value.
+.. _s-nonexistent:
+
+Non-existent home directories
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The canonical non-existent home directory is ``/nonexistent``. Users
+who should not have a home directory should have their home directory
+set to this value.
+
+The Debian autobuilders set HOME to ``/nonexistent`` so that packages
+which try to write to a home directory will fail to build.
+
.. _s-sysvinit:
System run levels and ``init.d`` scripts
+.. _s-nonexistent:
+
+Non-existent home directories
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The canonical non-existent home directory is ``/nonexistent``. Users
+who should not have a home directory should have their home directory
+set to this value.
+
+The Debian autobuilders set HOME to ``/nonexistent`` so that packages
+which try to write to a home directory will fail to build.
+
.. _s-sysvinit:
System run levels and ``init.d`` scripts
--
Sean Whitton
+.. _s-nonexistent:
+
+Non-existent home directories
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The canonical non-existent home directory is ``/nonexistent``. Users
+who should not have a home directory should have their home directory
+set to this value.
+
+The Debian autobuilders set HOME to ``/nonexistent`` so that packages
+which try to write to a home directory will fail to build.
+
XDG_RUNTIME_DIR=/nonexistant
I don't think Policy should state bits about the environment variables
Debian autobuilders set (or only mention that in a footnote).
| Sysop: | Keyop |
|---|---|
| Location: | Huddersfield, West Yorkshire, UK |
| Users: | 715 |
| Nodes: | 16 (2 / 14) |
| Uptime: | 37:25:39 |
| Calls: | 12,109 |
| Files: | 15,006 |
| Messages: | 6,518,371 |