[-- Attachment #1: Type: text/plain, Size: 2857 bytes --] New issue by CameronNemo on void-packages repository https://github.com/void-linux/void-packages/issues/29672 Description: ### System * xuname: *output of ``xuname`` (part of xtools)* * package: dracut-051_2 ### Expected behavior dracut kernel hook does not send a bunch of info on stderr ### Actual behavior Seeing this on the output, even though dracut seems to make the initramfs alright: ``` Executing post-install kernel hook: 20-dracut ... dracut-install: No SOURCE argument given Usage: dracut-install -D DESTROOTDIR [-r SYSROOTDIR] [OPTION]... -a SOURCE... or: dracut-install -D DESTROOTDIR [-r SYSROOTDIR] [OPTION]... SOURCE DEST or: dracut-install -D DESTROOTDIR [-r SYSROOTDIR] [OPTION]... -m KERNELMODULE [KERNELMODULE …] Install SOURCE (from rootfs or SYSROOTDIR) to DEST in DESTROOTDIR with all needed dependencies. KERNELMODULE can have the format: <absolute path> with a leading / =<kernel subdir>[/<kernel subdir>…] like '=drivers/hid' <module name> -D --destrootdir Install all files to DESTROOTDIR as the root -r --sysrootdir Install all files from SYSROOTDIR -a --all Install all SOURCE arguments to DESTROOTDIR -o --optional If SOURCE does not exist, do not fail -d --dir SOURCE is a directory -l --ldd Also install shebang executables and libraries -L --logdir <DIR> Log files, which were installed from the host to <DIR> -R --resolvelazy Only install shebang executables and libraries for all SOURCE files -H --hostonly Mark all SOURCE files as hostonly -f --fips Also install all '.SOURCE.hmac' files --module,-m Install kernel modules, instead of files --kerneldir Specify the kernel module directory --firmwaredirs Specify the firmware directory search path with : separation --silent Don't display error messages for kernel module install --modalias Only generate module list from /sys/devices modalias list -o --optional If kernel module does not exist, do not fail -p --mod-filter-path Filter kernel modules by path regexp -P --mod-filter-nopath Exclude kernel modules by path regexp -s --mod-filter-symbol Filter kernel modules by symbol regexp -S --mod-filter-nosymbol Exclude kernel modules by symbol regexp -N --mod-filter-noname Exclude kernel modules by name regexp -v --verbose Show more output --debug Show debug output --version Show package version -h --help Show this help ``` ### Steps to reproduce the behavior No idea really. Happens on some upgrades, but not others. Most recently `linux5.10 update 5.10.24_1 5.10.25_1 87MB`. Was wondering if anyone else has experienced this.
[-- Attachment #1: Type: text/plain, Size: 350 bytes --] New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-803746767 Comment: > dracut-install: No SOURCE argument given I think I have seen comments about this. Sounds like an upstream issue, if it's calling the program with missing arguments, but I haven't looked at the code yet.
[-- Attachment #1: Type: text/plain, Size: 208 bytes --] New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-804029443 Comment: Would you mind run dracut manually in verbose mode to see what wrong?
[-- Attachment #1: Type: text/plain, Size: 192 bytes --] New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-804036080 Comment: Can you check those files existed? - `/var/lib/dbus`
[-- Attachment #1: Type: text/plain, Size: 544 bytes --] New comment by CameronNemo on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-809064669 Comment: I have tried running dracut manually and cannot reproduce the message. Only when run by xbps. ``` ➜ ~ ls -lah /var/lib/dbus/machine-id -rw-r--r-- 1 root root 33 Jul 12 2018 /var/lib/dbus/machine-id ➜ ~ ls -lah /var/lib/dbus total 12K drwxr-xr-x 2 root root 4.0K Jul 12 2018 . drwxr-xr-x 31 root root 4.0K Mar 28 10:06 .. -rw-r--r-- 1 root root 33 Jul 12 2018 machine-id ```
[-- Attachment #1: Type: text/plain, Size: 266 bytes --] New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-809393742 Comment: Hm, I could only suggest remove `-q` from `20-dracut` kernel hooks, and maybe replace it with `-v` and see if any other errors.
[-- Attachment #1: Type: text/plain, Size: 338 bytes --] New comment by rafaelgoncalves on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-815268903 Comment: Same error on my void box, this after add hostonly configuration on dracut.conf.d and like @ericonr said, this looks like a upstream issue: https://github.com/dracutdevs/dracut/pull/1096
[-- Attachment #1: Type: text/plain, Size: 219 bytes --] New comment by ahesford on void-packages repository https://github.com/void-linux/void-packages/issues/29672#issuecomment-880647914 Comment: This should be fixed in current versions of dracut. Please comment if not.
[-- Attachment #1: Type: text/plain, Size: 2860 bytes --] Closed issue by CameronNemo on void-packages repository https://github.com/void-linux/void-packages/issues/29672 Description: ### System * xuname: *output of ``xuname`` (part of xtools)* * package: dracut-051_2 ### Expected behavior dracut kernel hook does not send a bunch of info on stderr ### Actual behavior Seeing this on the output, even though dracut seems to make the initramfs alright: ``` Executing post-install kernel hook: 20-dracut ... dracut-install: No SOURCE argument given Usage: dracut-install -D DESTROOTDIR [-r SYSROOTDIR] [OPTION]... -a SOURCE... or: dracut-install -D DESTROOTDIR [-r SYSROOTDIR] [OPTION]... SOURCE DEST or: dracut-install -D DESTROOTDIR [-r SYSROOTDIR] [OPTION]... -m KERNELMODULE [KERNELMODULE …] Install SOURCE (from rootfs or SYSROOTDIR) to DEST in DESTROOTDIR with all needed dependencies. KERNELMODULE can have the format: <absolute path> with a leading / =<kernel subdir>[/<kernel subdir>…] like '=drivers/hid' <module name> -D --destrootdir Install all files to DESTROOTDIR as the root -r --sysrootdir Install all files from SYSROOTDIR -a --all Install all SOURCE arguments to DESTROOTDIR -o --optional If SOURCE does not exist, do not fail -d --dir SOURCE is a directory -l --ldd Also install shebang executables and libraries -L --logdir <DIR> Log files, which were installed from the host to <DIR> -R --resolvelazy Only install shebang executables and libraries for all SOURCE files -H --hostonly Mark all SOURCE files as hostonly -f --fips Also install all '.SOURCE.hmac' files --module,-m Install kernel modules, instead of files --kerneldir Specify the kernel module directory --firmwaredirs Specify the firmware directory search path with : separation --silent Don't display error messages for kernel module install --modalias Only generate module list from /sys/devices modalias list -o --optional If kernel module does not exist, do not fail -p --mod-filter-path Filter kernel modules by path regexp -P --mod-filter-nopath Exclude kernel modules by path regexp -s --mod-filter-symbol Filter kernel modules by symbol regexp -S --mod-filter-nosymbol Exclude kernel modules by symbol regexp -N --mod-filter-noname Exclude kernel modules by name regexp -v --verbose Show more output --debug Show debug output --version Show package version -h --help Show this help ``` ### Steps to reproduce the behavior No idea really. Happens on some upgrades, but not others. Most recently `linux5.10 update 5.10.24_1 5.10.25_1 87MB`. Was wondering if anyone else has experienced this.