I add that on debian, setup_pxe enables atftpd and start it manually using
/usr/sbin/atftpd --daemon /tftpboot/ , but if the system restarts, it runs with
/srv/tftp instead of /tftpboot
I'll fix that.
--
Olivier LAHAYE
CEA DRT/LIST/DM2I/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : mardi 5 novembre 2013 19:47
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE INTERNET] [Oscar-devel] atftpd: Ok => /tftpboot not
consistant among oscarcomponents.
Hi,
while updating the atftp rpm package for rhel and fedora so it works the same
way as Debian and SuSE distro packages (runs as a standalone service, not a
xinetd service) and add supports for systemd based systems, Ive noticed that
the /tftpboot is not consistyant among all OSCAr packages.
- I've noticed that systemimager (/etcv/systemimager/systemimager.conf) is
using /var/lib/tftpboot (though fixed by an opkg-postinstall script)
- I've noticed that SystemImager/debian/*.postinst have a warning about this
change.
- I've noticed that oscar/scripts/oscar-updater.d could be used for a migration
- Not using LSB/distro default localtion could lead to problems (like SELinux
or other security tools).
=> For the moment, I'll fix atftp config file in setup_pxe so it still points
to /tftpboot, but IMHO, we should fix this. (all support for tftp_dir is
already in OS_Settings).
=> 62 files needs to be fixed (easy) + 1 file need to be created for migration.
Files are:
oscar/doc/oscarpkg-howto/oscar-envvars-table.tex
oscar/doc/oscarpkg-howto/pkg-layout.tex
oscar/install_cluster
oscar/lib/OSCAR/Bootstrap.pm
oscar/lib/OSCAR/Distro.pm
oscar/lib/OSCAR/NodeMgt.pm
oscar/lib/OSCAR/OCA/OS_Settings/default
oscar/lib/OSCAR/OCA/OS_Settings/mandriva
oscar/lib/OSCAR/PackageBest.pm
oscar/lib/OSCAR/PackageInUn.pm
oscar/lib/OSCAR/PackagePath.pm
oscar/lib/OSCAR/PackageSmart.pm
oscar/lib/OSCAR/pxegrub.pm
oscar/lib/OSCAR/Startover.pm
oscar/Makefile
oscar/packages/netbootmgr/scripts/multi-arch-prepare
oscar/packages/sis/scripts/server-post-install
oscar/README
oscar/scripts/oscar-config
oscar/scripts/oscar-updater.d/01_update_ubuntu_repo
oscar/scripts/oscar-updater.d/02_update_repo_conffile
oscar/scripts/prepare_repos
oscar/scripts/repo-update
oscar/scripts/setup_pxe
oscar/scripts/system-sanity.d/tftpboot-check.pl
oscar/share/etc/supported_distros.txt
oscar/src/Opder/OpderDownloadPackage.ui.h
oscar/testing/unit_testing/test_distro_detection
oscar/testing/unit_testing/test_repo_prep
pkgsrc/kernel-picker/trunk/kernel_picker.1
pkgsrc/kernel-picker/trunk/kernel_picker.html
pkgsrc/kernel-picker/trunk/kernel_picker.pl
pkgsrc/kernel-picker/trunk/kernel_picker.ps
pkgsrc/kernel-picker/trunk/kernel_picker.tex
pkgsrc/kernel-picker/trunk/kernel_picker.txt
pkgsrc/oda/trunk/bin/populate_oda_packages_table
pkgsrc/opkg/netbootmgr/trunk/rpm/netbootmgr.spec
pkgsrc/orm/trunk/lib/ORM.pm
pkgsrc/oscar-installer/branches/oscar-installer-5.0/conf/oscar-installer.conf
pkgsrc/oscar-installer/trunk/conf/oscar-installer.conf
pkgsrc/oscar-packager/trunk/bin/build_oscar_binaries
pkgsrc/oscar-packager/trunk/bin/oscar-packager
pkgsrc/oscar-packager/trunk/doc/oscar-packager_manual.sgml
pkgsrc/oscar-packager/trunk/lib/Packager.pm
pkgsrc/packman/trunk/PackMan.pm
pkgsrc/rapt/trunk/ChangeLog
pkgsrc/rapt/trunk/rapt
pkgsrc/selector/trunk/doc/selector_manual.sgml
pkgsrc/systeminstaller-oscar/trunk/bin/mkdhcpconf
pkgsrc/systeminstaller-oscar/trunk/bin/mksiimage
pkgsrc/systeminstaller-oscar/trunk/doc/SIS.pod
pkgsrc/systeminstaller-oscar/trunk/doc/systeminstaller.conf.pod
pkgsrc/systeminstaller-oscar/trunk/lib/SystemInstaller/Env.pm
pkgsrc/systeminstaller-oscar/trunk/lib/SystemInstaller/Tk/Help.pm
pkgsrc/systeminstaller-oscar/trunk/samples/systeminstaller.conf
pkgsrc/tools/build_oscar_rpms
pkgsrc/tools/oscar-debian/build_pkgsrc_debs
pkgsrc/yume/trunk/yume.8
Only 31 files are real code:
oscar/lib/OSCAR/Bootstrap.pm
oscar/lib/OSCAR/Distro.pm
oscar/lib/OSCAR/NodeMgt.pm
oscar/lib/OSCAR/PackageBest.pm
oscar/lib/OSCAR/PackageInUn.pm
oscar/lib/OSCAR/PackagePath.pm
oscar/lib/OSCAR/PackageSmart.pm
oscar/lib/OSCAR/pxegrub.pm
oscar/lib/OSCAR/Startover.pm
oscar/packages/netbootmgr/scripts/multi-arch-prepare
oscar/packages/sis/scripts/server-post-install
oscar/scripts/oscar-config
oscar/scripts/oscar-updater.d/01_update_ubuntu_repo
oscar/scripts/oscar-updater.d/02_update_repo_conffile
oscar/scripts/prepare_repos
oscar/scripts/repo-update
oscar/scripts/setup_pxe
oscar/scripts/system-sanity.d/tftpboot-check.pl
pkgsrc/oda/trunk/bin/populate_oda_packages_table
pkgsrc/orm/trunk/lib/ORM.pm
pkgsrc/oscar-packager/trunk/bin/build_oscar_binaries
pkgsrc/oscar-packager/trunk/bin/oscar-packager
pkgsrc/oscar-packager/trunk/lib/Packager.pm
pkgsrc/systeminstaller-oscar/trunk/bin/mkdhcpconf
pkgsrc/systeminstaller-oscar/trunk/bin/mksiimage
pkgsrc/systeminstaller-oscar/trunk/lib/SystemInstaller/Env.pm
pkgsrc/systeminstaller-oscar/trunk/lib/SystemInstaller/Tk/Help.pm
=> Not dramatic, but not for today ;-)
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