dracut-0.7-2.fc12 Booting a dracut initrd with console=ttyS0 and then logging over the serial console, gives this for me: -bash: cannot set terminal process group (-1): Inappropriate ioctl for device -bash: no job control in this shell This isn't happening with a mkinitrd created initrd; no idea what the problem is yet, haven't debugged it
well, bash would have to do what init normally does: /* get session leader */ setsid(); /* set controlling terminal */ if (ioctl (0, TIOCSCTTY, 1)) warn("failed to TIOCSCTTY");
maybe we should write a small helper application which does just this and rexecs the shell.
sry, won't fix this
it seems to be same problem as https://bugzilla.redhat.com/show_bug.cgi?id=519237 i'd suggest to close this as duplicate
#519237 is after we switch_root, so it's different.