Depends on having feedback of whether exec(), etc. failed; once we have that, if exec() of /bin/sh fails, we can execute some appropriate fallback.
I'm going to suggest something like /sbin/sulogin --missing-shell as a standard "OMG! THE SKY IS FALLING!" escape route. Of course, if your sulogin is missing, or is written in shell, you're still screwed. -- upstart utterly fails when /bin/sh symlink disappears https://bugs.launchpad.net/bugs/65024 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
