From bc0dd808db5f85b292d0ca7d4c2b234bd4de0c96 Mon Sep 17 00:00:00 2001 From: Michal Schmidt Date: Jan 17 2012 12:20:18 +0000 Subject: Shut up another logind message (#727315) --- diff --git a/0131-logind-downgrade-login-message-to-debug.patch b/0131-logind-downgrade-login-message-to-debug.patch new file mode 100644 index 0000000..aaaf041 --- /dev/null +++ b/0131-logind-downgrade-login-message-to-debug.patch @@ -0,0 +1,38 @@ +From 4874e6039cf7f38f6b2f3c86ba3fa274ed9bd1ba Mon Sep 17 00:00:00 2001 +From: Michal Schmidt +Date: Mon, 16 Jan 2012 13:18:17 +0100 +Subject: [PATCH] logind: downgrade login message to debug + +The messages make people nervous. + +https://bugzilla.redhat.com/show_bug.cgi?id=727315 +(cherry picked from commit 1637a8be5570dff7ce402451240b28ddb54e5dca) +--- + src/logind-user.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/logind-user.c b/src/logind-user.c +index 56c7de4..432d609 100644 +--- a/src/logind-user.c ++++ b/src/logind-user.c +@@ -310,7 +310,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 +425,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); +-- +1.7.7.5 + diff --git a/systemd.spec b/systemd.spec index ae97f0b..f6538ae 100644 --- a/systemd.spec +++ b/systemd.spec @@ -2,7 +2,7 @@ Name: systemd Url: http://www.freedesktop.org/wiki/Software/systemd BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Version: 37 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Group: System Environment/Base Summary: A System and Service Manager @@ -178,6 +178,7 @@ Patch0127: 0127-tmpfiles-fix-parsing-of-proc-net-unix-on-32Bit-machi.patch Patch0128: 0128-pam-work-correctly-if-a-seat-is-specified-but-not-vt.patch Patch0129: 0129-pam-fix-build.patch Patch0130: 0130-mount-fix-quota.patch +Patch0131: 0131-logind-downgrade-login-message-to-debug.patch # For sysvinit tools Obsoletes: SysVinit < 2.86-24, sysvinit < 2.86-24 @@ -496,6 +497,9 @@ fi %{_bindir}/systemd-sysv-convert %changelog +* Tue Jan 17 2012 Michal Schmidt - 37-8 +- Shut up another logind message (#727315). + * Sat Jan 14 2012 Michal Schmidt - 37-7 - Fix for quota and a couple of other issues.