docs: upadte v2.23-ReleaseNotes

Signed-off-by: Karel Zak <kzak@redhat.com>
build-sys: keep libuser optional

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

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: umount crashes when trying to umount a non-mountpoint

Reported-by: Mantas Mikulėnas <grawity@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: make libmount.h consistent with code

The function with nonnull attribute are silently optimized by gcc so
all "if (foo)" are removed if the "foo" is expected as non-null. It
make the code less usable and robust in some situations.

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

This is more robust implementation of mnt_get_mountpoint() that does
not ignore bind mountpoints (mount --bind /mnt /mnt) as it does not
depend on st_dev numbers.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount: improve --move error message on shared trees

Signed-off-by: Karel Zak <kzak@redhat.com>
blkid: use xalloc.h when possible

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
docs: arch is gone, use delpart as usage() function example

The arch.c was removed in commit 27abd809.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sulogin: couple of obvious fixes for non-linux systems

Signed-off-by: Karel Zak <kzak@redhat.com>
rtcwake: add --adjfile command line option

 ... for better compatibility with hwclock.

Signed-off-by: Karel Zak <kzak@redhat.com>
include/pathnames: rename _PATH_ADJPATH to _PATH_ADJTIME

Signed-off-by: Karel Zak <kzak@redhat.com>
rtcwake: clean up usage

Signed-off-by: Karel Zak <kzak@redhat.com>
schedutils: don't apply -a without -p

The unsuspecting user might use taskset -a mask command. Behavior then
is to exec with no affinity applied at all. Better handled by ignoring
all_tasks if no pid was given.

Signed-off-by: Daniel Stodden <daniel.stodden@gmail.com>
docs: add note about /var/lib/hwclock to TODO

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: fix user-mount by root for mount.<type> helpers

Append options like "exec" "suid" and "dev" to mount.<type> helpers
command line if the options are in fstab. This is relevant for root
user who calls mount(8) for fstab entries with "user,exec" etc.

Signed-off-by: Karel Zak <kzak@redhat.com>
bash-completion: add bash completetion configure option

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
bash-completion: disk-utils

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
bash-completion: fdisks

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
bash-completion: login-utils

Signed-off-by: Sami Kerola <kerolasa@iki.fi>