Kickstart: machine freezes on first Gnome logout
masaok at gmail.com
Fri Nov 12 21:39:49 UTC 2010
I'm running Kickstart/Preseed to install Desktop 10.10 on multiple boxes.
Everything works, except for a the final post-install script which I
set as /etc/rc.local at the end of my Kickstart file.
At the end of the post-install script, the script restores the
original rc.local (which does nothing but exit 0), then calls reboot.
I even added "exit 0" after that since I've read it wants that.
On bootup, I can log in via the GUI just fine, but when I log out, it
freezes at a screen showing the last output of the post-install
script. After I reboot the machine manually, everything is fine, and
logging out kicks you back to the login screen as it should.
Does anyone know how to fix this?
Is there any other way to run post-install scripts (besides %post in
Kickstart) without having to replace rc.local?
I've found that running certain commands like useradd in %post causes
problems, specifically overriding the main user specified in the
Kickstart main config.
More information about the ubuntu-users