: Hi,
: After I installed RedHat 3.0.3 and kernel p207 when I reboot with
: c-a-d the system says:
: INIT: Entering runlevel: 6
: and then there comes anbout 10exp6 times the message:
: INIT: error reading initrequest
: The reboot finally works but this message comes all the time and drives me mad.
: Can anyone help me PLEASE ?!
Cannot help now, but I've exactly same problem at the moment with the
same system. I got the SysVinit sources for the RedHat christmas
surprise and the relevant line seems to be in init.c:
#if NEWINIT
/*
* We got a change runlevel request through the
* init.fifo. Process it.
*/
..
1392-/*
1393- * Read from the init FIFO. Processes like telnetd and rlogind can
1394- * ask us to create login processes on their behalf.
1395- *
1396- * FIXME: this needs to be finished.
1397- */
1398-void CheckInitFifo(void)
1399-{
1400- static int pipe_fd = -1;
1401- struct init_request request;
1402- int n;
1403- fd_set fds;
1404- int quit = 0;
1405-
1406- /* Try to open /dev/initctl */
1407- if (pipe_fd < 0) {
1408- if ((pipe_fd = open(INIT_FIFO, O_RDONLY|O_NONBLOCK)) >= 0) {
1409- /* Don't use fd's 0, 1 or 2. */
1410- (void) dup2(pipe_fd, PIPE_FD);
1411- close(pipe_fd);
1412- pipe_fd = PIPE_FD;
1413- }
1414- }
1415-
1416- /* Wait for data to appear, _if_ the pipe was opened. */
1417- if (pipe_fd >= 0) while(!quit) {
1418-
1419- /* Do select, return on EINTR. */
1420- FD_ZERO(&fds);
1421- FD_SET(pipe_fd, &fds);
1422- n = select(pipe_fd + 1, &fds, NULL, NULL, NULL);
1423- if (n <= 0) {
1424- if (errno == EINTR) return;
1425- continue;
1426- }
1427-
1428- /* Read the data, return on EINTR. */
1429- n = read(pipe_fd, &request, sizeof(request));
1430- if (n <= 0) {
1431- if (errno == EINTR) return;
******************************************************
*1432: Log(L_VB, "error reading initrequest");
******************************************************
1433- continue;
1434- }
1472-#endif
--
?