On Mon, Jul 16, 2012 at 10:48 AM, Lennart Poettering <[email protected]> wrote: > On Sat, 14.07.12 00:23, Auke Kok ([email protected]) wrote: > >> Change the default WorkingDirectory to $HOME in case running as >> USER_MANAGER. We assume that HOME is set by default for all >> user managers, so looking up pw_dir doesn't make much sense. >> >> Mount, socket and service units are affected, as these all >> can execute programs and thus the working directory may >> affect how these programs function. > > I don't think segfaulting when HOME isn't set is really an option. I > have now applied a different patch that moves this to service_load() (so > that we can properly handle OOM), and uses the new get_home_dir() call I > added.
but, but it's only the user session ;^) will test. Auke _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
