Options in the configuration file (not the template) seems reasonable. The dynamic check
for it is a bit overkill.
On Wednesday, February 22, 2012 at 3:41 PM, Scott, Sean I wrote:
I just completed a (2) fresh install of cobbler for the first time. One at my home
network on EL6.2 and one at work on RHEL5.7. So far the only issue I ran into was with
the arguments that were being placed in the tftpd configuration for xinetd by cobbler sync
on 6.2.
On the Centos 6.2 Server with atftp-server as the tftp server the –s argument that was
being written was causing TFTP connections to timeout. In /var/log/messages the tftp
daemon was exiting immediately with status=1
/usr/lib/python2.6/site-packages/cobbler/modules/manage_in_tftpd.py
In line 128
def write_tftpd_files(self):
metadata = {
"user" : "root",
"binary" : "/usr/sbin/in.tftpd",
--> "args" : "-v -s %s" % self.bootloc
I had to remove the “–s” from the argument list (restart and sync) before atftp would
function. Would it be possible to move those arguments (except for bootloc of course) to
the /etc/cobbler/tftpd.template instead of the manage_in_tftpd.py file? Or include a check
for the tftp daemon running and remove the –s if the /usr/sbin/in.tftpd daemon is a
symlink to atftpd?
Just starting to move my kickstart files to live within the model cobbler uses but so far
a very positive experience.
Regards,
Sean
Terracon provides geotechnical, environmental, construction materials, and facilities
consulting engineering services delivered with responsiveness, resourcefulness, and
reliability.
Private and confidential as detailed here (
www.terracon.com/disclaimer
(
http://www.terracon.com/disclaimer)). If you cannot access hyperlink, please e-mail
sender.
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org (mailto:cobbler@lists.fedorahosted.org)
https://fedorahosted.org/mailman/listinfo/cobbler