Changes between v2.21-rc2 and v2.21 -------------------------------------------- commit 6b7113bc3c23ea58bfafa452b7dcd2c1b1340dfb Author: Karel Zak Date: Fri Feb 24 11:53:46 2012 +0100 build-sys: release++ (v2.21) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit 1a30de89a05961b176bf4fe45938ae84c47217e5 Author: Karel Zak Date: Fri Feb 24 11:52:12 2012 +0100 docs: update v2.21-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.21-ReleaseNotes | 55 +++++++++++++++++++++++++++- 1 files changed, 53 insertions(+), 2 deletions(-) commit 08910de2e44525409f5aa1a72cb6f9a6039d6463 Author: Karel Zak Date: Fri Feb 24 11:44:38 2012 +0100 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 1b8a611a3667115ead124c2dc82e40c92518be4e Author: Karel Zak Date: Fri Feb 24 11:38:14 2012 +0100 po: merge changes Signed-off-by: Karel Zak po/ca.po | 731 ++++++++-------- po/cs.po | 1694 +++++++++++++++++++++------------- po/da.po | 731 ++++++++-------- po/de.po | 731 ++++++++-------- po/es.po | 731 ++++++++-------- po/et.po | 731 ++++++++-------- po/eu.po | 731 ++++++++-------- po/fi.po | 731 ++++++++-------- po/fr.po | 2680 ++++++++++++++++++++++++++++++++++------------------- po/gl.po | 731 ++++++++-------- po/hu.po | 731 ++++++++-------- po/id.po | 731 ++++++++-------- po/it.po | 731 ++++++++-------- po/ja.po | 731 ++++++++-------- po/nl.po | 1785 ++++++++++++++++++++++-------------- po/pl.po | 1672 ++++++++++++++++++++------------- po/pt_BR.po | 731 ++++++++-------- po/ru.po | 731 ++++++++-------- po/sl.po | 731 ++++++++-------- po/sv.po | 731 ++++++++-------- po/tr.po | 731 ++++++++-------- po/uk.po | 1633 ++++++++++++++++++++------------- po/util-linux.pot | 730 ++++++++-------- po/vi.po | 731 ++++++++-------- po/zh_CN.po | 731 ++++++++-------- po/zh_TW.po | 731 ++++++++-------- 26 files changed, 13629 insertions(+), 11185 deletions(-) commit 80923cd64a570c1aa1f2bca1bea51586b33d4f93 Author: Yuri Chornoivan Date: Fri Feb 24 11:32:59 2012 +0100 po: update uk.po (from translationproject.org) po/uk.po | 4290 +++++++++++++++++++++++++++----------------------------------- 1 files changed, 1840 insertions(+), 2450 deletions(-) commit 782e91fc90417a2a2dbb9b4dbd8b1298c0bd0ee6 Author: Jakub Bogusz Date: Fri Feb 24 11:32:59 2012 +0100 po: update pl.po (from translationproject.org) po/pl.po | 3044 +++++++++++++++++++++----------------------------------------- 1 files changed, 1023 insertions(+), 2021 deletions(-) commit 9382b4ed778531bee4f9297b9b6b1de0a851ada6 Author: Benno Schulenberg Date: Fri Feb 24 11:32:59 2012 +0100 po: update nl.po (from translationproject.org) po/nl.po | 2706 +++++++++++++++++++++++--------------------------------------- 1 files changed, 1013 insertions(+), 1693 deletions(-) commit 0918663a0f08eb287e3036df08e26c1bd00bdfdf Author: David Prévot Date: Fri Feb 24 11:32:59 2012 +0100 po: update fr.po (from translationproject.org) po/fr.po | 3715 ++++++++++++++++++++++++-------------------------------------- 1 files changed, 1435 insertions(+), 2280 deletions(-) commit fcb9f520b2b2d1da7ddace61fb3341789d7a52d7 Author: Petr Písař Date: Fri Feb 24 11:32:59 2012 +0100 po: update cs.po (from translationproject.org) po/cs.po | 2799 ++++++++++++++++++++++++++------------------------------------ 1 files changed, 1167 insertions(+), 1632 deletions(-) commit 7615c3410078b41f44e5d324018c4922065c05ea Author: Mike Frysinger Date: Thu Feb 16 14:59:26 2012 -0500 umount: respect fs search path This brings search path support to umount to match existing behavior in fsck and mount. Signed-off-by: Mike Frysinger mount/umount.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) commit 09b2d37a42e7ea087a5b35b4d5698d8960c3be34 Author: Petr Uzel Date: Thu Feb 23 16:43:35 2012 +0100 fdisk: update information about GNU Parted in fdisk.8 The support for resizing partitions and filesystems has been removed from parted since version 3.0. Signed-off-by: Petr Uzel fdisk/fdisk.8 | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) commit 94b0c44fb7b257800302af06789ce8131766b762 Author: Karel Zak Date: Thu Feb 23 15:16:17 2012 +0100 mount: distinguish between MS_COMMENT flags (netdev, nofail, ...) Since util-linux 2.12h (year 2004) there is only one flag for all dummy options like _netdev or nofail. Unfortunately it means that when mount(8) composes the final mount options string for mtab (or for mount. helpers) the string is generated incorrectly. Reported-by: Dave Reisner Signed-off-by: Karel Zak libmount/src/optmap.c | 4 ++++ mount/mount.c | 19 +++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) commit 43bd19a56f028061db28adf51d21f8a48f6ed9b1 Author: Karel Zak Date: Thu Feb 23 14:53:14 2012 +0100 mount: clear flags before options parsing for example "mount -a" calls the mount options parser more than once Signed-off-by: Karel Zak mount/mount.c | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) commit c06e9504787e6720e9ac319aacc0ee5a1d33efbd Author: Karel Zak Date: Thu Feb 23 12:38:13 2012 +0100 tests: add wall to build-sys tests Signed-off-by: Karel Zak tests/expected/build-sys/config-all | 1 + tests/expected/build-sys/config-all-non-nls | 1 + tests/expected/build-sys/config-audit | 1 + tests/expected/build-sys/config-core | 1 + tests/expected/build-sys/config-devel | 1 + tests/expected/build-sys/config-devel-new-mount | 1 + tests/expected/build-sys/config-non-libblkid | 1 + tests/expected/build-sys/config-non-libmount | 1 + tests/expected/build-sys/config-non-libs | 1 + tests/expected/build-sys/config-non-libuuid | 1 + tests/expected/build-sys/config-non-nls | 1 + tests/expected/build-sys/config-selinux | 1 + tests/expected/build-sys/config-slang | 1 + tests/expected/build-sys/config-static | 1 + 14 files changed, 14 insertions(+), 0 deletions(-) commit cad39614a6fbd46b1f803ad9f659e6213f562eaa Author: Karel Zak Date: Thu Feb 23 12:31:56 2012 +0100 libmount: clean up context docs Signed-off-by: Karel Zak libmount/src/context.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 1340d433ccbfe70ebe5ce72de654832e6715f52d Author: Karel Zak Date: Thu Feb 23 12:31:31 2012 +0100 docs: add note about mount(8) options to TODO Signed-off-by: Karel Zak Documentation/TODO | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) commit 179b923a19c717bcf03c2921c1c80dfebbb7075a Author: Chandan B Rajenda Date: Thu Feb 23 10:17:28 2012 +0100 lib/strutils: move array bounds check in string_to_idarray() to appropriate place. string_to_idarray() will incorrectly exit with an error when the last element of the passed in array gets filled. However it should only exit with an error if there is more input. To fix this move the array bounds check. Signed-off-by: Chandan B Rajenda Signed-off-by: Heiko Carstens lib/strutils.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 476b508e043b6b4c71d84b4f2fdeeffa68c204b3 Author: Karel Zak Date: Wed Feb 22 13:10:21 2012 +0100 libblkid: add BLKID_PARTS_MAGIC to blkid_do_wipe() docs Signed-off-by: Karel Zak libblkid/src/probe.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 3fcf5e1b79cbf782c018d1a39359731c823315cb Author: Karel Zak Date: Wed Feb 22 13:07:14 2012 +0100 docs: update copyright years Signed-off-by: Karel Zak libblkid/docs/libblkid-docs.xml | 2 +- libmount/docs/libmount-docs.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ee3140752f7aa17185e733c3ad97551522c4fc77 Author: Karel Zak Date: Wed Feb 22 13:02:17 2012 +0100 libmount: cleanup docs Signed-off-by: Karel Zak libmount/docs/libmount-sections.txt | 21 +++++++++++++++++++-- libmount/src/context.c | 10 ++++++---- libmount/src/context_mount.c | 4 ++-- libmount/src/context_umount.c | 2 +- libmount/src/lock.c | 4 ++-- libmount/src/optstr.c | 6 +++--- libmount/src/tab_diff.c | 30 +++++++++++++++--------------- libmount/src/version.c | 10 +++++++--- 8 files changed, 55 insertions(+), 32 deletions(-) commit a0e3bbb815717822691d337863ce8380d5a501e7 Author: Karel Zak Date: Wed Feb 22 12:15:15 2012 +0100 libblkid: update docs Signed-off-by: Karel Zak libblkid/docs/libblkid-sections.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit a33df88c45b4efa5d40fb4c84befa25708146f25 Author: Dave Reisner Date: Tue Feb 21 23:16:34 2012 -0500 libmount: remove teaser proto for mnt_table_get_name This function was never implemented, but the proto has existed since the inception of the library. As the libmnt_table struct doesn't include a member necessary to carry the name of the table, simply discard this prototype. If ever a need to break ABI comes up, perhaps this could be revisited. Signed-off-by: Dave Reisner libmount/docs/libmount-sections.txt | 1 - libmount/src/libmount.h.in | 1 - libmount/src/libmount.sym | 1 - 3 files changed, 0 insertions(+), 3 deletions(-) commit 89c6bb4dada58a48abb1e2426c69954f70362da3 Author: Petr Uzel Date: Tue Feb 21 21:19:25 2012 +0100 docs: trivial documentation fixes and improvements Signed-off-by: Petr Uzel Documentation/00-about-docs.txt | 2 +- Documentation/deprecated.txt | 2 +- Documentation/fdisk.txt | 6 +++--- Documentation/getopt.txt | 6 +++--- Documentation/howto-build-sys.txt | 2 +- Documentation/howto-debug.txt | 12 ++++++------ Documentation/howto-man-page.txt | 6 +++--- Documentation/howto-usage-function.txt | 22 +++++++++++----------- Documentation/release-schedule.txt | 6 +++--- 9 files changed, 32 insertions(+), 32 deletions(-) commit 96cf9d07af7af4bb6b924e9c417d7ab57d3d6c1c Author: Petr Uzel Date: Tue Feb 21 16:21:21 2012 +0100 cytune.8: fix formatting W: manual-page-warning /usr/share/man/man8/cytune.8.gz 178: warning: macro `chars',' not defined (possibly missing space after `ch') Signed-off-by: Petr Uzel sys-utils/cytune.8 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 8fc8888b047834a71b35687c78131eb0f19fb028 Author: Petr Uzel Date: Tue Feb 21 16:03:25 2012 +0100 build-sys: fix building of wall Signed-off-by: Petr Uzel configure.ac | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 88ffbf86e0920b15ba25b18ff7fe969c90d1492a Author: Davidlohr Bueso Date: Tue Feb 14 12:13:19 2012 +0100 mkfs.bfs: add setlocale Signed-off-by: Davidlohr Bueso disk-utils/mkfs.bfs.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit bdc1764e234d64a2347de4d89ad359f0dd0fc7ac Author: Karel Zak Date: Tue Feb 21 20:31:40 2012 +0100 docs: add note about losetup to TODO Signed-off-by: Karel Zak Documentation/TODO | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) commit 838b8e0f7112a4ecace9a73730539b4ddd4e7d2b Author: Karel Zak Date: Tue Feb 21 18:59:50 2012 +0100 docs: add note about fdisk to TODO Signed-off-by: Karel Zak Documentation/TODO | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) commit 2738f9ba251627323a20528194b70c0b54e09088 Author: Karel Zak Date: Tue Feb 21 16:14:08 2012 +0100 tests: make minix tests more robust Signed-off-by: Karel Zak tests/ts/minix/fsck | 2 ++ tests/ts/minix/mkfs | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) commit bc87f885125d6d7bd9f353cf78d79a56a882f51b Author: Karel Zak Date: Tue Feb 21 15:32:50 2012 +0100 unshare: add note about MS_SHARED to unshare.1 Signed-off-by: Karel Zak sys-utils/unshare.1 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) commit 4cc5a3e245056ff5726c3ef082afecb1f26b7435 Author: Karel Zak Date: Tue Feb 21 12:12:09 2012 +0100 build-sys: add tools/ to EXTRA_DIST Reported-by: Petr Uzel Signed-off-by: Karel Zak Makefile.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit bb4f07152036dbcdd3744bc85b2aef9c83b39849 Author: Karel Zak Date: Mon Feb 13 15:10:55 2012 +0100 lib/fsprobe: mar this internal API as deprecated The fsprobe has been added many years ago to provide unified API for - built-in libblkid - e2fsprogs libblkid - udev libvolume_id these all is unnecessary as we strictly depends on built-in libblkid. Signed-off-by: Karel Zak include/fsprobe.h | 2 ++ lib/fsprobe.c | 5 +++++ 2 files changed, 7 insertions(+), 0 deletions(-) commit fab1f6717e5b90755dd30dd37eceec3d14526ee6 Author: Karel Zak Date: Fri Feb 10 14:47:59 2012 +0100 login: add LOGIN_RETRIES, cleanup retries check code Signed-off-by: Karel Zak login-utils/login.1 | 5 +++++ login-utils/login.c | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit 37305c65e7e58ac44b7de60a84908716ab887483 Author: Harald Hoyer Date: Thu Feb 9 14:46:26 2012 +0100 setsid: add "+" to getopt_long() otherwise setsid wants to interpret arguments $ setsid sh -i setsid: invalid option -- 'i' Usage: setsid [options] [arguments ...] Signed-off-by: Harald Hoyer sys-utils/setsid.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0b077eab511a29b82422ca1850f4c84a173bf5a5 Author: Sami Kerola Date: Tue Feb 7 23:03:55 2012 +0100 tunelp: free allocation, use xalloc Signed-off-by: Sami Kerola Signed-off-by: Karel Zak sys-utils/tunelp.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit dd41e06795638795345a0a4da9510f948ad81906 Author: Sami Kerola Date: Tue Feb 7 23:01:14 2012 +0100 switch_root: close open file after usage [cppcheck] [sys-utils/switch_root.c:159]: (error) Resource leak: cfd Signed-off-by: Sami Kerola sys-utils/switch_root.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 4b11df2cf50fc324bdc4cb507d773520fb33a896 Author: Sami Kerola Date: Tue Feb 7 22:55:56 2012 +0100 chcpu: use appropriate variable type [cppcheck] [sys-utils/chcpu.c:251]: (style) Checking if unsigned variable 'maxcpus' is less than zero. Signed-off-by: Sami Kerola sys-utils/chcpu.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 2f5a24842069a22404a0a42833abc27b54b2c6cd Author: Sami Kerola Date: Tue Feb 7 22:51:22 2012 +0100 taskset: use appropriate variable type [cppcheck] [schedutils/taskset.c:182]: (style) Checking if unsigned variable 'ncpus' is less than zero. Signed-off-by: Sami Kerola schedutils/taskset.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 358ef9c0d17d21d450067aceaffd90635e8845b8 Author: Sami Kerola Date: Tue Feb 7 22:31:03 2012 +0100 libblkid: verify arroy bound before reference [cppcheck] [libblkid/src/read.c:428]: (style) Array index end is used before limits check Signed-off-by: Sami Kerola libblkid/src/read.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a23facd637061b50a746d1ff72039c8881f3ec6b Author: Sami Kerola Date: Tue Feb 7 22:27:24 2012 +0100 libblkid: allow return value to indicate error [cppcheck] [libblkid/src/probe.c:1207]: (style) Checking if unsigned variable 'len' is less than zero. Signed-off-by: Sami Kerola libblkid/src/probe.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 07023b0736cebde0a469caea5bc9b9c99d64b01e Author: Sami Kerola Date: Tue Feb 7 22:14:34 2012 +0100 libblkid: clarify operation order [cppcheck] [libblkid/src/cache.c:265]: (style) Suspicious condition (assignment+comparison), it can be clarified with parentheses Signed-off-by: Sami Kerola libblkid/src/cache.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 823a6aa1183f2895cc39a21c3f198d884ba9c820 Author: Sami Kerola Date: Tue Feb 7 22:01:28 2012 +0100 sfdisk: free variable which got the allocation [cppcheck] [fdisk/sfdisk.c:358]: (error) Memory leak: ss [kzak@redhat.com: - free after error] Signed-off-by: Sami Kerola Signed-off-by: Karel Zak fdisk/sfdisk.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 521349a12758f0c1b2985ac560c3392490548b5c Author: Sami Kerola Date: Tue Feb 7 21:52:21 2012 +0100 fdisk: remove redundant declaration [cppcheck] fdisk.h:116:12: warning: redundant redeclaration of 'valid_part_table_flag' [-Wredundant-decls] Signed-off-by: Sami Kerola fdisk/fdisk.h | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) commit 82cdf1b194a7052941aec57b9c85c1d98f6b894d Author: Sami Kerola Date: Tue Feb 7 21:26:06 2012 +0100 raw: remove unnecessary return [cppcheck] [disk-utils/raw.c:171]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary. Signed-off-by: Sami Kerola disk-utils/raw.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) commit 2e24868683ad405ed73aac7654730bbf1038087d Author: Sami Kerola Date: Tue Feb 7 21:10:33 2012 +0100 mkfs.cramfs: check blocksize user input [cppcheck] Enhance user input checking and error messaging, while fixing cppcheck warning. [disk-utils/mkfs.cramfs.c:729]: (style) Checking if unsigned variable 'blksize' is less than zero. [kzak@redhat.com: fix coding style] Signed-off-by: Sami Kerola Signed-off-by: Karel Zak disk-utils/mkfs.cramfs.c | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) commit 33f28cd7a72509a0a0ceb2ca4da6bdb33bea65e8 Author: Sami Kerola Date: Tue Feb 7 21:10:01 2012 +0100 mkfs.cramfs: close open file after usage [cppcheck] [disk-utils/mkfs.cramfs.c:913]: (error) Resource leak: fd Signed-off-by: Sami Kerola disk-utils/mkfs.cramfs.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 04f7020eadf31efc731558df92daa0a1c336c46c Author: Karel Zak Date: Wed Feb 8 11:56:38 2012 +0100 libblkid: improve reiserfs and btrfs min. size limits Reported-by: Rogier Goossens Signed-off-by: Karel Zak libblkid/src/superblocks/btrfs.c | 2 +- libblkid/src/superblocks/reiserfs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 1f338fe1705a8bb870f337a02d3b9becdea98eed Author: Paul Menzel Date: Fri Feb 3 19:19:39 2012 +0100 flock: add missing word »be« to flock.1 sys-utils/flock.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 387bae9350ceb991d9afdf271e120f72c2faffd4 Author: Paul Menzel Date: Fri Feb 3 19:18:17 2012 +0100 flock: fix flock.1 grammar by removing »s« sys-utils/flock.1 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0892d88d1a3c155b2791a5137182ab98a22a7bac Author: Karel Zak Date: Tue Feb 7 11:30:56 2012 +0100 tools: use gpg-aggent in ko-release-gen Signed-off-by: Karel Zak tools/ko-release-gen | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)