Re: %post

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

 



> What is the appropriate way to change xinetd settings in the %post
section of the ks.cfg file?  I've tried many things and can't seem to make
it work.  I'm > currently executing:
>
>    %post -nochroot
>    /sbin/chkconfig -level 345 telnet on
>
> I get errors with "no such file or directory".  Any help is appreciated.


chkconfig only makes changes to things that have rc scripts in /etc/init.d.
Configs for xinetd live in /etc/xinetd.d.
You must edit these with something like sed.  Also, you don't want
-nochroot, as you will probably want to change
the Xinetd settings in the chrooted environment.

Cheers...james







[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