Changes between v2.23 and v2.23.1 -------------------------------------------- commit 98f93e808c500f88aeaefa19968305ee2f635183 Author: Karel Zak Date: Tue May 28 11:10:09 2013 +0200 build-sys: release++ (v2.23.1) Signed-off-by: Karel Zak NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 489d6aba13bf55e7d19189551f11f23363c0ab62 Author: Karel Zak Date: Tue May 28 11:08:06 2013 +0200 docs: update v2.23.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.23.1-ReleaseNotes | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 23e3ceb197f79a5ec1bc3fb7a7e2f24b310a29eb Author: Karel Zak Date: Tue May 28 10:58:53 2013 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 502 +++++----- po/cs.po | 498 +++++----- po/da.po | 498 +++++----- po/de.po | 502 +++++----- po/es.po | 502 +++++----- po/et.po | 502 +++++----- po/eu.po | 510 +++++----- po/fi.po | 502 +++++----- po/fr.po | 498 +++++----- po/gl.po | 506 +++++----- po/hr.po | 498 +++++----- po/hu.po | 510 +++++----- po/id.po | 502 +++++----- po/it.po | 502 +++++----- po/ja.po | 502 +++++----- po/nl.po | 2539 ++++++++++++++++++++++++++++++------------------- po/pl.po | 498 +++++----- po/pt_BR.po | 502 +++++----- po/ru.po | 502 +++++----- po/sl.po | 502 +++++----- po/sv.po | 502 +++++----- po/tr.po | 502 +++++----- po/uk.po | 498 +++++----- po/util-linux.pot | 478 +++++----- po/vi.po | 2722 +++++++++++++++++++++++++++++++++-------------------- po/zh_CN.po | 1520 +++++++++++++++++------------- po/zh_TW.po | 510 +++++----- 27 files changed, 10258 insertions(+), 8551 deletions(-) commit 7d0b921c6e777b6acea675d52bd102b6cd7fda13 Author: Wylmer Wang Date: Tue May 28 10:41:06 2013 +0200 po: update zh_CN.po (from translationproject.org) po/zh_CN.po | 5978 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3053 insertions(+), 2925 deletions(-) commit 67c85b256d9354cf77e4ca92b7cde8196b1ab74c Author: Trần Ngọc Quân Date: Tue May 28 10:41:06 2013 +0200 po: update vi.po (from translationproject.org) po/vi.po | 5198 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 2174 insertions(+), 3024 deletions(-) commit 92315b5b9280d7b016bf7051c39cd922dff1a1d8 Author: Benno Schulenberg Date: Tue May 28 10:41:06 2013 +0200 po: update nl.po (from translationproject.org) po/nl.po | 2129 +++++++++++++++++++++++--------------------------------------- 1 file changed, 778 insertions(+), 1351 deletions(-) commit e49f28bbbe57ad9c9d817c6601d7060d7782afb0 Author: Gilles Espinasse Date: Mon May 13 16:52:28 2013 +0200 tests: new warning fix 2.23 added -Wstrict-prototypes check. Fix make check showing CC tests/helpers/test_md5.o tests/helpers/test_md5.c:8: warning: function declaration isn't a prototype Signed-off-by: Gilles Espinasse tests/helpers/test_md5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c44a4abb7aa4598cf8ba9175cfe2e8e2bd7a576 Author: Karel Zak Date: Tue May 28 10:04:16 2013 +0200 lib/tty: fix get_terminal_name() usage, cleanup code Signed-off-by: Karel Zak lib/ttyutils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9870b60afc4b828fbc4e2695aa9acdc657e1fa41 Author: Karel Zak Date: Tue May 21 11:32:29 2013 +0200 build-sys: always check for setns() and unshare() libs functions $ ./configure --disable-unshare $ make nsenter CC sys-utils/nsenter.o In file included from sys-utils/nsenter.c:36:0: ./include/namespace.h:31:19: error: static declaration of ‘unshare’ follows non-static declaration In file included from /usr/include/sched.h:42:0, from sys-utils/nsenter.c:23: /usr/include/bits/sched.h:86:12: note: previous declaration of ‘unshare’ was here make: *** [sys-utils/nsenter.o] Error 1 We have to always check for the libc function independently on --disable-{unshare,nsenter} to avoid collision between local and libc declarations. Reported-by: "Gabor Z. Papp" Signed-off-by: Karel Zak configure.ac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit dded8d35e89cf340121bcde5ead54bbd43b91d03 Author: Karel Zak Date: Mon May 20 13:10:52 2013 +0200 sfdisk: don't call BLKRRPART for non-block devices Reported-by: Bertrand Jacquin Signed-off-by: Karel Zak fdisks/sfdisk.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 2c58b00fc59c2aca32c485aa3561d1a98e2c45f8 Author: Karel Zak Date: Tue May 14 23:33:59 2013 +0200 chcpu: clean up error messages Signed-off-by: Karel Zak sys-utils/chcpu.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 8b1dfb7bb46061f817dc21ef67e62fe1bbd6c3f7 Author: Karel Zak Date: Tue May 14 23:29:09 2013 +0200 sulogin: clean up error messages Signed-off-by: Karel Zak login-utils/sulogin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bb8e83ee47fb60434128e7948fedfe0b3edaaafc Author: Karel Zak Date: Tue May 14 15:51:35 2013 +0200 libblkid: add ReFS magic string Reported-by: "Richard W.M. Jones" Signed-off-by: Karel Zak libblkid/src/Makemodule.am | 1 + libblkid/src/superblocks/refs.c | 26 ++++++++++++++++++++++++++ libblkid/src/superblocks/superblocks.c | 1 + libblkid/src/superblocks/superblocks.h | 1 + 4 files changed, 29 insertions(+) commit e56ceac2835e9be3ccf22d129f769074dfa07e6d Author: Karel Zak Date: Tue May 14 15:03:30 2013 +0200 blkid: fix typo in ID_FS_AMBIVALEN= Signed-off-by: Karel Zak misc-utils/blkid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd8dc63064b86467a3b824d67ba81526ac523b88 Author: Karel Zak Date: Tue May 14 10:32:56 2013 +0200 libmount: don't ignore root fs on umount -a The release v2.22 (the new umount) introduces a regression when root fs is excluded from umount --all. There is not reason for this exception. The libmount should be smart enough to disable mtab update after rootfs umount. Reported-by: Bruce Dubbs Signed-off-by: Karel Zak libmount/src/context_umount.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 40e0f79905a21b8ab5bfc2e4cc1c20f4af6fc47e Author: Karel Zak Date: Mon May 13 15:40:57 2013 +0200 lib/tty: don't hardcode terminal fd in get_terminal_name() Signed-off-by: Karel Zak include/ttyutils.h | 3 ++- lib/ttyutils.c | 5 +++-- login-utils/login.c | 2 +- login-utils/su-common.c | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) commit d825f4d651c250df23772e9b6aaa217875eefa23 Author: Mike Frysinger Date: Wed May 8 18:12:04 2013 -0400 standard SEE ALSO section of man pages The standard format is to seperate each entry with a comma, and for each one to be on a line by itself. Most util-linux pages follow this, but a few do not. Signed-off-by: Mike Frysinger disk-utils/mkfs.bfs.8 | 2 +- libblkid/libblkid.3 | 2 +- misc-utils/blkid.8 | 4 ++-- misc-utils/findfs.8 | 3 +-- misc-utils/lslocks.8 | 4 ++-- misc-utils/wipefs.8 | 3 +-- sys-utils/setpriv.1 | 2 +- sys-utils/switch_root.8 | 6 +++--- text-utils/tailf.1 | 3 ++- 9 files changed, 14 insertions(+), 15 deletions(-) commit dc283c6ad40ec2f20d635713f2e5ce7734337411 Author: Karel Zak Date: Mon May 13 13:33:41 2013 +0200 lsblk: add SERIAL column ... to return short serial number of the disk (from udev db) Addresses: https://github.com/karelzak/util-linux/issues/33 Signed-off-by: Karel Zak misc-utils/lsblk.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit d31e375e1307b82bf8e4075518def6b4c7b44f00 Author: Karel Zak Date: Mon May 13 11:00:47 2013 +0200 losetup: use warn_size() for regular files only Signed-off-by: Karel Zak sys-utils/losetup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b93321a70475c9483a854c1ce57791b79c944dde Author: Karel Zak Date: Mon May 13 10:54:41 2013 +0200 lib/loopdev: fix loopcxt_check_size() to work with blkdevs The loopcxt_check_size() is workaround for kernels < v3.9, kernel has been fixed by commit 541c742a7559eb65f0e36d3e2338c2ca532a3e61. The function sets loopdev size according to backing file size. The problem is that the backing file could be a block device where stat.st_size is zero, so we have to use blkdev_get_size() for block devices. Addresses: https://bugs.archlinux.org/task/35193 Reported-by: Dave Reisner Signed-off-by: Karel Zak lib/loopdev.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 954f8aace3001001913a80212630e419109afaf1 Author: Karel Zak Date: Thu May 9 13:06:02 2013 +0200 libfdisk: do not use va_list in the Ask API # fdisk /dev/sda Welcome to fdisk (util-linux 2.23). [...] Command (m for help): a Segmentation fault (core dumped) It's too fragile, the va_list implementation is architecture specific and it seems we need such thing in libfdisk at all. Reported-by: "Gabor Z. Papp" Signed-off-by: Karel Zak fdisks/fdisk-ask.c | 13 +++---------- libfdisk/src/ask.c | 35 +++++++++-------------------------- libfdisk/src/fdiskP.h | 2 -- libfdisk/src/libfdisk.h | 2 -- 4 files changed, 12 insertions(+), 40 deletions(-) commit 715f1dae55635716b71daddf23fca8081aa08254 Author: Karel Zak Date: Thu May 9 09:22:50 2013 +0200 libmount: use MS_SILENT for /{proc,etc}/filesystems mount(8) needs to be doing silent mounts when doing this brute forcing or when the filesystem is not explicitly specified. Reported-by: Eric Sandeen Signed-off-by: Karel Zak libmount/src/context_mount.c | 4 +++- sys-utils/mount.8 | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) commit bb96b6b452e05eae9ebb519b78f7d007d00052a1 Author: Karel Zak Date: Tue May 7 09:50:22 2013 +0200 build-sys: use -Wno-clobbered for some BSD crap * extend UL_WARN_ADD() for accept non-default CFLAGS variable * add BSD_WARN_CFLAGS with -Wno-clobbered * use all this for pg(1) and more(1) Signed-off-by: Karel Zak configure.ac | 3 +++ m4/compiler.m4 | 7 ++++--- text-utils/Makemodule.am | 2 ++ 3 files changed, 9 insertions(+), 3 deletions(-) commit 4c7a54f1fea22eb0bac1709751923e2132672c23 Author: Karel Zak Date: Mon May 6 17:20:03 2013 +0200 libblkid: fix blkid_parse_tag_string() to ignore incomplete tags fstab entry: FOO= / btrfs defaults 1 1 Program received signal SIGABRT, Aborted. 0x00007f016ccd8819 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); (gdb) bt at ../sysdeps/unix/sysv/linux/libc_fatal.c:196 Reported-by: Kay Sievers Signed-off-by: Karel Zak libblkid/src/tag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a0dfb4062cb1d6b8d099ed4e09012261a93f0d76 Author: Karel Zak Date: Fri Apr 26 13:47:54 2013 +0200 build-sys: add --disable-setterm Signed-off-by: Karel Zak configure.ac | 10 ++++++++++ term-utils/Makemodule.am | 5 +---- 2 files changed, 11 insertions(+), 4 deletions(-)