start-stop-daemon. Closes: #295169, #267784
+2006-02-06 Guillem Jover <guillem@debian.org>
+
+ * utils/start-stop-daemon.c (main): When using --chuid set the HOME
+ environment variable.
+
2006-02-05 Christian Perrier <bubulle@debian.org>
* man/*. Switch all translations to po4a. Work contributed
[ Guillem Jover ]
* Make start-stop-daemon print the proper version instead of 'VERSION'.
-
+ * Set the HOME environment variable when using the --chuid switch in
+ start-stop-daemon. Closes: #295169, #267784
+
[ Frank Lichtenheld ]
* Let dpkg-source ignore comments in the hunk header as used by
diff -p (Anand Kumria). Closes: #344880
changegroup = ""; /* just empty */
runas_gid = pw->pw_gid;
}
+ if (access(pw->pw_dir, F_OK) == 0)
+ setenv("HOME", pw->pw_dir, 1);
}
if (stop) {