Newbie problem with kickstart post section

Alain TAUCH anaconda at maisondubonheur.com
Mon May 22 11:26:25 UTC 2006


On Mon, 22 May 2006 10:46:29 +0000
Arnar Þórarinsson [Arnar] wrote:

[...]
Arnar> chkconfig is not found unless I use /mnt/sysimage/sbin/chkconfig and
Arnar> then it can't find /etc/init.d
Arnar> 
Arnar> rpm -qa gives a blank output, like no rpms are installed.
[...]
Arnar> post section runs as :
Arnar> %post --nochroot --interpreter=/bin/bash --log=/mnt/sysimage/root/post-
Arnar> install.log
Arnar> 
Arnar> /sbin/chkconfig --level 345 telnet off
Arnar> /mnt/sysimage/sbin/chkconfig --level 345 telnet off
[...]
Arnar> what am I doing wrong here ????

these commands shoul be run in the chroot.
By using %post --nochroot your rpm/chkconfig commands apply to 
the installer environment, not to the system you are installing.

-- 
Alain




More information about the Kickstart-list mailing list