Hello community,

here is the log from the commit of package cryptconfig for openSUSE:Factory 
checked in at 2014-02-19 06:53:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cryptconfig (Old)
 and      /work/SRC/openSUSE:Factory/.cryptconfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cryptconfig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cryptconfig/cryptconfig.changes  2013-03-04 
17:27:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cryptconfig.new/cryptconfig.changes     
2014-02-19 06:54:01.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Feb 18 14:29:55 UTC 2014 - [email protected]
+
+- cryptconfig-0.3-loop0.patch - do not fail if stat'ing /dev/loop0
+  fails (that probably means module is not loaded)
+  (bnc#861561 for SLE12, bnc#824087)
+
+-------------------------------------------------------------------

New:
----
  cryptconfig-0.3-loop0.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cryptconfig.spec ++++++
--- /var/tmp/diff_new_pack.mkVp4W/_old  2014-02-19 06:54:02.000000000 +0100
+++ /var/tmp/diff_new_pack.mkVp4W/_new  2014-02-19 06:54:02.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cryptconfig
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -42,6 +42,7 @@
 Source1:        %{name}-po.tar.gz 
 Source2:        baselibs.conf
 Patch0:         cryptconfig-0.3-new-pam_mount-options.dif
+Patch1:         cryptconfig-0.3-loop0.patch
 
 %description
 This package contains a utility for configuring encrypted home
@@ -60,6 +61,7 @@
 %prep
 %setup -a1
 %patch0
+%patch1 -p1
 # automake-1.13 fix
 sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in
 

++++++ cryptconfig-0.3-loop0.patch ++++++
Index: cryptconfig-0.3/src/cryptconfig-lib.c
===================================================================
--- cryptconfig-0.3.orig/src/cryptconfig-lib.c  2014-02-18 14:44:47.496769628 
+0100
+++ cryptconfig-0.3/src/cryptconfig-lib.c       2014-02-18 14:45:00.994838446 
+0100
@@ -183,8 +183,10 @@
     struct stat info;
 
     if (g_stat ("/dev/loop0", &info)) {
-        g_printerr ("stat: %s\n", strerror (errno));
-        return FALSE;
+        /* prefill info with reasonable defaults */
+        info.st_mode = S_IFBLK | 0600;
+        info.st_uid = 0; /* root */
+        info.st_gid = 0; /* root, to be on the safe side */
     }
 
     *device = g_strdup_printf ("/dev/loop%d", nr);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to