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

Bug#377974: Fwd: Re: exim4-config fails with awk; line 21 syntax error on arm



On Tuesday 25 July 2006 13:22, you wrote:
> I had send this message but it came back undeliverable. So I send it
> straight to you.

Strange. Should work.

> There's already a line 'set -e' at the top of the file, so my question
> is: You mean to add 'set -x' to get:
> Or should I change the 'set -e' into 'set -x'? I did do this, and the
> output seems exactly the same as with 'set -e'!

I meant the first. The 'set -e' means that execution of a script is broken
off if there is an error while executing a command. The 'set -x' enables
debugging. You can enable both at the same time.

When I add the 'set -x', I get this in the syslog:
Jul 25 17:38:11 finish-install: info: Running /usr/lib/finish-install.d/05tzsetup
Jul 25 17:38:11 finish-install: info: Running /usr/lib/finish-install.d/06user-setup
Jul 25 17:38:11 finish-install: + . /usr/share/debconf/confmodule
Jul 25 17:38:11 finish-install: + [ ! 1 ]
Jul 25 17:38:11 finish-install: + [ -z 1 ]
Jul 25 17:38:11 finish-install: + 
Jul 25 17:38:11 finish-install: DEBCONF_OLD_FD_BASE=4
<snip>
Jul 25 17:38:11 finish-install: log-output
Jul 25 17:38:11 finish-install:  -t
Jul 25 17:38:11 finish-install:  user-setup
Jul 25 17:38:11 finish-install:  chroot
Jul 25 17:38:11 finish-install:  /target
Jul 25 17:38:11 finish-install:  adduser
Jul 25 17:38:11 finish-install:  --disabled-password
Jul 25 17:38:11 finish-install:  --gecos
Jul 25 17:38:11 finish-install:  Frans Pop
Jul 25 17:38:11 finish-install:  fjp
Jul 25 17:38:11 finish-install: 
Jul 25 17:38:11 user-setup: Adding user `fjp'...
Jul 25 17:38:11 user-setup: Adding new group `fjp' (1000).
Jul 25 17:38:12 user-setup: Adding new user `fjp' (1000) with group `fjp'.
Jul 25 17:38:12 user-setup: Creating home directory `/home/fjp'.
Jul 25 17:38:12 user-setup: Copying files from `/etc/skel'
<snip>
Jul 25 17:38:13 finish-install: + exit 0
Jul 25 17:38:13 finish-install: info: Running /usr/lib/finish-install.d/07preseed
Jul 25 17:38:13 finish-install: info: Running /usr/lib/finish-install.d/10bind-mount

Note that this command is only executed right at the end of the
installation: when the regular user is created in the installed system.
So, you can only see this output when the very last dialog is shown.
Hmm, but you never get to that stage, so it's no wonder you don't see any
output...

Ah! Lightning strikes and fires up my brain at last!
That also explains _why_ we get chage. Because user-setup-apply is run at
the very end of the installation, shadow passwords are _not_ enabled during
pkgsel, so these "errors" are entirely expected.
Checking the log for an i386 installation I see the same error there too.

We may want to rethink when we enable shadow passwords...

Good, that solves that riddle. Now we're still left with awk failing on you
during the install. I'm afraid I have no clue on that one though.
It seems to be the only real issue in your report though.

Thanks very much again for your work following up on this.

Cheers,
FJP

Attachment: pgp20xMQz9Hwg.pgp
Description: PGP signature


Reply to: