Test suite failed when I ran it with kernel 3.16. Error is the
following.
tests/ts/ipcs/limits2: line 31: [: 18446744073692774399: integer expression expected
Reference: http://lkml.iu.edu/hypermail/linux/kernel/1406.0/01869.html
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This code is not PIC clean which means it fails to build on hardened
32bit x86 systems (i.e. building as PIE).
While here, optimize the existing cpuid logic slightly.
URL: https://bugs.gentoo.org/518936
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Use of --algorithm or --streams is not expected to work without
reseting device, that happens when --size is specified, so ensure the
former options to be combined with the later.
[kzak@redhat.com: - make it more generic]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
This patch restores the original fdisk behavior and always prints
information about misaligned partitions in 'p'print output.
Signed-off-by: Karel Zak <kzak@redhat.com>
This is probably correct to have curs_set() in ui_end(), but according
to Martin it does not work with slang library from signal handler.
Reported-by: Martin Steigerwald <Martin@lichtvoll.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
* with configure --prefix=$HOME --libdir=$HOME usrlib_execdir
ends up being ${exec_prefix}/${libbir}, which is double-prefixed
* fix: use explict given ${libbir} if is matches ${prefix}/*
Signed-off-by: Christoph Junghans <ottxor@gentoo.org>
* 'travis' of git://github.com/kerolasa/lelux-utiliteetit:
tests: fix rename subdir check that was failing in travis
build-sys: remove swap-common.h from sys-utils/Makemodule.am
Storage Spaces is Microsoft's logical volume management.
It has been around since Windows 8.
Cc: Karel Zak <kzak@redhat.com>
Signed-off-by: Sergei Antonov <saproj@gmail.com>
Apparently some or all travis build servers has a bit older coreutils
version. The coreutils v8.13 added a feature to readlink that allows
user to specify multiple arguments. Earlier versions gave exactly the
type of error travis_script log has.
+readlink: extra operand `rename_aa/sublink.2'
+Try `readlink --help' for more information.
The commit 0f85e0535b introduced the travis
readlink issue, and has caused failures for 8 days in row (builds 192 -
213).
Reference: https://travis-ci.org/karelzak/util-linux/builds
Reviewed-by: Bernhard Voelker <mail@bernhard-voelker.de>
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit introduces a support for user configurable
from/to track and a basic repair mode for broken floppies.
It also fixes a recently introduced bug that causes
a line breakage when printing the track number.
Signed-off-by: Karel Zak <kzak@redhat.com>
Now it's possible to set UID and GID for user namespaces only. This
patch removes this restriction and allow to use --set{uid,gid} in all
cases. The default for user namespaces is still GID=0, UID=0.
Reported-by: Tomas Doran <bobtfish@bobtfish.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
When tailf is not using inotify, it seems to sleep for 0.25s between
checks. Just giving a 0.1s time window between update and removal of the
input file thus gives little chance for tailf to succeed.
Similar between startup and append to file, make sure initial
content is read before appending additional data by bumping the time.
This should possibly be bumped much larger to make sure that
the tailf process actually gets a chance to run at all in the
given time window. Otherwise it might fail on really slow/overloaded
machines.
The drawback would then ofcourse be to increase the time it takes
to run the testsuite.
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Also fix a pasting mistake where the chfn man page suggested
to use ypchsh or lchsh for non-local entries.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Also sort the options alphabetically, and use the standard comma
instead of the vertical bar to separate short from long option.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>