Changes between v2.21.1 and v2.21.2 -------------------------------------------- commit ffec577fbc5615199a55e7770a69273351b0e6c1 Author: Karel Zak Date: Fri May 25 12:29:12 2012 +0200 build-sys: release++ (v2.21.2) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit f56c338d4e8c492969ab55b99c73ff4f05b906d0 Author: Karel Zak Date: Fri May 25 12:27:22 2012 +0200 docs: add v2.21.2-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.21.2-ReleaseNotes | 69 +++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) commit 57b7106d8da0bef9b4bd2d2fda2106140ee51b6e Author: Karel Zak Date: Fri May 25 12:25:10 2012 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit d6eee6ecde3ee2770cc6109eb4910685a8c6c9fd Author: Karel Zak Date: Fri May 25 12:21:52 2012 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 322 ++++---- po/cs.po | 328 ++++---- po/da.po | 329 ++++---- po/de.po | 2169 ++++++++++++++++++++++++++++-------------------- po/es.po | 322 ++++---- po/et.po | 322 ++++---- po/eu.po | 316 ++++---- po/fi.po | 330 ++++---- po/fr.po | 328 ++++---- po/gl.po | 310 ++++---- po/hu.po | 330 ++++---- po/id.po | 332 ++++---- po/it.po | 330 ++++---- po/ja.po | 322 ++++---- po/nl.po | 328 ++++---- po/pl.po | 328 ++++---- po/pt_BR.po | 322 ++++---- po/ru.po | 322 ++++---- po/sl.po | 322 ++++---- po/sv.po | 330 ++++---- po/tr.po | 322 ++++---- po/uk.po | 325 ++++---- po/util-linux.pot | 310 ++++---- po/vi.po | 2375 +++++++++++++++++++++++++++++++---------------------- po/zh_CN.po | 1482 ++++++++++++++++++---------------- po/zh_TW.po | 329 ++++---- 26 files changed, 7156 insertions(+), 6329 deletions(-) commit 51741749983e04b4fbd89f04c6c4b8f54e25c170 Author: Wylmer Wang Date: Fri May 25 11:47:28 2012 +0200 po: update zh_CN.po (from translationproject.org) po/zh_CN.po | 3840 ++++++++++++++++++++++++++++------------------------------- 1 files changed, 1814 insertions(+), 2026 deletions(-) commit 4618eb65d81be0e682a9c35648e0622a0be2272f Author: Trần Ngọc Quân Date: Fri May 25 11:47:28 2012 +0200 po: update vi.po (from translationproject.org) po/vi.po | 2156 +++++++++++++++++++++++++------------------------------------- 1 files changed, 850 insertions(+), 1306 deletions(-) commit e63b92772c659dce51d71203b3a390146c2c1213 Author: Arun Persaud Date: Fri May 25 11:47:28 2012 +0200 po: update de.po (from translationproject.org) po/de.po | 2295 +++++++++++++++++++++++++------------------------------------- 1 files changed, 933 insertions(+), 1362 deletions(-) commit 57dfde0f59f6e5e119099ddb4020b29c80c710c0 Author: Dave Reisner Date: Sat Mar 10 23:54:14 2012 -0500 login: add USER to initial environment Add this value from the passwd struct to the environment, as it is expected by shells, and generally useful to users. This also clarifies a poorly worded sentence in the vicinity of the manpage change. Signed-off-by: Dave Reisner login-utils/login.1 | 5 +++-- login-utils/login.c | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) commit 7602286c59200d0526a5606fd77c1a3caa6e2f60 Author: Petr Uzel Date: Fri Apr 6 16:53:13 2012 +0200 sfdisk: fix calculation due to type mismatch (ix86) Instructing sfdisk to create one partition spanning across entire disk (",,") on 32bit system, if the disk is sufficiently large (~2TB) leads to wrong calculation in compute_start_sect() due to type mismatch. Can be reproduced as: -------------------------- linux-3ln5:~ # modprobe scsi_debug virtual_gb=2000 linux-3ln5:~ # sfdisk /dev/sda <<< ',,' Checking that no-one is using this disk right now ... OK Disk /dev/sda: 261083 cylinders, 255 heads, 63 sectors/track sfdisk: ERROR: sector 0 does not have an msdos signature sfdisk: /dev/sda: unrecognized partition table type Old situation: sfdisk: No partitions found no room for partition descriptor sfdisk: bad input -------------------------- Addresses: https://bugzilla.novell.com/show_bug.cgi?id=754789 Reported-by: Dan Mares Signed-off-by: Petr Uzel fdisk/sfdisk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 62f8b385eff892b4691d4748f22d72d32e0c64f5 Author: Karel Zak Date: Thu May 24 13:33:38 2012 +0200 tests: add UFS uuids to results Signed-off-by: Karel Zak tests/expected/blkid/low-probe-ufs | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 40b14ac68148d070eec1867026df62690ecce01e Author: Karel Zak Date: Thu May 24 13:30:50 2012 +0200 libmount: backport mnt_context_guess_fstype() changes Signed-off-by: Karel Zak libmount/src/context.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) commit 2b47b340223f863768b33e8f32f8bad0bb28ba89 Author: Karel Zak Date: Wed May 23 11:05:37 2012 +0200 libmount: use stderr for initial debug message Signed-off-by: Karel Zak libmount/src/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0bc1c8dc7f994dccee82c989be193ad704f9396e Author: maximilian attems Date: Tue May 22 16:33:23 2012 +0200 misc-utils: cleanup unused strings.h includes Noticed on klibc building. Signed-off-by: maximilian attems misc-utils/kill.c | 1 - misc-utils/logger.c | 1 - misc-utils/namei.c | 1 - 3 files changed, 0 insertions(+), 3 deletions(-) commit aa9fd7bd151f765b08c20332909ffe952d0cb66b Author: maximilian attems Date: Tue May 22 16:20:42 2012 +0200 include: [c.h] protect container_of fixes lots of warning noise: ../../../include/c.h:112:0: warning: "container_of" redefined [enabled by default] /usr/lib/klibc/include/stddef.h:52:0: note: this is the location of the previous definition Signed-off-by: maximilian attems include/c.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 31586bba87fd31bc7bba06f1c025fcd4023ac1bb Author: Dave Reisner Date: Sat May 19 20:39:20 2012 -0400 findmnt: fallback to mountinfo for polling If no tabfiles are specified, default to watching /proc/self/mountinfo rather than exiting silently with EXIT_FAILURE. Signed-off-by: Dave Reisner misc-utils/findmnt.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 432db2ee7dabe5662bc0aa08aa328b4abce7bfd0 Author: Dave Reisner Date: Sat May 19 20:39:19 2012 -0400 findmnt: reference correct manual section Signed-off-by: Dave Reisner Conflicts: misc-utils/findmnt.c misc-utils/findmnt.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit a508da14a670bbb52f5a9778ceffcdcf827af483 Author: Karel Zak Date: Mon May 21 09:58:42 2012 +0200 login: fix segmentation fault in log_utmp ctx->tty_number is optional... Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=822705 Signed-off-by: Karel Zak login-utils/login.c | 23 +++++++++++++++-------- 1 files changed, 15 insertions(+), 8 deletions(-) commit f3faef43f9e23b9a7b4c1e8fef73c09efa8c8c6c Author: Karel Zak Date: Thu May 17 12:10:43 2012 +0200 libmount: don't canonicalize target Note that mountpoint (target_ paths in /proc/mounts and /proc/self/mountinfo are always canonicalized by kernel. * for umount we don't have to canonicalize target by default if the mountpoint is found in /proc/self/mountinfo * in mnt_table_find_target() is unnecessary to canonicalize target paths if the table of the filesystems is read from /proc/self/mountinfo Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=820707 Signed-off-by: Karel Zak libmount/src/context_umount.c | 2 -- libmount/src/fs.c | 5 +++-- libmount/src/tab.c | 11 ++++++++--- 3 files changed, 11 insertions(+), 7 deletions(-) commit a4801afc866aeb20464f49dba83d88905f941a31 Author: Petr Uzel Date: Sun May 13 13:57:46 2012 +0200 rev: mention tac(1) in 'SEE ALSO' man page section Cc: James R. Van Zandt From: James R. Van Zandt Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568709 Signed-off-by: Petr Uzel text-utils/rev.1 | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) commit 6bb1fdb8661b70062d3ccd4fbcb908b092133ddd Author: Petr Uzel Date: Sun May 13 11:08:20 2012 +0200 lsblk: improve man page wording Cc: Regid Ichira From: Regid Ichira Addresses: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672702 Signed-off-by: Petr Uzel Conflicts: misc-utils/lsblk.8 misc-utils/lsblk.8 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 859230430636ce27443b9d8ed347761e47ac989c Author: Jeremy Huntwork Date: Sun May 13 16:31:48 2012 +0000 logger: remove use of __P Its intended usage was to support pre-ANSI C compilers, but that is not even possible with the modern-day codebase. Moreover, it breaks compiling on libcs that do not define this legacy implementation-internal macro. misc-utils/logger.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit e9223b7495b9c0447553be4e0c83b7636d8624ac Author: Vladimir 'φ-coder/phcoder' Serbinenko Date: Fri May 4 11:49:16 2012 +0200 libblkid: support UFS UUID Signed-off-by: Karel Zak libblkid/src/superblocks/ufs.c | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) commit 31f9499b83d25b2b0f96951980ee8a3bc68f4310 Author: Vladimir 'φ-coder/phcoder' Serbinenko Date: Fri May 4 11:48:07 2012 +0200 libblkid: accept small blocks for NTFS and Reiserfs in blkid libblkid is restrictive as to what it accepts as valid reiserfs or valid NTFS. One can mkfs an NTFS with 256B sectors and it's supported by ntfs-3g Reiserfs can have 512B blocks and it works both with mkfs.ntfs and Linux. Signed-off-by: Karel Zak libblkid/src/superblocks/ntfs.c | 2 +- libblkid/src/superblocks/reiserfs.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 10c07ad1745803b86ead78fa7fe3ee59ab00d823 Author: Karel Zak Date: Thu May 3 16:24:12 2012 +0200 lsblk: fix /sys/.../ro usage Reported-by: Milan Broz Signed-off-by: Karel Zak misc-utils/lsblk.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 89c8172d8c2c02ac0f047ba7743dd2f95b6864ea Author: Petr Uzel Date: Tue Apr 24 10:20:58 2012 +0200 libuuid: fix typo in uuid_compare manpage Signed-off-by: Petr Uzel libuuid/man/uuid_compare.3 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 0eb9c14350e62bd415d3b0b715f9b17c19c93384 Author: Karel Zak Date: Fri Apr 27 10:30:08 2012 +0200 libmount: close device fd (to avoid mount(2) EBUSY) libmount uses libblkid to detect filesystem type. Unfortunately, the blkid probe struct is not freed before mount(2), it means that the device is still open and mount(2) may return EBUSY. We don't need persistent blkid stuff in libmount, so let's close all immediately after device probing. Reported-by: David Zeuthen Signed-off-by: Karel Zak Conflicts: libmount/src/cache.c libmount/src/cache.c | 69 +++++++++++++------------------------------------- 1 files changed, 18 insertions(+), 51 deletions(-) commit 6120ad4dfff607521984dd2946f2aa8556c48b41 Author: Karel Zak Date: Wed Apr 25 09:05:24 2012 +0200 libmount: fix mnt_context_guess_fstype() Signed-off-by: Karel Zak libmount/src/context.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) commit 2c1c2ebf5d9079192e3e6e2a98e5f1cb157ffc06 Author: Karel Zak Date: Tue Apr 24 11:52:04 2012 +0200 libmount: fix mount by pattern mount /foo /bar without entry in /etc/fstab the mount command tries all filesystems from /{etc,proc}/filesystems. We should NOT call mount(2) more then once if the syscall returns for example ENOENT, acceptable is only EINVAL. Signed-off-by: Karel Zak libmount/src/context_mount.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 550a02d6e75833be169ac22ab4a2d479cc2ffcbf Author: Petr Uzel Date: Mon Apr 23 10:43:38 2012 +0200 lscpu: fix possibly undefined operation With -Wall -Werror, compilation of lscpu.c fails with: Making all in sys-utils make[2]: Entering directory `/home/petr/upstream/util-linux/sys-utils' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -include ../config.h -I../include -DLOCALEDIR=\"/usr/share/locale\" -fsigned-char -Wall -Werror -MT lscpu.o -MD -MP -MF .deps/lscpu.Tpo -c -o lscpu.o lscpu.c lscpu.c: In function ‘print_parsable’: lscpu.c:971:7: error: operation on ‘p’ may be undefined [-Werror=sequence-point] cc1: all warnings being treated as errors Fix by splitting the pointer increment to separate statement. Signed-off-by: Petr Uzel sys-utils/lscpu.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) commit 835ca4ef7e8945fc6227ae0212332688778c241d Author: Petr Uzel Date: Sun Apr 22 16:16:39 2012 +0200 libblkid: befs: declare functions static Since commit 0b0c231f64d02e682 (swapon: move generic code to swapon-common.c), if util-linux is configured with --enable-static --disable-shared --enable-libmount-mount options, the build fails with the following error: ... libtool: link: gcc -std=gnu99 -fsigned-char -ggdb -O1 -Wall -D_FORTIFY_SOURCE=2 -o switch_root switch_root.o /home/petr/upstream/util-linux/libblkid/src/.libs/libblkid.a(befs.o): In function `get_uuid': /home/petr/upstream/util-linux/libblkid/src/superblocks/befs.c:333: multiple definition of `get_uuid' swapon-swapon-common.o:/home/petr/upstream/util-linux/sys-utils/swapon-common.c:99: first defined here collect2: ld returned 1 exit status /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -fsigned-char -ggdb -O1 -Wall -D_FORTIFY_SOURCE=2 -o flock flock.o strutils.o libtool: link: gcc -std=gnu99 -fsigned-char -ggdb -O1 -Wall -D_FORTIFY_SOURCE=2 -o pivot_root pivot_root.o make[2]: *** [swapon] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/petr/upstream/util-linux/libblkid/src/.libs/libblkid.a(befs.o): In function `get_uuid': /home/petr/upstream/util-linux/libblkid/src/superblocks/befs.c:333: multiple definition of `get_uuid' swapoff-swapon-common.o:/home/petr/upstream/util-linux/sys-utils/swapon-common.c:99: first defined here Fix by declaring befs funcitons static. Signed-off-by: Petr Uzel libblkid/src/superblocks/befs.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) commit 167a01ae3f9b136502eb7a828178f84f6a454688 Author: chas williams - CONTRACTOR Date: Fri Apr 20 10:58:28 2012 -0400 login: use getdtablesize() correctly in login.c getdtablesize() is the number of descriptors and since decriptors start at 0, its value isnt the largest descriptors possible. One should use getdtablesize() - 1 instead. Signed-off-by: Chas Williams - CONTRACTOR login-utils/login.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit ee5963669400705cb8e26dcb9d94d2c26e9c02e9 Author: Karel Zak Date: Fri Apr 20 15:06:57 2012 +0200 namei: fix relative symlinks evaluation Fedora 17 (/bin is symlink to /usr/bin): [root@intel ~]# /bin/namei /bin/namei f: /bin/namei d / l bin -> usr/bin usr - No such file or directory Reported-by: Jan Stancek Signed-off-by: Karel Zak misc-utils/namei.c | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) commit 1b76c310c11a57213506bd3aa21efff15bd45c6f Author: Karel Zak Date: Wed Apr 18 12:25:28 2012 +0200 mount: fix man page typo s/reatime/relatime/ Reported-by: Kay Sievers Signed-off-by: Karel Zak mount/mount.8 | 2 +- sys-utils/mount.8 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 82181b727a92e6db73c0075d56f27626f88c3482 Author: James Le Cuirot Date: Mon Apr 16 11:05:27 2012 +0100 cal: Fix building under uClibc. Commit fbc333fec09394bf4e47707de08a65e8c0e9c288 broke building under uClibc because HAVE_DECL macros are set to 0, not undefined. Signed-off-by: James Le Cuirot misc-utils/cal.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit e34501bc1c296a2b1c889e5d3e60395117faffe6 Author: Karel Zak Date: Mon Apr 2 17:33:34 2012 +0200 lib/loopdev: more robust initialization Signed-off-by: Karel Zak include/loopdev.h | 2 ++ include/sysfs.h | 1 + lib/loopdev.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletions(-) commit 1641a11feb620d5f10923118935088b42363a172 Author: Paul Fox Date: Fri Mar 30 08:16:50 2012 -0400 rtcwake: only invoke RTC_AIE_ON/OFF ioctls in pairs many rtc drivers don't implement the RTC_AIE_ON/OFF ioctls at all -- so if we never tried to enable the alarm interrupt, don't try to disable it later. Signed-off-by: Paul Fox sys-utils/rtcwake.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) commit 19410c8e6f82963f2c73b6e4d0cd90124be06a39 Author: Sami Kerola Date: Thu Mar 15 23:06:39 2012 +0100 setterm: correct manual page reference An error from commit faa0548de47df5691cf56dd49daaba8dbc89d34a Signed-off-by: Sami Kerola term-utils/setterm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 04579c758c1cf20f76d9aa28ea925c4b4d337923 Author: Karel Zak Date: Fri Mar 30 13:43:45 2012 +0200 tools: improve ko-release-* scripts Signed-off-by: Karel Zak tools/ko-release-gen | 5 +++-- tools/ko-release-push | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-)