Package: fai-server
Version: 3.4.7
Severity: normal

hi,

I'm falling into trouble with fetching security updates when running fai-mirror.

/usr/bin/fai-mirror first set sources.list from /etc/fai/apt/sources.list as:

# TODO: use -p to preserve sources.list
perl -p -e 's/file:/copy:/' $cfdir/apt/sources.list >
$aptcache/etc/apt/sources.list

but after that, it (default behavior) calls add_base_packages which
overwrites as:

add_base_packages() {
~
    # now use sources.list for debootstrap packages
    echo "$FAI_DEBOOTSTRAP" | awk '{printf "deb %s %s main\n",$2,$1}'
| perl -p -e 's/file:/copy:/' > $aptcache/etc/apt/sources.list
~
}

I think it would be better to change redirect '>' to '>>' in add_base_packages'.

regards,
--
KURASHIKI Satoru

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fai-server depends on:
ii  debootstrap              1.0.26+squeeze1 Bootstrap a basic Debian system
ii  fai-client               3.4.7           Fully Automatic Installation clien

Versions of packages fai-server recommends:
ii  fai-setup-storage   3.4.7                automatically prepare storage devi
ii  isc-dhcp-server [dh 4.1.1-P1-15+squeeze2 ISC DHCP server for automatic IP a
ii  libproc-daemon-perl 0.03-2               Run Perl program as a daemon proce
ii  nfs-kernel-server   1:1.2.2-4            support for NFS kernel server
ii  openbsd-inetd [inet 0.20080125-6         The OpenBSD Internet Superserver
ii  openssh-client      1:5.5p1-6            secure shell (SSH) client, for sec
ii  openssh-server      1:5.5p1-6            secure shell (SSH) server, for sec
ii  syslinux-common     2:4.02+dfsg-7        collection of boot loaders (common
ii  tftpd-hpa           5.0-18               HPA's tftp server

Versions of packages fai-server suggests:
ii  apt-move                  4.2.27-1+b8    Maintain Debian packages in a pack
ii  aptitude                  0.6.3-3.2      terminal-based package manager (te
ii  debmirror                 1:2.4.5        Debian partial mirror script, with
ii  genisoimage               9:1.1.11-1     Creates ISO-9660 CD-ROM filesystem
ii  perl-tk                   1:804.029-1+b1 Perl module providing the Tk graph

-- Configuration Files:
/etc/fai/make-fai-nfsroot.conf changed:
FAI_CONFIGDIR=/srv/fai/config
FAI_DEBOOTSTRAP="squeeze http://cdn.debian.net/debian";
FAI_DEBOOTSTRAP_OPTS="--exclude=info"


-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to