No output in Arch Linux initcpio after 1.6.6 #19
Labels
No Label
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: a-j-wood/pv#19
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Correspondence summary:
hi,
here are two screenshots : no change with the additional parameters (I used /dev/urandom instead of /dev/zero).
the tests are here done with qemu but the operation is identical with a
real machine.
qemu -kernel archkernel -initrd myinitcpio.pv.1.6.20
qemu -kernel archkernel -initrd myinitcpio.pv.1.6.6
regards, lacsaP.
Le lun. 31 janv. 2022 à 23:32, Andrew Wood a écrit :
hi,
a small remark on this subject:
the use of
pv
is done very early in the initrd and/dev/stderr
is not available at that time (archlinux).I realized this in one of my scripts that did not display in the console the error message sent to
/dev/stderr
(the file/dev/stderr
was created instead, so no error was reported).on the other hand, the redirection to fd#2 works.
regards, lacsaP.
hi,
archlinux has reintroduced
/dev/stderr
and the problem persists with the latest versions ofpv
.a change introduced after version 1.6.6 is probably at the origin of this strange behavior... (because version 1.6.20 works perfectly in the final system).
regards, lacsaP.
A fix for this has been suggested, and has been merged in. It will be in the next release.
thanks a lot