Hello community, here is the log from the commit of package util-linux for openSUSE:Factory checked in at Tue Sep 13 12:39:11 CEST 2011. -------- --- util-linux/util-linux.changes 2011-08-30 10:23:28.000000000 +0200 +++ /mounts/work_src_done/STABLE/util-linux/util-linux.changes 2011-09-13 11:13:49.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Sep 13 09:10:43 UTC 2011 - puzel@suse.com + +- add util-linux-lib-sysfs-deinit.patch (bnc#714151) + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- util-linux-lib-sysfs-deinit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.5Qx1FZ/_old 2011-09-13 12:39:05.000000000 +0200 +++ /var/tmp/diff_new_pack.5Qx1FZ/_new 2011-09-13 12:39:05.000000000 +0200 @@ -31,7 +31,7 @@ BuildRequires: readline-devel BuildRequires: zlib-devel Version: 2.20 -Release: 1 +Release: 4 # util-linux is a base package and uuidd pre-requiring pwdutils pulls # that into the core build cycle. pwdutils also pulls in the whole # ldap stack into it. Avoid this whole mess which is done only to @@ -87,6 +87,7 @@ # crypto patch Patch2: util-linux-2.17.1-mount_losetup_crypto.patch Patch3: util-linux-sfdisk-manpage-fix.patch +Patch4: util-linux-lib-sysfs-deinit.patch ## ## adjtimex @@ -189,6 +190,7 @@ %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 # cd adjtimex-* ++++++ util-linux-lib-sysfs-deinit.patch ++++++
From cf06399d6aeb1e558baf2b46b617496ed7aac81c Mon Sep 17 00:00:00 2001 From: Petr Uzel
Date: Mon, 12 Sep 2011 16:11:41 +0200 Subject: [PATCH] lib: do not attempt to close(0) in sysfs_deinit()
If the 'open' fails we 'goto err' which runs 'sysfs_deinit()' on a 'cxt'
which hasn't been fully initialised. The 'dir_fd' is still 0, so
sysfs_deinit calls "close(0)".
Addresses: https://bugzilla.novell.com/show_bug.cgi?id=714151
Reported-by: Diego Ercolani