Op 19 apr. 2013, om 15:37 heeft Koen Kooi <[email protected]> het volgende geschreven:
> > Op 19 apr. 2013, om 15:13 heeft Koen Kooi <[email protected]> het > volgende geschreven: > >> >> Op 19 apr. 2013, om 15:03 heeft "Burton, Ross" <[email protected]> het >> volgende geschreven: >> >>> On 19 April 2013 13:49, Koen Kooi <[email protected]> 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@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@beaglebone:~# >> >> So it seems to just hang. Will report about the set -x thing shortly. > > And here it is: > > Change postinst.service to Type=simple > > root@beaglebone:~# journalctl -a -f -b -n500 -u run-postinsts > -- Logs begin at Sat 2000-01-01 18:47:13 UTC. -- > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ '[' x '!=' x ']' > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ grep '^gdm:' /etc/group > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ addgroup gdm > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ grep '^gdm:' /etc/passwd > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ adduser > --disabled-password --system --home /var/lib/gdm gdm --ingroup gdm -g gdm > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: adduser: /var/lib/gdm: File > exists > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ '[' -d /var/lib/gdm ']' > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ chown -R gdm:gdm > /var/lib/gdm > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: chown: unknown user/group > gdm:gdm > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ chmod 0750 /var/lib/gdm > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ mkdir -p /etc/X11/ > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ echo /usr/bin/gdm > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ OPTS= > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ '[' -n '' ']' > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ type systemctl > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ systemctl enable > gdm.service > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ '[' -z '' -a enable = > enable ']' > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ systemctl restart > gdm.service > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ test x '!=' x > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ OPT=-s > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ type update-rc.d > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: ++ update-rc.d -s gdm start > 99 5 2 . stop 20 0 1 6 . > Jan 01 18:47:21 beaglebone S98run-postinsts[125]: Adding system startup for > /etc/init.d/gdm. > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ '[' x '!=' x ']' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ > GDK_PIXBUF_MODULEDIR=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ gdk-pixbuf-query-loaders > --update-cache > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/Crux ']' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/Crux > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrast ']' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrast > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrast-SVG ']' > Jan 01 18:47:22 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrast-SVG > > Connman does NTP at this point > > Apr 19 13:21:11 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:11 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrastInverse ']' > Apr 19 13:21:11 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrastInverse > Apr 19 13:21:11 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:11 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrastLargePrint ']' > Apr 19 13:21:11 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrastLargePrint > Apr 19 13:21:14 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:14 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrastLargePrintInverse ']' > Apr 19 13:21:14 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrastLargePrintInverse > Apr 19 13:21:16 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:16 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/LargePrint ']' > Apr 19 13:21:16 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/LargePrint > Apr 19 13:21:16 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:16 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/LowContrastLargePrint ']' > Apr 19 13:21:17 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/LowContrastLargePrint > Apr 19 13:21:17 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:17 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/Mist ']' > Apr 19 13:21:17 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/Mist > Apr 19 13:21:20 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:20 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/gnome ']' > Apr 19 13:21:20 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/gnome > Apr 19 13:21:55 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:21:56 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/hicolor ']' > Apr 19 13:21:56 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/hicolor > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ '[' x '!=' x ']' > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: +++ gconftool-2 > --get-default-source > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ export > GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ > GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ > SCHEMA_LOCATION=/etc/gconf/schemas > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > gdm-simple-greeter.schemas > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/gdm-simple-greeter.schemas ']' > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:21:57 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/gdm-simple-greeter.schemas > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ '[' -n '' ']' > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults --direct --load > /etc/gconf/schemas/panel-default-setup.entries > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ '[' x '!=' x ']' > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ > GDK_PIXBUF_MODULEDIR=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ gdk-pixbuf-query-loaders > --update-cache > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/Crux ']' > Apr 19 13:22:02 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/Crux > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrast ']' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrast > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrast-SVG ']' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrast-SVG > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrastInverse ']' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrastInverse > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrastLargePrint ']' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrastLargePrint > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:03 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/HighContrastLargePrintInverse ']' > Apr 19 13:22:04 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/HighContrastLargePrintInverse > Apr 19 13:22:06 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:06 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/LargePrint ']' > Apr 19 13:22:06 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/LargePrint > Apr 19 13:22:07 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:07 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/LowContrastLargePrint ']' > Apr 19 13:22:07 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/LowContrastLargePrint > Apr 19 13:22:09 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:09 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/Mist ']' > Apr 19 13:22:09 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/Mist > Apr 19 13:22:10 beaglebone S98run-postinsts[125]: ++ for icondir in > '/usr/share/icons/*' > Apr 19 13:22:10 beaglebone S98run-postinsts[125]: ++ '[' -d > /usr/share/icons/gnome ']' > Apr 19 13:22:10 beaglebone S98run-postinsts[125]: ++ gtk-update-icon-cache > -fqt /usr/share/icons/gnome > +++ gconftool-2 --get-default-source > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ export > GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ > GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ > SCHEMA_LOCATION=/etc/gconf/schemas > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/window-list.schemas ']' > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:22:31 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/window-list.schemas > Apr 19 13:22:41 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:22:41 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/clock.schemas ']' > Apr 19 13:22:41 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:22:41 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/clock.schemas > Apr 19 13:22:47 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:22:47 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/panel-general.schemas ']' > Apr 19 13:22:47 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:22:47 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/panel-general.schemas > Apr 19 13:22:55 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:22:55 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/panel-compatibility.schemas ']' > Apr 19 13:22:55 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:22:55 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/panel-compatibility.schemas > Apr 19 13:22:56 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:22:56 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/panel-global.schemas ']' > Apr 19 13:22:56 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:22:56 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/panel-global.schemas > Apr 19 13:23:04 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:23:04 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/panel-object.schemas ']' > Apr 19 13:23:04 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:23:04 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/panel-object.schemas > Apr 19 13:23:08 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:23:08 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/workspace-switcher.schemas ']' > Apr 19 13:23:10 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:23:10 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/workspace-switcher.schemas > Apr 19 13:23:22 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:23:22 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/panel-toplevel.schemas ']' > Apr 19 13:23:22 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:23:22 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/panel-toplevel.schemas > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/fish.schemas ']' > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/fish.schemas > Apr 19 13:23:51 beaglebone S98run-postinsts[125]: ++ test -n '' > Apr 19 13:23:51 beaglebone S98run-postinsts[125]: ++ udevadm hwdb --update > Apr 19 13:24:00 beaglebone S98run-postinsts[125]: Configuring gdm. > Apr 19 13:24:00 beaglebone S98run-postinsts[125]: Configuring gnome-panel. > Apr 19 13:24:00 beaglebone S98run-postinsts[125]: Configuring udev-hwdb. > > *wait 5 minutes* > > CTRL-C journalctl, inspect it: > > run-postinsts.service - Run pending postinsts > Loaded: loaded (/lib/systemd/system/run-postinsts.service; disabled) > Active: inactive (dead) since Fri 2013-04-19 13:24:00 UTC; 6min ago > Main PID: 125 (code=exited, status=0/SUCCESS) > CGroup: name=systemd:/system/run-postinsts.service > > Apr 19 13:23:22 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/panel-toplevel.schemas > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ for SCHEMA in > window-list.schemas clock.schemas panel-general.schemas > panel-compatibility.schemas panel-global.schemas panel-object.schemas > workspace-switcher.schemas panel-toplevel.schemas fish.schemas > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ '[' -e > /etc/gconf/schemas/fish.schemas ']' > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ HOME=/root > Apr 19 13:23:32 beaglebone S98run-postinsts[125]: ++ gconftool-2 > --makefile-install-rule /etc/gconf/schemas/fish.schemas > Apr 19 13:23:51 beaglebone S98run-postinsts[125]: ++ test -n '' > Apr 19 13:23:51 beaglebone S98run-postinsts[125]: ++ udevadm hwdb --update > Apr 19 13:24:00 beaglebone S98run-postinsts[125]: Configuring gdm. > Apr 19 13:24:00 beaglebone S98run-postinsts[125]: Configuring gnome-panel. > Apr 19 13:24:00 beaglebone S98run-postinsts[125]: Configuring udev-hwdb. > > root@beaglebone:~# ls /etc/rcS.d > S03systemd-udevd > root@beaglebone:~# > > So it completed this time. This is the 5th reboot already. I have no idea why > it finished this time :( And it still doesn't work :( root@beaglebone:~# systemctl status gdm -a gdm.service - Gnome Display Manager Loaded: loaded (/lib/systemd/system/gdm.service; enabled) Active: active (running) since Sat 2000-01-01 19:22:11 UTC; 13 years 3 months ago Main PID: 147 (gdm-binary) CGroup: name=systemd:/system/gdm.service └─147 /usr/sbin/gdm-binary -nodaemon Apr 19 13:56:22 beaglebone gdm-simple-slave[326]: WARNING: Couldn't look up uid Apr 19 13:56:22 beaglebone gdm-simple-slave[337]: WARNING: User gdm doesn't exist Apr 19 13:56:22 beaglebone gdm-simple-slave[326]: WARNING: Unable to parse output: Apr 19 13:56:22 beaglebone gdm-simple-slave[326]: WARNING: Unable to parse D-Bus launch output Apr 19 13:56:22 beaglebone gdm-simple-slave[338]: WARNING: User gdm doesn't exist Apr 19 13:56:22 beaglebone gdm-simple-slave[326]: WARNING: Could not run helper: Failed to execute child process "/usr/lib/gdm/ck-get-x11-display-device" (No such file or directory) Apr 19 13:56:22 beaglebone gdm[147]: gdm-binary[147]: WARNING: GdmDisplay: display lasted 1.401004 seconds Apr 19 13:56:22 beaglebone gdm-binary[147]: WARNING: GdmDisplay: display lasted 1.401004 seconds Apr 19 13:56:22 beaglebone gdm-binary[147]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors Apr 19 13:56:22 beaglebone gdm[147]: gdm-binary[147]: WARNING: GdmLocalDisplayFactory: maximum number of X display failures reached: check X server log for errors Hmm, let's rerun gdm.postinst: root@beaglebone:~# sh /var/lib/opkg/info/gdm.postinst + '[' x '!=' x ']' + grep '^gdm:' /etc/group + grep '^gdm:' /etc/passwd + adduser --disabled-password --system --home /var/lib/gdm gdm --ingroup gdm -g gdm adduser: /var/lib/gdm: File exists + '[' -d /var/lib/gdm ']' + chown -R gdm:gdm /var/lib/gdm + chmod 0750 /var/lib/gdm + mkdir -p /etc/X11/ + echo /usr/bin/gdm + OPTS= + '[' -n '' ']' + type systemctl + systemctl enable gdm.service + '[' -z '' -a enable = enable ']' + systemctl restart gdm.service + test x '!=' x + OPT=-s + type update-rc.d + update-rc.d -s gdm start 99 5 2 . stop 20 0 1 6 . System startup links for /etc/init.d/gdm already exist. + '[' x '!=' x ']' + GDK_PIXBUF_MODULEDIR=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders + gdk-pixbuf-query-loaders --update-cache [ 102.324520] tilcdc 4830e000.fb: timeout waiting for framedone + for icondir in '/usr/share/icons/*' + '[' -d /usr/share/icons/Crux ']' + gtk-update-icon-cache -fqt /usr/share/icons/Crux + for icondir in '/usr/share/icons/*' + '[' -d /usr/share/icons/HighContrast ']' + gtk-update-icon-cache -fqt /usr/share/icons/HighContrast + for icondir in '/usr/share/icons/*' + '[' -d /usr/share/icons/HighContrast-SVG ']' + gtk-update-icon-cache -fqt /usr/share/icons/HighContrast-SVG + for icondir in '/usr/share/icons/*' + '[' -d /usr/share/icons/HighContrastInverse ']' + gtk-update-icon-cache -fqt /usr/share/icons/HighContrastInverse + for icondir in '/usr/share/icons/*' + '[' -d /usr/share/icons/HighContrastLargePrint ']' + gtk-update-icon-cache -fqt /usr/share/icons/HighContrastLargePrint (etc) So it looks like the postinsts do run when used inside run-postinst.service, but don't save their output (sucky description, I know). _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
