Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] dracut kernel hook appears to have issues
@ 2021-03-22  3:51 CameronNemo
  2021-03-22  4:12 ` ericonr
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: CameronNemo @ 2021-03-22  3:51 UTC (permalink / raw)
  To: ml

[-- 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
@ 2021-03-22  4:12 ` ericonr
  2021-03-22 12:38 ` sgn
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-03-22  4:12 UTC (permalink / raw)
  To: ml

[-- 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
  2021-03-22  4:12 ` ericonr
@ 2021-03-22 12:38 ` sgn
  2021-03-22 12:50 ` sgn
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sgn @ 2021-03-22 12:38 UTC (permalink / raw)
  To: ml

[-- 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?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
  2021-03-22  4:12 ` ericonr
  2021-03-22 12:38 ` sgn
@ 2021-03-22 12:50 ` sgn
  2021-03-29  4:56 ` CameronNemo
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sgn @ 2021-03-22 12:50 UTC (permalink / raw)
  To: ml

[-- 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`

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
                   ` (2 preceding siblings ...)
  2021-03-22 12:50 ` sgn
@ 2021-03-29  4:56 ` CameronNemo
  2021-03-29 13:51 ` sgn
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: CameronNemo @ 2021-03-29  4:56 UTC (permalink / raw)
  To: ml

[-- 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
```

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
                   ` (3 preceding siblings ...)
  2021-03-29  4:56 ` CameronNemo
@ 2021-03-29 13:51 ` sgn
  2021-04-07 21:14 ` rafaelgoncalves
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: sgn @ 2021-03-29 13:51 UTC (permalink / raw)
  To: ml

[-- 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
                   ` (4 preceding siblings ...)
  2021-03-29 13:51 ` sgn
@ 2021-04-07 21:14 ` rafaelgoncalves
  2021-07-15 12:18 ` [ISSUE] [CLOSED] " ahesford
  2021-07-15 12:18 ` ahesford
  7 siblings, 0 replies; 9+ messages in thread
From: rafaelgoncalves @ 2021-04-07 21:14 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
                   ` (6 preceding siblings ...)
  2021-07-15 12:18 ` [ISSUE] [CLOSED] " ahesford
@ 2021-07-15 12:18 ` ahesford
  7 siblings, 0 replies; 9+ messages in thread
From: ahesford @ 2021-07-15 12:18 UTC (permalink / raw)
  To: ml

[-- 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. 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ISSUE] [CLOSED] dracut kernel hook appears to have issues
  2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
                   ` (5 preceding siblings ...)
  2021-04-07 21:14 ` rafaelgoncalves
@ 2021-07-15 12:18 ` ahesford
  2021-07-15 12:18 ` ahesford
  7 siblings, 0 replies; 9+ messages in thread
From: ahesford @ 2021-07-15 12:18 UTC (permalink / raw)
  To: ml

[-- 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.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-07-15 12:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22  3:51 [ISSUE] dracut kernel hook appears to have issues CameronNemo
2021-03-22  4:12 ` ericonr
2021-03-22 12:38 ` sgn
2021-03-22 12:50 ` sgn
2021-03-29  4:56 ` CameronNemo
2021-03-29 13:51 ` sgn
2021-04-07 21:14 ` rafaelgoncalves
2021-07-15 12:18 ` [ISSUE] [CLOSED] " ahesford
2021-07-15 12:18 ` ahesford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).