Opened 9 years ago

Closed 8 years ago

#424 closed defect (fixed)

"Can't access tty..." error on Mondo restore

Reported by: casey0999 Owned by: vicgat
Priority: normal Milestone: 2.2.9.5
Component: mondo Version: 2.2.9.3
Severity: normal Keywords: tty
Cc:

Description

Hello-

Running MondoRescue? V2.2.9.3-r2622. My system is Fedora Core 12 (2.6.32 kernel) on an IBM System x3650 M2. This is a clean system just built, and I wanted to test backup and restore to an identical machine.

I used Mondo to back the system up to 2 CD's, and this seemed to go fine, but upon restoral ("nuke") to an identical system, the bootable CD boots up, starts Linux, and then stops with the error: "can't access tty; job control turned off"

Please advise - this is similar to what was happening in Ticket 256.

Thanks Scott S

Change History (6)

comment:1 Changed 9 years ago by bruno

  • Milestone changed from 2.2.9.4 to 2.2.9.5

comment:2 Changed 8 years ago by vicgat

  • Owner changed from bruno to vicgat
  • Status changed from new to assigned

I propose the following solution.

In mindi-busybox-1.7.3/include/usage.h, replacement of:

" ::askfirst:/bin/sh\n" \

by:

" ::askfirst:/bin/cttyhack /bin/sh\n" \

Rgds Victor

comment:3 follow-up: Changed 8 years ago by vicgat

According to the modified usage.h file, we should modify mindi-busybox-1.7.3/include/init to generate

::askfirst:/bin/cttyhack /bin/sh

instead of

::askfirst:/bin/sh

comment:4 in reply to: ↑ 3 Changed 8 years ago by vicgat

Replying to vicgat: mindi-busybox-1.7.3/include/init.c, of course.

comment:5 Changed 8 years ago by bruno

maybe I should look at this possibility as well http://www.mail-archive.com/busybox@busybox.net/msg11793.html

comment:6 Changed 8 years ago by bruno

  • Resolution set to fixed
  • Status changed from assigned to closed

Should be fixed with latest mindi-busybox 1.18.3

BTW the initial problem is probably linked to a driver issue missing, which has probably been fixed in between. Reopen if still valid.

Note: See TracTickets for help on using tickets.