I have the following installed on a Linux CentOS 6.2 Management node:

xCAT-server-2.7.1-snap201204060047.noarch
atftp-server-0.7-6.el6.rf.x86_64

Once installed, whenever xcatd is restarted, the following xinetd file is 
generated for tftp:

      [root@drdkvm0003 xcat]# cat  /etc/xinetd.d/tftp
      # default: on
      # description: The tftp server serves files using the trivial file 
transfer protocol. The tftp protocol is often used to boot diskless worksta.
      service tftp
      {
          disable         = yes
          socket_type     = dgram
          protocol        = udp
          wait            = yes
          user            = apache
          group           = apache
          server          = /usr/sbin/in.tftpd
          server_args     = -s /tftpboot -m /etc/tftpmapfile4xcat.conf
          per_source      = 11
          cps             = 100 2
          flags           = IPv4
      }

However according to the atftpd man page, the server args above won't work.   
in order to work with atftp, the following changes are needed:

      [root@drdkvm0003 xinetd.d]# diff /tmp/tftp /etc/xinetd.d/tftp
      5c5
      <     disable         = yes
      ---
      >     disable         = no
      12c12
      <     server_args     = -s /tftpboot -m /etc/tftpmapfile4xcat.conf
      ---
      >     server_args     = -v --logfile /var/log/tftpd /tftpboot

The problem is every time xcatd is restarted, /etc/xinetd.d/tftp is overwritten 
by: /opt/xcat/lib/perl/xCAT_plugin/AAsn.pm

I wondering whether I should look for a different version of tftpd,  try the 
latest xCAT snapshot, or look for a configuration problem?  Likely the default 
of "disable = yes" is a configuration issue in my db, but the AAsn.pm doesn't 
appear to have much wiggle room for different tftpd server_args.

(BTW I tried installing atftp-xcat, but it shows that it's been obsoleted by 
xCAT-server.)

Thanks,

Goran

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to