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

Re: %post



> 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







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