Hello community, here is the log from the commit of package util-linux checked in at Mon Aug 27 17:55:15 CEST 2007. -------- --- util-linux/util-linux.changes 2007-08-16 18:35:50.000000000 +0200 +++ /mounts/work_src_done/STABLE/util-linux/util-linux.changes 2007-08-27 15:34:56.000000000 +0200 @@ -1,0 +2,7 @@ +Fri Aug 24 14:09:19 CEST 2007 - mkoenig@suse.de + +- avoid duplicates of root fs if defined with LABEL in fstab + [#297959] +- fix ionice error handling [#301675] + +------------------------------------------------------------------- New: ---- util-linux-2.13-mount_create_mtab.patch util-linux-2.13-schedutils_error_handling.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.z27893/_old 2007-08-27 17:54:39.000000000 +0200 +++ /var/tmp/diff_new_pack.z27893/_new 2007-08-27 17:54:39.000000000 +0200 @@ -21,7 +21,7 @@ Group: System/Base Autoreqprov: on Version: 2.12r+2.13rc2+git20070725 -Release: 8 +Release: 12 %define upver 2.13rc2+git20070725 Summary: A collection of basic system utilities Source: ftp://ftp.kernel.org/pub/linux/utils/util-linux/%name-ng-%upver.tar.bz2 @@ -69,6 +69,8 @@ Patch45: util-linux-2.13-sys_utils_build_rdev_x86_64.patch # 297172 - mount does not free loop devices if it fails Patch46: util-linux-2.13-loop.patch +Patch47: util-linux-2.13-mount_create_mtab.patch +Patch48: util-linux-2.13-schedutils_error_handling.patch ## ## adjtimex ## @@ -113,6 +115,8 @@ #%patch38 -p1 %patch45 -p1 %patch46 -p1 +%patch47 -p1 +%patch48 -p1 # cd adjtimex-* %patch50 -p1 @@ -553,6 +557,10 @@ #%endif %changelog +* Fri Aug 24 2007 - mkoenig@suse.de +- avoid duplicates of root fs if defined with LABEL in fstab + [#297959] +- fix ionice error handling [#301675] * Thu Aug 16 2007 - ssommer@suse.de - free loop devices when mount fails [#297172] * Wed Jul 25 2007 - mkoenig@suse.de ++++++ util-linux-2.13-mount_create_mtab.patch ++++++ Index: util-linux-ng-2.13rc2+git20070725/mount/mount.c =================================================================== --- util-linux-ng-2.13rc2+git20070725.orig/mount/mount.c +++ util-linux-ng-2.13rc2+git20070725/mount/mount.c @@ -546,7 +546,7 @@ create_mtab (void) { char *extra_opts; parse_opts (fstab->m.mnt_opts, &flags, &extra_opts); mnt.mnt_dir = "/"; - mnt.mnt_fsname = canonicalize (fstab->m.mnt_fsname); + mnt.mnt_fsname = fsprobe_get_devname(fstab->m.mnt_fsname); mnt.mnt_type = fstab->m.mnt_type; mnt.mnt_opts = fix_opts_string (flags, extra_opts, NULL); mnt.mnt_freq = mnt.mnt_passno = 0; ++++++ util-linux-2.13-schedutils_error_handling.patch ++++++ Original patch from Bernhard Voelker. Index: util-linux-ng-2.13rc2+git20070725/schedutils/ionice.c =================================================================== --- util-linux-ng-2.13rc2+git20070725.orig/schedutils/ionice.c +++ util-linux-ng-2.13rc2+git20070725/schedutils/ionice.c @@ -107,7 +107,7 @@ int main(int argc, char *argv[]) case 'h': default: usage(); - exit(0); + exit(EXIT_SUCCESS); } } @@ -125,7 +125,7 @@ int main(int argc, char *argv[]) break; default: printf("bad prio class %d\n", ioprio_class); - return 1; + exit(EXIT_FAILURE); } if (!set) { @@ -134,9 +134,10 @@ int main(int argc, char *argv[]) ioprio = ioprio_get(IOPRIO_WHO_PROCESS, pid); - if (ioprio == -1) + if (ioprio == -1) { perror("ioprio_get"); - else { + exit(EXIT_FAILURE); + } else { ioprio_class = ioprio >> IOPRIO_CLASS_SHIFT; if (ioprio_class != IOPRIO_CLASS_IDLE) { ioprio = ioprio & 0xff; @@ -147,11 +148,15 @@ int main(int argc, char *argv[]) } else { if (ioprio_set(IOPRIO_WHO_PROCESS, pid, ioprio | ioprio_class << IOPRIO_CLASS_SHIFT) == -1) { perror("ioprio_set"); - return 1; + exit(EXIT_FAILURE); } - if (argv[optind]) + if (argv[optind]) { execvp(argv[optind], &argv[optind]); + /* execvp should never return */ + perror("execvp"); + exit(EXIT_FAILURE); + } } return 0; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org