atftp-server is needd to support imaging nodes.

The problem is that eventhough the packages are provided for debian based 
systems and SusE based systems, I can't see how it can work.

Debian based: package name atftpd (distro package)
atftpd home: /srv/tftp
atftpd user: nobody
atftpd group: nogroup
startup: initscripts (/etc/init.d/atftp)
=> OSCAR assumes tftp directory is /tftpboot. I see no code to fix 
/etc/default/atftpd on Debian based systems. how can it work?

SuSE based: package name attftp (distro package)
atftpd home: /srv/tftpboot
atftp user: nobody
atftp group: nogroup
startup init scripts
=> OSCAR assumes tftp directory is /tftpboot. I see no code to fix 
/etc/sysconfig/atftpd os SuSE nased systems. How can it work?

rhel based system: package atftp-server (oscar package)
atftpd home: /tftpboot
atftp user: nobody
atftp group: nogroup
startup xinetd
=> This config works

fc (fedora) based systems: package atftp-server (oscar package)
atftpd home: /tftpboot (but should be /var/lib/tftpboot)
atftp user: nobody
atftp group: nogroup (does not exists on system. replaced by nobody) => does 
not work
startup xinetd in compatibility mode
=> Fails to start because atftp cannot drop root group privilege to nogroup 
(group does not exists).

I'll fix atftp OSCAR package for rhel and fc package (drop xinetd and conform 
to other distros). Then using OS_Settings, I'll set the correct tftp home 
(variable already used in OS_Settings).
By this way, we will be able to change the tftp server without modifying OSCAR 
code (no need to parse a config file to point to /tftpboot instead of the 
default tftp directory that is set up in the atftp package).

Any better solution I could have missed?

Regards,

Olivier.
--
   Olivier LAHAYE
   CEA DRT/LIST/DM2I/DIR
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to