SHA256
1
0
forked from pool/pam_mount

Accepting request 150886 from home:wstephenson:branches:Linux-PAM

- Suppress useless debug output on using pam_mount

OBS-URL: https://build.opensuse.org/request/show/150886
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_mount?expand=0&rev=46
This commit is contained in:
Jan Engelhardt 2013-02-03 17:40:14 +00:00 committed by Git OBS Bridge
parent 249d171d34
commit 99b1e25720
3 changed files with 47 additions and 1 deletions

View File

@ -0,0 +1,39 @@
From 38a15cc36c7fe6714dd3010fde6ad808b3792ac0 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@medozas.de>
Date: Mon, 26 Dec 2011 23:33:47 +0100
Subject: [PATCH] log: fix "feature 1 already set to zero"
Upstream: yes
---
doc/changelog.txt | 2 ++
src/rdconf1.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/changelog.txt b/doc/changelog.txt
index 9759f4f..ef009c9 100644
--- a/doc/changelog.txt
+++ b/doc/changelog.txt
@@ -3,6 +3,8 @@ For details, see the history as recorded in the git repository.
HEAD
====
+Fixes:
+- fix "feature 1 already set to zero"
v2.13 (2011-12-15)
diff --git a/src/rdconf1.c b/src/rdconf1.c
index e8ccd2d..827d36a 100644
--- a/src/rdconf1.c
+++ b/src/rdconf1.c
@@ -340,6 +340,7 @@ void initconfig(struct config *config)
char options_require[] = "nosuid,nodev";
memset(config, 0, sizeof(*config));
+ ehd_logctl(EHD_LOGFT_DEBUG, EHD_LOG_SET);
config->debug = true;
config->mkmntpoint = true;
--
1.7.4.1

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Feb 3 14:16:32 UTC 2013 - wstephenson@suse.com
- Suppress useless debug output on using pam_mount
-------------------------------------------------------------------
Sun Dec 9 17:48:35 UTC 2012 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package pam_mount
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -33,6 +33,7 @@ Source3: mount.crypt
Source5: baselibs.conf
Source6: %{name}.keyring
Patch1: pam_mount-0.47-enable-logout-kill.dif
Patch2: pam_mount-38a15cc3-ehd_logctl-debug.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
@ -105,6 +106,7 @@ and transparent use of the OS's crypto layer.
%endif
%setup -q
%patch -P 1 -p1
%patch -P 2 -p1
%build
%configure --disable-static --with-slibdir=/%_lib \