]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Karel Zak [Mon, 19 Apr 2021 08:00:42 +0000 (10:00 +0200)]
Merge branch 'fix-typo' of https://github.com/sebras/util-linux
* 'fix-typo' of https://github.com/sebras/util-linux:
Fix typo in help message.
Karel Zak [Mon, 19 Apr 2021 07:59:42 +0000 (09:59 +0200)]
Merge branch 'fix-first-lba' of https://github.com/samueldr/util-linux
* 'fix-first-lba' of https://github.com/samueldr/util-linux:
libfdisk: Include table-length in first-lba checks
Karel Zak [Mon, 19 Apr 2021 07:33:28 +0000 (09:33 +0200)]
Merge branch 'lsblk-E-completion' of https://github.com/scop/util-linux
* 'lsblk-E-completion' of https://github.com/scop/util-linux:
bash-completion: (lsblk) fix -E/-M arg (non-)completion
Karel Zak [Mon, 19 Apr 2021 07:32:12 +0000 (09:32 +0200)]
Merge branch 'update-lsns-man-page' of https://github.com/masatake/util-linux
* 'update-lsns-man-page' of https://github.com/masatake/util-linux:
man: add ioctl_ns(2) to SEE ALSO of lsns(2)
Samuel Dionne-Riel [Sat, 17 Apr 2021 06:17:53 +0000 (02:17 -0400)]
libfdisk: Include table-length in first-lba checks
Otherwise, sfdisk would error out on its own dump, as first-lba would be
earlier than "plausible" assuming the default table size.
This is because it did not look for `table-length` when using an sfdisk
script. This means that using `--dump` on a valid image, could not be
unserialized back into a valid image.
This is helpful in exotic situations, where a partition has to be
created earlier than the conventional "first-lba" (2048). For example,
on Allwinner A64 boards, where a firmware is stored at LBA16. With this
it is possible to ask for `first-lba` at or earlier than 16, by reducing
the number of entries to e.g. 48.
Sebastian Rasmussen [Sat, 17 Apr 2021 12:40:13 +0000 (14:40 +0200)]
Fix typo in help message.
Ville Skyttä [Fri, 16 Apr 2021 19:08:48 +0000 (22:08 +0300)]
bash-completion: (lsblk) fix -E/-M arg (non-)completion
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Masatake YAMATO [Thu, 15 Apr 2021 22:51:45 +0000 (07:51 +0900)]
man: add ioctl_ns(2) to SEE ALSO of lsns(2)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Karel Zak [Thu, 15 Apr 2021 13:11:44 +0000 (15:11 +0200)]
libfdisk: use open(O_EXCL) to detect if device is used
It's seems detection by BLKRRPART is broken in recent kernels
(probably regression), and it's also overkill to force kernel re-read
all and generate all the events. It seems more elegant to use O_EXCL.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Apr 2021 12:43:15 +0000 (14:43 +0200)]
fdisk: warn if disk in use
Fixes: https://github.com/karelzak/util-linux/issues/1278
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Apr 2021 12:39:11 +0000 (14:39 +0200)]
cfdisk: warn if disk on use
Fixes: https://github.com/karelzak/util-linux/issues/1278
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 15 Apr 2021 10:29:27 +0000 (12:29 +0200)]
docs: add kernel version and commit to info about mountinfo workaround
Fixes: https://github.com/karelzak/util-linux/issues/1280
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Apr 2021 14:25:30 +0000 (16:25 +0200)]
libsmartcols: make buffers append function more robust
Fixes: https://github.com/karelzak/util-linux/issues/1279
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 14 Apr 2021 14:15:34 +0000 (16:15 +0200)]
prlimit: make code more robust
The prlimit description are always defined as static strings, but it
seems better to make the code more readable and robust for static
analyzers and readers.
Fix also missing gettext() call for description help.
Fixes: https://github.com/karelzak/util-linux/issues/1277
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 13 Apr 2021 08:40:00 +0000 (10:40 +0200)]
tests: small change to the lsns/ioctl_ns
* make description short
* chmod a+x to make script executable
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 13 Apr 2021 08:34:49 +0000 (10:34 +0200)]
Merge branch 'ioctl_ns' of https://github.com/masatake/util-linux
* 'ioctl_ns' of https://github.com/masatake/util-linux:
lsns: add columns for parent namespaces and owner namespaces
Karel Zak [Tue, 13 Apr 2021 08:23:26 +0000 (10:23 +0200)]
po: use msgmerge --previous
Reported-by: Mario Blättermann <mario.blaettermann@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Chris Hofstaedtler [Mon, 12 Apr 2021 15:49:26 +0000 (15:49 +0000)]
hexdump: add "hd" program name to man page
Signed-off-by: Chris Hofstaedtler <zeha@debian.org>
Bug-Debian: https://bugs.debian.org/978977
Masatake YAMATO [Tue, 6 Apr 2021 19:28:32 +0000 (04:28 +0900)]
lsns: add columns for parent namespaces and owner namespaces
See ioctl_ns(2) about parent and owner namespaces.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Karel Zak [Mon, 12 Apr 2021 14:21:18 +0000 (16:21 +0200)]
chrt: non-Linux fix
Reported-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 12 Apr 2021 14:20:01 +0000 (16:20 +0200)]
lslogins: non-Linux fix
Reported-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 12 Apr 2021 10:46:51 +0000 (12:46 +0200)]
build-sys: fix typo
s/Aug/Apr/ ... move back in time ;-)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 12 Apr 2021 09:26:02 +0000 (11:26 +0200)]
build-sys: release++ (v2.37-rc1)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 12 Apr 2021 09:22:53 +0000 (11:22 +0200)]
po: update
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 12 Apr 2021 09:22:37 +0000 (11:22 +0200)]
docs: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 12 Apr 2021 07:39:59 +0000 (09:39 +0200)]
mesg: use only stat() to get the current terminal status
open()+stat() does not work for example after su(1) (from root to
non-root). It seems better to use only stat() to get the current
terminal status.
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=
1906157
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 13:30:19 +0000 (15:30 +0200)]
docs: update v2.37-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 13:07:45 +0000 (15:07 +0200)]
findmnt: add --shadowed to the man page
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 13:07:11 +0000 (15:07 +0200)]
blkid: document --hint
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 12:42:18 +0000 (14:42 +0200)]
libblkid: remove workaround for FAT+MBR on whole-disk
The current libblkid ignores FAT when created on the same whole-disk
device as valid MBR. This restriction is not compatible with many
devices (like USB flash disk) created by Windows or the latest
dosfstools where the first partition is used for entire device and
where is also valid FAT. The filesystem is accessible from partition
as well as from whole-disk device.
The conclusion (between util-linux, dosfstools and udisks) is that
libblkid has to provide all details, not hide anything and the proper
policy (hide/show) has to be implemented by udisks (or so).
CC: Tomáš Bžatek <tbzatek@redhat.com>
CC: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 09:00:58 +0000 (11:00 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 08:09:19 +0000 (10:09 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 06:02:10 +0000 (08:02 +0200)]
travis: cleanup before autogen
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 05:53:21 +0000 (07:53 +0200)]
tools: add missing stuff to Makefile.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 9 Apr 2021 05:48:02 +0000 (07:48 +0200)]
Merge branch 'fix-typo' of https://github.com/paullaffitte/util-linux
* 'fix-typo' of https://github.com/paullaffitte/util-linux:
fix typo in findmnt help
Paul Laffitte [Thu, 8 Apr 2021 17:09:30 +0000 (19:09 +0200)]
fix typo in findmnt help
Мирослав Николић [Thu, 8 Apr 2021 12:52:52 +0000 (14:52 +0200)]
po: add sr.po (from translationproject.org)
Sebastian Rasmussen [Thu, 8 Apr 2021 12:52:52 +0000 (14:52 +0200)]
po: update sv.po (from translationproject.org)
Božidar Putanec [Thu, 8 Apr 2021 12:52:51 +0000 (14:52 +0200)]
po: update hr.po (from translationproject.org)
Antonio Ceballos Roa [Thu, 8 Apr 2021 12:52:51 +0000 (14:52 +0200)]
po: update es.po (from translationproject.org)
Petr Písař [Thu, 8 Apr 2021 12:52:51 +0000 (14:52 +0200)]
po: update cs.po (from translationproject.org)
Karel Zak [Thu, 8 Apr 2021 12:19:52 +0000 (14:19 +0200)]
tools: replace checkmans.sh with adoc scripts
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 8 Apr 2021 10:46:47 +0000 (12:46 +0200)]
tests: update fdisk dumps
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 8 Apr 2021 10:42:36 +0000 (12:42 +0200)]
fdisk: always skips zeros in dumps
The expert command 'D'ump skips zeros when print label hexdump on
terminal, but for non-terminal it prints all buffer. It seems
better to use the same semantic everywhere and skip zeros.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 7 Apr 2021 08:19:03 +0000 (10:19 +0200)]
build-sys: add UL_REQUIRES_PROGRAM() macro, use it for asciidoc
* use our generic UL_BUILD_INIT() stuff for ENABLE_ASCIIDOC
* add UL_REQUIRES_PROGRAM()
* add "Manual pages: yes|no" to ./configure summary
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Apr 2021 15:17:42 +0000 (17:17 +0200)]
build-sys: make man pages optional, add --disable-asciidoc
* don't use dist_noinst_DATA= for generated man pages (use man_MANS=)
* make asciidoctor optional
* add --disable-asciidoc to explicitly disable man pages
Addresses: https://github.com/karelzak/util-linux/issues/1257
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Apr 2021 13:32:46 +0000 (15:32 +0200)]
meson: generate man pages from asciidoc
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 6 Apr 2021 09:24:40 +0000 (11:24 +0200)]
Merge branch 'more-fixes' of https://github.com/h-c-mueller/util-linux
* 'more-fixes' of https://github.com/h-c-mueller/util-linux:
more: fix ARROW_DOWN and PAGE_DOWN behaviour to not skip lines
more: fix command 'f' (screen forward) behaviour
Karel Zak [Thu, 1 Apr 2021 10:30:25 +0000 (12:30 +0200)]
tests: update lscpu output
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 1 Apr 2021 10:27:05 +0000 (12:27 +0200)]
lscpu: report also number of cache instances
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 1 MiB (4 instances)
L3: 8 MiB (1 instance)
Suggested-by: John Henning <john.henning@oracle.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 1 Apr 2021 09:47:21 +0000 (11:47 +0200)]
build-sys: improve asciidoc generic rule
* keep it based on suffixes to make possible to generate individual
pages in dependence on original .adoc
* use absolute builddir to be robust enough for 'make distcheck'
* make man page links depend on man pages
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 31 Mar 2021 09:57:22 +0000 (11:57 +0200)]
build-sys: cleanup distcheck options
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 31 Mar 2021 09:33:06 +0000 (11:33 +0200)]
build-sys: make man pages location independent
We need to evaluate "include::" directive relatively to project
top-level source directory rather than to the current document
location.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 29 Mar 2021 16:56:12 +0000 (18:56 +0200)]
github: fix asciidoctror dependence
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 29 Mar 2021 13:26:37 +0000 (15:26 +0200)]
github: add ruby-asciidoctor to CI-build
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 29 Mar 2021 13:04:15 +0000 (15:04 +0200)]
docs: update Documentation/howto-man-page.txt
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 29 Mar 2021 12:41:26 +0000 (14:41 +0200)]
Asciidoc: Incorporate latest changes in findmnt.8
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 29 Mar 2021 13:09:27 +0000 (15:09 +0200)]
Merge remote-tracking branch 'mariobl/topic/asciidoc'
* mariobl/topic/asciidoc: (71 commits)
Asciidoc: Update .pot template
Asciidoc: Reorder example command sequence
Asciidoc: Update .pot template
Asciidoc: Better gettext message splitting in nsenter.1.adoc
Asciidoc: Update .pot template
Asciidoc: Fix typo and remove invisible spaces which confuse po4a
Asciidoc: Update .pot template
Asciidoc: Fix typo
Asciidoc: Fix artifact from initial import, sixth attempt
Asciidoc: Update .pot template
Asciidoc: Fix artifacts from initial import, fifth attempt
Asciidoc: Fix artifacts from initial import, fourth attempt
Asciidoc: Update .pot template
Asciidoc: Fix artifacts from initial import, third attempt
Asciidoc: Fix artifacts from initial import, second attempt
Asciidoc: Fix artifacts from initial import
Asciidoc: Add po4a config file and initial translation template for man pages
Asciidoc: Small indentation fix in mount.8.adoc
Asciidoc: Review sys-utils man pages, part 2
build-sys: fix out-of-tree build
...
Signed-off-by: Karel Zak <kzak@redhat.com>
Mario Blättermann [Sun, 28 Mar 2021 12:31:13 +0000 (14:31 +0200)]
Asciidoc: Update .pot template
Mario Blättermann [Sun, 28 Mar 2021 12:29:45 +0000 (14:29 +0200)]
Asciidoc: Reorder example command sequence
Mario Blättermann [Sun, 28 Mar 2021 10:00:01 +0000 (12:00 +0200)]
Asciidoc: Update .pot template
Mario Blättermann [Sun, 28 Mar 2021 09:58:08 +0000 (11:58 +0200)]
Asciidoc: Better gettext message splitting in nsenter.1.adoc
Mario Blättermann [Sun, 28 Mar 2021 08:47:42 +0000 (10:47 +0200)]
Asciidoc: Update .pot template
Mario Blättermann [Sun, 28 Mar 2021 08:47:00 +0000 (10:47 +0200)]
Asciidoc: Fix typo and remove invisible spaces which confuse po4a
Mario Blättermann [Fri, 26 Mar 2021 23:45:15 +0000 (00:45 +0100)]
Asciidoc: Update .pot template
Mario Blättermann [Fri, 26 Mar 2021 23:30:37 +0000 (00:30 +0100)]
Asciidoc: Fix typo
Mario Blättermann [Fri, 26 Mar 2021 23:10:27 +0000 (00:10 +0100)]
Asciidoc: Fix artifact from initial import, sixth attempt
Mario Blättermann [Fri, 26 Mar 2021 20:42:47 +0000 (21:42 +0100)]
Asciidoc: Update .pot template
Mario Blättermann [Fri, 26 Mar 2021 20:41:03 +0000 (21:41 +0100)]
Asciidoc: Fix artifacts from initial import, fifth attempt
Mario Blättermann [Fri, 26 Mar 2021 20:11:25 +0000 (21:11 +0100)]
Asciidoc: Fix artifacts from initial import, fourth attempt
Mario Blättermann [Fri, 26 Mar 2021 19:55:26 +0000 (20:55 +0100)]
Asciidoc: Update .pot template
Mario Blättermann [Fri, 26 Mar 2021 19:54:06 +0000 (20:54 +0100)]
Asciidoc: Fix artifacts from initial import, third attempt
Mario Blättermann [Fri, 26 Mar 2021 19:17:45 +0000 (20:17 +0100)]
Asciidoc: Fix artifacts from initial import, second attempt
Mario Blättermann [Fri, 26 Mar 2021 19:12:42 +0000 (20:12 +0100)]
Asciidoc: Fix artifacts from initial import
Mario Blättermann [Fri, 26 Mar 2021 16:32:17 +0000 (17:32 +0100)]
Asciidoc: Add po4a config file and initial translation template for man pages
Mario Blättermann [Fri, 26 Mar 2021 16:29:16 +0000 (17:29 +0100)]
Asciidoc: Small indentation fix in mount.8.adoc
Mario Blättermann [Fri, 26 Mar 2021 16:19:27 +0000 (17:19 +0100)]
Asciidoc: Review sys-utils man pages, part 2
Mario Blättermann [Fri, 26 Mar 2021 13:35:55 +0000 (14:35 +0100)]
Merge pull request #1 from karelzak/asciidoc-for-mario
Asciidoc for mario
Karel Zak [Fri, 26 Mar 2021 13:20:03 +0000 (14:20 +0100)]
build-sys: fix out-of-tree build
asciidoctor cannot write to source directory, we need to force it to
use $builddir.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Mar 2021 11:42:12 +0000 (12:42 +0100)]
build-sys: add man-common/Makemodule.am
Signed-off-by: Karel Zak <kzak@redhat.com>
Mario Blättermann [Fri, 26 Mar 2021 12:35:42 +0000 (13:35 +0100)]
Asciidoc: Incorporate latest changes in rfkill.8 and umount.8
Mario Blättermann [Fri, 26 Mar 2021 12:26:16 +0000 (13:26 +0100)]
Asciidoc: Remove old man page links
Karel Zak [Fri, 26 Mar 2021 10:57:07 +0000 (11:57 +0100)]
build-sys: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Mar 2021 10:55:01 +0000 (11:55 +0100)]
build-sys: cleanup .gitignore files
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Mar 2021 10:49:59 +0000 (11:49 +0100)]
build-sys: split man pages and man page links
The symlinks are generated by asciidoctor and current dist_man_MANS
depends on order (nan page before man link). This solutions is useless
when execute "make -j". The real solution is to keep man pages in
separate variable and use only this variable evaluate what we need to
generate.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Mar 2021 10:03:35 +0000 (11:03 +0100)]
build-sys: remove man page link files
It seems asciidoctor generates all necessary files.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Mar 2021 09:31:29 +0000 (10:31 +0100)]
build-sys: remove duplicate hook
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 26 Mar 2021 09:13:17 +0000 (10:13 +0100)]
build-sys: remove some man pages from PATHFILES
fix warnings:
Makefile:15936: warning: overriding recipe for target 'misc-utils/uuidd.8'
Makefile:15928: warning: ignoring old recipe for target 'misc-utils/uuidd.8'
Makefile:15936: warning: overriding recipe for target 'misc-utils/getopt.1'
Makefile:15928: warning: ignoring old recipe for target 'misc-utils/getopt.1'
Signed-off-by: Karel Zak <kzak@redhat.com>
Mario Blättermann [Thu, 25 Mar 2021 19:27:34 +0000 (20:27 +0100)]
Asciidoc: Review sys-utils man pages,part 1
Mario Blättermann [Thu, 25 Mar 2021 18:17:48 +0000 (19:17 +0100)]
Asciidoc: Review text-utils man pages
Mario Blättermann [Thu, 25 Mar 2021 17:22:30 +0000 (18:22 +0100)]
Asciidoc: Review term-utils man pages
Karel Zak [Thu, 25 Mar 2021 11:39:23 +0000 (12:39 +0100)]
ttymsg: fix resource leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 11:23:21 +0000 (12:23 +0100)]
lsmem: use ul_path_readf_string() readable for analysers [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 11:14:46 +0000 (12:14 +0100)]
lsirq: fix resources leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 11:13:00 +0000 (12:13 +0100)]
lsirq: fix resources leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 11:12:11 +0000 (12:12 +0100)]
meson: add irq utils
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 10:53:02 +0000 (11:53 +0100)]
fstrim: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 10:03:03 +0000 (11:03 +0100)]
libmount: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 09:51:54 +0000 (10:51 +0100)]
libmount: add assert() to umount lookup code
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 25 Mar 2021 09:43:20 +0000 (10:43 +0100)]
libfdisk: make labels allocations readable for analysers [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>