* PROBLEM: Errors in instmods_1 are ignored
@ 2013-05-09 11:18 Dennis Schridde
2013-05-17 16:23 ` Dennis Schridde
2013-05-28 12:01 ` Harald Hoyer
0 siblings, 2 replies; 5+ messages in thread
From: Dennis Schridde @ 2013-05-09 11:18 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 658 bytes --]
Hello!
I found a problem with add_drivers / module installation.
Current behaviour:
When instmods_1 cannot find a module (for example), it returns an error (1).
It's caller, instmods, aborts the installation of any further modules and also
returns an error (1). dracut then ignores that error and does not even output
a warning.
Expected behaviour:
Variant 1: instmods outputs a warning when instmods_1 returns an error, but
continues to install the other modules.
Variant 2: dracut outputs an error message, including the module that failed,
and aborts the whole operation.
See also: https://github.com/haraldh/dracut/issues/8
Best regards,
Dennis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PROBLEM: Errors in instmods_1 are ignored
2013-05-09 11:18 PROBLEM: Errors in instmods_1 are ignored Dennis Schridde
@ 2013-05-17 16:23 ` Dennis Schridde
2013-05-28 12:01 ` Harald Hoyer
1 sibling, 0 replies; 5+ messages in thread
From: Dennis Schridde @ 2013-05-17 16:23 UTC (permalink / raw)
To: initramfs-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 207 bytes --]
Hello!
Am Donnerstag, 9. Mai 2013, 13:18:02 schrieb Dennis Schridde:
> I found a problem with add_drivers / module installation.
Did anyone have a look at this? How shall it be fixed?
Best regards,
Dennis
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PROBLEM: Errors in instmods_1 are ignored
2013-05-09 11:18 PROBLEM: Errors in instmods_1 are ignored Dennis Schridde
2013-05-17 16:23 ` Dennis Schridde
@ 2013-05-28 12:01 ` Harald Hoyer
[not found] ` <51A49C8E.2040201-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 5+ messages in thread
From: Harald Hoyer @ 2013-05-28 12:01 UTC (permalink / raw)
To: Dennis Schridde; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/09/2013 01:18 PM, Dennis Schridde wrote:
> Hello!
>
> I found a problem with add_drivers / module installation.
>
> Current behaviour: When instmods_1 cannot find a module (for example), it
> returns an error (1). It's caller, instmods, aborts the installation of any
> further modules and also returns an error (1). dracut then ignores that
> error and does not even output a warning.
>
> Expected behaviour: Variant 1: instmods outputs a warning when instmods_1
> returns an error, but continues to install the other modules. Variant 2:
> dracut outputs an error message, including the module that failed, and
> aborts the whole operation.
>
> See also: https://github.com/haraldh/dracut/issues/8
>
> Best regards, Dennis
>
instmods can take two options:
- -c : abort on error
- -s : silently abort on error
instmods -c a b c || exit 1
will give you:
F: Failed to install a
and dracut will exit.
instmods ignores the errors.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJRpJyOAAoJEANOs3ABTfJwGtYP+wQIuA2ovQdDoR6wmm5xxoTY
Zy9DLRWQ3mouw7pVp//U0rF98q+9ZGABmMSrhbxwdKgIF0BuCTbRzjW26rrLisuZ
gprv0XxkBEb7EKlwjKFcb706/MSQAI+rg+uDU1clgviBjjVcCcOJUXLCohu1Zh2F
bRKQq89nUo0YUndK/l2hXN21qxrlPOJc8WWFuUDxn6mBH1yekBo6keewyXzXR6Sr
wvHDNni6hbWX3PJMj6JBpFaheF9Vl2NMd3eMXCj1X1dbYRD0MFngg7K/fIgUOkJY
33UKWQ1Ijfw7uFMKYKP1ne/kxcNu6e5AbTpd1XXn6SRsC/f/fkVwxJW9DIDCrm+Z
ihA3rBCNvlvc/6m9/OU2ZwGpUXkwwwPMbHxBusG/o9Gu8qiT1UVpDVsAoPrsp4y+
ZVmbD/3gN7AK9XbBqjajJL3R6ObKMofwJkEK7Ia3GWPXii8qKQ8/xKbehex2K48e
sWhxMAbkSL7D2PGXd4dj4RUxlBcs+DxmxXLItG4ncJ90XpZ62wLZIBT1HsUfasT/
S9th5iXoC1ZfdIIlfpu8ISQygD4z7D1SB4zYPnHS/R43FL2DC0LljqyVp01Qpjpg
+Q/DXIQAWA4usRU6UcULeZFhFWA/SSa8d4ted/POGXynKiOkFIubM38mnCPe6yJz
3b+z9nLqHdhF4FtY1G6B
=jgLC
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-05-28 14:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 11:18 PROBLEM: Errors in instmods_1 are ignored Dennis Schridde
2013-05-17 16:23 ` Dennis Schridde
2013-05-28 12:01 ` Harald Hoyer
[not found] ` <51A49C8E.2040201-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2013-05-28 14:09 ` Dennis Schridde
2013-05-28 14:12 ` Harald Hoyer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.