X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Flogin%2Flogind-user.c;h=27f78adae1a0e8824f26159fa1a518df9e6ed8e6;hb=f8e2fb7b14e53f5a4bcfd66d26910af1dee185c6;hp=56c7de4400aa90bbfe67a3eeed81bd9ef4534a21;hpb=4bba9156da3e1df2cee24d10d7cd88c776ef4179;p=elogind.git diff --git a/src/login/logind-user.c b/src/login/logind-user.c index 56c7de440..27f78adae 100644 --- a/src/login/logind-user.c +++ b/src/login/logind-user.c @@ -6,16 +6,16 @@ Copyright 2011 Lennart Poettering systemd is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. systemd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. + Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . ***/ @@ -25,6 +25,7 @@ #include "logind-user.h" #include "util.h" +#include "mkdir.h" #include "cgroup-util.h" #include "hashmap.h" #include "strv.h" @@ -299,6 +300,8 @@ static int user_create_cgroup(User *u) { static int user_start_service(User *u) { assert(u); + /* FIXME: Fill me in later ... */ + return 0; } @@ -310,7 +313,7 @@ int user_start(User *u) { if (u->started) return 0; - log_info("New user %s logged in.", u->name); + log_debug("New user %s logged in.", u->name); /* Make XDG_RUNTIME_DIR */ r = user_mkdir_runtime_path(u); @@ -425,7 +428,7 @@ int user_stop(User *u) { assert(u); if (u->started) - log_info("User %s logged out.", u->name); + log_debug("User %s logged out.", u->name); LIST_FOREACH(sessions_by_user, s, u->sessions) { k = session_stop(s);