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. Please test! Lennart -- Lennart Poettering - Red Hat, Inc. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
