Quantcast
Viewing all articles
Browse latest Browse all 19115

0008821: Plymouth's IPC fails read on EAGAIN

Plymouth's ply_read in src/libply/ply-utils.c returns false if ply_read_some_bytes returns less than the requested number of bytes, even in cases where the error is just a harmless EAGAIN. Upper layers like ply_boot_client_process_incoming_replies in src/client/ply-boot-client.c simply fail, even though they could retry the read (at least in theory; first they need to know the number of bytes already read).<br /> <br /> I attached a patch that works for me. The Plymouth developers might of course prefer to let the callers of the read functions deal with EAGAIN, but that's a bigger change.

Viewing all articles
Browse latest Browse all 19115

Trending Articles