Re: Newbie problem with kickstart post section

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

 



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


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux