[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#210967: quitting partconf leadas to postinst exited with status 7680

mån 2003-09-15 klockan 02.29 skrev Martin Michlmayr:
> Package: partconf
> Version: http://people.debian.org/~sjogren/d-i/images/2003-09-08 (not installed)
> Severity: normal
> When I went into partconf and then straight back, I got the following
> error: partconf's postinst exited with status 7680

Yes, as I've said before, partconf has to exit with nonzero exit code in
this case, since it must not be marked as configured by udpkg and
main-menu, because... it isn't configured. What we need, is a way to
distinguish "failure" and "backed out", since this also applies to the
<go back> button.

I propose to use a standard exit code for this, I'm not sure what udpkg
has to do... How will udpkg mangle the return code from the script into
what it returns itself? It would be good if it could propagate so
main-menu can see what has happened. In debconf, this is 30, and that's
what partconf returns, I think that's a good choice.

Martin Sjögren
  sjogren@debian.org -- marvin@dum.chalmers.se
  GPG key: http://www.mdstud.chalmers.se/~md9ms/gpg.html
  let hello = "hello" : hello in putStr (unlines hello)

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel

Reply to: