]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Benno Schulenberg [Tue, 8 Nov 2016 10:07:39 +0000 (11:07 +0100)]
po: update nl.po (from translationproject.org)
Antonio Ceballos Roa [Tue, 8 Nov 2016 10:07:39 +0000 (11:07 +0100)]
po: update es.po (from translationproject.org)
Philipp Thomas [Tue, 8 Nov 2016 10:07:39 +0000 (11:07 +0100)]
po: update de.po (from translationproject.org)
Ruediger Meier [Mon, 7 Nov 2016 08:35:17 +0000 (09:35 +0100)]
tests: let lsmod fail silently
This is mostly for non-Linux systems where lsmod is not
even available.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Sat, 5 Nov 2016 15:08:09 +0000 (16:08 +0100)]
tests: always quote $LODEV
Since there is no error handling in this test $LODEV
may be empty.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Sat, 5 Nov 2016 15:08:08 +0000 (16:08 +0100)]
tests: replace sleep by udevadm
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
CC: Stanislav Brabec <sbrabec@suse.cz>
Ruediger Meier [Sat, 5 Nov 2016 15:08:07 +0000 (16:08 +0100)]
tests: udevadm settle before losetup -d
Fails on Debian 7 (wheezy), Kernel 3.2.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
CC: Stanislav Brabec <sbrabec@suse.cz>
Karel Zak [Mon, 7 Nov 2016 09:19:16 +0000 (10:19 +0100)]
docs: update TODO file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Nov 2016 09:53:09 +0000 (10:53 +0100)]
lscpu: disable is_vmware_platform() for non-root users
References: http://www.spinics.net/lists/util-linux-ng/msg13302.html
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Nov 2016 23:01:23 +0000 (00:01 +0100)]
tests: check for timeout prog
Signed-off-by: Karel Zak <kzak@redhat.com>
Ruediger Meier [Wed, 2 Nov 2016 14:31:55 +0000 (15:31 +0100)]
tests: wait for flock background process
Maybe we should add a --daemonize option to flock to cover
this use case.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Karel Zak [Wed, 2 Nov 2016 13:47:37 +0000 (14:47 +0100)]
lsblk: add note about --sort and --list relation
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Nov 2016 13:40:31 +0000 (14:40 +0100)]
lsblk: sort by MAJ:MIN by default
Since Linux kernel 4.8 /sys entries are no more sorted and all is
in the native order. It makes lsblk output messy.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Nov 2016 13:39:08 +0000 (14:39 +0100)]
libsmartcols: make scols_sort_table() usable for trees
We also need to sort children when tree is enabled.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Nov 2016 11:56:06 +0000 (12:56 +0100)]
libfdisk: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 31 Oct 2016 13:30:02 +0000 (14:30 +0100)]
tests: add flock tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 31 Oct 2016 12:15:35 +0000 (13:15 +0100)]
flocks: keep run_program() simple
Karel Zak [Mon, 31 Oct 2016 12:03:47 +0000 (13:03 +0100)]
Merge branch 'fixes-for-v2.29' of https://github.com/rudimeier/util-linux
* 'fixes-for-v2.29' of https://github.com/rudimeier/util-linux:
misc: once again some printf format strings
misc: fix some compiler warnings
chrt: fix HAVE_SCHED_SETATTR fallback case
fdisk: fix memleak in list_disk_geometry()
Karel Zak [Mon, 31 Oct 2016 11:50:31 +0000 (12:50 +0100)]
flock: fix no-flock patch
Addresses: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842598
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 27 Oct 2016 13:30:20 +0000 (15:30 +0200)]
mount: append inverting options for mount.<type> on "users"
If you call mount(8) as root, then we need to append inverting options
(if specified by fstab) for "user" and "users" to /sbin/mount.<type>
command line, because for UID=0 mount.nfs follows command line rather
than the fstab setting.
This has been originally implemented by commit
a4c0cc75ff9744299f108c259efab1bd30c8007a for the old mount(8). The
same feature is supported by libmount, unfortunately for "user" only.
We need the same also for "users" to be backwardly compatible.
Addresses: https://github.com/karelzak/util-linux/issues/368
Signed-off-by: Karel Zak <kzak@redhat.com>
Ruediger Meier [Wed, 26 Oct 2016 21:04:44 +0000 (23:04 +0200)]
misc: once again some printf format strings
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Wed, 26 Oct 2016 18:44:15 +0000 (20:44 +0200)]
misc: fix some compiler warnings
libsmartcols/samples/fromfile.c:59:2: warning: passing argument 3 of 'string_to_bitmask' from incompatible pointer type
text-utils/pg.c:79:0: warning: "TABSIZE" redefined
libblkid/src/read.c:455:13: warning: 'debug_dump_dev' defined but not used [-Wunused-function]
libblkid/src/probe.c:769:13: warning: unused function 'cdrom_size_correction' [-Wunused-function]
/usr/include/sys/termios.h:3:2: warning: "this file includes <sys/termios.h> which is deprecated, use <termios.h> instead" [-W#warnings]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Wed, 26 Oct 2016 17:46:22 +0000 (19:46 +0200)]
chrt: fix HAVE_SCHED_SETATTR fallback case
Broken since
6f27e449 . We could not enter the fallback
if HAVE_SCHED_SETATTR is not defined.
Two gcc warnings made this issue visible:
schedutils/chrt.c:247:1: warning: label 'fallback' defined but not used [-Wunused-label]
schedutils/chrt.c:266:9: warning: 'policy' may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Wed, 26 Oct 2016 16:13:59 +0000 (18:13 +0200)]
fdisk: fix memleak in list_disk_geometry()
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Karel Zak [Thu, 27 Oct 2016 08:51:59 +0000 (10:51 +0200)]
libfdisk: cleanup labelitem initialization
* use macro for label initialization
* make sure we do not call fdisk_ref_labelitem() and
fdisk_unref_labelitem() for non-allocated items
Signed-off-by: Karel Zak <kzak@redhat.com>
Ruediger Meier [Wed, 26 Oct 2016 15:04:30 +0000 (17:04 +0200)]
libfdisk: fix uninitialized fdisk_labelitem
fdisk -l could crash randomly. Only seen on some i586 systems with
certain exotic compiler options.
The problem was that this item is later used in
function fdisk_reset_labelitem() like this:
if (li->type == 's')
free(li->data.str);
This may crash if item is randomly initialized.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Karel Zak [Wed, 26 Oct 2016 12:08:29 +0000 (14:08 +0200)]
tests: add sfdisk script case-insensitive test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Oct 2016 12:01:29 +0000 (14:01 +0200)]
libfdisk: (script) make bootable flag parsing more robust
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Oct 2016 11:50:10 +0000 (13:50 +0200)]
libfdisk: add trivial script test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Oct 2016 08:28:41 +0000 (10:28 +0200)]
fdisk: fix compiler warning
disk-utils/fdisk-menu.c: In function ‘gpt_menu_cb’:
disk-utils/fdisk-menu.c:709: warning: passing argument 6 of ‘fdisk_ask_number’ from incompatible pointer type
./libfdisk/src/libfdisk.h:688: note: expected ‘uintmax_t *’ but argument is of type ‘long unsigned int *’
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 Oct 2016 08:22:40 +0000 (10:22 +0200)]
Merge branch 'tests-raid1' of https://github.com/rudimeier/util-linux
Karel Zak [Wed, 26 Oct 2016 08:13:03 +0000 (10:13 +0200)]
misc: fix unsigned int usage for ctype.h functions
Reported-by: "Yuriy M. Kaminskiy" <yumkam@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 14:52:43 +0000 (16:52 +0200)]
rtcwake: add note about RTC limits
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 12:33:08 +0000 (14:33 +0200)]
tests: let's follow ts_scsi_debug_rmmod
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 12:31:23 +0000 (14:31 +0200)]
Merge branch 'test-rmmod-scsi_debug' of https://github.com/rudimeier/util-linux
* 'test-rmmod-scsi_debug' of https://github.com/rudimeier/util-linux:
tests: consolidate rmmod scsi_debug
Karel Zak [Tue, 25 Oct 2016 12:26:42 +0000 (14:26 +0200)]
docs: add sfdisk scripts quotes issue to TODO file
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 11:43:48 +0000 (13:43 +0200)]
tests: add another sfdisk script tests
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 11:41:10 +0000 (13:41 +0200)]
libfdisk: make script token parser more robust
* make sure token is terminated
* skip closing quotes
* allow extra space after quotes and before terminater
* skip extra space after terminater
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 10:34:49 +0000 (12:34 +0200)]
tests: add sfdisk Type= and Id= test
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 10:32:23 +0000 (12:32 +0200)]
libfdisk: fix script Type= and Id= parsing
The parser is not consistent and *case insensitive* Type= and Id= tokens
are not expected on all places.
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 10:12:49 +0000 (12:12 +0200)]
tests: add GPT attributes parser tests
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 25 Oct 2016 10:08:58 +0000 (12:08 +0200)]
libfdisk: (gpt) make attributes parser more robust
* allow GUID: prefix only for numbers
* require space or comma separator
Addresses: https://github.com/karelzak/util-linux/issues/367
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 24 Oct 2016 13:05:56 +0000 (15:05 +0200)]
Merge branch 'master' of https://github.com/yurchor/util-linux
* 'master' of https://github.com/yurchor/util-linux:
Fix minor typos
Karel Zak [Fri, 21 Oct 2016 16:48:10 +0000 (18:48 +0200)]
build-sys: improve libncursesw5 install for travis
Signed-off-by: Karel Zak <kzak@redhat.com>
Ruediger Meier [Fri, 21 Oct 2016 14:19:29 +0000 (16:19 +0200)]
test: fix raid1 minimum I/O size
Seems this has been changed in kernels >4.4.x or >4.8
from 512 bytes to 64K.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Fri, 21 Oct 2016 11:01:55 +0000 (13:01 +0200)]
tests: consolidate rmmod scsi_debug
- auto cleanup on test exit
- Add smart timeout: Newer openSUSE systems on OBS failed to rmmod
almost always. udevadm settle does not seem to have any affect.
- now tests will fail if rmmod fails
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Karel Zak [Fri, 21 Oct 2016 11:51:48 +0000 (13:51 +0200)]
getopt: be sure that options array is terminated
Reported-by: Anders Kaseorg <andersk@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 21 Oct 2016 11:34:28 +0000 (13:34 +0200)]
Merge branch 'test-fixes' of https://github.com/rudimeier/util-linux
* 'test-fixes' of https://github.com/rudimeier/util-linux:
build-sys: fix missing ncursesw message
tests: avoid &>> for bash compatibility
Karel Zak [Fri, 21 Oct 2016 11:33:32 +0000 (13:33 +0200)]
build-sys: fix drone.io builds
Signed-off-by: Karel Zak <kzak@redhat.com>
Ruediger Meier [Thu, 20 Oct 2016 08:50:04 +0000 (10:50 +0200)]
build-sys: fix missing ncursesw message
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Ruediger Meier [Wed, 19 Oct 2016 18:45:19 +0000 (20:45 +0200)]
tests: avoid &>> for bash compatibility
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Karel Zak [Thu, 20 Oct 2016 16:24:24 +0000 (18:24 +0200)]
tests: call umount --fake for tmpfs tests
On old systems (e.g. RHEL6) with /sbin/mount.tmpfs the mtab file is
modified although our in-tree mount does not support mtab file. We
need to call umount --fake to be sure that we remove unwanted lines
from the test.
Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Yuri Chornoivan [Thu, 20 Oct 2016 16:08:57 +0000 (19:08 +0300)]
Fix minor typos
Karel Zak [Thu, 20 Oct 2016 15:30:30 +0000 (17:30 +0200)]
build-sys: fix typo on ncurses-config command line
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 20 Oct 2016 14:52:31 +0000 (16:52 +0200)]
build-sys: use ncurses-config rather than pkg-config
It's painful, but ncurses upstream does not distribute .pc files by
default and it seems that ncurses{6,5}-config is the preferred solution.
For better compatibility lets use ncurses-config.
Reported-by: Ruediger Meier <sweet_f_a@gmx.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 12:33:55 +0000 (14:33 +0200)]
build-sys: release++ (v2.29-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 12:32:33 +0000 (14:32 +0200)]
docs: update v2.29-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 12:30:19 +0000 (14:30 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 12:27:56 +0000 (14:27 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 12:21:15 +0000 (14:21 +0200)]
tests: update build-sys expected output
The su(1) change based on libseccomp has been reverted.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 11:33:15 +0000 (13:33 +0200)]
cramfs: revert crc32 changes
We cannot use our crc32 without changes in the code, because our
ul_crc32() assumes that post-conditioning (xor) is done by
application. The zlib implementation does everything.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 19 Oct 2016 10:17:19 +0000 (12:17 +0200)]
cramfs: add missing includes
Signed-off-by: Karel Zak <kzak@redhat.com>
Gustavo Zacarias [Mon, 10 Oct 2016 20:54:24 +0000 (17:54 -0300)]
lib/crc32: prefix public functions
Make the publicly-visible crc32 library functions prefixed by ul_, such
as crc32() -> ul_crc32().
This is because it clashes with the crc32() function from zlib.
For newer versions of glib (2.50+) zlib and libblkid are required
dependencies and otherwise results in build failure when building
statically.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Karel Zak [Tue, 18 Oct 2016 10:08:50 +0000 (12:08 +0200)]
fstrim: add -v to the systemd service
It seems to be good idea to have more verbose output in the log files
for weekly fstrim execution. The verbose adds details (one line) for
each filesystem.
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=
1337304
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 Oct 2016 14:10:28 +0000 (16:10 +0200)]
cal: support abbreviated month names
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 Oct 2016 14:02:36 +0000 (16:02 +0200)]
cal: support alone month name parameter
For example 'cal August' to print August for the current year.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 Oct 2016 13:44:18 +0000 (15:44 +0200)]
cal: cleanup man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 Oct 2016 13:24:32 +0000 (15:24 +0200)]
cal: remove err message from monthname_to_number()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 Oct 2016 08:57:37 +0000 (10:57 +0200)]
docs: update AUTHORS file
Addresses: https://github.com/karelzak/util-linux/commit/
b86db3c7cff489b8ce4cf9fc58176a78a1797bdc #commitcomment-
19326504
Signed-off-by: Karel Zak <kzak@redhat.com>
Stanislav Brabec [Wed, 5 Oct 2016 18:55:42 +0000 (20:55 +0200)]
losetup --nooverlap: fix typo
Option is documented and used as --nooverlap, bud coded as --nooverlaps.
--nooverlap is considered as shortened option, making the typo
invisible.
Signed-off-by: Stanislav Brabec <sbrabec@suse.cz>
Tobias Stoeckmann [Mon, 3 Oct 2016 20:06:23 +0000 (22:06 +0200)]
rev: Avoid out of boundary read
Check if the length of the parsed string is at least 1,
otherwise an out of boundary read would occur.
Tobias Stoeckmann [Mon, 3 Oct 2016 20:05:46 +0000 (22:05 +0200)]
rev: Avoid calling free in a signal handler
free() is not a safe function for a signal handler. The next
line calls _exit() anyway, so there is no need for resource
management.
Tobias Stoeckmann [Mon, 3 Oct 2016 20:05:03 +0000 (22:05 +0200)]
libblkid: Avoid strlen if only first char is checked
A strlen() call can lead to out of boundary read access if the
superblock in question has no nul-bytes after the string. This
could be avoided by using strnlen() but the calls in question
merely existed to check if the string length is not 0.
By changing the calls as proposed with this diff, these files are
in sync with other superblock files, which do exactly the same.
Karel Zak [Thu, 6 Oct 2016 08:28:33 +0000 (10:28 +0200)]
docs: update infor about TIOCSTI
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 Oct 2016 10:11:44 +0000 (12:11 +0200)]
Merge branch 'master' of https://github.com/Zeuh/util-linux
Karel Zak [Wed, 5 Oct 2016 09:25:04 +0000 (11:25 +0200)]
wdct: mark usage() as noreturn [coverity scan]
Karel Zak [Wed, 5 Oct 2016 09:20:26 +0000 (11:20 +0200)]
swapoff: fix mem leak [coverity scan]
Karel Zak [Wed, 5 Oct 2016 09:12:45 +0000 (11:12 +0200)]
setarch: let's keep analyzer happy [coverity scan]
Karel Zak [Wed, 5 Oct 2016 09:11:45 +0000 (11:11 +0200)]
rtcwake: make sure buffer is zero terminated [coverity scan]
Karel Zak [Wed, 5 Oct 2016 08:53:02 +0000 (10:53 +0200)]
lsns: fix mem leak [coverity scan]
Karel Zak [Wed, 5 Oct 2016 08:38:28 +0000 (10:38 +0200)]
findmnt: (verify) fix mem leak [coverity scan]
Karel Zak [Tue, 4 Oct 2016 18:15:09 +0000 (20:15 +0200)]
isosize: fix read() result check
Karel Zak [Tue, 4 Oct 2016 14:33:09 +0000 (16:33 +0200)]
libmount: fix null-checking [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 14:23:52 +0000 (16:23 +0200)]
libblkid: check blkid_parse_tag_string() return code [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 14:18:16 +0000 (16:18 +0200)]
lib/randutils: remove unnecessary function
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 14:14:48 +0000 (16:14 +0200)]
lib/mbsalign: free buffer after error [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 14:08:55 +0000 (16:08 +0200)]
sfdisk: cleanup before going out of scope [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 14:03:11 +0000 (16:03 +0200)]
sfdisk: free before going out of scope [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 13:56:59 +0000 (15:56 +0200)]
isosize: don't ignore read() result [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 13:53:55 +0000 (15:53 +0200)]
fsck.cramfs: don't ignore read() result [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 13:53:19 +0000 (15:53 +0200)]
tests: (cramfs) check for test_sysinfo
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 4 Oct 2016 13:02:00 +0000 (15:02 +0200)]
cfdisk: fix mountpoint detection
Signed-off-by: Karel Zak <kzak@redhat.com>
Richard Yann [Tue, 4 Oct 2016 12:48:06 +0000 (14:48 +0200)]
Fix: list all block device from /dev and all symbolic links to block devices
Before fix "fsck -y /d<tab>" will never show LVM VG from multipath or mapped devices
Karel Zak [Mon, 3 Oct 2016 14:56:56 +0000 (16:56 +0200)]
Revert "su,runuser: add libseccomp based workaround for TIOCSTI ioctl"
This reverts commit
8e4925016875c6a4f2ab4f833ba66f0fc57396a2 .
Stupid hack...
Karel Zak [Mon, 3 Oct 2016 09:59:25 +0000 (11:59 +0200)]
tests: add chrt vs. nice test
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 Oct 2016 09:02:35 +0000 (11:02 +0200)]
chrt: follow nice setting, prefer sched_setscheduler()
* do not reset 'nice' setting by sched_setattr(), if 'nice' setting
is not zero then chrt ends with EPERM for non-root users:
$ renice -n 5 -p $$; chrt -v -b 0 date
12475 (process ID) old priority 0, new priority 5
chrt: failed to set pid 0's policy: Operation not permitted
* it seems more elegant to always use old sched_setscheduler() API for
non-deadline policies; in this case we do not need getpriority()
to keep 'nice' unchanged.
Addresses: https://github.com/karelzak/util-linux/issues/359
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Sep 2016 23:20:06 +0000 (01:20 +0200)]
tools: make ko-release-gen usable with gpg2
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Sep 2016 09:24:42 +0000 (11:24 +0200)]
build-sys: release++ (v2.29-rc1)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Sep 2016 09:22:39 +0000 (11:22 +0200)]
docs: update v2.29-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Sep 2016 09:13:00 +0000 (11:13 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>