Saw a similar report in the bug tracker, so there's a chance there's a fix 
being worked on:  
http://sourceforge.net/tracker/index.php?func=detail&aid=3505360&group_id=208749&atid=1006945

However after updating to the latest snapshot,  the xinetd.d/tftp file is still 
being overwritten by AAsn.pm.   The version are now:

       [root@drdkvm0003 /]# rpm -qa | egrep -i 'atftp|xcat-server'
      atftp-server-0.7-6.el6.rf.x86_64
      xCAT-server-2.7.3-snap201206110241.noarch


Perhaps the easiest short term fix for me is just to allow AAsn.pm to generate 
a non-working xinetd conf file for tftpd, and to start tftp from a separate, 
/etc/init.d/tftp  init script.   I'm a little hesitant to do this because 
there's code in AAsn.pm that restarts xinetd, which would result in tftp being 
restarted, and if an init script is used to start tftp instead, xcat will not 
have control over tftp.

Thanks,

Goran

_____________________________________________
From: Pocina, Goran
Sent: Monday, June 11, 2012 1:53 PM
To: '[email protected]'
Subject: xcat - tftp compatibility issue?


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