Changes between v2.22 and v2.22.1 -------------------------------------------- commit f9f50c219e0c8c9a98f5284e70206762a1b249f3 Author: Karel Zak Date: Wed Oct 10 14:56:16 2012 +0200 build-sys: release++ (v2.22.1) Signed-off-by: Karel Zak NEWS | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) commit c713747c7f792c07afe2518f1a245ec0eb6fa184 Author: Karel Zak Date: Wed Oct 10 14:54:38 2012 +0200 docs: add v2.22.1-ReleaseNotes Signed-off-by: Karel Zak Documentation/releases/v2.22.1-ReleaseNotes | 98 +++++++++++++++++++++++++++ 1 files changed, 98 insertions(+), 0 deletions(-) commit 11f4af813ef26756d9d7074830650d7e0ffdfa96 Author: Karel Zak Date: Wed Oct 10 14:49:53 2012 +0200 docs: update AUTHORS file Signed-off-by: Karel Zak AUTHORS | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) commit f300a0d2d681efed18705d3f68de5a749ba765eb Author: Karel Zak Date: Wed Oct 10 14:46:13 2012 +0200 po: merge changes Signed-off-by: Karel Zak po/ca.po | 1032 +++++++++++++------------ po/cs.po | 1041 +++++++++++++------------ po/da.po | 1037 +++++++++++++------------ po/de.po | 1036 +++++++++++++------------ po/es.po | 1032 +++++++++++++------------ po/et.po | 1032 +++++++++++++------------ po/eu.po | 1030 +++++++++++++------------ po/fi.po | 1032 +++++++++++++------------ po/fr.po | 1039 +++++++++++++------------ po/gl.po | 1027 +++++++++++++------------ po/hu.po | 1033 +++++++++++++------------ po/id.po | 1035 +++++++++++++------------ po/it.po | 1032 +++++++++++++------------ po/ja.po | 1040 +++++++++++++------------ po/nl.po | 1039 +++++++++++++------------ po/pl.po | 1039 +++++++++++++------------ po/pt_BR.po | 1032 +++++++++++++------------ po/ru.po | 1032 +++++++++++++------------ po/sl.po | 1032 +++++++++++++------------ po/sv.po | 1032 +++++++++++++------------ po/tr.po | 1032 +++++++++++++------------ po/uk.po | 1039 +++++++++++++------------ po/util-linux.pot | 1025 +++++++++++++------------ po/vi.po | 2270 ++++++++++++++++++++++++++++++++--------------------- po/zh_CN.po | 1038 +++++++++++++------------ po/zh_TW.po | 1035 +++++++++++++------------ 26 files changed, 14906 insertions(+), 13217 deletions(-) commit d4dbb068438a29fee6c47083f385eed852d38c21 Author: Karel Zak Date: Wed Oct 10 14:45:58 2012 +0200 tests: remove libgcc from config test results Signed-off-by: Karel Zak tests/ts/build-sys/config | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 395baa9500ee9f73018fae016765c3581dc4babb Author: Tomislav Krznar Date: Wed Oct 10 14:40:56 2012 +0200 po: add hr.po (from translationproject.org) po/hr.po |14506 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 14506 insertions(+), 0 deletions(-) commit 51db4e888fbc5c820d576ce8133441525f5ae6c2 Author: Trần Ngọc Quân Date: Wed Oct 10 14:40:56 2012 +0200 po: update vi.po (from translationproject.org) po/vi.po | 2256 +++++++++++++++++++++++++------------------------------------- 1 files changed, 891 insertions(+), 1365 deletions(-) commit b736cdd4ae0095a735a891fefa12696ba518230e Author: Karel Zak Date: Wed Oct 10 13:06:01 2012 +0200 build-sys: clean update-potfiles script - use only sed(1) - remove config.h from the result - remove samples/, tests/, util-linu-*/ ("make ditcheck" product) directories from the result Signed-off-by: Karel Zak po/update-potfiles | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) commit 5a5c5bf304cb2ba1963742c92eed258470f95991 Author: Karel Zak Date: Wed Oct 10 13:05:20 2012 +0200 build-sys: remove --enable-gtk-doc from make check Signed-off-by: Karel Zak Makefile.am | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit a2728e1e4785cc2ed9d776b58786ca8c0b59e7fa Author: Mike Frysinger Date: Wed Oct 10 00:29:54 2012 -0400 sfdisk: fix aliasing warnings Compiles down to the same code. Signed-off-by: Mike Frysinger fdisks/sfdisk.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) commit 0fef94828955ec3d2f6fafe3c440a2f747949805 Author: Mike Frysinger Date: Wed Oct 10 00:22:38 2012 -0400 md5: fix strict aliasing warnings This is the same fix as was merged in gcc/binutils where this code appears to originate from. Signed-off-by: Mike Frysinger lib/md5.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit ce4c6ce2e374ba9d212ee2cca4723e30d31cc109 Author: Milan Broz Date: Fri Oct 5 18:37:40 2012 +0200 tests: fix mount move test to work with shared mount If parent mount for test directory is mounted with shared flag, move mount test fails because kernel rejects mount move operation. Use another directory level and explicitly make parent mount private. (All "modern" systems using system have mounts shared for some reason.) Signed-off-by: Milan Broz tests/ts/mount/move | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) commit b8a7b88a93e7b0d9aa77acf019eb430d446cd3f8 Author: Milan Broz Date: Fri Oct 5 18:37:39 2012 +0200 tests: ignore test if kernel doesn't support minix fs Minix mount test returs failure if kernel have no minix support, minix: mkfs ... FAILED (minix/mkfs) ignore test result instead in this case. Signed-off-by: Milan Broz tests/ts/minix/mkfs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 84ec5b6ae5573749e18e0d2b7cfdd85abd211e1f Author: Milan Broz Date: Fri Oct 5 18:37:38 2012 +0200 tests: fix timezone for cramfs cramfs test need explicitly set timezone otherwise ls diff fails with cramfs: mkfs checksums ... FAILED (cramfs/mkfs) Signed-off-by: Milan Broz tests/ts/cramfs/mkfs | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 88849a717cb9b41698e76d5eee4394eb098b378c Author: Marcin Juszkiewicz Date: Wed Oct 3 10:31:19 2012 +0100 fdisk: add AArch64 support Attached patch fixed build problem when util-linux is built for AArch64 architecture. fdisks/fdiskbsdlabel.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 36e61f3f7b788f9213ae6cd8dc1c0f0692081244 Author: Karel Zak Date: Tue Oct 9 11:56:35 2012 +0200 mount: add verbose messages Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=864227 Signed-off-by: Karel Zak sys-utils/mount.c | 26 +++++++++++++++++++++++++- sys-utils/umount.c | 22 ++++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletions(-) commit 2cd7c2a4ddc4b261f0064c51449deec059f1edf7 Author: Karel Zak Date: Fri Oct 5 12:07:10 2012 +0200 login: reuse DEAD_PROCESS utmp entries Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=858009 Signed-off-by: Karel Zak login-utils/login.c | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) commit f270538d8226bee1c718f3e83f15f48a7c910a31 Author: Karel Zak Date: Fri Oct 5 20:35:34 2012 +0200 libmount: fix umount file.img The umount optimization (commit 9cc03553f7b8494c7193024eec6e13b903eb2eec) has to be disabled if the umount argument is not a directory. Reported-by: Milan Broz Signed-off-by: Karel Zak libmount/src/context_umount.c | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) commit 3b3d529e780b750e4aa4d887984f8f95d2da21b8 Author: Bjørn Mork Date: Tue Oct 2 01:54:49 2012 +0200 dmesg: fix console-level off-by-one commit f06ec64f dmesg; support level names (e.g. --console-level=alert) introduced an off-by-one error. The kernel will print messages with a *higher* level than the console-level. The bug made it impossible to set the level for debugging, like it is documented in e.g Documentation/networking/netconsole.txt : nemi:/tmp# dmesg -n 8 dmesg: unknown level '8' And attempting to set the "emerg" level would result in an invalid 0 value: nemi:/tmp# dmesg -n emerg dmesg: klogctl failed: Invalid argument Restoring the old behaviour for numeric levels, and mapping the level names so that "dmesg -n debug" behaves as expected: logging everything at level "debug" and higher. [kzak@redhat.com: - add comment to parse_level()] Signed-off-by: Bjørn Mork Signed-off-by: Karel Zak sys-utils/dmesg.c | 22 +++++++++++++++++----- 1 files changed, 17 insertions(+), 5 deletions(-) commit fe3b18b51e418e5aae858a96d20f3d739e9e5a15 Author: Mike Frysinger Date: Tue Sep 25 18:39:00 2012 -0400 mount: fix a few typos Nothing of note here. Signed-off-by: Mike Frysinger Conflicts: mount-deprecated/mount.8 sys-utils/mount.8 Documentation/releases/v2.21-ReleaseNotes | 2 +- mount-deprecated/mount.8 | 20 ++++++++++---------- sys-utils/mount.8 | 24 ++++++++++++------------ 3 files changed, 23 insertions(+), 23 deletions(-) commit 8410bb4ab627badefe7428b24f096fc9cdb6b3ce Author: Gilles Espinasse Date: Sat Sep 22 09:59:19 2012 +0200 textual: typo fixes Signed-off-by: Gilles Espinasse libmount/src/context_mount.c | 2 +- libmount/src/context_umount.c | 4 ++-- misc-utils/blkid.8 | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 2d728718b7f442bab118353fcc50138e31471fb3 Author: Peter Rajnoha Date: Fri Sep 21 14:23:32 2012 +0200 lsblk: fix reporting of 'part' type Partitions are incorrectly marked with 'disk' type on lsblk output while it should be marked as 'part' type. Before: $ lsblk /dev/sda NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 128M 0 disk `-sda1 8:1 0 64M 0 disk With this patch applied: $ lsblk /dev/sda NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 128M 0 disk `-sda1 8:1 0 64M 0 part Signed-off-by: Peter Rajnoha misc-utils/lsblk.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 1949448a2a054fa79c866d9eb39522fc36b34b5a Author: Karel Zak Date: Tue Oct 2 10:14:05 2012 +0200 su: don't modify PATH if -l not specified This patch reverts a6fdd3f8125be23930d955c2bc6b7a46cdaf8a12. su(1) modifies PATH if: - option -l specified - ALWAYS_SET_PATH login.defs variable set Reported-by: Thomas Bächler Signed-off-by: Karel Zak login-utils/su.c | 126 +----------------------------------------------------- 1 files changed, 1 insertions(+), 125 deletions(-) commit 355e53fb894923482f2cb9f2927d9e95d6c497b6 Author: Bernhard Voelker Date: Wed Sep 5 15:12:01 2012 +0200 ipcrm: avoid 'uninitialized' warning GCC 4.1.2 on SLES 10.4: sys-utils/ipcrm.c: In function ‘main’: sys-utils/ipcrm.c:297: warning: ‘what_all’ may be used uninitialized in this function * sys-utils/ipcrm.c: Initialize what_all to ALL. Signed-off-by: Bernhard Voelker sys-utils/ipcrm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 1762c642cb64f3eafa03b3d8c42e8684af9f8788 Author: Karel Zak Date: Wed Sep 26 11:25:01 2012 +0200 libmount: don't setup new loopdev on remount with regular mtab [chroot-i486] root:/tmp$ mount -oloop /tmp/blob /tmp/mnt [chroot-i486] root:/tmp$ mount -o remount,loop,ro /tmp/mnt [chroot-i486] root:/tmp$ mount /dev/loop0 on /tmp/mnt type ext2 (ro,loop) [chroot-i486] root:/tmp$ losetup -a /dev/loop0: [2051]:306957 (/tmp/blob) /dev/loop1: [0005]:2218 (/dev/loop0) [chroot-i486] root:/tmp$ umount /tmp/mnt umount: /tmp/mnt: filesystem umounted, but mount(8) failed: Device or resource busy [chroot-i486] root:/tmp$ losetup -d /dev/loop1 [chroot-i486] root:/tmp$ losetup -d /dev/loop0 Reported-by: g.esp@free.fr Signed-off-by: Karel Zak libmount/src/context.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 9cc03553f7b8494c7193024eec6e13b903eb2eec Author: Karel Zak Date: Tue Sep 25 16:47:18 2012 +0200 libmount: optimize mtab and utab parsing in umount create 8000 NFS mountpoints: #!/bin/bash mount=/tmp/mount if [ ! -d $mount ]; then mkdir -p $mount fi for dir in {1..8000}; do if [ ! -d $mount/$dir ]; then mkdir -p $mount/$dir fi echo mount $dir mount -t nfs 127.0.0.1:/ $mount/$dir done old version: time ./umount /tmp/mount/2255 real 0m1.254s user 0m1.002s sys 0m0.238s new version: time ./umount /tmp/mount/2244 real 0m0.332s user 0m0.111s sys 0m0.218s Reported-by: chenditang Signed-off-by: Karel Zak libmount/src/context.c | 26 ++++++++++++++++++++++++++ libmount/src/context_umount.c | 41 +++++++++++++++++++++++++++++++++++++++++ libmount/src/mountP.h | 15 +++++++++++++++ libmount/src/tab_parse.c | 31 ++++++++++++++++++++++++++++++- 4 files changed, 112 insertions(+), 1 deletions(-) commit a411bef7850b79fdd46588a1f520926ad4d17351 Author: Karel Zak Date: Fri Sep 21 17:15:07 2012 +0200 libmount: user-mounted loopback fs cannot be unmounted by user Addresses: https://bugs.archlinux.org/task/31624 Signed-off-by: Karel Zak libmount/src/context_umount.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 21269ae4f45d0fd4d58818bff05f7098301c8700 Author: Milan Broz Date: Mon Sep 10 12:58:39 2012 +0200 mkswap: wipe old signature if there is no part table by default Historically mkswap avoids wiping any signature on "whole disk", until force option is given. While the idea is that it should not wipe possible boot loader, in reality it leads to many situations where e.g. LUKS device is overwritten but still can be detected as LUKS (but unusable). Patch chnges behaviour that only if partition table is detected, signatures are not wiped. Also it removes check for block device - loop device can now map partitions in-kernel, so using mkswap on disk image in file should behave the same as on disk. Also it adds warning that know signature was wiped. Signed-off-by: Milan Broz disk-utils/mkswap.8 | 5 ++--- disk-utils/mkswap.c | 47 ++++++++++++++++++++--------------------------- 2 files changed, 22 insertions(+), 30 deletions(-) commit 98874b564ff7ef3be0f31430ba3fa4251910cd52 Author: Peter Rajnoha Date: Thu Sep 20 13:17:13 2012 +0200 lsblk: fix processing of dm partition mappings As blkid_devno_to_wholedisk returns parent dm device for a partition mapping, the condition used in lsblk incorrectly checked the parent-child relationship. In this particular case, we need to process the dm partition mapping like any other non-partition device as dm devices always use proper holders/slaves sysfs hierarchy instead of /sys/block// that is used for real partitions. Example (test1 is a partition mapping and sdb1 is a real partition): $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 128M 0 disk `-test (dm-0) 253:0 0 128M 0 dm `-test1 (dm-1) 253:1 0 127M 0 part sdb 8:16 0 128M 0 disk `-sdb1 8:17 0 127M 0 disk Before this patch (test1 skipped!): $ lsblk -s /dev/mapper/test1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT test (dm-0) 253:0 0 128M 0 dm `-sda 8:0 0 128M 0 disk $ lsblk -s /dev/sdb1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb1 8:17 0 127M 0 disk `-sdb 8:16 0 128M 0 disk With this patch (test1 processed correctly): $ lsblk -s /dev/mapper/test1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT test1 (dm-1) 253:1 0 127M 0 part `-test (dm-0) 253:0 0 128M 0 dm `-sda 8:0 0 128M 0 disk $ lsblk -s /dev/sdb1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb1 8:17 0 127M 0 disk `-sdb 8:16 0 128M 0 disk misc-utils/lsblk.c | 68 ++++++++++++++++++++++++++++++++-------------------- 1 files changed, 42 insertions(+), 26 deletions(-) commit 01e6f6c523d7ec25e9545da5cdb22c1794378c3f Author: Peter Rajnoha Date: Thu Sep 20 09:39:57 2012 +0200 lib/sysfs: fix sysfs_devname_to_devno for dm partitions Partitions mapped by device-mapper are not like real partitions where there's a /sys/block///dev sysfs path. We need to look at /sys/block//dev like we do for any other non-partition devices. The mapped partition is not found otherwise. For example, this bug shows up in lsblk while specifying a device on command line while that device is a dm mapping over a partition: $lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 128M 0 disk `-test (dm-0) 253:0 0 128M 0 dm `-test1 (dm-1) 253:1 0 127M 0 part Before this patch: $lsblk /dev/mapper/test1 lsblk: dm-1: unknown device name With this patch: $lsblk /dev/mapper/test1 NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT test1 (dm-1) 253:1 0 127M 0 part lib/sysfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit 504c01228f1c07a9949203a140de54af8b13c912 Author: Petr Uzel Date: Thu Sep 20 15:53:50 2012 +0200 setterm: make error message more informative If `setterm -dump` fails because of lack of permission to read /dev/vcsa, it should not report that it couldn't read /dev/vcsa0. This could be misleading if there is only /dev/vcsa, but not /dev/vcsa0. Before: $ ./setterm -dump setterm: Couldn't read /dev/vcsa0 After: $ ./setterm -dump setterm: Couldn't read neither /dev/vcsa0 nor /dev/vcsa (Note: /dev/vcsa0 does not exist and the user does not have read permission on /dev/vcsa in this case). Addresses: https://bugzilla.novell.com/show_bug.cgi?id=780615 Reported-by: Christopher Yeleighton Signed-off-by: Petr Uzel term-utils/setterm.c | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) commit 7b95409fbf26d103d198ed1647da62ea39be1e7a Author: Thierry Reding Date: Wed Sep 19 11:48:46 2012 +0200 sfdisk: Fix format specifiers for size_t The proper specifier for size_t is %zu. %lu will work fine on 64-bit architectures but not on 32-bit. Signed-off-by: Thierry Reding fdisks/sfdisk.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 950736500c0364583c15432909eff9c8636dc74a Author: Tom Gundersen Date: Thu Sep 20 22:02:46 2012 +0000 hwclock: don't warp the systemtime if the RTC is in UTC A sideeffect of 839be2ba6b44fa9dc927f081d547ebadec9de19c is that we now warp the systemtime according to the timezone, on the first call of --systz. This is not always the correct thing to do, and causes a regression for us in Arch Linux. The behavior is correct if the RTC, and hence the systemtime, is in localtime. However, if the systemtime is already in UTC we don't want to touch it when we set the kernel timezone (which we still need to do as some filesystems use this information). An almost identical issue was also fixed in systemd commit 72edcff5db936e54cfc322d9392ec46e2428fd9b. Signed-off-by: Tom Gundersen sys-utils/hwclock.8 | 11 +++++++---- sys-utils/hwclock.c | 17 +++++++++++++++-- 2 files changed, 22 insertions(+), 6 deletions(-) commit 9f8ff9e2032e200b79a5ac08ef14e831d7dda331 Author: Karel Zak Date: Fri Sep 21 12:05:12 2012 +0200 hwclock: wait time in hwclock is not long enough for some ARM devices On Sun, Sep 16, 2012 at 02:11:48PM +0800, Queen Adam wrote: > I'm using Archlinux ARM for my Melo A100 box. > The hwclock always timeout when using select() in rtc.c. > > After I change the timeout from 5 to 10, the problem is solved. > > In fact the timeout in my ARM box seems only to be a little larger > than 5s. Signed-off-by: Karel Zak sys-utils/hwclock-rtc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 912d023026e599fef51635870b62092c6679919d Author: Ville Skyttä Date: Sat Sep 15 09:29:50 2012 +0300 docs: AUTHORS, NEWS: UTF-8 fixes. Signed-off-by: Ville Skyttä AUTHORS | 5 ++--- NEWS | 34 +++++++++++++++++----------------- 2 files changed, 19 insertions(+), 20 deletions(-) commit 46a625ff5585069f53b289501bc115667616b52c Author: Ville Skyttä Date: Sat Sep 15 09:29:49 2012 +0300 docs: umount.8 syntax fix. Signed-off-by: Ville Skyttä sys-utils/umount.8 | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 5c79f32c6f0a2e1add8d3b991c91abf2688a014b Author: Karel Zak Date: Tue Sep 18 11:40:44 2012 +0200 libmount: append loop option when automatically create loopdev The loop option is optional, mount(8) is able to detect that the source path is regular file (image) with known filesystem -- then a loop device is automatically created. In this case we have to store "loop" option to mtab on systems without autoclear loopdev flag. Signed-off-by: Karel Zak libmount/src/context_loopdev.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit f127c91cd5193ad195215b2a0bcd87c22b1b547f Author: Karel Zak Date: Tue Sep 18 11:22:17 2012 +0200 libmount: detach loopdev on umount if loop option in mtab [chroot-i486] root:/$ mount --version mount from util-linux 2.22 (libmount 2.22.0: debug) [chroot-i486] root:/$ losetup -a [chroot-i486] root:/$ mount -oloop /tmp/foo_fs /tmp/bar_dir [chroot-i486] root:/$ umount /tmp/foo_fs [chroot-i486] root:/$ losetup -a /dev/loop0: [2051]:387175 (/tmp/foo_fs) Reported-by: g.esp@free.fr Signed-off-by: Karel Zak libmount/src/context_umount.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 5e43aef723a9dbc5f4b845d83c77f57b9e58b050 Author: Giacomo Date: Wed Sep 12 17:33:39 2012 +0000 rtcwake: doesn't reset wakealarm Disable an alarm use the same logic used to enable it: first try RTC_WKALM_SET with the "enabled" flag set to false, if it fails fall back to RTC_AIE_OFF. Signed-off-by: Giacomo Signed-off-by: Karel Zak sys-utils/rtcwake.c | 23 +++++++++++++++++++---- 1 files changed, 19 insertions(+), 4 deletions(-) commit ec14852ee3563d67de50ce2ce9328accbb016903 Author: Karel Zak Date: Mon Oct 1 11:53:52 2012 +0200 build-sys: simplify usrlib_execdir initialization Signed-off-by: Karel Zak configure.ac | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit 139638a1e2e6fc3f946071a60646f71bff14744e Author: Karel Zak Date: Wed Sep 12 16:36:06 2012 +0200 build-sys: fix --localstatedir heuristics Signed-off-by: Karel Zak configure.ac | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-) commit d555b969b6fb219b041491b7fa3262682fc45acc Author: Karel Zak Date: Wed Sep 12 14:27:12 2012 +0200 libmount: don't remove user= when executed by root The original mount(8) allows to store arbitrary user= option to mtab file if called by root user. For example: # mount -f foo /bar -t xxx -o rw,user=kzak the new mount removes the 'user=' and 'users' options at all for root user. This is regression. The original functionality is necessary by 'sshfs' where fuse writes to mtab file by mount(8). Reported-by: Juergen Daubert (and 'horrorStruck' on IRC) Signed-off-by: Karel Zak libmount/src/context_mount.c | 12 ++++-------- 1 files changed, 4 insertions(+), 8 deletions(-) commit 8c060137fc3ac4f041d3d45711ff6354cd671c38 Author: Karel Zak Date: Wed Sep 12 11:57:19 2012 +0200 libmount: segfaults if neither /etc/filesystems nor/proc/filesystems exists Reported-by: Juergen Daubert Signed-off-by: Karel Zak libmount/src/context_mount.c | 3 +++ libmount/src/utils.c | 4 ++++ 2 files changed, 7 insertions(+), 0 deletions(-) commit 90596798fbdc671fcc395d31116929ea71a7c7a9 Author: Karel Zak Date: Tue Sep 11 09:30:16 2012 +0200 libblkid: fix copyright noticed to be consistent (so all are LGPL) The libblkid library was intended to be released under the LGPL. There is very little significant code in version.c; just a version parser, and the original copyright holder (Theodore Ts'o, tytso@mit.edu) has confirmed that he had intended to relicense all of the files under the LGPL during a time when he was the sole author. Acked-by: "Theodore Ts'o" Reported-by: John Calcote Signed-off-by: Karel Zak libblkid/libblkid.3 | 3 ++- libblkid/src/version.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit a321e9bdd83d254c1b73ba2f45738de0b63dc10f Author: Karel Zak Date: Mon Sep 10 10:30:11 2012 +0200 libmount: improve mnt_table_get_root_fs() docs Fix info about return value, improve description. Reported-by: Amit Signed-off-by: Karel Zak libmount/src/tab.c | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) commit 8d8296552322a53ba3028ec1571564b253372c4c Author: Karel Zak Date: Fri Sep 7 18:08:55 2012 +0200 wdctl: add fallbacks for old kernel headers Reported-by: Moritz Barsnick Signed-off-by: Karel Zak sys-utils/wdctl.c | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) commit 8b70307a1f3af1606206de45b7e1d49dccaf2359 Author: Karel Zak Date: Fri Sep 7 14:19:17 2012 +0200 build-sys: add --disable-wdctl Signed-off-by: Karel Zak configure.ac | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) commit 5f3232e623092151c2ae872f0fde3a5dc97883e8 Author: Karel Zak Date: Fri Sep 7 13:43:36 2012 +0200 eject: robust strings usage [coverity scan] Signed-off-by: Karel Zak sys-utils/eject.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) commit 7871b7637aad9a82166e79b25dedbe013c7cd179 Author: Karel Zak Date: Fri Sep 7 13:34:38 2012 +0200 whereis: improve readability for analysers Signed-off-by: Karel Zak misc-utils/whereis.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) commit 71baca39b310c268c357aed89634219855e9aee5 Author: Karel Zak Date: Fri Sep 7 13:29:55 2012 +0200 lib/pager: robust work with file descriptors [coverity scan] Signed-off-by: Karel Zak lib/pager.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) commit 1b807f75f7ce2f8513cdf35b593cd4defef79fdc Author: Karel Zak Date: Fri Sep 7 13:02:42 2012 +0200 switch_root: check open() return value [coverity scan] Signed-off-by: Karel Zak sys-utils/switch_root.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) commit 412f5aa0901922da62d617f60a9c2833eb8726ba Author: Karel Zak Date: Fri Sep 7 12:15:39 2012 +0200 lib/sysfs: more robust sysfs_opendir() [coverity scan] Signed-off-by: Karel Zak lib/sysfs.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) commit fdd22eef0293cf045b80ad463a94010ff865d7f2 Author: Karel Zak Date: Fri Sep 7 12:05:56 2012 +0200 mark expected fallthrough for static analysers Signed-off-by: Karel Zak fdisks/sfdisk.c | 2 ++ text-utils/colcrt.c | 1 + 2 files changed, 3 insertions(+), 0 deletions(-) commit ad58c15f408155a98fac89b72976ebc318f80a4c Author: Karel Zak Date: Fri Sep 7 12:00:53 2012 +0200 tunelp: add missing break [coverity scan] Signed-off-by: Karel Zak sys-utils/tunelp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit 4effad5dc78a433209d2d4134c350530417face9 Author: Karel Zak Date: Fri Sep 7 11:39:38 2012 +0200 namei: remove dead code [coverity scan] Signed-off-by: Karel Zak misc-utils/namei.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit d65aba54c3e70db7b917ec38616191fad194e0ef Author: Karel Zak Date: Fri Sep 7 11:00:54 2012 +0200 libblkid: check fchmod() return value [coverity scan] libblkid/src/save.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) commit e87cac220c31acc8863ef310b43517d1770eb617 Author: Karel Zak Date: Fri Sep 7 10:58:49 2012 +0200 libblkid: improve DBG() macro Signed-off-by: Karel Zak libblkid/src/blkidP.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit fcc4eb200e42def79a399ec86cd3b4c0cc7e6a84 Author: Björn Jacke Date: Wed Sep 5 13:39:48 2012 +0200 mount: fix man pahe typo in quota mount option names sys-utils/mount.8 | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) commit 6f17de4b402df3b7848a51ceee713d720818b6da Author: Dave Reisner Date: Tue Sep 4 22:31:03 2012 -0400 build-sys: install su.1 if building su Signed-off-by: Dave Reisner login-utils/Makemodule.am | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) commit fecbca53574dd714625f7b9ef748222cce0cfa64 Author: Davidlohr Bueso Date: Tue Sep 4 15:58:06 2012 +0200 libmount: document LIBMOUNT_DEBUG users Update the manpages of programs that use this environment variable for extra debugging information. Signed-off-by: Davidlohr Bueso disk-utils/fsck.8 | 3 +++ misc-utils/lsblk.8 | 3 +++ sys-utils/mountpoint.1 | 4 ++++ sys-utils/swapon.8 | 4 ++++ sys-utils/umount.8 | 7 +++++++ 5 files changed, 21 insertions(+), 0 deletions(-) commit 14bb5195f3355e8713be8d3d95edbb32c3c89a16 Author: Davidlohr Bueso Date: Tue Sep 4 15:58:02 2012 +0200 blkid: document LIBBLKID_DEBUG users Update the manpages of programs that use this environment variable for extra debugging information. Signed-off-by: Davidlohr Bueso disk-utils/fsck.8 | 3 +++ disk-utils/mkswap.8 | 3 +++ disk-utils/partx.8 | 3 +++ disk-utils/swaplabel.8 | 3 +++ misc-utils/blkid.8 | 3 +++ misc-utils/findfs.8 | 3 +++ misc-utils/wipefs.8 | 3 +++ 7 files changed, 21 insertions(+), 0 deletions(-)