On Wed, Jan 25, 2012 at 16:33, Mike Kazantsev <mk.frag...@gmail.com> wrote: > Good day, > > Another issue I've spotted with logind on my system. > > "systemd-loginctl enable-linger" goes to src/login/logind-dbus.c:1191, > which seem to do: > > r = safe_mkdir("/var/lib/systemd/linger", 0755, 0, 0); > > ...and fails, producing something like "D-Bus call failed: No such file > or directory" from systemd-loginctl, because /var/lib/systemd doesn't > seem to be installed during regular "make install". > > Not sure if it has to be abstracted via localstatedir or something, but > since it's hard-coded in logind anyway, I thought not to bother with it. > logind-install-data-hook: > $(MKDIR_P) -m 0755 \ > + $(DESTDIR)$(rootprefix)/var/lib/systemd > + $(MKDIR_P) -m 0755 \
It probably is: $(localstatedir)/lib. Rootprefix must not be involved. That stuff is never in /usr. Kay _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel