Changes between v2.26.1 and v2.26.2
--------------------------------------------

commit 29900de7160d33747719e7cce4937d9cea0edb72
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 30 11:55:48 2015 +0200

    build-sys: release++ (v2.26.2)
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 NEWS         | 4 ++++
 configure.ac | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 73e9b43cb3b2372058f1b945e1784658d216e33f
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 30 11:54:30 2015 +0200

    docs: add v2.26.2-ReleaseNotes
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 Documentation/releases/v2.26.2-ReleaseNotes | 126 ++++++++++++++++++++++++++++
 1 file changed, 126 insertions(+)

commit fb6bbcd43f1ef38955b38767c46a4924595d61c6
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 30 11:51:11 2015 +0200

    docs: update AUTHORS file
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 AUTHORS | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

commit 9657842b890b7b931d9863ab0df6858683821260
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 30 11:48:58 2015 +0200

    po: merge changes
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 po/ca.po          | 1552 ++++++++++++++++----------------
 po/cs.po          | 1557 ++++++++++++++++----------------
 po/da.po          | 2253 ++++++++++++++++++++++++-----------------------
 po/de.po          | 1559 +++++++++++++++++----------------
 po/es.po          | 1557 ++++++++++++++++----------------
 po/et.po          | 1552 ++++++++++++++++----------------
 po/eu.po          | 1552 ++++++++++++++++----------------
 po/fi.po          | 1553 ++++++++++++++++----------------
 po/fr.po          | 1557 ++++++++++++++++----------------
 po/gl.po          | 1551 ++++++++++++++++----------------
 po/hr.po          | 1549 ++++++++++++++++----------------
 po/hu.po          | 1552 ++++++++++++++++----------------
 po/id.po          | 1552 ++++++++++++++++----------------
 po/it.po          | 1553 ++++++++++++++++----------------
 po/ja.po          | 2532 +++++++++++++++++++++++++----------------------------
 po/nl.po          | 1558 ++++++++++++++++----------------
 po/pl.po          | 1557 ++++++++++++++++----------------
 po/pt_BR.po       | 1555 ++++++++++++++++----------------
 po/ru.po          | 1552 ++++++++++++++++----------------
 po/sl.po          | 1552 ++++++++++++++++----------------
 po/sv.po          | 1555 ++++++++++++++++----------------
 po/tr.po          | 1552 ++++++++++++++++----------------
 po/uk.po          | 1557 ++++++++++++++++----------------
 po/util-linux.pot | 1551 ++++++++++++++++----------------
 po/vi.po          | 1557 ++++++++++++++++----------------
 po/zh_CN.po       | 1555 ++++++++++++++++----------------
 po/zh_TW.po       | 1555 ++++++++++++++++----------------
 27 files changed, 22173 insertions(+), 21464 deletions(-)

commit fda7728aa81aa0322d845ce1c7ad9bb2eb5c63ba
Author: Takeshi Hamasaki <hmatrjp@users.sourceforge.jp>
Date:   Thu Apr 30 11:41:29 2015 +0200

    po: update ja.po (from translationproject.org)

 po/ja.po | 2258 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 1199 insertions(+), 1059 deletions(-)

commit 7a0dccffd406032ab2a3d120673e7ed323271e7d
Author: Joe Hansen <joedalton2@yahoo.dk>
Date:   Thu Apr 30 11:41:07 2015 +0200

    po: update da.po (from translationproject.org)

 po/da.po | 1483 +++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 742 insertions(+), 741 deletions(-)

commit e514cb54e321a689bb9dfde8f89b8ff745c0a077
Author: Alexey Galakhov <agalakhov@gmail.com>
Date:   Thu Apr 16 17:26:27 2015 +0200

    hwclock: flush stdout in hwclock -c
    
    This allows using hwclock -c in automated test scripts that parse
    its output line-by-line. The standard output is flushed before
    each 10 second delay.
    
    Signed-off-by: Alexey Galakhov <agalakhov@gmail.com>

 sys-utils/hwclock.c | 1 +
 1 file changed, 1 insertion(+)

commit 466ff572c7f93d060a33d9d1477478d4d295226a
Author: J William Piggott <elseifthen@gmx.com>
Date:   Thu Apr 23 19:53:58 2015 -0400

    hwclock: Remove TZUTC
    
    commit d53f8ecfbf036eddb2aef737dc0973a613d80ced
    introduced the TZUTC environment variable to
    facilitate use of the zoneinfo 'right' database.
    This was incorrect. Either the TZDIR environment
    variable should be used or a system-wide
    configuration for the 'right' database should be
    used.
    
    See hwclock(8) POSIX vs 'RIGHT' for more details.
    
    TZUTC was undocumented and should be safe to remove.
    
    The commit also caused a regression when using
    musl libc, because when TZUTC is unset getenv()
    returns a NULL pointer.
    Reported-by: Isaac Dunham <ibid.ag@gmail.com>
    
    Signed-off-by: J William Piggott <elseifthen@gmx.com>

 sys-utils/hwclock.c | 11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)

commit b2dcce9d014a8c48e5acc84fcb8c774e94ef87a5
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 23 15:08:26 2015 +0200

    tests: fix sfdisk GPT test
    
    The test uses too large last partition, libfdisk checks this problem
    now.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/expected/sfdisk/gpt-read-dump  | 4 ++--
 tests/expected/sfdisk/gpt-write-dump | 2 +-
 tests/ts/sfdisk/gpt                  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

commit 28d00d008f99a9588f172c236ad1cbe17e42c69c
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 23 12:32:36 2015 +0200

    libfdisk: (gpt) add extra check for First/Last LBA
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/sfdisk.c |  5 +++--
 libfdisk/src/gpt.c  | 15 +++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

commit 457ee4de8f4b78125a6ab83ed6be99f27555fbaa
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 23 11:37:00 2015 +0200

    tests: add sfdisk resize tests for GPT
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 .../expected/sfdisk/resize-gpt-0-move-up-absolute  | 25 +++++++++++++++++++
 .../sfdisk/resize-gpt-1-move-down-absolute         | 25 +++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-10-down-enlarge   | 25 +++++++++++++++++++
 .../sfdisk/resize-gpt-11-absolute-move-resize      | 25 +++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-12-reduce-midle   | 29 ++++++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-13-max-last       | 29 ++++++++++++++++++++++
 .../expected/sfdisk/resize-gpt-2-move-up-relative  | 25 +++++++++++++++++++
 .../sfdisk/resize-gpt-3-move-down-relative         | 25 +++++++++++++++++++
 .../expected/sfdisk/resize-gpt-4-enlarge-absolute  | 25 +++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-5-reduce-absolute | 25 +++++++++++++++++++
 .../expected/sfdisk/resize-gpt-6-enlarge-relative  | 25 +++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-7-reduce-relative | 25 +++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-8-enlarge-all     | 25 +++++++++++++++++++
 tests/expected/sfdisk/resize-gpt-9-up-preduce      | 25 +++++++++++++++++++
 tests/ts/sfdisk/resize                             |  2 +-
 15 files changed, 359 insertions(+), 1 deletion(-)

