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

Re: Newbie problem with kickstart post section



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


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