fai (3.2.1-0ubuntu1~ppa1) gutsy; urgency=low * Sync New Upstream Version to ubuntu. - Exception Request granted in LP: #139637 - Problems with update-initramfs fixed: LP: 137511 - fai-setup works now LP: #89026 - static ip problem fixed ages ago: LP: #69862 - fix dependency breakage: LP: #93876 * Upload to ubuntu with some small changes. * Turn the package from native to non-native, the orig tarball is identical to the tarball in debian. * bin/fai: check if /proc is mounted in the nfsroot. if it isn't mount it * conf/NFSROOT: deinstall upstart, use sysvinit instead * conf/NFSROOT: install linux-image-generic as kernel image. This is thankfully consistent on all ubuntu architectures. We can drop unionsfs modules as well, since we have them in the kernel package. * conf/make-fai-nfsroot.conf: use archive.ubuntu.com for bootstrap * conf/sources.list: use archive.ubuntu.com as sources. * conf/sources.list: use fai-team's PPA for live-initramfs packages * debian/control: adapt build dependencies so we can build even on dapper fai (3.2.1) unstable; urgency=low * mount swap partitions with identical priorities * fai-mirror: also match lowercase class names (for hostsnames), use $cfdir instead of fixed path /etc/fai * subroutines-linux: add timeout to nc call * subroutines: change message for faimond in task_faiend() * control: readd libapt-pkg-perl to depends, nfs-server (user space) does not support locking, so FAI cannot use it, remove wget, add arch to mknbi * get-config-dir-svn: add svn+ssh support * QUESTIONNAIRE: add USB stick, split bootb and dhcp * faimond, faimond.8: use Proc::Daemon, add options tTldP * faimond: do not allow ; in message (security), do not print ip and port number * make-fai-nfsroot: add option -U, do not divert update-initramfs (added because of a Ubuntu bug), activate -U if Ubuntu is detected determine the arch inside the nfsroot for defining a class, this help building amd64 nfsroots on i386 and vice versa, add support for running hooks, (closes: #342467) * make-fai-nfsroot.conf: add variable NFSROOT_HOOKS * make-fai-nfsroot.9: add info about NFSROOT_HOOKS * fai-mirror.8, make-fai-nfsroot.8: enhance/add info of -C, add info about variable FAI_ETC_DIR * packages_config/DEFAULT: fix typos in linux-image-amd64 * fai-chboot,fai-chboot.8: add option -C and support for $FAI_ETC_DIR * savelog.LAST.source: add ignore pattern * packages_config/FAIBASE: add fai-client * fai-do-scripts: exit with maximum error code of all child scripts that had an error * fai: change message when stamp file already exists (closes: #441437) * fai-cd: remove arch specific path * fai-cd.8: add info about USB stick (closes: #441988), improve man page (closes: #441991) * new get-config-dir-git: add method git for access (closes: #441992) * examples/etc/dhcpd.conf: fix path * faimond-gui: new tool that produces graphical output of faimond * faimond-gui.8: new man page * get-config-dir-svn: fix svn+ssh with username (Closes: #442021) * fai-guide.sgml: add info about NFSROOT_HOOKS fai (3.2) unstable; urgency=low * subroutines-linux: fix extra slash in path (closes: #428860), jobsrunning(): ignore rcS process (closes: #425725) during dirinstall call debootstrap if no base.tgz is found * setup_harddisks: fix file system type of /proc * fai.conf: make ssh and scp the default (closes: #309678, #380085) * fai-guide.sgml: major update to reflect FAI 3.X changes (closes: #390508), fix description of classes used (closes: #329984), change /usr/share/doc/fai to /usr/share/doc/fai-doc (closes: #387541), fix an url, add documentation for dirinstall (closes: #390508), document usage of basefiles/ (closes: #391660), document the order hooks are called (closes: #380337) * get-config-dir-svn: add support for svn url's without username (closes: #415875) * subroutines: copy disk_var.sh only if available (closes: #415880), fix wrong path for FAI_CLASSES * savelog.LAST.source: add more patterns * faimond: add options -p, -h, -b, it can now call fai-boot (closes: #342477, #424608) * faimond.1: update man pages to reflect the new options * fai-savelog: use $LOGREMOTEDIR when saving to remote (closes: #290371), do not set $HOSTNAME, should be set all the time (closes: #429553, #429733) * make-fai-nfsroot: add option -p (closes: #359323), move from fai-kernels to plain Debian kernel using initrd (closes: #410940), remove unused things since we have now write access to the nfsroot, use mkdir -p, live-initramfs needs NFSROOT in .../live/filesystem.dir, move creating of subdirs from make-fai-nfsroot to fai (from server to client), do not create shell script in make-fai-nfsroot, remove -V, use aptitude to remove the kernels from the nfsroot, -k now reinstalls all packages from /etc/fai/NFSROOT (closes: #431613), update-initramfs symlinks to /bin/true during diversion * make-fai-nfsroot.conf: remove the variable KERNELPACKAGE (closes: #416531, #435098) * make-fai-nfsroot.8: remove -V, new description for -K and -k * fcopy: set mode on file even no file was copied (closes: #360184), check error code of preinst and postinst scripts (closes: #432681), add quotes to variable (closes: #430127), skip comment lines in file-modes * fai-chboot: $NFSROOT is defined in new location (closes: #408247), add initrd support, add option -s (closes: #356380), remove nfs options from append line * fai-chboot.8: ROOTFS parameter is not needed any more, add option -s * device2grub: fix pattern to support /dev/cciss and /dev/ida devices (closes: #416381) * conf/NFSROOT: add packages needed for new fai-cd technique, add plain debian kernel package, add ext2resize, hwinfo and change arch specific packages, move packages cfengine2 and libapt-pkg-perl from control to NFSROOT * control: change dependencies from tetex to tetex or texlive, replace Recommends of rsh-server with ssh (closes: #426093), add aptitude for fai-server as Suggests, remove fai-kernels, add field XS-Vcs-Browser, syslinux is only available on two architectures, do not depend on cfengine (v1), since it does not exists any more * fai: do not remount / read only, do not call create_ramdisk, now we use unionfs, remove HOST variable, only use HOSTNAME now, use mkdir -p, export $action for 20hwdetect.source, call save_dmesg only during initial installation, during dirinstall set LOGDIR=/var/log/fai/dirinstall/$HOSTNAME (closes: #429553) define FAI_DEBOOTSTRAP, FAI_DEBOOTSTRAP_OPT for dirinstall create syslog.conf before starting the syslog daemon when doing dirinstall -c or -N must be specified (closes: #429554) the local hard disks are now mounted to /target instead of /tmp/target * move from mkinitrd-cd to live-initramfs to create a CD, use plain Debian kernel * menu.lst: remove unneeded options, add boot=live for new initrd, remove root (cd), fix setting of hostname, instead of using ip=, we now use hostname= * create_resolv_conf: fix path, since we can now write on the whole filesystem * fai-cd: use plain Debian kernel with initrd and live-initramfs for booting (closes: #401041), add option -f, force removal of an existing ISO image add option -k, this is for debugging add option -n, do not create ISO image add option -u, copy fai-cd data to a directory (USB support) use $NFSROOT/live/filesystem.dir * disk-info: do not include removable devices into list of disks * fai-class: remove HOST variable, only use HOSTNAME now do not set HOSTNAME from uname (closes: #431283) * multiple files: add some patches fixing english text (closes: #428857, #428858) * 20-removable_media: fix path for floppy mount point (closes: #428859) * fai.8: add option -u, --hostname (closes: #361559) * add variable TFTPROOT (closes: #408271, #431431) * fai-mirror: use $NFSROOT/live/filesystem.dir do not ask questions, add unauthenticated packages to the mirror * 20hwdetect.source: do not execute 20hwdetect.source during dirinstall * debconf/FAIBASE: autodetect most xorg parameters, (but not resolution) * install_packages: add option -N, change option -t to -n, add patch that AptPkg module is only used when available and target system is Debian (closes: #422225), move code to check_aptpkg(), add smart package manager support (closes: #430798) do execute Debian specific commands only when needed (closes: #392038), grab error codes when executing commands, exit with 3 when errors occured, add option -H (closes: #391659), put suffix -internal to all internal commands, remove -n from tasksel calls print path once, then only config file names, not always full path * install_packages.8: add option -N and -H, change option -t to -n, add option -p (closes: #424848) * create_ramdisk: replaced by unionfs * fai-do-scripts: remove -k from cfagent call (closes: #425699), add new strings for shell scripts (closes: #416616) * fai-server.post*: do not manage $TFTPROOT (closes: #430000) * package_config: move linux-image package from FAIBASE to DEFAULT, add kernel name for architecture * ainsl: escape + in pattern * make S01fai-abort an init.d script fai (3.1.8) unstable; urgency=medium * conf/NFSROOT: remove unknow package name (closes: 407950) * setup_harddisks: use C locale when calling mkreiserfs (closes: 413504) * fai-mirror: add /usr/sbin to $PATH so a normal user can also call this command (closes: 413466) * simple/package_config/GERMAN: fix wrong package name * lib/subroutines: replace >>/dev/stderr with >&2 fai (3.1.7) unstable; urgency=medium * subroutines: ifclass() should append to stderr (closes: #409059) * examples/simple/, lib/fai-mount-disk, lib/mount2dir: use bash for shell scripts (closes: #410084) * fix typo in bug number of older changelog entry * install_packages.8: add info for variable MAXPACKAGES fai (3.1.6) unstable; urgency=high * fix important and grave bugs * fai-setup: do not fail (and exit) if $loguserhome is not writeable for root (closes: #407947) * fai-class: fix syntax error (closes: #408153) fai (3.1.5) unstable; urgency=low * make-fai-nfsroot: remove copying of *.pub files (closes: #406334) * fai-debconf: add template when create tmp file, remove also old tmp files (closes: #406336) * fai: add missing parameter to --long options (closes: #406125) * fai-classs: set hostname from -u as intended (closes: #406125) * scripts/FAISERVER/10-conffiles: fix wrong path (closes: #406500) * README: update year from 2006 to 2007 fai (3.1.4) unstable; urgency=medium * these are only document changes and a one liner for setup_harddisks * fix default examples. A change in the xorg package dependencies broke the default FAI example installation (closes: #405435) * remove xlockmore package from example (closes: #405433) * setup_harddisks: add support for mountig existing NTFS partitions (closes: #404187) fai (3.1.3) unstable; urgency=medium * fai-savelog: fix a security tagged bug, make local copy of LOGDIR only readable for root and group adm (closes: #402644) * fai: add missing shift command (closes: #402588) * fai.8: improve dirinstall info (closes: #402294) * package_config/FAIBASE: add packages, this is only a documentation change fai (3.1.2) unstable; urgency=high * use new fai kernel version 2.6.18 * control: add Vcs-Svn control field (closes: #399561) * conf/NFSROOT: remove package hwtools, which do not exists any more * fai-chboot: exit if file cannot be written, tmpfile was not always removed * make-fai-bootfloppy: remove sit interfaces from list of network devices (closes: #400521), print error if it can't write to floppy device (closes: #400522) * fcopy: tmpfile was not always removed * mount2dir: use noatime when mounting local file systems * lib/subroutines-linux: change comment * fix typo in changelog * fai-server.postinst: change message (closes: #400324) fai (3.1.1) unstable; urgency=low * control: remove mkinitrd-cd from Recemmends: and Suggests: * make-fai-nfsroot: add missing option h to getopt, fix typo, test if $cfdir is already set (closes: #394884), no code change, reorder code so a normal user gets help whem using -h,--help * faireboot: fix file name to variables.log * fai-chboot: fix several bugs for listing options, option -p expects an argument, fix for -c behaviour (closes: #389905) * fai-chboot.8: minor document fixes * fai-mirror.1: fix example (closes: #390520) * fcopy: remove temporary file after use * fai: start udev before creating /dev/shm/network, remove set +a for dirinstall, so $fai_rundate will be exported (closes: #390373) * subroutines: umount config dir at the end of softupdate action, cd back to old directory, convert FAI_ROOT to absolute path if doing dirinstall (closes: #390346), die() only calls bash when FAI_ACTION=install, add -i to bash call (closes: #362252) * subroutines-linux: check exit status of get-config-dir * get-config-dir: replace die call with echo and exit statement, add error message * get-config-dir-cvs: fixed regular expression as 'expr' automatically anchors to the beginning * LAST/50-misc: /sbin/unconfigured.sh is not used any more * ainsl.8: explain ^ and $ treatment in more detail * FAIBASE/10-misc: add anchors to ainsl pattern * class/20hwdetect.source: change discover call * aisnl,fcopy,fai-chboot: print help and exit if unknow option was given * lib/task_sysinfo: remove call of kudzu since it's not available any more in etch fai (3.1ubuntu1) edgy; urgency=low * merge FAI 3.1 changes. All necessary ubuntu hacks have been incorporated by upstream (thanks Thomas). * changes to default configuration to make a usable ubuntu installation - point to archive.ubuntu.com instead of ftp.debian.org - use sysvinit instead of upstart, because its default bootlog behavior * make fai-mount-disk use /bin/bash instead of /bin/sh fai (3.1) unstable; urgency=medium * Makefile: force bash in Makefile, fixes FTBFS in ubuntu * rename action dirinst to dirinstall (closes: #390345) * fai-cd: fix wrong path for sources.list (closes: #391639) * scripts/FAIBASE/10-misc: use ainsl instead of echo >> ... * lib/create_ramdisk: make /var/discover writeable * make-fai-nfsroot: create directory var/discover, add option -h and usage() subroutine * subroutines: move find's maxdepth option to the left, prevent multiple fai softupdate running simultaneously (closes: #390680), move disk_var.sh from FAI 2.X installation old to new location rename variable sndhostname to sendhostname * get-config-dir*: replace \s and \S in expr with regex using [:space:], so it also works for sarge's version of expr * subroutines-liux: add test if base.tgz exists (closes: #390343), sources.list must be used from /etc/apt during normal installation * fai: add option -u,--hostname (closes: #390367), create /dev/shm/network if directory not already exists (needed for initrd kernels) * LAST/50-misc: do not fail if hardware clock can't be set * fcopy: swap call of postinst and set_mode * install_packages: add missing package list to yum and rpm calls (closes: #392032) * rename sndmon() to sendmon() * fai-start-stop-daemon: start udevd (needed for ubuntu) and do not fake it, add carriage return * package_config/DEMO: remove rstatd since it buggy atm * 20hwdetect.source: xorg can discover the grpahics driver itself, do not call discover fai (3.0) unstable; urgency=low * conf/make-fai-nfsroot.conf,sources.list: move from sarge to etch * fai: export FAI_ACTION, fix -c and -C in usage() * subroutines-linux: fix path of resolv.conf * fai-chboot: remove devfs=nomount, use NFS v3 * package_config/DEFAULT: replace kernel-image with linux-image * faireboot: stop udevd * rename class XFREE to XORG, use xorg packages * bin/fai: rename $targetdir to $FAI_ROOT * add debconf data for german environment (closes: #386192) * package_config/GERMAN: new file includes packages for german environment * new script FAIBASE/20-removable_media creates fstab entries and makes directories under /media * new script and man page: ainsl, ainsl.1 * fai-start-stop-daemon: prints which daemon will not be started * get-boot-info: fix duplicate call of get_dhcp_info() * FAIBASE.var: add FAI_ALLOW_UNSIGNED=1 * fai-setup: add option no_subtree_check to etc/exports lines * get-config-dir-svn: svn support for config space (closes: #314991) * fai.8: add info about dirinst, add example fai (3~beta21) unstable; urgency=medium * make pathes conform to FHS: (closes: #340608, #311524, #336650, #309554, #340609) * use /srv/tftp/fai instead of /boot/fai * use /srv/tftp/fai/pxelinux.cfg instead of /boot/fai/pxelinux.cfg * use /srv/fai/config instead of /usr/local/share/fai * use /srv/fai/nfsroot instead of /usr/lib/fai/nfsroot * use /var/lib/fai/config instead of /fai * use /var/lib/fai/mirror instead of /mnt * create_ramdisk: call mkrw with -n * setup_harddisks: use more secure options for /proc line * fai-chboot: use tcp as default for nfs, nfs v3 can will become default with etch, existent .disable pxe file will be removed automatically, add headline when copying from template, change in options: -d is now -D, -r is now -d, -r is not used any more, abort if $pxedir does not exist (closes: #373596) * subroutines-linux: task_updatebase does not use updatebase.log any more (closes: #366823), try ftar $FAI/basefiles before extracting base.tgz, create policy-rc.d in the chroot, copy sources.list from $FAI_ETC_DIR, replace $FAI_REMOTESH with local variable $remotesh, fix path for resolv.conf * move /etc/fai/sources.list to /etc/fai/apt/sources.list * fix lintian error: build-depends-indep-should-be-build-depends debhelper * complies with policy 3.7.2 * added a linda override for fai-quickstart (ignore /usr/doc-symlink warning) * added Section: headers to binary packages in control * conf/make-fai-nfsroot.conf: remove variables: $nfssize, $NFSROOT_PACKAGES, $package * new config file /etc/fai/NFSROOT which contains the package list * fai.conf: remove FAI_REMOTESH and FAI_REMOTECP, use FAI_LOGPROTO instead, LOGSERVER, LOGREMOTEDIR, LOGPASSWD removed installserver removed (closes: #332837) * lib/subroutines: remove get_fai_cvs(), get_fai_dir(), now separate scripts, print warning if CD-ROM does not use DMA mode, eject fai-cd at the end of the installation * fai: replace $rclog with $LOGIDR/fai.log, add option -C,--cfdir, -c,--class (closes: #353535), add support for dirinst, cleanup LOGDIR before using it again (closes: #369534), remove variable rundir, mkdir /var/run/fai if not existing, trap uses subroutine clean_exit() for dirinst * fai-setup: use getent for getting IP address, make it a bash script, change $HOME of LOGUSER (closes: #290449), do not use SERVERINTERFACE for getting hostname, add all IP addresses and host names to ssh_known_hosts (closes: #286692), remove variable FAICLIENTS, use IP address and netmask for exportfs line (closes: #381261) * make-fai-nfsroot: new subroutine all_host_entries(), use install_packages and /etc/fai/NFSROOT for installing packages into the nfsroot, install fai-nfsroot before other packages are installed, do not exit if getent returns no information, rename -c to -C, use readlink to determine $cfdir (closes: #358765) * variable $fstab replaced with fstab (no more Solaris support using vfstab) * savelog.LAST: set reboot=1 if no errors are found * fcopy: fix bug (closes: #374415) * control: update to Standards-Version: 3.7.2, fai-quickstart depends on tftpd-hpa * make-fai-bootfloppy: read make-fai-nfsroot.conf instead of fai.conf, replace backticks with $(), fix test (closes: #384624), rename -c to -C * lib/get-boot-info: get network info via DHCP if ip=dhcp was set * prcopyleft: remove osname from copyright logo * subroutines: add task dirinst (closes: #322634), do not execute task prepareapt on softupdates (closes: #315000), save FAI_CLASSES and disk_var.sh to /var/lib/fai, do not save variables.log to /var * move fai-divert to fai-client package * ftar: fix exit code when no matching class was found * move code from script get-config-dir to task_confdir() * rename $DO_INIT_TASKS to $do_init_tasks * install_packages: add option -p * fai-mirror: use packages.nfsroot instead of packages.arch, check if obsolete variables are used, remove -a, add -B * add policy-rc.d support instead of diverting start-stop-daemon * remove varaible diskvar, use $LOGDIR/disk_var.sh instead * fai-debconf: use read-only temp file during reconfigure * get-config-dir-file: access config space via local path, used by fai-cd * fai-cd: use $FAI instead of /fai * fai-mirror: generate distrib name from FAI_DEBOOTSTRAP * move some -c to -C, so now all scripts use -C for cfdir, setting $FAI_ETC_DIR is the same as specifying -C cfdir, print message if this variables is used * move NEWS to NEWS.Debian * VERSION: default is kernel 2.6.17 fai (2.10.5) unstable; urgency=high * fixes patch from last NMUs. (really, really closes: #373955) * make-fai-nfsroot: print debootstrap version * add package lftp to nfsroot * create_ramdisk: make more directories writeable * 20hwdetect.source: add some usb modules * dhcpd.conf: next-server is needed in dhcpd3 >=3.0.3 fai (2.10.4) unstable; urgency=high * Non-maintainer upload. * Fix previous patch; it should remove files from $FAI_ROOT/etc, not /etc, as faireboot is not run inside the chroot. (Really Closes: #373955) fai (2.10.3) unstable; urgency=high * Non-maintainer upload. * Remove /etc/apt/apt.conf.d/{10,90}fai in faireboot, since the settings used during install_packages are not appropriate for the finished system. (Closes: #373955) fai (2.10.2) unstable; urgency=medium * lib/get-boot-info: call dhclient with different configuration and script names, closes grave bug (closes: #369265), remove dpkg-divert calls for /etc/dhcp3/dhclient-script and /etc/dhcp3/dhclient.conf * create_ramdisk: make /etc/lvm writeable (closes: #365035) * do not call mkrwsize if directory does not exist (closes: #365037) * lib/mkrw: add option -n * make-fai-nfsroot: grep before appending to file (closes: #364748), enable DNS inside the nfsroot (closes: #358783) * lib/subroutines-linux: task_prepareapt(): check $IPADDR before appending to file (closes: #331258) * lib/subroutines: make 100MB ramdisk for /fai when booting from CD * bin/fai: do not mount --bind /tmp/fai on softupdate fai (2.10.1) unstable; urgency=low * fai-chboot: fix division by zero error * fai.conf: remove $OS_TYPE * fai: remove $OS_TPYPE, set $targetdir, eval_cmdline is not needed for install and dirinst, move prcopyleft() and additional code into external script, use /var/log/fai/current as default LOGDIR, /tmp/fai is currently a mount --bind to it * fai-do-scripts: replace --no-lock with -K, this should fix cfengine's segfault bug * install_packages: add commands for y2pmsh, yast and rpm * mount2dir: add more fs types that should be skipped * fai-mirror: use different source.list when downloading packages for debootstrap (closes: #361786), remove comments from PACKAGES line (closes: #358910), add option -C, (closes: #318299), recreates Package.gz and Release file using apt-ftparchive * fai-cd: add option -C (closes: #312198), print FAI version in grub menu, not fai-cd version * make-fai-nfsroot: print warning if -f is still used, add config for aptitude to allow unsigned packages without prompting * menu.lst: enable timeout, use localboot as default, remove syslogd flag, remove unused entries, fix IP address for demohost * subroutines: new path /var/log/fai/current/showvar.log * fai-guide.sgml: include package splitting into fai guide * make-fai-nfsroot.conf: new names packages in fai-kernel, add console-tools to nfsroot (closes: #363480) * get-boot-info: do not try to activate the first four ethernet devices * conf/apt.conf: add aptitude option so untrusted repositories will also be used * instsoft.FAIBASE: use fcopy for kernel-img.conf * subroutines-linux: use IP address when calling fai-chboot in task_chboot, this helps when the install client has two network cards and the host name lookup fails * mkrw: fix typo (closes: #363521) * dhcpd.conf: make deny unknown-clients default, remove range definition * S99fai-setup: enable networking for faiserver fai (2.10) unstable; urgency=low * setup_harddisks: mapdisk(): add support for more than two disks, fix wrong comments (closes: #356265), allow logical partitions to be bootable (closes: #344536) * make-fai-nfsroot: do not copy files from /etc/apt to the nfsroot, detect kernel version for new kernel name (closes: #352939), remove patches-* file when using -K (closes: #348350), remove update-modules call, remove symlink creation to /tmp, add warning if $FAI_LOCAL_REPOSITORY is still used * fai-chboot: change output of -l and -L, major rework of the lsdir function, add more options for different listing formats, add template copy function (closes: #342471, #356136), options added: -g -c -t -o * 20-hwdetect.source: test if discover is installed * make-fai-bootfloppy: remove obsolete message (closes: #347974) * fcopy: remove newline from $source, add \Q, (closes: #350015), warning if unlink fails, add option -n (closes: #356378), preserving is not an error (closes: #360183) * make example scripts more cfengine2 compatible (closes: #312201) * hooks/instsoft.FAIBASE: do not pause when kernel modules are already available (closes: #314613) * install_packages: new feature, just unpack packages (closes: #277079), add urpmi, urpme and yum support * fai: exit script if no parameters are given and no run from nfsroot * subroutines: add verbose output when defining variables, add subroutines mkrw and mkrwsize, set $diskvar during softupdate to /var/log/fai/disk_var.sh, task_savelog: test if files exist before copying them * remove FAIBASE/20-save_diskvar (closes: #312296) * task_sysinfo: call lshw if available * lib/get-boot-info: remove duplicate network device names * make-fai-nfsroot.conf: use SERVERINTERFACE for detecting subnet (closes: #341577) * create_ramdisk: use mkrw for making directories writeable * fai-mirror: add warning if some files do not exist fai (2.9.1) unstable; urgency=low * install_packages: add aptitude-r to @commands (closes: #343361) * new command fai-statoverride (like dpkg-statoverride) * fai-chboot: use NFS v2 as default until FAI will drop sarge support * fai.8: fix typo (closes: #343642) * doc/classes_description.txt: remove all unused classes, update description (closes: #322026) * add script AMD64/99-discover-bug * add class FAISERVER * updatebase: mount /sys into chroot * mkdebmirror: remove non-US stuff * savelog.LAST: add segfault to error pattern * make-fai-bootfloppy.8: fix typo (closes: #346428) * make-fai-nfsroot: do not try to copy file if resolv.conf does not exist * menu.lst: add entry for faiserver * fai-cd: adjust space, new code for generating sources.list file * fai-debconf: add test if debconf data file exists (closes: #348857) fai (2.9) unstable; urgency=low * splitting binary package fai into fai-server, fai-client, fai-doc and fai-nfsroot (closes: #210507) * adjust some paths * remove beowulf and advanced examples * increase compat level to 4 * delete sunos code from source * scripts/ directory is now bin/ * fai-cd: fixed hardcoded sources.list for the install client to be generated, code by Michael Tautschnig (closes: #320024) and at least partially #329547, test if nfsroot was created (closes: #317495), test if mkisofs is available (closes: #334871), exist unless arch is i386 or amd64 (closes: #339098), check if $FAI_CONFIGDIR is valid remove subroutine mhide amd module-hide, mkbimage is not needed any more, use grub's stage2_eltorito feature mkisofs uses -no-emul-boot, no floppy emulation needed, size is not limited any more to 2.88M * install_packages: ignore packages ending with - when using -d (closes: #334333), remove backtick evaluation (closes: #322157), add -R to default aptitude call, add aptitude-r for download only mode, add more warnings * lib/create_ramdisk: make /etc/network/run/ifstate writable (closes: #312128) * fai-mirror: add -i to egrep (closes: #312508), add option DPkg::force-conflicts::=yes (closes: #328138), only aptitude can install conflicting packages, test if $mirrordir starts with a slash (closes: #328139), check if $FAI_CONFIGDIR is valid (closes: #334577) * fai-do-scripts: do not execute S[0-9][0-9]* any more (closes: #310999) * fcopy: add preinst support, ignore .svn dirs (closes: #297550), do chroot before using getpwnam (closes: #283475), add option -U * fai-guide.sgml: include README.disk_config into fai guide, minor fixes, (closes: #332295, #332318, #332293, #332291) * make-fai-nfsroot: use --one-file-system instead of -l (closes: #308806), new test if ssh package is installed (closes: #322759), create apt.conf.d file to support unsigned repositories, fail if debootstrap return with error code (closes: #342120) * subroutines: test if hooks are executable (closes: #338524), new stamp file name when action is softupdate * make-fai-bootfloppy: fix code for -i when using a relative path (closes: #314551), add option -I (closes: #337271), create more space on boot floppy (closes: #294593), add option -B * FAIBASE/10-misc: with the new fai-kernels package we can call tune2fs even when using a 2.6 kernel (closes: #307147) * ftar: test if $single is set (closes: #340421) * FAIBASE/30-interface: do not overwrite resolv.conf if it's a symlink (closes: #305783) * setup_harddisks: add i2o support (closes: #317797), add workaround for udev behaviour * GRUB/10-setup: use -U with fcopy, so grub's menu.lst will not be overwritten during softupdate (closes: #313069, #314995) * subroutines-linux: fix idempotent code (closes: #340422) * fai: do not use color logo if $console was set, start udev if available (closes: #334373), test if run as root * lib/updatebase: mount /dev into chroot during installation if we are running udev * fai-chboot: read $NFSROOT from fai.conf, add nfsroot option to kernel parameters, root-path can now be removed from dhcpd.conf * add support for unsigned repositories * LAST/50-misc: fix code that detect of a kernel is installed, now it does not break if more than one kernel is installed fai (2.8.4) unstable; urgency=high * fix important bug: remove non-US entry (closes: #310392) * package_config: remove nonfree package t1-xfree86-nonfree from examples (closes: #310705) fai (2.8.3) unstable; urgency=high * fix a serious bug, remove debconf support (closes: #309209), debconf support may be included again after sarge * fix important bug, do not delete files in /etc/fai (closes: #309707) * control: remove dependency on debconf * postinst, postrm: remove debconf code * rules: do not call dh_installdebconf * remove debian/config, debian/template * remove files in debian/po: POTFILES.in de.po fr.po templates.pot * fai.conf: set placeholder for installserver, since debconf will not set it any more * conf/make-fai-nfsroot.conf, conf/sources.list: use ftp.debian.org instead of debconf's default values * man/fai-chboot.8: minor document patch (closes: #309138, 309142) * fai-guide.sgml: minor document patch, move section "For the impatient user" to the front (closes: #309134, #309556) * README.build-sources: add memo to use -ICVS in the future fai (2.8.2) unstable; urgency=high * remove old unused scripts from cvs source * updatebase: use mktemp for creating temp file, this closes a serious security bug (closes: #307838) * fai: create dir only during initial installation, fixes a critical bug (closes: #307632) * subroutines-linux: do not "mount --bind" when FAI_ROOT=/, closes important bug (closes: #307631) fai (2.8.1) unstable; urgency=low * only minor bug fixes, no major changes to the code, but a lot of them * make-fai-bootfloppy: add missing $ to variable (closes: #304824) * install_packages: add missing aptitude-r call (closes: #305544), add $qopt and $devnull, used when install_packages is called with verbose from fai-mirror * fai-mirror: fix wrong path (closes: #304179), remove needless test if mkinitrd-cd is available, add $qflag, return if $pkglist is empty, not when $addpackages is empty * fai: added $COLOR_FAI_LOGO, which is off when doing softupdate * fai-cd: add test if mkinitrd-cd is available * fai-savelog: set FAI_ACTION to noaction if undef (closes: #305283) * savelog.LAST: add error message to global pattern * make-fai-nfsroot.conf: remove --arch i386, since debootstrap now uses dpkg --print-installation-architecture instead of another call which needed gcc, change comment * make-fai-nfsroot: split i386 and amd64 packages list, remove packages from amd64 which are not available (closes: #306264) * menu.lst/postinst: use BOOT_PARTITION instead of ROOT_PARTITION (closes: #305861) * install_packages.8: remove option -f * make-fai-nfsroot.8: remove wrong information (closes: #304980) * control: add grub to suggests * rules: make hooks and postinst script executable * FAIBASE/10-misc: do not call tune2fs when using 2.6 kernel. This may hang the system * fr.po: added french debconf templates (closes: #306232) * de.po, templates.pot: remove fuzzy lines * README.disk_config: add notes about boot option * debian/postinst: replace sed -i with perl -pi -e since old sed does not support -i * fai-setup: change informational message * fai-mount-disk: mount file systems read only * 50-host-classes: move host specific class definitions to new script * fai-guide.sgml: fix typos and other minor mistakes fai (2.8) unstable; urgency=high * remove ext2resize from $packages (closes: #303565) * major rewrite of simple examples (closes: #290554) * make-fai-nfsroot.8: add info about nfsroot location (closes: #303915) * fai-guide.sgml: major update for new release * setup_harddisks: add support for device names disk1 and disk2, reformat some output, print some messages only if $verbose is set * rcS_fai: renamed to fai, add manual page fai.8 * fai: add $rundir, remove unused dirs at the end, call set_disk_info before task_defvar, add variable $DO_INIT_TASKS, add code for softupdate support, rename rcS.log to fai.log, add copyright message to usage(), add option -N --new, always test $DO_INIT_TASKS with -eq * apt.conf: replace force-confnew with force-confdef * make-fai-nfsroot: use dpkg --print-installation-architecture instead off uname -m, add arch dependent package name to, remove "" for matching * in KERNELPACKAGE, test if $KERNELPACKAGE is empty $NFSROOT/var/tmp/packages.arch, use shadowconfig instead of pwconv * make-fai-nfsroot.conf: comment FAI_LOCAL_REPOSITORY, set FAICLIENTS to local class-C network, remove ext2resize until available again * subroutines: add task softupdate, add support for softupdate, add $DO_INIT_TASKS, minor changes in get_fai_cvs(), use swapoff -a for disabling swap partitions, test $DO_INIT_TASKS always with -eq, use /var/log/fai/FAI_CLASSES * subroutines-linux: script prepare_apt is now updatebase, add support for softupdates, add task_prepareapt, sliently skip task_chboot if LOGUSER is undefined, $disklist now sorted, print setup_hardisks output also to console * install_packages: cleanup of multiple packages with different install/remove operations, add installable(), check if a package is listed in a package index and not only in the dpkg database, add force-confdef and force-confold to apt-get, install_packages.conf unused, remove -f, sub read_config_file * fai-do-scripts: now executing scripts matching [0-9[0-9]*, S[0-9]* also supported for backwards compatibility * fai-mirror: add check if mkinitrd-cd and apt-move are installed, arch dependent packages defined in make-fai-nfsroot, replace sed with bash builtin, add $debdist, return if $addpackages is empty * fai-chboot: change message * load_keymap_consolechars: much simpler code * create_ramdisk: create /tmp/var/run/fai * fai.conf: installserver will be set by debconf, by default LOGUSER is unset * sources.list: insert MIRRORHOST which will be replaced by debconf data * Makefile: install device2grub to new location, rename rcS_fai to fai * control: add libapt-pkg-perl for install_packages, remove dependency on nfs, because fai can also only be used for softupdate * postrm: cleanup debconf data on purge * postinst: use debconf * rules: add dh_installdebconf call, remove chmod of rcS_fai * utils/mkdebmirror: --ignore-missing-release --ignore-release-gpg fai (2.7) unstable; urgency=high * closes grave bug, make-fai-nfsroot.conf: replace raidtools2 with mdadm (closes: #299952), move cfengine from $packages to $NFSROOT_PACKAGES * closes important bug, make-fai-nfsroot: use resolv.conf from install server during creation of nfsroot (closes: #301230) * rcS_fai: set classes before fai-class is called (closes: #301179), set hostname if HOST was specified on the commandline * fcopy: fix wrong variable name * package_config/KERNEL_SOFT: replace `echo $kernelversion` in package name with 2.6.8 * fai-guide.sgml: fix a lot of broken http links, add info for fai-cd * install_packages: add setdownloadonly() and $opt_d * conf/install_packages.conf removed * fai-mirror: source make-fai-nfsroot.conf, add add_base_packages(), allow - in class names, add option -a, call install_packages with -d, add PKGCOMP for apt-move.conf, do not exit 9 if $FAI_DEBMIRROR is not defined, log aptitudes actions to /dev/null * fai-mirror.1: add option -a * install_packages.8: add option -d * add fai-cd script for creating a bootable FAI CD image (closes: #265444) * add fai-cd.8 man page * add conf/menu.lst: needed by fai-cd * control: add mkinitrd-cd to Suggests, add Build-Depends-Indep on debhelper greater version 3 * class/DEFAULT.var: use kernel-image-2.4-386 as default kernel package * fai-savelog-ftp: remove $ENV{LOGREMOTEDIR} from mkdir since we just cd to it fai (2.6.7) unstable; urgency=low * add task debconf (closes: #136503) * new script fai-debconf * add manual page fai-debconf.1 * control: use nfs-kernel-server by default (closes: #293876) * QUESTIONNAIRE: minor update * packages_config/XFREE: remove some -dev packages * packages_config/SERVER: remove symlinks * packages_config/DEFAULT: add debconf-utils * replace backticks with $() * fai-do-scripts: use local variables, make it a bash script * fai-guide.sgml: update for debconf support, add aptitude in install_packages config fai (2.6.6) unstable; urgency=medium * 06hwdetect.source: add comment, add class NVIDIA which is not currently used, bug fix: correct SCSI detect 2.6 kernel, replace backticks with $(), discard error messages from modprobe, enable dma mode for ide devices (with fai CD it was not enabled) * make-fai-nfsroot: use "" when testing variables, add link for discover, remove resolv.conf created by debootstrap (closes: #281264), create list of all packages in base.tgz, add packages for x86_64, remove unneeded files in $FSROOT/etc/fai * ftar: bug fix do not do recursive removal if $target/$dir is / * fai-guide.sgml: fix typos (closes: #287150), add info about /files/packages/ (closes: #290359) * add task_savelog to die() (closes: #290526) * make-fai-bootfloppy: bug fix: support /media directory, choose last installed kernel if more than one kernel is installed in nfsroot * setup_harddisks: bug fix: redefined mountpoint are too often reported, allow space before primary and logical keyword * create_ramdisk: bug fix: make directory for discover * fai-setup: typo in variable name (closes: #289271), reload nfs server instead of restart, read make-fai-nfsroot.conf, use variable FAICLIENTS * fai-class: bug fix: option -T hangs the script, make it a bash script, replace backticks `` with $(), bad variable name in testclass() * share/subroutines: bug fix: cd to / so umount -a will not fail too often, kill sshd before rebooting, umount $target/proc before umounting all otger file systems, copy FAI_CLASSES variables.sh disk_var.sh to $target/var/log/fai * fai-chboot: bug fix: do not fail on subnet IP addresses, test if host lookup is possible before calling $h->name (closes: #290007) * install_packages: add option -f, add command{pending}, command{dpkgc}, print max number of packages only in verbose mode * install_packages.8: add option -f, add info about install_packages.conf * new config file: install_packages.conf, used for fai-mirror(1) * rcS_fai: remount / with noatime, set variables if booting from CD, set hostname to $HOST it was unset, remove unused variable, minor code cleanup * DEFAULT/S01: add copying of /etc/modules * DEFAULT/S10: add message where grub writes boot record * class/01alias: add class FAICD if running from fai CD, add classes for host gnomehost (used by fai-cd) * package_config/DEMO: replace install with aptitude * make-fai-nfsroot.conf: add variable FAICLIENTS, remove package dpkg-dev * script/LAST: enable shadow passwords for passwd and group in examples, eject cdrom when running from fai CD * task_sysinfo: call hwinfo if available * fai-savelog: do not save remotely if $LOGSERVER is not set * new command fai-mirror and manual page fai-mirror.1 * .../XF86CXonfig-4/DEFAULT: change HorizSync, use pc105 keyboard model * .../XF86CXonfig-4/MATROX: removed because DEFAULT works now fai (2.6.5) unstable; urgency=medium * install_packages: bug fix. Do not remove package names which are search patterns for aptitude, read /etc/fai/install_packages.conf if it exists * hooks/savelog.LAST: add patterns that will be ignored * fcopy: add support for svn and arch, add option -I, use variable $FCOPY_IGNOREDIRS if set * fcopy.8: add option -I fai (2.6.4) unstable; urgency=medium * add missing Beowulf examples * fai-guide.sgml: fix error in link * fai-start-stop-daemon: add short options, because so some init.d scripts use them * rcS_fai: do not use -t when remounting * make-fai-nfsroot: print error when $KERNELPACKAGE is not found, add a package for alpha architecture * share/subroutines: do not dump variable $HOME and $PWD to variables.sh * doc/QUESTIONNAIRE: typos, add example for answer * install_packages: use warn instead of print for warning and verbose messages, add aptitude support * Fai.pm: add () to subroutine calls * prerm: do not exit when nfs server reload fails (closes: #279024) * setup_harddisks: add $devdisklist to call of sfdisk (closes: #276033) * preparte_apt: divert programs before calling apt-get update * subroutines-linux: redirect stdin of install_packages unless in debug mode (closes: #264727) fai (2.6.3) unstable; urgency=high * subroutines: remove $rootpw from variables.sh (closes: #270871) * update to kernel 2.4.27 * make-fai-nfsroot: force link creation of ifstate (closes: #270463), use /etc/shadow in $NFSROOT * make-fai-makefsroot.conf: add xfsprogs and xfsdump packages, adjust size, install with chmod 0600 (closes: #270666, #271113) * DEFAULT/S10: removed: add auto to /etc/modules * class/DEFAULT.var: use single quotes instead of double quotes, $kappend contains kernel parameters, new default kernel package kernel-image-2.4.27-1-386 * scripts/DEFAULT/S20: remove unused action * packages_config/DEFAULT: add iproute to NETTOOLS * make-fai-nfsroot.8: add info about make-fai-nfsroot.conf, add option -K which first removes all kernels from nfsroot (make-fai-bootlfoppy is broken if multiple kernels are in the nfsroot) * fai-setup: add option -e which does not set up nfs environment, which may hang some production systems for a while * fai-setup.8: add info for new option * Makefile: install make-fai-nfsroot.conf with 0600 fai (2.6.2) unstable; urgency=high * install_packages: fix broken taskinst action, workaround for new tasksel behaviour * DEFAULT/S10: fix broken grub entry for FAI_BOOTPART when two kernels are in the nfsroot * fai-chboot: add option -e the opposite of -r, uses nearly the same code fai (2.6.1) unstable; urgency=medium * catnc() greps through more than one file * changlog messages of fai-setup moved from 2.5.2 to 2.6 * hooks/savelog.LAST: add package names which include the string "error" as ignorepatterns * make-fai-nfsroot.conf: add portmap again, since nis setup needs it * make-fai-nfsroot: add option -k which installs a new kernel for the nfsroot (closes: #256187), /root/.profile sources variables.sh, test if $NFSROOT/prco/self exists before umount, kernel_install() includes all code for installing the kernel, create dir $NFSROOT/var/state only when not already existing, call umount_dirs and reset trap exit for normal finishing script * control: recommends dhcp3-server (closes: #263260), update to standards 3.6.1, remove sp from build-depends * rcsfai.var is not needed any more * share/subroutines: do not dump readonly variables to variables.sh * faireboot: make it a bash script, source variables.sh, source subroutines, send message to faimond * fai-divert: do not execute if dpkg-divert is not available * install_pacakges: add support for tasksel remove, set default number of packages from 4711 to 99 * package_config/COMPILE: replace task c-dev by list of packages names * prepare_apt: make diversion of invoke-rc.d * rules: call dh_clean after make clean * prerm: test if $nfsserver is empty (closes: #263906) * NETWORK/S40: remove /etc/hosts from fcopy list * DEFAULT/S20: add async to export options * fai-savelog: define $HOSTNAME to output of command hostname * subroutines-linux: task_chboot() use `hostname` instead of $HOSTNAME, sndmon() use $sndhostname instead of $HOSTNAME * remove doc/README.package_problems * fai-guide.sgml: add hint about dhcpd/nfsroot (closes: #264486), fix typos fai (2.6) unstable; urgency=low * fai-setup: fix hostname detection when hostname includes a dash -, pass all fai-setup options to make-fai-nfsroot (closes: #255830) * fai.conf: move make-fai-nfsroot specific variables to make-fai-nfsroot.conf * fix typo in lib/get-boot-info (closes: #242739, #239405) * fix link in fai-guide.sgml (closes: #237794) * fix typo in make-fai-bootfloppy.8 (closes: #238608) * make-fai-bootfloppy: change lilo labels in (closes: #248955), check if -s option is IP-address or hostname, new path for stage files, remove install= line for lilo.conf, newer lilo does not need boot-menu.b, added support for old an new lilo * make-fai-nfsroot: add package dmidecode for some archs, add module-init-tools, libapt-pkg-perl, smartmontools, usbutils, lvm2, raidtools2, hwinfo, remove portmap package, jove to nfsroot, do not copy bootsector, use mkelf-linux, new code for creating timezone and localtime (closes: #201440), always show $NFSROOT when copying verbosely, insert newline before adding $FAI_LOCAL_REPOSITORY to sources.list, warning if $FAI_SOURCES_LIST is used, use new make-fai-nfsroot.conf file, divert discover-modprobe, add -q to depmod, create var/state dir, add subroutine fdivert(), use fdivert instead ov ln or mv commands * create_ramdisk: use tmpfs instead of shm, create dir for discover * fcopy: -i always exists with 0 * rcS_fai: if a file /.nocolorlogo exists, do not enable colored logo and let scroll region unchanged * 06hwdetect.source: new call of discover (closes: #248532), be silent when loading modules, use pipe instead of exec for find, mount usbfs after loading an usb module, add $videodrv to additional.var, load different modules when using a 2.4 or 2.6 kernel * 11modules.source: moved into 06hwdetect.source * lib/task_sysinfo: first call discover, then load modules using discover, call smarctl for each disk, call lsusb, print partition table with parted * fai-divert: create dummy script only when dpkg-divert will succeeds * fai-savelog: copy LOGDIR recursively, add remote log method none, add -xdev to find * subroutines: use /proc/uptime to determine installation time, use $() instead of backticks, set terror when error occurs, add catnc(), report FAI_FLAGS in one line, send message to faimond when starting a hook * subroutines-linux: set terror if error, add sndmon TASKERROR, do not copy kernel image and initrd to install server, remove echo command when defining kernel append parameters as variables * faimond: always flush output * fai-chboot: add option -o, special treatment of hostname default, also list default config file when using -l, die with error message if hostname is unknown, remove path from program name * install_packages: add option -L, calling system with array should be more efficient, new code for detecting unknown package names uses AptPkg, add subroutine mkpackagelist(), remove path from program name * bootsector, bootsector.8 removed * class/LAST.var: removed because $hdparm is not needed any more * class/70partition: remove definition of class FAI_BOOTPART * class/01alias: remove unimportant examles, remove catnc definition, remove beowulf example * DEFAULT/S01: remove copying of bootsector, remove our local stuff * scripts/BOOT: grub-install does not probe floppy drive, use bash, replace backtics with $() * hooks/instsoft.SERVER not needed any more * hooks/savelog.LAST: add more messages to ignore * disk_config/SMALL_IDE: remove partition /fai-boot, make / and /var bigger, /usr smaller * package_config/*: adjust package names to sarge distribution * S40: remove NISLPRCLIENT and bootptab stuff * examples/etc/sources.list: remove proposed updates lines * mkdebmirror: mirror woody and sarge in one directory * new FAQ * THANKS: juergen added fai (2.5.4) unstable; urgency=low * DEFAULT/S01,S20: add async option to export lines * fai-guide.sgml: add info how to boot a SUN Sparc, add URL for Sparc * make-fai-nfsroot: add gnu-efi and silo to arch package lists, add sparc64 arch, ppc arch uses vmlinux not vmlinuz * make-fai-bootfloppy: create and use device.map for grub_floppy (closes: #233018), remove unused ip entry for fixed ip addresses, create iso9660 iso image with option -i * make-fai-bootfloppy.8: add option -i and an example for creating a cdrom image * rcS_fai: add prcopyleft() and fstart(), use mkfifo and tee instead of bash special >(), mount sysfs if available * doc/README.disk_config: add info about lazyformat * THANKS: added holger fai (2.5.3) unstable; urgency=low * make-fai-bootfloppy: call grub in chroot environment, so correct libc is used, add option c and F, DHCP is now default boot protocol, be more verbose * make-fai-nfsroot: add option c which sets $cfdir (closes: #219824) add variable nfssize, remove package strace, check if $NFSROOT is set, mkdir $RUNDIR is not need any more, use $cfdir instead of fixed /etc/fai, do not copy fai-chboot to nfsroot, call certain commands in a LC_ALL=C environment, add more verbose messages, new options for mknbi-linux call (closes: #181393), test if FAI_SOURCES_LIST is defined or a sources.list file exists, be verbose when copying important files if option -v is set depmod -a ... || true so it does not stop the whole system * debian/control: replace netboot package with mknbi * debian/dirs: add var/run/fai, remove unused directory utils * debian/prerm: check if $NFSROOT is set, sleep 2 before removing nfsroot * man/make-fai-bootfloppy.8: add new options F and c * man/make-fai-nfsroot.8: add new option c * lib/task_sysinfo: show ide disk geometry remove detect call most text reformated, because subroutine definition removed * doc/Makefile: remove some new tempfiles, add "|| true" to rm so it does not complain * fai-chboot: add option -S, complain when host names are missing for option -r * fai.conf: add packages to the exclude list for debootstrap new name for KERNELPACKAGE add comment how to use NFSROOT_ETC_HOSTS (closes: #219433) remove FAI_SOURCES_LIST examples, use sources.list instead disable FAI_LOCAL_REPOSITORY by default put important variables to the top * examples/etc/sources.list: new file, that shows examples of different access method to the Debian mirror * fai-guide.sgml: describe new handling of sources.list, add manref to make-fai-nfsroot, new line for tftpd in inetd.conf, add info on use without DNS * class/06hwdetect.source: modprobe ide-detect needed for 2.4.24 kernel, remove ide-probe-mod, add isa-pnp * lib/get-boot-info: new code to extract ip parameters, fix problems when one parameter is missing * share/subroutines: islinux() not needed any more, task_chboot: always copy new kernel image to /boot/fai/$HOSTNAME-localboot * apt.conf: replace values yes with true * rcS_fai: new code for task action pipe at the end, new mount option for remounting /dev/root, copyright has one line less * examples/etc/dhcpd.conf: new example for a local 192.168.1 subnet, add nfs mount options to root-path * VERSION: default is kernel 2.4.24 * chkdebnames: most parts rewritten * setup_harddisks: typos fai (2.5.2) unstable; urgency=low * rcS_fai: print copyright message in red, set scroll region, add actimeo for nfs mounts * fai.conf: add exim4 packages to exlude list * make-fai-nfsroot: add netcat to nfsroot; remove libdetect0 from package list (closes: #219420), copy preferences from /etc/fai (closes: #219824), use apt-get dist-upgrade instead of upgrade, do not create base.tgz in $NFSROOT/.. and then move file * setup_harddisks: add -f tp mkfs.xfs option (closes: #219439) * faimond, faimond.8 added * subroutines-linux: add sndmon subroutine, try to connect faimond, on success, enable monitor feature, test if $ret is empty, make it a bash script, show nc output only when debugging * fai-guide.sgml: typo in URL * class/01alias: use other IP-addresses for exmaples * lib/fai-mount-disk: extend regex to support devfs names (closes: #218541) * scripts/DEFAULT/S01: create S61hdparm if $hdparm is not empty, set cdromdevice to SCSI if available, add code for lprng setup if NISLPRCLIENT and LPD * class/LAST.var: do not set a default value for FAI_ACTION, change in comment * add postrm file to remove all files when purging * subroutines: add sndmon messages, script should be bash script, change debug code in ifclass * install_packages: remove pinning info before checking for misspelt package name, usage() points to the man page * fai-setup: chown of /boot/fai * utils/softupdate, lib/prepare_apt: use dist-upgrade * debian/compat created and debian/conffiles removed * scripts/DEFAULT1/S20: add noatime,actimeo=900 options, add linux logo to login messages * sunos/makefile: add fai-savelog to solaris tarball * hooks/savelog.LAST: added "unexpected IO-APIC" to ignore pattern * Fai.pm: test if /var/adm/messages exists * lib/task_sysinfo: add dmidecode call, add sfdisk -d call, change fdisk call fai (2.5.1) unstable; urgency=low * share/subroutines: use $SECONDS instead of date +%s * fcopy: add usage info for -M * add chapter "advanced FAI" to fai guide * dhcclient-perl: add new names to mapping table * lib/create_ramdisk: start devfsd if needed * share/subroutines-linux: task_chboot should return, not exit; copy initrd.img to install server if needed for the kernel * make-fai-nfsroot: add $NFSROOT_ETC_HOST before calling apt-get upgrade; remove mkdir of fai_config * package_config/DEFAULT: add nfs-common for all * examples/simple/scripts/DEFAULT/S01: add -n to head command (closes: #205547) * sunos/scripts/SUNOS/S05: add -t to expand * sunos/bin/newfs:chown -> chmod * make-fai-bootfloppy: use perl one liner to get IP and host name, call grub executable from nfsroot * fai-guide.sgml: fix typos (closes: #204763) * package_config/DEFAULT: always install nscd package for speedup * Makefile: remove mv of NETWORK1; add variable libfiles * rcS_fai,fai-setup: add async to mount and exports options fai (2.5) unstable; urgency=low * add script fai-chboot * add script fai-savelog-ftp * add vaiables to fai.conf: FAI_LOGPROTO LOGSERVER LOGPASSWD; used by fai-savelog-ftp, localhost is default for $installserver * make-fai-nfsroot: add option -f, change to #! /bin/bash, copy resolv.conf to $NFSROOT, add libnet-perl, trap errors, add bad_exit() * make-fai-bootfloppy: bug fix, add root=/dev/nfs (closes: #198568), remove ip=both for fixed ip-address, change to !# /bin/bash * make-fai-bootfloppy.8: add example with fixed IP address * changes in package_config, added XFREE class * install_packages: add force-yes to apt-get install, remove warnings from apt-cache output, limit number of packages used at once using $MAXPACKAGES * bug fix: /proc/cmdline info is trashed when reading a long kernel command line * make-fai-nfsroot: create package list that depends on architecure, make symlink for syslogd * scripts/BOOT: noew code for generating grub entries, add grub entry for memtest; add entries for re-installation * scripts/DEFAULT1/S01: do never fsck ext3 partitions; add -M to some fcopy calls; add user demo; use fcopy for /etc/kernel-img.conf * scripts/DEFAULT1/S20: enable tcp connections for X server for CS_KOELN * fcopy: add option -M and -b; add variables FCOPY_LASTLOG and FCOPY_UPDATELOG; remove substring from an ewarn call * subroutines: append $FAI_ACTION to file $rcsfaivar; faiend must not reboot for SunOS * subroutines-linux: add support for fai-chboot * hook faiend.LAST renamed to savelog.LAST * setup_harddisks: add XFS filesystem support, add sfdisk environment variable * fai-savelog: make a bash script; use -exec instead of xargs because of sunos version of xargs * fai-class: remove comment lines also in the file $HOSTNAME * class/{dom,kueppers}: add NOSECURETTY * lib/get-boot-info: print warning message if no boot protocol was detected, add network info to boot.log if booting from floppy with fixed IP address * chkdebnames: bug in regex fixed * lib/create_resolv_conf: use resolv.conf from installserver if $DOMAIN is not defined * lib/task_sysinfo: call programm sysinfo if available * scripts/NETWORK1/S40: copy /etc/network/interfaces /etc/hosts /etc/networks using fcopy, add -i to fcopy calls * scripts/DEFAULT1/S10: create etc/hostname only if fcopy fails, add password protection to grub menu * class/01alias: use classes from file demo if hostname is demohost; add catnc(); use catnc instead of cat * class/11modules.source: now uses code from DEFAULT.mod * examples now live in /usr/share/doc/examples{simple,advanced} * utils move back to doc/examples/utils directory * utils/rshall: add exclude function * class/06hwdetect.source tries to detect video card * Makefile: do not create symlinks (closes: #195377), new directories for examples * rcS_fai: compute and print installation time in seconds * dhcpd.conf: remove unused commands fai (2.4.1) unstable; urgency=low * set correct year in fai guide * dhcp3 support * make-fai-bootfloppy: force ext2 when mounting floppy, blank first sector * make-fai-nfsroot: FAI_BOOT determines which boot protocol to set up, fix ownership of $NFSROOT/root/.ssh/authorized_keys (closes: #183989) * use ext3 in most disk_config samples * Makefile: do not copy executable twice * minor changes to packages_config/AUDIO * install_packages: call "apt-get clean" to remove unused package files * fai.conf: add FAI_BOOT, add SERVERINTERFACE, add example how to access a mirror created by mkdebmirror via HTTP * S20: bug fix, move inserting $rootpw from GERMAN to any section * fai-class: add . to PATH; test operator == replaced by -eq * DEFAULT/S01: new location for bootsector executable * dhclient-perl: use short hostname * new script fai-do-scripts, contains the do_script() subroutine and task_configure code * QUESTIONAIRE: added questions fai (2.4) unstable; urgency=low * not alles changes in templates/* are listed here, there are to many * use command fai-class to define classes, fai-class writes status of every script to status.log * make variables local or unset them after use, unset function definitions after use * add config files for XFree86 4.1 * many changes in the package_config files * bootsector: do not use dpkg to get hardware architecture, add man page * a lot of spelling mistakes corrected. Thanks Era! (closes: # 155735) * control: correct name for Debian distribution (closes: #150887) * new templates: hooks/partition.kueppers.source, hooks/faiend.LAST package_config/WWWKIOSK, class/WWWKIOSK.var, package_config/paeffgen * make-fai-nfsroot: add -l to tar when creating base.tgz (closes: #151173), add noatime to mount, new mknbi-linux options, check for existence of mknbi-linux (closes: #167900), replace $UID with `id -u`, do not call rdev, remove packages that are already installed by debootstrap, new option for mknbi-linux, always do setup for dhcp and bootp, write PATH to /root/.profile, correct location for syslog.conf, copy sources.list from /etc/fai if available, add diversion for discover, add rsync, ssh to nfsroot, do not die when mknbi-linux is missing, do not create device nodes (closes: #174844) * class/70partition: bug fix. Use the same file as setup_harddisks to determine classes which depend on partitions * scripts/*: convert some shell code to cfengine code, do not use fcopy if only a few lines has to be changed * scripts/BOOT: echo each kernel module to a seperate line in, add supoprt for kernel using initrd, use fcopy for lilo.conf and menu.lst, /etc/modules, lilo.conf can also boot the old kernel, add initrd option when using grub * scripts/DEFAULT1/S20: use declaration directories, add WWWKIOS entries * scripts/LAST: add call: apt-get -f install, copy sources.list * scripts/USB removed, now made in S20 * scripts/FAI_BOOTPART: missing $target added, remove rdev call * share/subroutines*: better regex for matching disks in /proc/partitions, task_sysinfo, prepare_apt, add link last to last action performed, new variable $LOGSERVER, list_disks move to a external script, disable debugging output in ifclass(), write exit status of scripts and hook to status.log and stdout, create_resolv_conf now an external script, write exit status of hooks to status.log, do not define $revclasses, save variables to variables.sh, subroutine task unsets the definition of the executed task after its execution, source hooks/subroutines now in fai_setup, remove task_backup, move load_keymap_consolechars to rcS_fai * share/subroutines-linux: remove diskandsize(), disk_info now called set_disk_info() which calls externel script * task_instsoft(): mount --bind /fai /tmp/target/fai so packages in /fai/files/packages can be installed using apt-get * new script disk-info prints a list of all disks and their sizes * new script get-boot-info contains subroutines for getting info via BOOTP or DHCP, also detects network devices * DEFAULT/S01: install $addpackages with one dpkg call, installation of default kernel creates symlinks in /, make /root accessable only by root, use fcopy -r to copy all dot files for the root account, do not copy sources.list * ftar: conditional rm -rf, echange in error message * test if mknbi-linux is available (closes: #167900) * make-fai-bootfloppy: add grub support, code reorganized and split into more subroutines, rmdir lost+found and copy fewer files to get more space on the floppy, replace $UID with `id -u`, create a generic boot floppy independant of the boot protocol, use one image with multiple append parameters, new options -v, -d, -l, -g * bug fix: hooks can now skip its task again * NFS file systems are also mounted with noatime. * rcS_fai: create var/run/sshd directory, /usr/local/{bin,sbin} at the very beginning of PATH, add /usr/lib/fai to PATH, PATH is defined before doing anything else, create_ramdisk is an extern script, new options for remounting /, remove some unused variables * task_sysinfo now a separate script; add lsmod call, new test if executables are available is using which, move log file from kudzu to $LOGDIR * adddivert, mkdivert, rmalldivert, rmdivert moved to the new script fai-divert * fai-divert: be quiet unless debug is set * mount_local_disks, umount_local_disks, fstab_mount move to new script fai-mount-disk * Fai.pm and subroutines* are moved from lib/ moved to share/ * Fai.pm: call disk-info to get size of all disks * fai-setup: ssh-keygen needs option -t (closes: #156947), test if nfsserver is set * fai.conf: correct line containing proposed-updates, new variable FAI_LOCAL_REPOSITORY, new directory for debian mirror, add architecture to debootstrap options, move some nfsroot packages to make-fai-nfsroot script, add $FAI_LOCATION, remove FAI_SHAREDIR * setup_harddisks: allow more that 3 primary partitions, new regex for matching disks and partitions, write less info to stdout, do not write info to stdout which is written to a separate file, name of partition table changed from hda.sfdisk to partition.hda * add sources.list in conf, it's used when FAI_SOURCES_LIST in undefined * fai_modules_off: add block-major-{104,105} * remove debian/undocumented * install_packages: add option -l, only print the list of packages, add option -h, -t does not executes the commands, support for classes listed after command, change in echo strings, add option to manual * disk_config/: make /fai-boot partition larger, CS_KOELN use more flexible values for partitions sizes * add suffix -386 to name of kernel-image package * save_log_*(): do not create loops in symlinks, moved to external script fai-savelog * apt.conf: add option force-confdef to dpkg call * 06hwdetect script loads SCSI and IDE modules and prints /proc/scsi info, less messages in verbose mode, detect SCSI devices correctly * move mount2dir to lib directory, echo different messages for verbose and debug flags * fcopy bug fix: option -r does not work correctly, when no matching file for a class is found, do not exit with error, add option -i and -B, use $LOGDIR, set $ROOTCMD for postinst scripts * templates/package_config: use nfs-kernel-server * debian/rules: use dh_installman to install manual pages * ATA33.var no longer needed, no tuning via hdparm in *.var * lots of updates and additions to the manual fai (2.3.4) unstable; urgency=low * default name for fai kernel-image has changed fai (2.3.3) unstable; urgency=medium * enable use strict in perl scripts * remove some potato specific code * typo fixed (closes: #143272) * add some packages to SERVER * copy id_dsa* and id_rsa* files in make-fai-nfsroot * debian/rules uses DH_COMPAT=3 * add packages to AUDIO, changes in SERVER * potato specific code removed * faireboot kills syslogd before booting * change symlink of rcS_fai (closes: #146430) * print warning before removing nfsroot * do not compress pdf files in /usr/share/doc/ fai (2.3.2) unstable; urgency=low * bug fix: THISLOG is unused variable * added save_log_*(): only remove files (-type f added) * load net-pf-1 kernel module (unix socket) * minor changes in package_config files * added script class/S03hwdetect.source * dhclient-perl: dhcp use host_name * faireboot: use rmalldivert for removing diversions * $divertlist not used any more; use dpkg-divert --list * setup_harddisks writes list of swap devices; they are enables using swapon fai (2.3.1) unstable; urgency=low * bug fix in make-fai-bootfloppy, fcopy * first letter in description now uppercase (closes: #142017) * add option -m to make-fai-bootfloppy * save keymap to boottime.kmap.gz * add many comments to shell scripts * copy $loguserhome/.ssh/*.pub files to $NFSROOT/root/.ssh * packages from $addpackages are also installed to the system if they exist in $FAI/files/packages/ * minor changes in package_config files * move task_confdir() to subroutines-linux * added create_resolv_conf(); code removed from task_confdir * jobsrunning() subroutine for linux and solaris added * faireboot: source fai.conf and subroutines-$OS_TYPE * subroutines-linux: additional way to determine all ethernet devices * move some packages from $NFSROOT_PACKAGES into make-fai-nfsroot * add more .ssh/ files to nfsroot * $FAI_SUBDIR renamed to $FAI_SHAREDIR * rcS_fai: add $osname * write some variabel definitions to $rcsfaivar (used for remote logins) fai (2.3) unstable; urgency=low * default configurations are for Debian 3.0 * add auto stanza to /etc/network/interfaces (closes: #114627) * now depends on debootstrap (closes: #128457) * set DEBIAN_FRONTEND to "noninteractive" (closes: #131855) * Fai.pm now copied to new location if woody in use (closes: #125839) * package upgrade does not remove nfsroot (closes: #123463) * many files: use $FAI instead of fixes /fai, config file moved to from /etc/fai.conf to /etc/fai/fai.conf * store log files to $LOGDIR (default to /tmp/fai), can be set in fai.conf * read also subroutines-$OS_TYPE file * fai.conf: moved to /etc/fai/fai.conf variables removed: FAI_ARCH, UTC (now in class/*.var), KERNELVERSION variables added: FAI, FAI_DEBOOTSTRAP_OPTS * make-fai-nfsroot sets up pxelinux environment automaticly determine kernel version; added get_kernel_version(), copies /etc/fai/.cvspass to nfsroot, can now write the floppy image to a file added call_with_stamp subroutine, for easy creation of stamps Tue Jan 29 20:19:27 CST 2002 -- Chad Walstrom