[OE-core] postinst does not finish

Koen Kooi koen at dominion.thruhere.net
Fri Apr 19 13:13:41 UTC 2013


Op 19 apr. 2013, om 15:03 heeft "Burton, Ross" <ross.burton at intel.com> het volgende geschreven:

> On 19 April 2013 13:49, Koen Kooi <koen at dominion.thruhere.net> wrote:
>>> Running the postinstalls at first boot appear to hang because (and
>>> that's just a feeling) gtk-icon-cache is run twice on target... which is
>>> time consuming.
>> 
>> I know it's time consuming, but it finished on 60-90 minutes with 1.3, I left it overnight and it still hadn't finished. I have the LEDS configured to short mmc0 and cpu0 activity and there' s no IO, only cpu from time to time. I don't think it takes more than 14 hours to run those postinsts.
> 
> How about hacking the postinsts to use sh -x, so you can see what it's
> executing?

Going to do that in a minute. Todays build just finished (*$(@*$(@ webkit-gtk build times) and I added timeoutsec=600 to the .service file:

root at beaglebone:~# systemctl status run-postinsts -a
run-postinsts.service - Run pending postinsts
   Loaded: loaded (/lib/systemd/system/run-postinsts.service; disabled)
   Active: failed (Result: timeout) since Sat 2000-01-01 18:30:33 UTC; 13 years 3 months ago
 Main PID: 122
   CGroup: name=systemd:/system/run-postinsts.service

Jan 01 18:20:33 beaglebone S98run-postinsts[122]: adduser: group gdm does not exist
Jan 01 18:20:33 beaglebone S98run-postinsts[122]: chown: unknown user/group gdm:gdm
Jan 01 18:30:33 beaglebone systemd[1]: run-postinsts.service operation timed out. Terminating.
Jan 01 18:30:33 beaglebone systemd[1]: Failed to start Run pending postinsts.
Jan 01 18:30:33 beaglebone systemd[1]: MESSAGE=Unit run-postinsts.service entered failed state.
root at beaglebone:~# 

So it seems to just hang. Will report about the set -x thing shortly.

regards,

Koen



More information about the Openembedded-core mailing list