Do not use fexecve
Script executed via fexecve
has a file descriptor number in argv[0]
. This results in unexpected output: when displaying the script help, a user see Usage: <number> [options]
instead of Usage: <scriptname> [options]
. This can be demonstrated on mock
:
$ rpm -q usermode
usermode-1.114-1.fc34.x86_64
$ mock -h | grep Usage
Usage: 6 [options]
$ dnf upgrade usermode
$ rpm -q usermode
usermode-1.114-2.fc34.x86_64
$ mock -h | grep Usage
Usage: mock [options]
Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2021-a3db781aa9
Please login to add feedback.
This update has been submitted for testing by jkucera.
This update's test gating status has been changed to 'ignored'.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update has been submitted for stable by bodhi.
This update has been pushed to stable.