commit b1d300f5a926888bd148ae4dd33f50b574d35601
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 23 11:34:05 2015 +0200

    libfdisk: (gpt) fix end sector calculation on resize
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/gpt.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

commit 72879353950a295d441498fe205a1550287955cb
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 22 17:15:39 2015 +0200

    tests: add sfdisk resize regression tests for MBR
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/expected/sfdisk/resize                       |   0
 .../expected/sfdisk/resize-dos-0-move-up-absolute  |  25 +++++
 .../sfdisk/resize-dos-1-move-down-absolute         |  25 +++++
 tests/expected/sfdisk/resize-dos-10-down-enlarge   |  25 +++++
 .../sfdisk/resize-dos-11-absolute-move-resize      |  25 +++++
 tests/expected/sfdisk/resize-dos-12-reduce-midle   |  29 +++++
 tests/expected/sfdisk/resize-dos-13-max-last       |  29 +++++
 .../expected/sfdisk/resize-dos-2-move-up-relative  |  25 +++++
 .../sfdisk/resize-dos-3-move-down-relative         |  25 +++++
 .../expected/sfdisk/resize-dos-4-enlarge-absolute  |  25 +++++
 tests/expected/sfdisk/resize-dos-5-reduce-absolute |  25 +++++
 .../expected/sfdisk/resize-dos-6-enlarge-relative  |  25 +++++
 tests/expected/sfdisk/resize-dos-7-reduce-relative |  25 +++++
 tests/expected/sfdisk/resize-dos-8-enlarge-all     |  25 +++++
 tests/expected/sfdisk/resize-dos-9-up-preduce      |  25 +++++
 tests/ts/sfdisk/resize                             | 124 +++++++++++++++++++++
 16 files changed, 482 insertions(+)

commit 980e7ddf0c5c0f9b6fdeebc1f9fb3f0b670759de
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 22 17:14:28 2015 +0200

    libfdisk: fix scriptk parser to support alone signs
    
    for example echo "- - - *" | sfdisk /dev/sda1 -N1
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/script.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

commit c8846abd43c3f81dc29b4a8fc4d2e28ca7cc14ef
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 22 17:13:48 2015 +0200

    libfdisk: allow to move start to first usable LBA
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/partition.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 952d205c212be9ae54ed7be271ba8f6f66aea98f
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 21 15:51:45 2015 +0200

    libfdisk: add warning to resize function
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/partition.c | 1 +
 1 file changed, 1 insertion(+)

commit 57b67d40ca76ac994860e5b6a066f98a4a958a2f
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 21 14:36:24 2015 +0200

    libfdisk: support resize operation in fdisk_set_partition()
    
    Note that the resize is not exported by API yet, the only way to use
    it is sfdisk-like scripts.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/partition.c | 241 ++++++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 227 insertions(+), 14 deletions(-)

commit fcdae490111b59e6deef74e84a9116639a3ce3ec
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 21 14:35:18 2015 +0200

    libfdisk: add fdisk_table_get_partition_by_partno()
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/docs/libfdisk-sections.txt |  1 +
 libfdisk/src/libfdisk.h.in          |  5 ++++-
 libfdisk/src/libfdisk.sym           |  1 +
 libfdisk/src/table.c                | 34 ++++++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+), 1 deletion(-)

commit 3809127c3ba701e9f9105b4cc52393682a20f716
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 21 14:32:31 2015 +0200

    libfdisk: fix script parser to support resize operations
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/fdiskP.h | 15 +++++++++++++++
 libfdisk/src/script.c | 30 ++++++++++++++++++++++++++----
 2 files changed, 41 insertions(+), 4 deletions(-)

commit 9f35d1b99f8db40ffc12f27b42547a16c6e7207f
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 21 14:30:11 2015 +0200

    libfdisk: don't resize in label drivers
    
    The resize operation has to be implemented on upper layer.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/dos.c | 27 ---------------------------
 libfdisk/src/gpt.c |  9 ---------
 2 files changed, 36 deletions(-)

commit a01a49036a5fca583da65bca8e746e361109b148
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 22 11:52:24 2015 +0200

    libfdisk: (gpt) fix LE usage
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/gpt.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

