- skip temporary mappings in early stage as chmod needs to be called

on the mounted file systems (bnc#591704)

OBS-URL: https://build.opensuse.org/package/show/security/cryptsetup?expand=0&rev=48
This commit is contained in:
Ludwig Nussel 2010-07-01 14:26:39 +00:00 committed by Git OBS Bridge
parent ea43e1383b
commit 301bfdeb77
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 3533bf2521a9829d7042f604dcac39c9dc472b43 Mon Sep 17 00:00:00 2001
From: Ludwig Nussel <ludwig.nussel@suse.de>
Date: Thu, 1 Jul 2010 16:18:13 +0200
Subject: [PATCH] skip 'tmp' mappings in early stage (bnc#591704)
---
boot.crypto.functions | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/boot.crypto.functions b/boot.crypto.functions
index 977c589..db9185b 100755
--- a/boot.crypto.functions
+++ b/boot.crypto.functions
@@ -602,7 +602,7 @@ start_crypttab ()
continue
fi
- if test "$CRYPT_EARLY" = "yes" -a "$noearly" = "yes"; then
+ if test "$CRYPT_EARLY" = "yes" -a \( "$noearly" = "yes" -o "$maketmp" = "yes" \); then
report 5 "$name... will be set up later"
continue
fi
--
1.7.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 1 14:27:12 UTC 2010 - lnussel@suse.de
- skip temporary mappings in early stage as chmod needs to be called
on the mounted file systems (bnc#591704)
-------------------------------------------------------------------
Sat Jun 26 10:07:24 UTC 2010 - jengelh@medozas.de

View File

@ -48,6 +48,7 @@ Patch13: hashalot-timeout.diff
Patch14: hashalot-manpage.diff
Patch15: bug-476290_hashalot-hashlen.diff
Patch16: hashalot-glibc210.diff
Patch20: 0001-skip-tmp-mappings-in-early-stage-bnc-591704.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Provides: aaa_base:/etc/init.d/boot.crypto
Obsoletes: util-linux-crypto <= 2.12r
@ -127,6 +128,9 @@ pushd ../hashalot-%haver
%patch15 -p1
%patch16 -p1
popd
pushd ../boot.crypto-%bcver
%patch20 -p1
popd
%build
# cryptsetup build