commit 27baccc2d1ffe54e7fffc6aa30ecf14c5606be79
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 22 11:08:05 2015 +0200

    lib/strutils: fix string_add_to_idarray() int vs. size_t
    
    The function uses "int" as argument, but for array size (and index) is better
    to use unsigned type (size_t). If we mix "size_t" in util (e.g. fdisk)
    and "int" in lib/strutils.c then result is unexpected behavior on
    ppc64.
    
    	# sfdisk --list -o DEVICE,START,SIZE /dev/sdb
    	Disk /dev/sdb: 50 MiB, 52428800 bytes, 102400 sectors
    	Units: sectors of 1 * 512 = 512 bytes
    	Sector size (logical/physical): 512 bytes / 4096 bytes
    	I/O size (minimum/optimal): 4096 bytes / 32768 bytes
    	Disklabel type: gpt
    	Disk identifier: 3B8559DB-33AF-43E9-BEFC-C331D829B539
    	lt-sfdisk: libfdisk/src/label.c:178: fdisk_label_get_field: Assertion `id > 0' failed.
    
    The patch cleanup all code to use size_t everywhere.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/fdisk-list.c |  2 +-
 disk-utils/partx.c      |  3 ++-
 include/strutils.h      |  2 +-
 lib/strutils.c          |  5 ++---
 misc-utils/findmnt.c    | 12 +++++++-----
 misc-utils/lsblk.c      | 14 ++++++++------
 misc-utils/lslocks.c    | 10 ++++++----
 sys-utils/losetup.c     | 10 ++++++----
 8 files changed, 33 insertions(+), 25 deletions(-)

commit e4017165f9510329b9207b7a53157731e555fa23
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 22 10:20:31 2015 +0200

    fdisk, sfdisk: fix -o <list> backend
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/fdisk-list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 6e9c8bef5133bd07f362be1641105aedcdafac21
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Wed Apr 22 08:05:47 2015 +0200

    tests: config.h lives in build directory
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/libmount/context    | 2 +-
 tests/ts/libmount/context-py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit 6eb59fd3bdb6ec71c6d43ed3298224c88957212c
Author: J William Piggott <elseifthen@gmx.com>
Date:   Tue Apr 21 16:43:41 2015 -0400

    hwclock: regression fix
    
    Commit ab8f402952301106ad0bd5c5a51dc8646d1bff64 regression
    where synchronize_to_clock_tick_rtc() only returns the correct
    value for a select() time out if using debug mode. This caused
    hwclock to have invalid output when select() timed out in
    normal mode.
    
    Signed-off-by: J William Piggott <elseifthen@gmx.com>

 sys-utils/hwclock-rtc.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit b8ccd16ff43a75716074b31ed3cc9b58f5766723
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Apr 21 10:41:01 2015 +0200

    tests: never use -o pipefail
    
    It was hard to find out that pipefail was the reason why our
    test-suite could have random failures for aribtrary tests,
    for example the ones which are using ts_device_has_uuid() or
    ts_mount().
    
    Bash's pipefall option is evil! It may return error for such a
    simple line like this one
    $ echo -e "xxx\nyyy" | grep -q "xxx"
    because the left echo command will get SIGPIPE when grep exits after
    the first match. So the command line above could return an error
    eventhough it does exactly what we want.
    
    This patch removes any pipefail from our tests. The funny thing is
    that I couldn't find any case where we relied on this feature anyway.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/blkdiscard/offsets        | 2 --
 tests/ts/blkid/md-raid0-whole      | 2 --
 tests/ts/blkid/md-raid1-whole      | 2 --
 tests/ts/cal/1m                    | 1 -
 tests/ts/cal/1mw                   | 1 -
 tests/ts/cal/3m                    | 1 -
 tests/ts/cal/3mw                   | 2 --
 tests/ts/cal/bigyear               | 1 -
 tests/ts/cal/bigyearw              | 1 -
 tests/ts/cal/color                 | 2 --
 tests/ts/cal/colorw                | 2 --
 tests/ts/cal/sep1752               | 1 -
 tests/ts/cal/sep1752w              | 1 -
 tests/ts/cal/weekarg               | 1 -
 tests/ts/cal/weeknum               | 1 -
 tests/ts/cal/year                  | 1 -
 tests/ts/cal/yearw                 | 1 -
 tests/ts/cramfs/doubles            | 2 --
 tests/ts/cramfs/fsck-endianness    | 2 --
 tests/ts/cramfs/mkfs               | 2 --
 tests/ts/cramfs/mkfs-endianness    | 2 --
 tests/ts/fsck/ismounted            | 2 --
 tests/ts/minix/fsck                | 2 --
 tests/ts/minix/mkfs                | 2 --
 tests/ts/mount/devname             | 2 --
 tests/ts/mount/fslists             | 2 --
 tests/ts/mount/fstab-broken        | 2 --
 tests/ts/mount/fstab-devname       | 2 --
 tests/ts/mount/fstab-devname2label | 2 --
 tests/ts/mount/fstab-devname2uuid  | 2 --
 tests/ts/mount/fstab-label         | 2 --
 tests/ts/mount/fstab-label2devname | 2 --
 tests/ts/mount/fstab-label2uuid    | 2 --
 tests/ts/mount/fstab-none          | 2 --
 tests/ts/mount/fstab-symlink       | 2 --
 tests/ts/mount/fstab-uuid          | 2 --
 tests/ts/mount/fstab-uuid2devname  | 2 --
 tests/ts/mount/fstab-uuid2label    | 2 --
 tests/ts/mount/label               | 2 --
 tests/ts/mount/regfile             | 2 --
 tests/ts/mount/rlimit              | 2 --
 tests/ts/mount/uuid                | 2 --
 tests/ts/script/race               | 2 --
 tests/ts/swapon/devname            | 2 --
 tests/ts/swapon/fixpgsz            | 2 --
 tests/ts/swapon/fixsig             | 2 --
 tests/ts/swapon/label              | 2 --
 tests/ts/swapon/uuid               | 2 --
 48 files changed, 85 deletions(-)

commit 2d8b57dcbd589628697f9a4d18f6d796652ca5cc
Author: Karel Zak <kzak@redhat.com>
Date:   Fri Apr 17 10:32:48 2015 +0200

    sfdisk: don't use BLKRRPART to check loopdev usage
    
    It seesm that kernel always returns EINVAL for BLKRRPART on loop
    devices, we call the ioctl to check if nobody else uses the device.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/sfdisk.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit dfedd4aa38172600700ddb6d33e6151d8ecc6e87
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 16 18:01:32 2015 +0200

    tests: add old dump for sfdisk
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/expected/sfdisk/dos-dump-gaps | 24 ++++++++++++++++++++++++
 tests/expected/sfdisk/dos-dump-old  | 23 +++++++++++++++++++++++
 tests/ts/sfdisk/dos                 | 22 +++++++++++++++++++++-
 tests/ts/sfdisk/files/dump-gaps     |  7 +++++++
 tests/ts/sfdisk/files/dump-old      |  7 +++++++
 tests/ts/sfdisk/gpt                 |  2 +-
 6 files changed, 83 insertions(+), 2 deletions(-)

commit 74b5101edf6286417625dd0764e65522c6e57623
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 16 17:40:28 2015 +0200

    sfdisk: accept empty partitions from dump
    
    Old sfdisk uses:
      dev/sdc2 : start=        0, size=        0, Id= 0
    
    for undefined MBR partitions. Let's follow this behaviour.
    
    Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/sfdisk.c | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

commit 9cc947554334c5422a27a343d0012c7fbe0b9da4
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Apr 14 14:54:52 2015 +0200

    tests: fix logger device pathname too long
    
    $TS_OUTDIR may be too long for sockaddr_un.sun_path. Noticed on travis
    in distcheck.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/logger/errors  | 4 +++-
 tests/ts/logger/formats | 4 +++-
 tests/ts/logger/options | 4 +++-
 3 files changed, 9 insertions(+), 3 deletions(-)

commit a0fa6a6611b910060f339851edf2b7abc2f0f57d
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 31 14:35:07 2015 +0200

    tests: loop tests, don't call ts_die() with DEVICE parameter
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/cramfs/mkfs               |  4 ++--
 tests/ts/fsck/ismounted            |  6 +++---
 tests/ts/minix/mkfs                |  2 +-
 tests/ts/mount/devname             |  8 ++++----
 tests/ts/mount/fslists             | 14 +++++++-------
 tests/ts/mount/fstab-devname       | 12 ++++++------
 tests/ts/mount/fstab-devname2label |  8 ++++----
 tests/ts/mount/fstab-devname2uuid  |  8 ++++----
 tests/ts/mount/fstab-label         | 16 ++++++++--------
 tests/ts/mount/fstab-label2devname | 12 ++++++------
 tests/ts/mount/fstab-label2uuid    | 14 +++++++-------
 tests/ts/mount/fstab-symlink       | 12 ++++++------
 tests/ts/mount/fstab-uuid          | 16 ++++++++--------
 tests/ts/mount/fstab-uuid2devname  | 12 ++++++------
 tests/ts/mount/fstab-uuid2label    | 14 +++++++-------
 tests/ts/mount/label               | 12 ++++++------
 tests/ts/mount/remount             |  8 ++++----
 tests/ts/mount/rlimit              |  2 +-
 tests/ts/mount/shared-subtree      |  4 ++--
 tests/ts/mount/uuid                | 12 ++++++------
 tests/ts/swapon/devname            |  6 +++---
 tests/ts/swapon/fixpgsz            |  6 +++---
 tests/ts/swapon/fixsig             |  8 ++++----
 tests/ts/swapon/label              |  6 +++---
 tests/ts/swapon/uuid               |  6 +++---
 25 files changed, 114 insertions(+), 114 deletions(-)

commit 4dc4d45e8380a3b9c0b12163b00626eee5f603b7
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 31 14:23:30 2015 +0200

    tests: scsi_debug tests, don't call ts_die() with DEVICE parameter
    
    This was almost useless anyway.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/libmount/context          | 2 +-
 tests/ts/libmount/context-py       | 2 +-
 tests/ts/libmount/tabfiles-tags    | 4 ++--
 tests/ts/libmount/tabfiles-tags-py | 4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

commit 3e2f70b7509e1b2a36f89f4b9550aad4cca53659
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 31 14:19:40 2015 +0200

    tests: introduce TS_LOOP_DEVS for cleanup
    
    We are maintaining an array TS_LOOP_DEVS to de-initialize devices
    always on exit. Until now there was no cleanup in ts_skip().
    
    The downside is that we can't execute ts_device_init() in a subshell
    anymore. The device is returned via global variable TS_LODEV, similar
    like we do already in ts_scsi_debug_init().
    
    Tests which don't use ts_device_init() to create loop devices may use
    ts_register_loop_device() to get them cleaned up later.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/functions.sh                 | 26 ++++++++++++++++++--------
 tests/ts/blkdiscard/offsets        |  2 +-
 tests/ts/blkid/md-raid0-whole      | 10 ++++------
 tests/ts/blkid/md-raid1-whole      | 10 ++++------
 tests/ts/cramfs/mkfs               |  3 +--
 tests/ts/fdisk/align-512-512       |  5 ++---
 tests/ts/fsck/ismounted            |  5 ++---
 tests/ts/minix/fsck                |  4 ++--
 tests/ts/minix/mkfs                |  4 ++--
 tests/ts/mount/devname             |  6 ++----
 tests/ts/mount/fslists             |  7 ++-----
 tests/ts/mount/fstab-devname       |  5 ++---
 tests/ts/mount/fstab-devname2label |  5 ++---
 tests/ts/mount/fstab-devname2uuid  |  5 ++---
 tests/ts/mount/fstab-label         |  5 ++---
 tests/ts/mount/fstab-label2devname |  5 ++---
 tests/ts/mount/fstab-label2uuid    |  5 ++---
 tests/ts/mount/fstab-symlink       |  5 ++---
 tests/ts/mount/fstab-uuid          |  5 ++---
 tests/ts/mount/fstab-uuid2devname  |  5 ++---
 tests/ts/mount/fstab-uuid2label    |  5 ++---
 tests/ts/mount/label               |  6 ++----
 tests/ts/mount/remount             |  6 ++----
 tests/ts/mount/rlimit              |  6 ++----
 tests/ts/mount/shared-subtree      |  5 ++---
 tests/ts/mount/uuid                |  6 ++----
 tests/ts/swapon/devname            |  5 ++---
 tests/ts/swapon/fixpgsz            |  4 ++--
 tests/ts/swapon/fixsig             |  5 ++---
 tests/ts/swapon/label              |  5 ++---
 tests/ts/swapon/uuid               |  5 ++---
 31 files changed, 80 insertions(+), 105 deletions(-)

commit fd427f94bc402a2b32e438083751615e817afeed
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 31 10:54:56 2015 +0200

    tests: introduce ts_cleanup_on_exit()
    
    ts_cleanup_on_exit() is always called on exit, e.g. after ts_skip,
    ts_die, ts_finalize ...
    
    A first usage example is the cleanup of TS_SUID_PROGS which is now also done
    on ts_skip. Later we want to fix some left loop devices.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/functions.sh | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

commit 07dbddf2ea826fbb4f0409cdf2b96b1dac3ba3df
Author: Cristian Rodríguez <crrodriguez@opensuse.org>
Date:   Fri Apr 10 15:57:58 2015 -0300

    lib/sysfs.c: use fcntl(..F_DUPFD_CLOEXEC) instead of dup(2)
    
    "The two descriptors do not share file descriptor flags (the
    close-on-exec flag).  The close-on-exec flag  for the duplicate descriptor is off"

 lib/sysfs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 02c7353875c5ab81fa89dea8102466c6b579b2c5
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 14 11:26:54 2015 +0200

    tests: make libmount python context tests sensitive to USE_LIBMOUNT_FORCE_MOUNTINFO
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/ts/libmount/context-py | 50 +++++++++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 21 deletions(-)

commit 03d91979282dd6bf3466c583f489dc06c44acd24
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Apr 14 11:26:54 2015 +0200

    tests: make libmount context tests sensitive to USE_LIBMOUNT_FORCE_MOUNTINFO
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/functions.sh        |  2 +-
 tests/ts/libmount/context | 50 +++++++++++++++++++++++++++--------------------
 2 files changed, 30 insertions(+), 22 deletions(-)

commit 33d4ebb37ab248269b9a1462282a45ece8366820
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Mon Apr 13 13:29:26 2015 +0200

    travis: install socat >= 1.7.2
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 .travis-functions.sh | 7 +++++++
 1 file changed, 7 insertions(+)

commit f92840037ca163f056032b5c1a3115f9ff9bdf1a
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Fri Apr 10 08:28:26 2015 +0200

    tests: add subtests for invalid logger devive
    
    Note --journald should not complain about invalid sockets.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/expected/logger/errors-check_socket   | 2 ++
 tests/expected/logger/errors-invalid_socket | 2 ++
 tests/ts/logger/errors                      | 4 ++++
 tests/ts/logger/journald                    | 2 +-
 4 files changed, 9 insertions(+), 1 deletion(-)

commit a055108ed5069ac54dd37f9a011bfb1f2ef72311
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Thu Apr 9 20:14:51 2015 +0200

    tests: logger/errors does not use --no-act
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/expected/logger/errors-check_socket | 18 ++++++++++++++++++
 tests/ts/logger/errors                    |  5 ++++-
 2 files changed, 22 insertions(+), 1 deletion(-)

commit 164ce49532c62efd098ed7414b7138d4e82ed18c
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Apr 13 13:41:10 2015 +0200

    sfdisk: enable bootbits protection
    
    Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1210428
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/sfdisk.c | 1 +
 1 file changed, 1 insertion(+)

commit b78a854d3cbc0153501639de275498dfbe8a0fb2
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Apr 13 13:40:25 2015 +0200

    libfdisk: support bootbits protection from (p)MBR
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 include/pt-mbr.h                    |  1 +
 libfdisk/docs/libfdisk-sections.txt |  6 ++-
 libfdisk/src/context.c              | 33 ++++++++++++++++-
 libfdisk/src/dos.c                  |  5 ++-
 libfdisk/src/fdiskP.h               |  4 +-
 libfdisk/src/gpt.c                  |  6 ++-
 libfdisk/src/libfdisk.h.in          |  2 +
 libfdisk/src/libfdisk.sym           |  5 +++
 libfdisk/src/sgi.c                  |  2 +-
 libfdisk/src/sun.c                  |  2 +-
 libfdisk/src/utils.c                | 73 ++++++++++++++++++++++++++-----------
 11 files changed, 109 insertions(+), 30 deletions(-)

commit 17f608a79217052cd5bd3fe3e5f3ca4971918f26
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Thu Apr 9 20:14:50 2015 +0200

    tests: logger, validate written socket data
    
    Actually there should be no data written to the socket because
    we are always using --no-act.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/expected/logger/errors-check_socket  | 1 +
 tests/expected/logger/formats-check_socket | 1 +
 tests/expected/logger/options-check_socket | 1 +
 tests/ts/logger/errors                     | 5 +++++
 tests/ts/logger/formats                    | 5 +++++
 tests/ts/logger/options                    | 5 +++++
 6 files changed, 18 insertions(+)

commit 2afc937be6b1b339add4cee63b28f7b5f6d77131
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Thu Apr 9 17:12:34 2015 +0200

    tests: logger with socat device
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/functions.sh      | 29 +++++++++++++++++++++++++++++
 tests/ts/logger/errors  | 10 +++++++++-
 tests/ts/logger/formats | 10 +++++++++-
 tests/ts/logger/options | 16 ++++++++++++++--
 4 files changed, 61 insertions(+), 4 deletions(-)

commit 68d5fefe3cd34ad962355118d17c5d8582b98bd8
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Apr 13 12:08:50 2015 +0200

    sfdisk: improve -N warnings
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/sfdisk.8 | 9 ++++++++-
 disk-utils/sfdisk.c | 9 +++++++--
 2 files changed, 15 insertions(+), 3 deletions(-)

commit f02064b5d1f2ac18af37642d136ce42c43fdfb12
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Apr 13 10:56:03 2015 +0200

    tests: add sfdisk resize tests
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/expected/sfdisk/dos-resize | 23 +++++++++++++++++++++++
 tests/expected/sfdisk/gpt-resize | 23 +++++++++++++++++++++++
 tests/ts/sfdisk/dos              | 14 ++++++++++++++
 tests/ts/sfdisk/gpt              | 14 ++++++++++++++
 4 files changed, 74 insertions(+)

commit 94567f59c589a79c7abe8a4846159d54261f6432
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Apr 13 10:35:51 2015 +0200

    tests: require wipefs for sfdisk/gpt
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/ts/sfdisk/gpt | 1 +
 1 file changed, 1 insertion(+)

commit 26f0adc3e9a94d381bbe31f9054800efff4ac956
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Apr 13 10:29:00 2015 +0200

    libfdisk: (dos)  retain existing boot flag when resizing a partition
    
    Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1210912
    Signed-off-by: Karel Zak <kzak@redhat.com>
    Co-Author:  awilliam@redhat.com

 libfdisk/src/dos.c       | 8 +++++---
 libfdisk/src/partition.c | 3 +--
 2 files changed, 6 insertions(+), 5 deletions(-)

commit 46ee58363be2809aba6f9eab9482e0815cd2e1d0
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Thu Apr 9 17:00:26 2015 +0200

    tests: simplify common logger options
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/logger/errors  | 32 ++++++++++++++------------------
 tests/ts/logger/formats | 26 ++++++++++++++------------
 2 files changed, 28 insertions(+), 30 deletions(-)

commit 57746ee3ccaa67c38d181ba7ffabfe2317190cfd
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Thu Mar 26 14:20:29 2015 +0100

    logger: --stderr and --no-act turn "auto-errors" on
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 misc-utils/logger.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit d5b6cf7c9672d9da43d2ceba1fc1f3c824d007aa
Author: Jörg Jenderek <joerg.jen.der.ek@gmx.net>
Date:   Wed Apr 8 10:24:26 2015 +0200

    libfdisk: recognize FAT32 partitions hidden by Acronis software
    
    References: http://www.acronis.de/products/trueimage
    Signed-off-by: Karel Zak <kzak@redhat.com>
    Signed-off-by: Jörg Jenderek <joerg.jen.der.ek@gmx.net>

 include/pt-mbr-partnames.h | 1 +
 include/pt-mbr.h           | 1 +
 2 files changed, 2 insertions(+)

commit 46de5b557a8e7c42990137de2c4ed94140ef6f3e
Author: Mike Place <mp@saltstack.com>
Date:   Tue Apr 7 10:44:50 2015 +0200

    whereis: trivial spelling and grammar fix
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/whereis.1 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 09e912ef64df907d6cb1c86ac9a25782c6d3e5e0
Author: Sami Kerola <sami.kerola@lastminute.com>
Date:   Tue Apr 7 08:58:19 2015 +0100

    logger: fix memory leaks
    
    Reported-by: Patrick Plagwitz <patrick.plagwitz@fau.de>
    Signed-off-by: Sami Kerola <sami.kerola@lastminute.com>

 misc-utils/logger.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 9daa70d8409b46c5cfd0100400fdd722b9f40bb9
Author: Patrick Plagwitz <patrick.plagwitz@fau.de>
Date:   Mon Apr 6 22:50:46 2015 +0100

    logger: generate header when reading message from stdin
    
    This change fixes crashing error, that ought not to be simply avoided.
    
    $ echo foo | logger -n localhost
    Segmentation fault (core dumped)
    
    If the ctl->hdr is just checked not to be NULL syslog message will not
    have valid header, so generating such is not optional when reading
    message from stdin and writing it to remote destination.
    
    Reviewed-by: Bernhard Voelker <mail@bernhard-voelker.de>
    Signed-off-by: Patrick Plagwitz <patrick.plagwitz@fau.de>
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 misc-utils/logger.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

commit 7116ee246fa9f82350b28a0ac2f4a89b12bd6ce2
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Apr 2 12:30:26 2015 +0200

    libmount: add note about flock() to docs
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libmount/src/lock.c | 4 ++++
 1 file changed, 4 insertions(+)

commit a26b968334b9e6b494cb0721119ca67c3da46d40
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Thu Apr 2 11:35:29 2015 +0200

    tests: mount/rlimit tries to restore mtab
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/mount/rlimit | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

commit 79bb3def50fdcf52e8e36dc809b65ed0daca245e
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 31 16:07:37 2015 +0200

    tests: fix, don't call ts_die from subshell
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/mount/fslists | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

commit 293ff54d8808b0e2fd69a71497d5748ddec9b2fe
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Sat Mar 28 15:32:30 2015 +0100

    tests: ts_scsi_debug_init() sleeps a bit earlier
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/functions.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 708cb35a57510151097ee64c849cc8fb0e071a8b
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Sat Mar 28 12:34:43 2015 +0100

    tests: fix cramfs/mkfs for BE and different pagesizes
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/expected/cramfs/mkfs |  1 -
 tests/ts/cramfs/mkfs       | 17 ++++++++++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

commit ec6455fa94297974de4444ba20d18bc227513365
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 1 12:23:23 2015 +0200

    lsblk: don't ignore dependences for partitioned devies
    
    The code only lists partitions, but ignore another dependencies
    on whole-disk device:
    
    	$ lsblk /dev/sdb
    	NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    	sdb      8:16   0 298.1G  0 disk
    	└─sdb1   8:17   0 298.1G  0 part
    
    	$ ls /sys/block/sdb/holders/
    	dm-0
    
    fixed version:
    
    	$ lsblk /dev/sdb
    	NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
    	sdb           8:16   0 298.1G  0 disk
    	├─sdb1        8:17   0 298.1G  0 part
    	└─mpatha    253:0    0 298.1G  0 mpath
    	  └─mpatha1 253:1    0 298.1G  0 part
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/lsblk.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 69f963ef2a6c056fe2b1f11b10fce97dc6126d0a
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 1 12:06:41 2015 +0200

    lsblk: follow kernel for inverse tree
    
    For multi-path devices kernel defines dependence between the device
    and whole-list:
    
    	$ ls /sys/block/dm-0/slaves/
    	sdb
    
    but lsblk inserts partition into the tree:
    
    	$ lsblk -s -oNAME,KNAME /dev/dm-1
    	mpatha1   dm-1
    	└─mpatha  dm-0
    	  └─sdb1  sdb1     <--- !
    	    └─sdb sdb
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/lsblk.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

commit 6e08dc5dda703cc23cdb467ec744240fb80c931e
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Apr 1 12:06:15 2015 +0200

    lsblk: add debug support
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/lsblk.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++-------
 1 file changed, 76 insertions(+), 11 deletions(-)

commit 8907aed09dc9bc17b0cd34dc71f504fd051e5a7a
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 30 13:54:08 2015 +0200

    build-sys: define cfdisk dependence on open_memstream
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit e5b62f2f71f6e787fe3521bf9fc281110330416a
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 30 12:52:22 2015 +0200

    mount: fix lazytime docs
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 sys-utils/mount.8 | 1 -
 1 file changed, 1 deletion(-)

commit a71a354d26d14ff2fc53fbf2297cd8ba3ab28de9
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 30 12:43:45 2015 +0200

    libmount: add support for MS_LAZYTIME
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libmount/src/libmount.h.in |  4 ++++
 libmount/src/optmap.c      |  4 ++++
 sys-utils/mount.8          | 27 +++++++++++++++++++++++++++
 3 files changed, 35 insertions(+)

commit 87f80b8ffe02dacd89f06ae24d1e4ece2546a545
Author: Waldemar Brodkorb <wbx@openadk.org>
Date:   Sun Mar 29 15:00:30 2015 +0200

    setarch: fix regression for sparc builds
    
    With following commit:
    5edb0ea6bbd57dd916417737f98c9109dc1ecb5b
    
    Sparc cross-compile fails.
    
    Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

 sys-utils/setarch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 39934449dc439481f9f0c7ac2a18cb44372a5e40
Author: Karel Zak <kzak@redhat.com>
Date:   Fri Mar 27 13:47:13 2015 +0100

    libfdisk: don't return empty strings from fdisk_partition_to_string()
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/partition.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

commit 980ceb22609325e63e06aaca877a79e75a2e676f
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Mar 26 18:21:53 2015 +0100

    sfdisk: fix -a vs. -A bug
    
    The -A has been originally used for --activate, since v2.26 it's used
    for --append. This is stupid mistake. This patch reverts the change to:
    
     -A, --activate
     -a, --append
    
    Note that --append is a new command line option in v2.26.
    
    Addresses: https://bugs.archlinux.org/task/44349
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/sfdisk.8 |  4 ++--
 disk-utils/sfdisk.c | 12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)

commit cd019e74297782dab09b20775af24a0ae7b1e7fa
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 24 19:37:01 2015 +0100

    tests: verify logger return value
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/expected/logger/errors-id_with_space         |   2 +
 tests/expected/logger/errors-invalid_prio          |   1 +
 tests/expected/logger/errors-kern_priority         |   1 +
 tests/expected/logger/errors-kern_priority_numeric |   1 +
 tests/expected/logger/errors-rfc5424_exceed_size   |   1 +
 .../logger/errors-rfc5424_msgid_with_space         |   1 +
 tests/expected/logger/errors-tag_with_space        |   2 +
 tests/expected/logger/formats-priorities           | 152 +++++++++++++++++++++
 tests/expected/logger/formats-rfc3164              |   1 +
 tests/expected/logger/formats-rfc5424_msgid        |   1 +
 tests/expected/logger/formats-rfc5424_nohost       |   1 +
 tests/expected/logger/formats-rfc5424_notime       |   1 +
 tests/expected/logger/formats-rfc5424_simple       |   1 +
 tests/expected/logger/journald                     |   1 +
 .../expected/logger/options-input_file_empty_line  |   1 +
 .../expected/logger/options-input_file_prio_prefix |   1 +
 tests/expected/logger/options-input_file_simple    |   1 +
 .../expected/logger/options-input_file_skip_empty  |   1 +
 tests/expected/logger/options-log_pid              |   1 +
 tests/expected/logger/options-log_pid_define       |   1 +
 tests/expected/logger/options-log_pid_long         |   1 +
 tests/expected/logger/options-log_pid_no_arg       |   1 +
 tests/expected/logger/options-simple               |   1 +
 tests/ts/logger/errors                             |   9 ++
 tests/ts/logger/formats                            |   6 +
 tests/ts/logger/journald                           |   2 +-
 tests/ts/logger/options                            |   1 +
 27 files changed, 193 insertions(+), 1 deletion(-)

commit 0032521c8c64ec6c0d49a8538606835e35cb0756
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 24 09:47:49 2015 +0100

    tests: avoid &>> for bash compatibility
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/fdisk/gpt      |  2 +-
 tests/ts/libmount/utils | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

commit ce42d8dca429b0d990a5f00500222b2b0bf6c094
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 24 09:37:30 2015 +0100

    tests: fix getopt for old glibc
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/ts/misc/getopt2 | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

commit 9294571200159e1d7529430f83e2a498fd61e7cc
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Mar 26 12:09:50 2015 +0100

    build-sys: python is optional, don't fail when missing
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 configure.ac | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

commit c9e161079771e8a1de9561969b1a466bf41dd6eb
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Mar 26 11:50:15 2015 +0100

    build-sys: ncurses is optional, don't fail when missing
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 configure.ac | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit ed131fb46ed61385c837acfb7179358cc8871404
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Mar 25 17:36:28 2015 +0100

    tests: more(1) depends on terminal, force to TERM=linux
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/ts/more/regexp | 1 +
 1 file changed, 1 insertion(+)

commit 856ccc5d2f3fa5bf8ccbf3a12ce1992564cd244b
Author: Karel Zak <kzak@redhat.com>
Date:   Wed Mar 25 11:08:22 2015 +0100

    libfdisk: fix symbols versioning script
    
    Really stupid copy & past mistake. The libfdisk symbols should not be
    prefixed by MOUNT_ suffix.
    
    This change makes binaries linked with libfdisk 2.26 incompatible with
    new libfdisk. Fortunately, 2.26 has been the first release and very
    probably the library has been used for util-linux fdisks only.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/libfdisk.sym | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit dcd5bc5ce5423e94d60656d23612dd893c1eae9d
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 24 12:22:13 2015 +0100

    last, fix race when comparing time stamps
    
    It is just luck if two time() calls happen within the same
    second. Introduced in 31d28e09.
    
    Actually I don't like adding another global variable but this
    way we avoid bigger refactoring. IMO it's questionable why
    lastdate, lastdown, etc. are initialized with current time() at
    all. It looks unsafe to print "still running" always when
    logout_time = now.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 login-utils/last.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

commit 96c76c7effc2e58fe9b7780510f6a5025234964c
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Tue Mar 24 14:38:09 2015 +0100

    last: fix first (current) runlevel line
    
    Since 744c7fec lastrch was not set to current time anymore, but we need it.
    
     # broken:
     $ ./last -x | grep -m 2 runlevel
     runlevel (to lvl 5)   3.11.10-25-deskt Wed Feb 18 13:11 - 01:00 (-16484+-12:-11)
     runlevel (to lvl 5)   3.11.10-25-deskt Thu Jan 22 16:50 - 13:11 (26+20:21)
    
     # fixed:
     $ ./last -x | grep -m 2 runlevel
     runlevel (to lvl 5)   3.11.10-25-deskt Wed Feb 18 13:11   still running
     runlevel (to lvl 5)   3.11.10-25-deskt Thu Jan 22 16:50 - 13:11 (26+20:21)
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 login-utils/last.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 902e1d727e2c2ad5128c25bbbd8680431652e842
Author: Stanislav Brabec <sbrabec@suse.cz>
Date:   Tue Mar 24 21:01:10 2015 +0100

    fsck: fix fsck -C {fd} parsing
    
    Both fsck(8) and fsck --help documents progress bar redirection as
    -C {fd}
    
    This did not work, and only -C{fd} and "-C {fd}" worked.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/fsck.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit af4ca160807317390f4942cb5353ea1240684ea8
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 23 12:03:30 2015 +0100

    libfdisk: (gpt) check header size before verify CRC
    
    Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=780834
    Signed-off-by: Karel Zak <kzak@redhat.com>

 libfdisk/src/gpt.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

commit 53c86afb7266643d86430b4cefff9bf30485a720
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 23 11:40:45 2015 +0100

    logger: fix LOGGER_TEST_TIMEOFDAY check
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/logger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit a4f1ef7e826c06e0d9bbc7651423b88808b41c06
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 22 23:05:26 2015 +0000

    dmesg: fix shadow declaration
    
    sys-utils/dmesg.c:650:9: warning: declaration of 's' shadows a previous local [-Wshadow]
    sys-utils/dmesg.c:619:12: warning: shadowed declaration is here [-Wshadow]
    
    And since the code had to be touched deprecate loop printing one character
    at a time, in favour of printf and instruction to repeat spaces the number
    required.
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 sys-utils/dmesg.c | 11 +++--------
 1 file changed, 3 insertions(+), 8 deletions(-)

commit 57c0ec30e94aee8a7d81983bb57c9a1393599a71
Author: Karel Zak <kzak@redhat.com>
Date:   Fri Mar 20 12:42:33 2015 +0100

    mount: don't remount read-only on --bind
    
    mount(8) tries to mount read-only when the previous attempt ends with
    EROFS or EACCES. This is bad idea for bind mounts as "ro,bind" has
    a special semantic.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 sys-utils/mount.c | 3 +++
 1 file changed, 3 insertions(+)

commit 38db23fb36e783b190896e6382d36cdba7bca264
Author: Karel Zak <kzak@redhat.com>
Date:   Thu Mar 19 12:06:35 2015 +0100

    tests: start script/race test only when --force specified
    
    The test generates 1000 processes and it seems too invasive for
    test/build machines and containers.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/ts/script/race | 3 +++
 1 file changed, 3 insertions(+)

commit 467eb52e9fd9e240ebb692e34abb016807029b51
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Mar 17 12:03:28 2015 +0100

    travis: add MAKE_CHECK_OPTS
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 .travis-functions.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

commit 0373fa6462e2fe60e058ba413bacbe47d4bfccc1
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Mar 17 11:34:22 2015 +0100

    tests: add --skip-loopdevs
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/functions.sh | 3 ++-
 tests/run.sh       | 3 +++
 2 files changed, 5 insertions(+), 1 deletion(-)

commit 07041726fc5f839341a0e3176b5c088f6fcda8f9
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Mar 17 11:21:39 2015 +0100

    tests: use ts_skip for logger/journald
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/ts/logger/journald | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 942409306d8a6b2b1bee628902c6446d19c1cb7e
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Mar 17 11:10:20 2015 +0100

    blockdev: fix whole-disk start sector usage
    
    Since 569d1dac7bc64457aac11163b6a91ce9b41a6715 we read device start
    sector from the /sys/block/.../start file. The file exists only for
    partitions, for wholedisk is the start of the device always zero.
    
    References: https://bugzilla.redhat.com/show_bug.cgi?id=1202443
    Signed-off-by: Karel Zak <kzak@redhat.com>

 disk-utils/blockdev.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

commit 47d9f440dc43463ab7345ee44ab62b25c7ca8078
Author: Karel Zak <kzak@redhat.com>
Date:   Tue Mar 17 10:15:50 2015 +0100

    build-sys: add new compiler warnings
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 configure.ac | 2 ++
 1 file changed, 2 insertions(+)

commit 4ed91166c86dd1d3a584bf704551c5ef63ea22f9
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Mon Mar 16 00:03:49 2015 +0000

    libblkid: fix compiler warnings
    
    warning: extra ';' outside of a function [-Wextra-semi]
    
    warning: embedding a directive within macro arguments has undefined
    behavior [-Wembedded-directive]
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 libblkid/src/superblocks/bcache.c | 2 +-
 libblkid/src/superblocks/minix.c  | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

commit 29c819f01f31089e3807fb047e51200f81a18cbe
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Mon Mar 16 23:42:57 2015 +0000

    tests: add logger(1) journald test
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 tests/expected/logger/journald |  3 +++
 tests/ts/logger/journald       | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+)

commit a838aa2218fb9e5583b907b9b7b663d33e60a57b
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 15 12:46:30 2015 +0000

    tests: add logger(1) error condition tests
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 tests/expected/logger/errors                       |  0
 tests/expected/logger/errors-id_with_space         |  2 +
 tests/expected/logger/errors-invalid_prio          |  1 +
 tests/expected/logger/errors-kern_priority         |  1 +
 tests/expected/logger/errors-kern_priority_numeric |  1 +
 tests/expected/logger/errors-rfc5424_exceed_size   |  1 +
 .../logger/errors-rfc5424_msgid_with_space         |  1 +
 tests/expected/logger/errors-tag_with_space        |  2 +
 tests/ts/logger/errors                             | 65 ++++++++++++++++++++++
 9 files changed, 74 insertions(+)

commit ec33f15615893e6959289380c78759a26efffe8c
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 15 12:00:57 2015 +0000

    tests: add logger(1) message format tests
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 tests/expected/logger/formats                |   0
 tests/expected/logger/formats-priorities     | 152 +++++++++++++++++++++++++++
 tests/expected/logger/formats-rfc3164        |   1 +
 tests/expected/logger/formats-rfc5424_msgid  |   1 +
 tests/expected/logger/formats-rfc5424_nohost |   1 +
 tests/expected/logger/formats-rfc5424_notime |   1 +
 tests/expected/logger/formats-rfc5424_simple |   1 +
 tests/ts/logger/formats                      |  58 ++++++++++
 8 files changed, 215 insertions(+)

commit 2a6644bf5aa0e1d8abce8b6d413f562cd247a392
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Mon Mar 16 12:22:53 2015 +0100

    tests: optionally skip tests where loop support is needed
    
    It can be hard to check for loop support (e.g. on LXC containers). Let
    the user skip it manually by env:
    
    TS_OPT_FEAT_SKIP_LOOP="yes"
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 tests/functions.sh | 4 ++++
 1 file changed, 4 insertions(+)

commit 878b5cbce8c670238eb52c4905edea91a9f6dcb1
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Mon Mar 16 12:20:53 2015 +0100

    travis: whitelist travis* branches
    
    Sometimes we may want to test non-master branches.
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

commit c72836b3be21de57afae84aafbbfef397d720ce8
Author: Ruediger Meier <ruediger.meier@ga-group.nl>
Date:   Mon Mar 16 11:21:49 2015 +0100

    travis: move install script to .travis-functions.sh
    
    Now this snippet can be re-used by non-travis systems. For example
    on drone.io we can use this simple build script:
    ......
    MAKE_CHECK="root"
    source ./.travis-functions.sh
    travis_install_script || exit
    travis_before_script || exit
    ret=0
    travis_script || ret=$?
    travis_after_script
    exit $ret
    ......
    
    Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>

 .travis-functions.sh | 15 +++++++++++++++
 .travis.yml          | 13 ++-----------
 2 files changed, 17 insertions(+), 11 deletions(-)

commit 115788ea19265b33dc75298ff63c4162bb79d7fd
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 16 14:17:49 2015 +0100

    tests: use --no-act for logger tests
    
    and also use --stderr on one place only.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/ts/logger/options | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

commit 00ec239276efe1c7de07fd9b2178e9c30f407b7e
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 15 12:54:50 2015 +0000

    tests: add logger(1) command line options tests
    
    [kzak@redhat.com: - use LOGGER_TEST_* env]
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>
    Signed-off-by: Karel Zak <kzak@redhat.com>

 tests/expected/logger/input_empty_line             |  3 ++
 tests/expected/logger/input_prio_prefix            |  1 +
 tests/expected/logger/input_simple                 |  1 +
 tests/expected/logger/options                      |  0
 .../expected/logger/options-input_file_empty_line  |  3 ++
 .../expected/logger/options-input_file_prio_prefix |  1 +
 tests/expected/logger/options-input_file_simple    |  1 +
 .../expected/logger/options-input_file_skip_empty  |  2 +
 tests/expected/logger/options-log_pid              |  1 +
 tests/expected/logger/options-log_pid_define       |  1 +
 tests/expected/logger/options-log_pid_long         |  1 +
 tests/expected/logger/options-log_pid_no_arg       |  1 +
 tests/expected/logger/options-simple               |  1 +
 tests/ts/logger/options                            | 62 ++++++++++++++++++++++
 14 files changed, 79 insertions(+)

commit bf853f680f568492f6d0509006c2be31b8e4bac8
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 16 13:26:52 2015 +0100

    logger: add -DTEST_LOGGER
    
    "make test_logger" now compiles logger(1) test program
    to overwrite system datetime stuff, hostname and PID, for example:
    
       export TZ=GMT
       export LOGGER_TEST_TIMEOFDAY=1234567890.123456
       export LOGGER_TEST_HOSTNAME=foo
       export LOGGER_TEST_GETPID=123
    
       ./test_logger --rfc5424 --no-act --stderr -i --tag MyTag mesg
       <13>1 2009-02-13T23:31:30.123456+00:00 foo MyTag 123 - [timeQuality tzKnown="1" isSynced="0"] mesg
    
    if the LOGGER_TEST_* variables are not specified then default to
    standard logger(1) behavior.
    
    Note that it would be possible to use for example "unshare --utc" to
    make hostname stable and portable, but LOGGER_TEST_* variables allow
    to keep the tests less complex.
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/Makemodule.am |  5 +++++
 misc-utils/logger.c      | 56 ++++++++++++++++++++++++++++++++++++++++++------
 tests/commands.sh        |  1 +
 3 files changed, 56 insertions(+), 6 deletions(-)

commit fa751a133741d416304c6199138d30236da7b973
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 16 12:38:46 2015 +0100

    logger: add --no-act for testing
    
    * force --journal mode to also output to stderr when the option
      --stderr specified on command line
    
    * add --no-act to avoid all write() operations to make it possible to
      write tests without "spam" system logs
    
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/logger.1 |  5 +++++
 misc-utils/logger.c | 46 ++++++++++++++++++++++++++++++++--------------
 2 files changed, 37 insertions(+), 14 deletions(-)

commit 75b8d104303a092681d0c14d31ec77fbb4d553e0
Author: Karel Zak <kzak@redhat.com>
Date:   Mon Mar 16 11:51:05 2015 +0100

    logger: fix rfc5424 format crash
    
    $ logger --rfc5424=notq message
    Segmentation fault (core dumped)
    
    Reported-by: Sami Kerola <kerolasa@iki.fi>
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/logger.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

commit 60941d6d8bbcfdff9ca5984275f2f11e663a19aa
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 15 12:54:53 2015 +0000

    logger: use errx() when checking user input
    
    Additionally inform in usage() the --msgid requires an argument.
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 misc-utils/logger.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 43664b51ef5c7be6bd9f548abe2ac1137043eaa6
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 15 12:54:48 2015 +0000

    logger: check xgethostname() return value
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 misc-utils/logger.c | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

commit 13a6055940ed06601cc8dee9130c776cced823c8
Author: Sami Kerola <kerolasa@iki.fi>
Date:   Sun Mar 15 12:54:47 2015 +0000

    logger: tidy few indentation issues
    
    Signed-off-by: Sami Kerola <kerolasa@iki.fi>

 misc-utils/logger.c | 115 ++++++++++++++++++++++++++--------------------------
 1 file changed, 58 insertions(+), 57 deletions(-)

commit e0c80cce3eb3250b577291656833d837949437f1
Author: Stef Walter <stef@thewalter.net>
Date:   Sun Mar 15 14:23:32 2015 +0100

    logger: Fix use of errno after strtol() without zeroing first
    
    References: https://bugzilla.redhat.com/show_bug.cgi?id=1202104
    Signed-off-by: Karel Zak <kzak@redhat.com>

 misc-utils/logger.c | 1 +
 1 file changed, 1 insertion(+)