Bug#305362: move to cfengine2

2006-06-11 Thread Thomas Lange
My plan is to switch to cfengine2 (be)for the etch release.
-- 
regards Thomas


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



Bug#310746: bug also valid for cfengine2?

2006-06-11 Thread Thomas Lange
I'm asking myself if this bug (of cfengine) also appears with
cfengine2? If not, we can close this bug, when FAI has switched to
cfengine2. Can anyone check cfengine2 ?
-- 
regards Thomas


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



Bug#292280: integrating d-i components

2006-06-11 Thread Thomas Lange
IMO it's not that easy to integrate any of the d-i components. Some of
them depend on some special d-i infrastructure (like special libraries
that are only used in d-i or r/w access to some directories), that are
not availabe during a FAI installation. Also, the whole d-i is running
in a ramdisk (everything is writeable), FAI is using a (mostly) read
only nfsroot.

We like to use partman from d-i for FAI in the future but even that
will be a lot of work, since it has some ugly (IMO not really needed)
dependencies. Let's have a look at the dependencies of
partman_63_i386.udeb

Depends: libc6 (= 2.3.2.ds1-4), libparted1.6-12 (= 1.6.0),
libparted1.6-udeb, partman-partitioning, partman-target, archdetect,
harddrive-detection, di-utils-mapdevfs 

I hope you'll get the idea of the problems with d-i components.

-- 
regards Thomas


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



Bug#336644: $SERVER is normally defined

2006-06-11 Thread Thomas Lange
by default the command sndmon uses the variable $monserver. This is
the name of the machine to which the messages should be sent. If this
variable is not defined (mostly, because it's not set by default, but
you can define it yourself), it uses the value of $SERVER which is set
by get-boot-info().

IMO we should close this bug.
-- 
regards Thomas


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



Bug#369265: new packages installed

2006-06-13 Thread Thomas Lange
 On Tue, 13 Jun 2006 19:49:49 +0200, Enrique de la Torre Gordaliza [EMAIL 
 PROTECTED] said:

 I have installed new packages built from svn and the problem continues. 
Same 
 RPC error.

Please give me your boot.log.

-- 
regards Thomas


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



Bug#369265: boot.log

2006-06-14 Thread Thomas Lange
 On Wed, 14 Jun 2006 12:14:40 +0200, Enrique de la Torre Gordaliza [EMAIL 
 PROTECTED] said:

   Installation stops at RPC error and I dont have shell access. How can I 
read 
 the /tmp/boot.log or dmesg from the client? Any boot parameter?

 This is an v20z
Yes, I know those machines. I've tested the fai 2.10.2 (which was
released some minutes ago) with three network devices, and I had no
problems. But I also had problems with the v20z. IMO this is because
the kernel semms to have another order of the network devices, than
when doing PXE boot. So PXE boot boots from eth0 (for e.g. maybe the
upper NIC), but then the kernel thinks the lower NIC is eth0. So the
upper will become eth1 and no network connection is available any
more. IMO there was another thread on this problem on the FAI mailing
list. Currently I have no real solution for this.

-- 
regards Thomas


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



Bug#373587: fai-nfsroot: RPC call returned error 101 on v20z

2006-06-14 Thread Thomas Lange

To see which network card is used by the second dhcp call, please edit
the lib/get-boot-info script in your nfsroot. Locate the line:

dhclient -lf /dev/null -cf /etc/dhcp3/dhclient-fai.conf -sf 
/etc/dhcp3/dhclient-fai-script $netdevices $bootlog 2 $LOGDIR/dhclient.log

and remove the redirection of stdout and stderr, so you will see those
messages on the terminal. Maybe add a set -x before this line. I hope
that you can see the MAC address of the interface and its name (eth0
or eth1) which is activated by this dhcp call.

-- 
regards Thomas


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



Bug#373587: fai-nfsroot: RPC call returned error 101 on v20z

2006-06-14 Thread Thomas Lange

Maybe this helps:

http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames

Try ether=0,0,eth0 (or netdev= which is the same) as kernel parameter
(you can give it with fai-chboot).

You have to force the kernel not to activate the oTher NIC, which is not
defined in dhcpd.conf. The command nameif can't be used, because the
interface is already up, and we can't shut if down because of our
nfsroot from remote. 
-- 
regards Thomas


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



Bug#373587: fai-nfsroot: RPC call returned error 101 on v20z

2006-06-15 Thread Thomas Lange
IMO you can enter the network card BIOS, and disable the PXE
booting. Currently I do not know how to enter it (ecom uses
atl-ctrl-b, intel uses ctrl-s). THere you should may select boot from
local disk first. Maybe this disables the MBA (or PXE) bootig from
this NIC. So it should be possible to activate only one of your NIC's
for PXE booting.
There's a MS DOS programm called b57udiag which can enable MBA for
broadcom cards: 
http://manuals.fujitsu-siemens.com/serverbooks/content/manuals/html/broadcom/dosdiag.htm

Hope this helps.
-- 
regards Thomas


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



Bug#369265: maybe not RC?

2006-06-01 Thread Thomas Lange
I'm not sure if this bug is really RC. Please specify in more details
what you mean by saying the installation now fails. What is the error
message. Does the make-fai-nfsroot call fail or the installation
itself?

A solution may be to use the -cf and -sf (man dhclient3) flags for
specifying different files instead of using dpkg-divert.
-- 
regards Thomas


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



Bug#385613: fai-kernels: Missing ethernet driver sk98lin on 2.6.16-fai, Marvell gigabit cards don't work

2006-09-01 Thread Thomas Lange
sk98lin is enabled, but maybe the two others are missing for your hardware.

# CONFIG_SKGE is not set
# CONFIG_SKY2 is not set
CONFIG_SK98LIN=y

-- 
regards Thomas


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



Bug#381494: (no subject)

2006-09-02 Thread Thomas Lange
Yes, IMO it's also usefull on amd64. I think all (or nearly all)
network drivers  that we use on I386 are also useful on amd64.
-- 
regards Thomas


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



Bug#384624: bug affects make-fai-bootfloppy

2006-08-25 Thread Thomas Lange
This bug does not affect make-fai-nfsroot but make-fai-bootfloppy. But
I can confirm this bug. It will be fixed soon.
-- 
regards Thomas


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



Bug#380085: fai-setup should not always setup rsh/ssh on install server

2006-07-27 Thread Thomas Lange
Package: fai-server
Version: 2.10.5
Severity: minor

fai-setup should not set up rsh/ssh on install server if LOGSERVER if
not the install server. This can't deb determined by the hostname or
ip address, since it may be different on a server with multipli
networks cards (and different hostnames for each).

Maybe add a new option to fai-setup.
-- 
regards Thomas


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



Bug#380611: kernel modules for iproute command missing

2006-07-31 Thread Thomas Lange
Package: fai-kernels
Version: 1.11.1
Severity: wishlist


If you want to use the iproute command the kernel needs additional
modules. From the iproute packages decription:

  At least, the options CONFIG_NETLINK and CONFIG_NETLINK_DEV (or
  CONFIG_RTNETLINK) must be compiled into the running kernel.

I think we can add them as loadable modules.
-- 
regards Thomas


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



Bug#380629: setup_harddisks does not preserve partition without mount point

2006-07-31 Thread Thomas Lange
Package: fai
Version: 2.10.5
Severity: normal
Tag: patch
setup_harddisks does not preserve partitions with no mount point.


From: Alexius Ludeman [EMAIL PROTECTED]
when the partition config read:
  primary  - 9000-   preserve4; preserve

mke2fs would still execute.  This patch should solve this.

*** setup_harddisks 2006-07-25 11:43:41.0 -0700
--- /usr/sbin/setup_harddisks   2006-07-25 11:10:27.0 -0700
***
*** 784,790 
$mountpointname = $mountpoint;
}
# preserved partition
!   if ( ($mountpoint =~ /^no/) || ($MPPreserve{$mountpoint} eq
yes)  ($MPOptions{$mountpoint} !~ /\bformat\b/i)){
print Preserve partition $device;
  if ($mountpoint =~ /^no$1/){
  print  with no mountpoint\n;
--- 784,790 
$mountpointname = $mountpoint;
}
# preserved partition
!   if ( ($MPPreserve{$mountpoint} eq yes) 
($MPOptions{$mountpoint} !~ /\bformat\b/i)){
print Preserve partition $device;
  if ($mountpoint =~ /^no$1/){
  print  with no mountpoint\n;
-- 
regards Thomas


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



Bug#380629: setup_harddisks does not preserve partition without mount point

2006-07-31 Thread Thomas Lange
I'm not sure if the patch really solves this problem. Maybe it
preserved ALL partitions without a mount point. Someone has to test this.
-- 
regards Thomas


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



Bug#380629: additional log file

2006-07-31 Thread Thomas Lange
Additional log file:


format
setup_harddisks version 0.38fai
Probing disks:  /dev/sda /dev/sdb
Disks found: sda sdb

Using config file: /fai/disk_config/2_DISKCOUNT
Mapping disk name disk1 to sda
Mapping disk name disk2 to sdb
Creating partition table: LC_ALL=C sfdisk -q  /dev/sda 
/var/log/fai/current/pa
rtition.sda
LC_ALL=C sfdisk -q  /dev/sdb  /var/log/fai/current/partition.sdb
Creating file systems:
Make Extended 2/3 Filesystem:
  mke2fs -q -j /dev/sda1
  mkswap  /dev/sda2
Make Extended 2/3 Filesystem:
  mke2fs -q -j /dev/sda3
Make Extended 2/3 Filesystem:
  mke2fs -q /dev/sda4
Make Extended 2/3 Filesystem:
  mke2fs -q /dev/sdb1
Write fstab to /var/log/fai/current/fstab
Write FAI variables to file /var/log/fai/current/disk_var.sh

# 
# standard OS install
#
# type mountpoint size in mb [mount options] [;extra options]
# primary|logical mountpoint|swap|- size in mb|preserveNo
[fstab-options][;# extraordinary options]

# use -c if you want blocktest testing
disk_config disk1
primary  /boot 200 rw,errors=remount-ro ; boot -j ext3
primary  swap  2000-4000   rw
primary  / 4000-9000   rw   ; -j ext3
primary  - 9000-   preserve4; preserve
#
disk_config disk2
primary  - 1-  preserve1; preserve 

-- 
regards Thomas


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



Bug#381494: add SCSI kernel driver

2006-08-04 Thread Thomas Lange
Package: fai-kernels
Version: 1.11
Severity: wishlist

Please include the driver for this hardware SCSI device:

CONFIG_SCSI_DPT_I2O

I think also more SATA driver should be added. I propose these:

CONFIG_SCSI_SATA_SX4
CONFIG_SCSI_SATA_SIL
CONFIG_SCSI_SATA_SIL24
CONFIG_SCSI_SATA_SIS

-- 
regards Thomas


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



Bug#368612: fai-kernels: driver for nvida network card is missing

2006-05-23 Thread Thomas Lange
Package: fai-kernels
Version: 1.10.3
Severity: wishlist

Please include the driver for the Nvida onbard network card.

Please add this option.

CONFIG_FORCEDETH=y

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=C, LC_CTYPE=en_US (charmap=ISO-8859-1)

-- no debconf information


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



Bug#358782: /boot/fai files

2006-07-11 Thread Thomas Lange
/boot/fai/vmlinuz-install needs to be copied by make-fai-nfsroot in
the case you install a new kernel to the nfsroot. The other dirs and
the pxelinux.0 file could be written by fai-setup.
-- 
regards Thomas


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



Bug#378021: SATA_SIS missing

2006-07-12 Thread Thomas Lange
 On Wed, 12 Jul 2006 18:40:35 +0200, Holger Levsen [EMAIL PROTECTED] 
 said:

 an hour ago fai-kernels 1.11 was uploaded to the archive. I didn't enable 
 SATA_SIS for i386 (amd64 has it already) because I didn't see the bug in 
the 
Vielleicht noch einmal das i386 config mit dem amd64 vergleichen. Das
sollte an hardware treiber eigentlich das gleicht drin sein.
ICh habe das gefuehl das die nicht sehr gesynct sind.
-- 
regards Thomas


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



Bug#373587: no grave bug

2006-07-23 Thread Thomas Lange
This bug is not grave and is not the fault of FAI. It's a kernel
problem, that the kernel has a different ordering of network devices,
than the BIOS. Also it only occurs on a certain hardware. I will set
the serverity to normal.
-- 
regards Thomas


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



Bug#356378: fcopy need -n, --dry-run flag

2006-03-11 Thread Thomas Lange

Package: fai-client
Version: 2.9.1
severity: wishlist

fcopy should have a flag (-n, like dry-run or simulate) for showing
what it would do, without really doing it. This will help many
sysadmin to see if something has to be changed on their system.


-- 
regards Thomas


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



Bug#356379: remove flag -P from fcopy

2006-03-11 Thread Thomas Lange

Package: fai-client
Version: 2.9.1
severity: wishlist

I like to remove flag -P from the command fcopy. Is somebody really
using it?

-- 
regards Thomas


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



Bug#356380: fai-chboot: add flag for initramfs support

2006-03-11 Thread Thomas Lange

Package: fai-server
Version: 2.9.1
severity: wishlist

fai-chboot needs a flag for specifying an initramfs image for the
kernel. This will be needed for future install kernels.
-- 
regards Thomas


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



Bug#356136: keep it simple

2006-03-20 Thread Thomas Lange
 On Mon, 20 Mar 2006 09:48:57 +0100, Björn Torkelsson [EMAIL PROTECTED] 
 said:

 Left to do is to extend fai-chboot to create the template files (should
 they end in .tmpl? Right now we don't use and file extension), but that
 shouldn't be that hard. Currently we are creating the template by either
 using fai-chboot to copy from a host config to the template and/or
 writing it by hand.
I think this is also a good idea to just copy a hand made
template. What about a new flag -c name that copies an existing
pxeconfig to a new file. Example

fai-chboot -c cluster host01 host02

This would copy the pxelinux.cfg file /boot/fai/pxelinux.cfg/cluster 
to the config files for host01 and host02 (file names in hex). If
/boot/fai/pxelinux.cfg/cluster does not exist but the host name
cluster can be resolved to an IP address, then copy the file with the
IP address of cluster in hex to host01 and host02 config files.

-- 
regards Thomas



Bug#469716: (no subject)

2008-04-07 Thread Thomas Lange
Hi Petter,

I will apply this patch in the next FAI version, which I think will be
uploaded in april. So there's no need for an NMU, I will care about
this bug.
-- 
regards Thomas



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



Bug#389905: fai-chboot list wrong information

2006-10-29 Thread Thomas Lange
 On Wed, 25 Oct 2006 17:59:47 +0200, Thomas =?UTF-8?Q?P=C3=B6hnitzsch?= 
 [EMAIL PROTECTED] said:


 +} elsif ($hex =~ /[0-9A-F]+/) {
 +my $hexstrip = (split /\./,$hex)[0]; # remove .disable if 
necessary
 +$n = $hexstrip;
 +# hex to ip/subnet address
 +while ( length $n ) { 
 +$host = sprintf( %s%d ,$host?$host.:$host,
 +(hex substr $n,0,1, ) * 16 + (hex substr 
$n,0,1,)); 
 +}
 +if ( $host and ( length($hexstrip)  8) ) {
 +$host = Subnet: $host/. length($hexstrip)*4 

Das verstehe ich nicht. Warum eine while schleife ueber $n? Oder soll
das nur wie ein if $n  0 funktionieren? IMO macht die schleife aber
bei jedem Durschlauf das gleich wenn $n  1 ist.


 -  $srcfile = $pxedir/$srchost;
 +  $srcfile = $pxedir/$srchost.tmpl;
Verstehe ich auch nicht.


Die man page ist schon gepatched. Leider ist dein patch sehr gross das
macht es schwer alles einzubauen. Und mein urspruenglicher bug ist
damit noch nicht gefixt, aber ich habe dafuer jetzt einen patch.

-- 
regards Thomas


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



Bug#419788: more info needed

2009-04-19 Thread Thomas Lange
Again, please provide the output of fcopy -vD for an examples which
causes the error.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525096: get-config-dir never called if -z $monserver

2009-04-22 Thread Thomas Lange
Severity serious is only used for policy violations. This bug is grave
or important, but anyway I will fixed is ASAP.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#418969: raise severity

2009-04-23 Thread Thomas Lange
I like to raise the severity of this bug, since is may also be used for
a DOS attack. A small script that does a lot of calls to rstatd (for
e.g. using rup), you can fill up the log files in /var/log.

IMO this is also very useless data, that is only needed for
debugging. If you do not want to debug rpc.rstatd this data sould not
be send to syslog. I know no other program that produces other debug
output by default.

I recommend commenting out the this line in the sources:

getdata.c:  syslog(LOG_DEBUG, interface: %s, iface);
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#592093: adopting the package

2010-12-03 Thread Thomas Lange
Hi Lucas,

I will adopt the tcsh package. I still have to learn git, but I think
the tcsh package is a nice first example for learning it. Can you give
me write access to the git repository?
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#605947: forwarded message from Michael Tautschnig

2010-12-04 Thread Thomas Lange
Package: fai-server
Version: 3.4.5
Severity: important

Calling fai-mirror is broken. This is because of the fix for #600715.
Attached is a detailed description.


---BeginMessage---
(explicitly CC'ed Thomas to alert him.)

Hi all,

 after update to 3.4.5 I get an error when running fai-mirror (system is a 
 current debian lenny).
 
 The following command was entered (/fai/etc-config files are stored in a 
 different location, but this should
 IMHO not cause the problem).

[...]

Indeed, IMHO this problem will occur in all cases. It's caused by the recent
bugfix of #600715. With this bugfix install_packages does:

print $0: reading config files from directory $classpath\n;

Before it was a warn instead of the print, sending the result to stderr. This
nicely fixed #600715, but it interferes with make-fai-nfsroot, which uses the
output of install_packages:

install_packages -l -p$cfdir  $NFSROOT/var/tmp/packages.nfsroot

AFAIK this is the only use of this kind, hence it would be ok to keep the bugfix
of #600715, but we need a fix of make-fai-nfsroot (which would be a grep -v).
Thomas, here's where your input is needed: Would something like

install_packages -l -p$cfdir | grep -v install_packages: reading config files 
from  $NFSROOT/var/tmp/packages.nfsroot

be fine with you? I guess we'll need a 3.4.6, however, as fai-mirror is probably
broken in all cases with the current situation. Yet I am not quite happy with
the above grep-solution as a change of install_packages' output will again break
things.

Best regards,
Michael



pgpD3rkDd57gE.pgp
Description: PGP signature
---End Message---

-- 
regards Thomas


Bug#605947: patch proposal

2010-12-05 Thread Thomas Lange
What do you think about this fix?

-print $0: reading config files from directory $classpath\n;
+warn $0: reading config files from directory $classpath\n if $verbose;

It prints the message to stderr as before (before we fixed #600715),
but it only prints this message if verbose (-v) was set. 

@frank: Will this also work for you?

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606213: unblock: tcsh/6.17.02-4

2010-12-07 Thread Thomas Lange
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock tcsh_6.17.02-4, which fixes an RC bug. I also adopted
this package, since it was orphaned.

changelog:

tcsh (6.17.02-4) unstable; urgency=high

  * new maintainer Closes: #592093
  * add tcsh-6.17.02-multibyte.patch Closes: #603545

 -- Thomas Lange la...@debian.org  Mon, 06 Dec 2010 17:41:17 +0100


-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606213: Acknowledgement (unblock: tcsh/6.17.02-4)

2010-12-07 Thread Thomas Lange
Mmm, my upload was rejected because of a size mismatch. I have to
check why this happened.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#606213: (no subject)

2010-12-07 Thread Thomas Lange
I fixed the problem and now the upload was successfully.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#494386: this hook implements feature

2011-01-25 Thread Thomas Lange
The attached hook implements this feature. The new variable
FAI_BASEFILEURL is used to download a base.tgz (or .tar.xz,...) via
HTTP or FTP.

If you set for e.g. FAI_BASEFILEURL=http://faiserver/basefiles this
hook will get a listing of all files in the directory basefiles on the
HTTP server faiserver. Then the basename of all files are matched with
the list of class names, and the hook selects a file using the usual
class mechanism.  After a ramdisk is put on top of basefiles, the
file is downloaded. Extracting this basefile is done by the following
task using ftar.



extrbase.DEFAULT
Description: Binary data

-- 
regards Thomas


Bug#612481: fai-client: diversion of /etc/init.d/nis during install breaks boot order and autofs

2011-02-08 Thread Thomas Lange

 Severity: important
I think it's a normal bug.

 Removing the diversion of /etc/init.d/nis from /usr/lib/fai/updatebase 
fixes
 the problem.
I have to check if the diversion is not needed any more, or if fai
should use policy-rc.d to keep nis from starting during installation.

Thanks for the bug report.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612481: (no subject)

2011-02-10 Thread Thomas Lange
I think a lot of FAI bugs break unrelated software, because most
functions in FAI are related to other software. But that does not
automatically means the bug is important. Otherwiese mostly all dpkg or
aptitude bugs must also be important, because they cause unrelated
package not to be installed the correct way.
That's why I downgraded the bug to normal.

It does not mean that I always refuse to tag fai bugs as important,
but I'm more cautious tagging bugs as important.

I will check the patch in my environment ASAP and reply if we can
apply it. 

I have no problems raising the severity back to important if Mika (the
fai stable release manager) like to include the patch to the stable
branch. 
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#612481: (no subject)

2011-02-10 Thread Thomas Lange
The diversion of the nis ninit.d script can be removed. Tested with
lenny and squeeze. Patch available in svn commit 6282.

@mika: Please consider this patch for inclusion into the next stable
release, maybe after raising the severity again.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#613026: Wrong link, please update

2011-02-12 Thread Thomas Lange

Package: www.debian.org
Severity: normal
Tags: Patch

On the web page http://www.debian.org/events/speakers/ there's a link
to the old FAI project web page
(http://www.informatik.uni-koeln.de/fai/)
Please update this link to it's new location:
http://fai-project.org

The link to my talks is also outdated. 
old: http://www.informatik.uni-koeln.de/fai/talks.html
new: http://fai-project.org/talks/

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#614914: add option to fai-chboot for setting initial flag for setup-storage

2011-02-24 Thread Thomas Lange
Package: fai-server
Severity: wishlist

Please add a new option to fai-chboot this add the flag initial to
FAI_FLAGS. This flag ist used by setup-storage and influences the
creation of partitions marked as preserve_reinstall.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#613377: (no subject)

2011-02-27 Thread Thomas Lange
I realized that after the rinse command is executed the nis domainname
is unset (or set to none). The ypbind processes are still running.

# domainname 
(none)

Setting the domainname back to its old value let nis running again.
So the problem seems that authconfig only clears the domainname.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#607285: Exporting kernel command line as variables may fail

2010-12-17 Thread Thomas Lange

Here's a small code snippet that will work.
It only matches variable names having chars, numbers or an underscore.


shopt -s extglob

case $word in
 *([a-zA-Z0-9_])=*) echo matched $word ;;
esac




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610509: fai: Build dependencies missing some packages in svn HEAD

2011-01-19 Thread Thomas Lange
 On Wed, 19 Jan 2011 10:37:48 +, Michael Tautschnig m...@debian.org 
 said:

 I just fixed most of the above this morning in trunk, with any version = 
r6270
 you should be fine. Well, honestly, the perl-tk isn't there yet, thanks 
for
 adding it. Should get fixed soon.


svn r6271 build fine on lenny and squeeze. perl-tk is not needed in
any build depends!

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610509: (no subject)

2011-01-19 Thread Thomas Lange
To be more spcific. perl-tk is not needed for building the fai
package. It's only needed it you like to check the faimond-gui perl
script for syntax errors. I'm not sure if we really should add a
build-depends on perl-tk.

BTW, adding liblinux-lvm-perl to build-depends may cause lvm2 to be
installed on the building host, when someone manually installs
liblinux-lvm-perl but does not disable installing of recommended
packages. Then installing lvm2 also creates a new initrd on the
build host. Ouch. 
I guess it's not a problem when doing in a chroot or with pbuilder,
but there are people doing package builds on their normal desktop or
server.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#610509: fai: Build dependencies missing some packages in svn HEAD

2011-01-19 Thread Thomas Lange
 On Wed, 19 Jan 2011 10:57:50 +, Michael Tautschnig m...@debian.org 
 said:

 If we prefer not to have that build dependency but still keep the syntax 
checks
 we could also add dummy files (which is what I did on alioth to make the
 experimental versions build).
What if we remove the build dependency, leave perlcheck in the
Makefile, but do not call it on every package build? That way, one
could manually call the perlchecks when he knows the needed packages
are installed, but not everybody needs to install the additional
packages when building the package.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#506971: fai: locales should be installed and configured early

2008-11-26 Thread Thomas Lange
Package: fai
Version: 3.2.14
Severity: wishlist


A package P may not depend on the package locales, but will only
configure itself for locales already available in the system.
This may cause problems, when the package locales is installed after
the package P. Then this package may fall back to the C or
the POSIX locale and does not set up for the locale you defined.

I think the debian installer also installs and sets up locales at the
very beginning. Maybe this package should be handled especially.


From a email discussion:
Well, the packages might not always handle the order.  Using the locale 
   example again, a package might not 'require' locales to be configured, 
   if it can use 'POSIX' or 'C' - how is the package to know that you don't 
   want those?  


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash



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



Bug#479537: (no subject)

2010-01-28 Thread Thomas Lange
It's not a good idea to replace the logical OR with AND. But what
about supporrting both? This is an idea for a format in
package_config. 


logical OR as before:
PACKAGES aptitude CLASSA CLASSB

new logical AND:
PACKAGES aptitude +AND CLASSA CLASSB

-- 
regards Thomas




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#539980: fai-client: task_extrbase returning error code 801 even though debootstrap worked

2009-08-05 Thread Thomas Lange
Maybe this is related to the thread below. debootstrap seems to exit with
code 141 in some cases. Can you please check if this applies to your
environment? There's also a proposal for a patch included in the thread.

http://www.mail-archive.com/linux-...@uni-koeln.de/msg01453.html
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#500823: INTERNAL ERROR in setup-storage: Table Header no seen yet

2008-10-24 Thread Thomas Lange
If the red banner says 3.2.11, you are running an old version because
you did not properly rebuild your nfsroot. Maybe you install server
and the nfsroot are using different source.list files.

Please check again your nfsroot. The banner _must_ say 3.2.13.
-- 
regards Thomas



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



Bug#504018: add new variable for APT keys

2008-10-30 Thread Thomas Lange
Package: fai
Version: 3.2.14
Severity: wishlist

I like to have support for a file, which includes the already
downloaded APT keys (proposal: APT_KEY_FILE)

This list of gpg keys will be added to the APT key management via the
command apt-key. So, all packages signed with those keys are considered trused.

It should be definfed in class/*.var.
I think it will be used in task_prepareapt.
I may also be defined in fai.conf, then it will also be used when
building the nfsroot.


Maybe a variables like APT_KEY_LIST should also be supported. This is
only a list of keys (theris ID's), that will be downloaded from a
keyserver, not the keys itself. It may be a problem, that this
feature needs access to an external keyserver, which may be not the
case for all. Currently install clients only need access to the
install server and a debian repository, which all may be on local
network.


-- 
regards Thomas



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



Bug#568800: setup-storage creates bad swap entry in fstab

2010-02-07 Thread Thomas Lange
Package: fai-client
Severity: minor

setup-storage creates following line for the swap partitions:

/dev/sda5   noneswaprw  0   2

But it should be 0 0 at the end.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#513216: /usr/sbin/grub-install: line 374: [: =: unary operator expected

2009-01-27 Thread Thomas Lange
Package: grub
Version: 0.97-47lenny2
Severity: normal

When I use grub-install for a chroot environment (during an
installation with FAI) I get following error:


# /usr/sbin/grub-install --no-floppy --root-directory=/target /dev/sda
grub-probe: error: Cannot open `/boot/grub/device.map'
/usr/sbin/grub-install: line 374: [: =: unary operator expected
Installation finished. No error reported.
This is the contents of the device map /target/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(hd0)   /dev/sda


This command is run form a nfsroot (which does no have a device.map),
the new system is located in /target on /dev/sda, were I like to
install the grub. grub-install is now checking which type of file
system I had created. This is a part of sh -x output of the command above:

+ sync
++ grub-probe -t fs /target/boot/grub
grub-probe: error: Cannot open `/boot/grub/device.map'
+ '[' = xfs ']'
/usr/sbin/grub-install: line 374: [: =: unary operator expected


I think this grub-probe should be called in this way:

grub-probe --device-map=/target/boot/grub/device.map -t fs /target/boot/grub 
which will report ext2 in my situation.



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

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub depends on:
ii  grub-common 1.96+20080724-12 GRand Unified Bootloader, version 
ii  libc6   2.7-18   GNU C Library: Shared libraries
ii  libncurses5 5.7+20081213-1   shared libraries for terminal hand

grub recommends no packages.

Versions of packages grub suggests:
ii  grub-legacy-doc0.97-47lenny2 Documentation for GRUB Legacy
pn  mdadm  none(no description available)
ii  multiboot-doc  0.97-47lenny2 The Multiboot specification

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#513216: Acknowledgement (/usr/sbin/grub-install: line 374: [: =: unary operator expected)

2009-01-27 Thread Thomas Lange
This bug was introduced in 0.97-47lenny2 and is located in the file 
xfs_freeze.diff

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#513090: fai-server should depend on libproc-daemon-perl

2009-01-28 Thread Thomas Lange
 On Wed, 28 Jan 2009 11:09:33 +0100, Sebastian Harl s...@tokkee.org said:

 Imho faimond should check for
 missing modules and print a warning. That warning could also mention
 which packages have to be installed.
I like this solution. We have a similar check in install_packages (sub
check_aptpkg). This should be easy to adopt for faimond-gui and
faimond.

IMO is good to put the check into the BEGIN section of the perl
script. I think I can easily add this to the next version.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#539980: found the reason

2009-08-19 Thread Thomas Lange
This bug will be fixed in the next version, since I removed the yes pipe.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#445355: (no subject)

2009-07-17 Thread Thomas Lange
In make-fai-nfsroot the variable NFSROOT is set to

NFSROOT=$NFSROOT/live/filesystem.dir

So it should have been set to the value you expect. I think I've
forgotten to export this variable, so the hooks also can use this
value. Do you think adding the export command in front of this
definition will fix it?
-- 
regards Thomas




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#367314: patch will not work

2009-07-18 Thread Thomas Lange
This patch will not work, since setting HOST= on the kernel command
line does not do anything (maybe since FAI 3.2). IIRC in older version of
FAI this worked, but the code was removed.

So there's no need to patch fai-chboot.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#390504: possible solution

2009-07-18 Thread Thomas Lange
Back to the first post. It's wrong to use an unmodified fai.conf and
try fai softupdate.

FAI_CONFIGDIR is only used on the install server. It's not used by an
install client. Maybe the comment is a little bit confusing. So this
variable should be moved to make-fai-nfsroot.conf to make things
clearer.

If you install a client using FAI, a new definition for
FAI_CONFIG_SRC will be appended to /etc/fai/fai.conf during the
installation (e.g. FAI_CONFIG_SRC=nfs://kueppers/srv/fai/cslenny).
So the install client can do softupdate (from the same config space
as during first installation), because it knows were to fetch the
config space.

If you like to use another source as config space, you have to edit
FAI_CONFIG_SRC in /etc/fai/fai.conf on the install client.

IMO the problem occured because of a bad usage of FAI_CONFIGDIR.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#537544: Remove support for variable $addpackages in fai-mirror

2009-07-19 Thread Thomas Lange
Package: fai-server
Severity: wishlist

Since FAI 2.10 .deb files in /files/packages are not suported any
more (by using $addpackages). But the variable is still used in
fai-mirror. Please remove it and the corresponding code.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#506459: (no subject)

2009-07-19 Thread Thomas Lange
Currently I will not include git-core into NFSROOT in the default
configuration, since it needs 10MB additional disk space. The fai-cd
ISO image may become to big. 
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#444213: adding option -s to fai

2009-07-19 Thread Thomas Lange
The next FAI version after 3.2.20 will have a new flag -s/--cspace so
you can specify a value for FAI_CONFIG_SRC.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#468351: no more changes on setup_harddisks

2009-07-19 Thread Thomas Lange
Since setup_harddisks is not maintained any more and it's replaced by
setup-storage, this patch will not be included. Please file a new bug
report if you like to have this feature for setup-storage.

I will close the bug soon.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#497548: New wzay to define classes on the kernel command line

2009-07-20 Thread Thomas Lange
The command fai-class(1) now also uses the variable ADDCLASSES for
defining classes. So you can add this to the kernel command line to
define some classes:

ADDCLASSES=MYCLASS1,FOOBAR,ANOTHERCLASS

For more information read the man page of fai-class(1).
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#537648: Ack

2009-07-22 Thread Thomas Lange
Thanks. It's a good idea to switch from inetd mode to standalone tftp
daemon. I will will fix then also the dependencies.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#537647: also needed for time protocol

2009-07-22 Thread Thomas Lange
fai-quickstarts depends on some version of inetd, because the default
setup of an install server should also provide the time protocol,
which is used by the clients to set the clock.

I will leave this dependency and closes the bug soon.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#474131: Package be removed now

2009-07-25 Thread Thomas Lange
The package was orphaned over a year ago. Martin worked on it, but
still did not produced a package that could be uploaded. It also was
only prepared for etch, never for lenny nor squeeze.

The last mail on this topic is more than 6 month ago. IMO this
package should be removed from the debian archive now.

If there will be a working version for the next release, it can be
reincluded easily.


BTW, it FTBFS, because build -depends are missing:

.
.
.
dh_installdirs: Compatibility levels before 4 are deprecated.
install -d debian/tmp
install -d debian/tmp/usr/bin debian/tmp/usr/sbin
# Add here commands to install the package into debian/tmp.
/usr/bin/make install DESTDIR=`pwd`/debian/tmp
make[1]: Entering directory `/tmp/replicator'
/usr/bin/lyx --export pdf Replicator-UserGuide.lyx
make[1]: /usr/bin/lyx: Command not found
make[1]: *** [doc-build] Error 127
make[1]: Leaving directory `/tmp/replicator'
make: *** [install] Error 2
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error
exit status 2

-- 
regards Thomas



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#452214: patch applied in 6.17

2010-03-03 Thread Thomas Lange
Tags: fixed-in-experimental

This bug is now fixed in the new package version 6.17.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#411609: (no subject)

2010-03-03 Thread Thomas Lange
It seems that tcsh 6.17 has fixed this issue. 
The function NLSStringWidth is now paying attention to the return
value of wcwidth:

if ((l = wcwidth(c))  0)

Please test, if your issue is solved in version 6.17 of tcsh.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#276311: (no subject)

2010-03-03 Thread Thomas Lange
Tags: fixed-in-experimental
Version: 6.17

This bug is fixed in version 6.17

veedel[~/[1]] pwd
/home/lange/[1]
veedel[~/[1]] cd -
veedel[~] echo $version
tcsh 6.17.00 (Astron) 2009-07-10 (i486-intel-linux) options 
wide,nls,dl,al,kan,rh,nd,color,filec

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#580223: kpsewhich runs in endlees loop, symlink loop

2010-05-04 Thread Thomas Lange
Package: texlive-binaries
Version: 2009-5
Severity: minor


If I install software inside a chroot (squeeze) environment, sometimes
kpsewhich runs into an endless loop and hangs. This is some part of
the output:

Processing triggers for tex-common ...
Running mktexlsr. This may take some time... done.
Setting up texlive-base (2009-8) ...
Running mktexlsr. This may take some time... done.
Building format(s) --all --cnffile /etc/texmf/fmt.d/10texlive-base.cnf.
This may take some time... done.
Processing triggers for tex-common ...
Running updmap-sys. This may take some time... done.

HERE IT HANGS



I can strace the kpsewhich process and it shows following:

stat64(./sys/devices/platform/pcspkr/input:input4/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/input4/input:event4/subsystem/input3,
 {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
open(./sys/devices/platform/pcspkr/input:input4/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/input4/input:event4/subsystem/input3/,
 O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 86
getdents(86, /* 16 entries */, 32768)   = 312
stat64(./sys/devices/platform/pcspkr/input:input4/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/input4/input:event4/subsystem/input3/uevent,
 {st_mode=S_IFREG|0644, st_size=4096, ...}) = 0
stat64(./sys/devices/platform/pcspkr/input:input4/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/mice/subsystem/input4/input:event4/subsystem/input3/subsystem,
 0xbfff5ee4) = -1 ELOOP (Too many levels of symbolic links)

These processes are running:

suenner[~]# ps -efl|grep kpsew
0 R root 24037 23532 45  80   0 - 23074 -  16:20 pts/300:01:08 
kpsewhich language.def
0 S root 23532 23529  0  80   0 -   442 -  16:20 pts/300:00:00 
/bin/sh -e /var/lib/dpkg/info/tex-common.postinst triggered texmf-hyphen 
texmf-map
0 S root 23529  8132  0  80   0 -  2405 -  16:20 pts/300:00:00 
/usr/bin/perl -w /usr/share/debconf/frontend 
/var/lib/dpkg/info/tex-common.postinst triggered texmf-hyphen texmf-map


Inside the chroot, these filesystems are mounted.

proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)


There's a symlink loop in the host system (lenny)

# cd /sys/class/input/
# ls -l
total 0
-r--r--r-- 1 root root 4096 2010-05-04 16:20 dev
drwxr-xr-x 2 root root0 2010-05-04 16:20 power
lrwxrwxrwx 1 root root0 2010-05-04 16:20 subsystem - ../../input
-rw-r--r-- 1 root root 4096 2010-05-04 16:20 uevent



I think kpsewhich should never search in /sys. Also /proc and other
directories may be omitted.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#529737: (no subject)

2010-05-11 Thread Thomas Lange
Since version 3.1.2 mirgrated to testing, I think this bug can be closed.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#69192: (no subject)

2010-03-26 Thread Thomas Lange
There's a new project called tdpkg which can be used together with dpkg.

The tdpkg shared library is used to speed up dpkg .list files loading
using either tokyocabinet or sqlite3. 

http://lethalman.hostei.com/tdpkg.html
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575561: new upstream available

2010-03-26 Thread Thomas Lange
Package: newt
Severity: wishlist

There's a new upstream version available at
https://fedorahosted.org/releases/n/e/newt/

newt-0.52.11.tar.gz 24-Sep-2009 15:04  171K  GZIP compressed
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575812: make setup-storage work without FAI

2010-03-29 Thread Thomas Lange
Package: fai-client
Severity: wishlist

People like to use setup-storage without calling it from FAI.
This is how it should work

- install the fai-client package
- export PATH=/usr/lib/fai:${PATH}
- export disklist=$(disk-info | sort)
- setup-storage -X -f yourconfigfile

-- 
regards Thomas




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575921: install_packages may write to world writable directory

2010-03-30 Thread Thomas Lange
Package: fai-client
Severity: critical
Tags: security
Tags: pending

When using fai softupdate, install_packages writes a list of all
packages to the file /var/tmp/package, which is located in a world
writeable directory. It also writes to /tmp/packages.list if
FAI_DEBSOURCESDIR is set. These problems only affect FAI versions from
3.3 to 3.3.4.

In case you use PACKAGES dselect-upgrade (I guess it's not used very
often) in package_config it writes to
$FAI_ROOT/tmp/dpkg-selections.tmp. Since FAI_ROOT is set to / if you
are calling fai softupdate, this is a security problem. This problem
also affects older versions.

I've already prepared a patch for this, which is available in the svn trunk.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#353536: subclasses, classes which define classes

2010-03-30 Thread Thomas Lange
 On Tue, 30 Mar 2010 21:52:27 +0100, Holger Levsen hol...@layer-acht.org 
 said:

 How? (Seriously, how would you do this?)
I, myself will not use subclasses.

 definitly be easily possible in FAI, thus either be part of the
 featureset or be documented well. 
Have a look at #498412, there's a sample implementation from Ingo, so
it's already documented. You may want to add this information to the
FAI wiki.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575921: install_packages may write to world writable directory

2010-03-31 Thread Thomas Lange
 On Wed, 31 Mar 2010 10:18:25 +0200, Michael Tautschnig m...@debian.org 
 said:

 Would you mind explaining how this could possibly be exploited? There is
A user could create a symlink pointing to a file (e.g. /etc/passwd)
which will then be overwritten when root calls fai softupdate.
Maybe this is not a security but more a DoS attack. But it's forbidden
to use fixed filenames in world writeable directories (you should use
mktemp there).
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#579108: fai-client: disk-info does not output disk sizes anymore

2010-04-25 Thread Thomas Lange

 I'm not quite sure whether this change is intentional but in the current
 version of fai-client, disk-info does not output the disk sizes anymore.
This change was intentionally, since the disk size is not needed by
FAI any more. If you need the size in some of your scripts, you have
to define it in your own scripts and you can use the code used
before. IMO this is not a bug at all, it's just a changed in the
code. Therefore I will close this bug soon.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#575921: install_packages may write to world writable directory

2010-03-31 Thread Thomas Lange
 On Tue, 30 Mar 2010 21:36:05 +0200, Gerfried Fuchs rho...@deb.at said:

  If they only affect FAI versions from 3.3 - shouldn't it be versioned
 like that? In case I missed something feel free to revert, but without a
 found version this looks like affecting even lenny.

The last part of the bug report (writing to /tmp/dpkg-selections.tmp)
also affects the lenny version.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#576092: fai-server: support (re)use of base.tgz within make-fai-nfsroot

2010-03-31 Thread Thomas Lange
 On Wed, 31 Mar 2010 22:43:41 +0200, Michael Prokop m...@debian.org said:

 The following patch works for me and implements the new option
 -B path_to_base.tgz within make-fai-nfsroot to be able to
 run something like make-fai-nfsroot -v -B /srv/base.tgz:

   http://grml.org/tmp/support_base_tgz_in_make-fai-nfsroot.patch
Super Idee, werde ich umgehend einbauen.
IMO ist die Option --one-file-system nur beim Erzeugen sinnvoll.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#561489: (no subject)

2009-12-17 Thread Thomas Lange
 On Thu, 17 Dec 2009 16:36:11 +0100, root rudy.geva...@ugent.be said:

I just retile your bug report, so now it has a title :-)
Thanks for reporting the bug.

I used:

bts retitle #561489 Mising support for XEN devices like /dev/xvda

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#514160: (no subject)

2009-04-09 Thread Thomas Lange
Please provide more information how zypper has to be called when
installing a list of packages.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521027: (no subject)

2009-04-09 Thread Thomas Lange
Just for the record.
This bug is only valid for squeeze and later, not for lenny.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#520554: (no subject)

2009-04-09 Thread Thomas Lange

ssh r...@faiclient faireboot

works perfectly for me with Debian and FAI 3.2.17~lenny1
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#510421: (no subject)

2009-04-09 Thread Thomas Lange
No, AFAIK syslinux is not supported. The syslinux package is only
needed for pxelinux.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515139: (no subject)

2009-04-09 Thread Thomas Lange
My idea: the fai script should set it to 700 if it's not already defined in 
fai.conf.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521027: (no subject)

2009-04-09 Thread Thomas Lange
One part of the patch in experimental (which replaces ifconfig with ip
calls) removes the variable $mask, so that now the NFSROOT is only
exported to the IP address of the server. I'm pretty sure this will
break things. Or did I overlooked something?

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#521027: (no subject)

2009-04-09 Thread Thomas Lange
 On Thu, 9 Apr 2009 19:30:53 +0200, Michael Tautschnig m...@debian.org 
 said:

 ip addr includes the mask in the output, so it would be there rightaway, 
like
 this:

Yep, if if also contains the mask it will work. Seems fine to me, but 
I have to check some other things before including the patch.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#496072: (no subject)

2009-04-15 Thread Thomas Lange
IMO the variable debug should only be set to 0 or 1 or may be
undefined. A test, if this variable is non-numeric is not needed.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#503653: (no subject)

2009-04-15 Thread Thomas Lange
Maybe I can limit the execution of more than one dirinstall to the
same directory, or I will just remove the check when doing a
dirinstall and only test if fai is doing softupdates.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#358565: marked as done (Lack of error messages for fai.conf make-fai-nfsroot.conf when running fai-setup)

2009-04-18 Thread Thomas Lange
 On Sat, 18 Apr 2009 10:06:01 +0200, Michael Tautschnig m...@debian.org 
 said:

 Why not use

 set -e
 . /etc/fai/fai.conf
 . /etc/fai/make-fai-nfsroot.conf
 set +e
This is already done in fai-setup and make-fai-nfsroot.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604938: host does not boot with grub_pc and /dev/sdd as boot disk

2010-11-25 Thread Thomas Lange
Package: fai-doc
Version: 3.4.4

In the simple examples the script GRUB_PC/10-setup always install grub
into hd0. If your boot disk is not hd0, the host does not boot.


I have following configuration:

four SATA disks, three times 1TB, one 80GB disk. This 80GB should be
my boot disk. The three disks will be part of a RAID0.

During installation the disks will be named:

   80  976762584 sda
   8   16  976762584 sdb
   8   32  976762584 sdc
   8   48   78150744 sdd

setup-storage creates all partitions softraid and file systems very
well. (Great work Michael!). This is my disk_var.sh

SWAPLIST=/dev/sdd5
BOOT_DEVICE=/dev/sdd
ROOT_PARTITION=UUID=55e150ff-0e7f-427b-ab82-0354e7515d8a
BOOT_PARTITION=/dev/sdd1


Later GRUB_PC/10-setup is called without any errors

=   shell: GRUB_PC/10-setup   =
Generating grub.cfg ...
cat: /boot/grub/video.lst: No such file or directory
Found linux image: /boot/vmlinuz-2.6.32-5-686
Found initrd image: /boot/initrd.img-2.6.32-5-686
Found memtest86+ image: /boot/memtest86+.bin
Found memtest86+ multiboot image: /boot/memtest86+_multiboot.bin
done
Installation finished. No error reported.
GRUB_PC/10-setup OK.

But the host does not boot. No grub prompt, just nothing. First, I
thought is a buggy BIOS. But it's a bug in FAI IMO.

Let's have a look:

 cat /boot/grub/device.map 
(hd0)   /dev/disk/by-id/ata-ST31000524NS_9WK1MYSS
(hd1)   /dev/disk/by-id/ata-ST31000524NS_9WK1MYEJ
(hd2)   /dev/disk/by-id/ata-ST31000524NS_9WK1MYRA
(hd3)   /dev/disk/by-id/ata-SAMSUNG_HD080HJ_S08EJ1GYC01865

My boot disk is not hd0, but hd3 (that means sdd as in disk_var.sh).
But 10-setup just installs grub into hd0.

 cat GRUB_PC/10-setup:
#! /bin/bash
# support for GRUB version 2 (1.98-1)

error=0 ; trap error=$((error|1)) ERR

$ROOTCMD grub-mkdevicemap -n -m /boot/grub/device.map
$ROOTCMD grub-mkconfig -o /boot/grub/grub.cfg
$ROOTCMD grub-install --no-floppy (hd0)

exit $error

After manually calling $ROOTCMD grub-install --no-floppy (hd3)
everything works just fine.


A patch follows soon.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604938: Acknowledgement (host does not boot with grub_pc and /dev/sdd as boot disk)

2010-11-25 Thread Thomas Lange
Here's the patch:


Index: 10-setup
===
--- 10-setup(revision 875)
+++ 10-setup(working copy)
@@ -5,6 +5,8 @@
 
 $ROOTCMD grub-mkdevicemap -n -m /boot/grub/device.map
 $ROOTCMD grub-mkconfig -o /boot/grub/grub.cfg
-$ROOTCMD grub-install --no-floppy (hd0)
+GROOT=$($ROOTCMD grub-probe -tdrive -d $BOOT_DEVICE)
+$ROOTCMD grub-install --no-floppy $GROOT
+echo Grub installed on $BOOT_DEVICE = $GROOT
 
 exit $error



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604938: Acknowledgement (host does not boot with grub_pc and /dev/sdd as boot disk)

2010-11-25 Thread Thomas Lange
Package: fai-doc
Severity: important


I think this bug is at least important. Maybe it can causes data loss,
if grub installs itself into hd0, no matter if this disk is used in a RAID.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#603675: device2grub not needed for grub2

2010-11-25 Thread Thomas Lange
The script device2grub is not needed for grub2. In FAI we have the
class GRUB_PC which uses the script GRUB_PC/10-setup for setting up
grub2 configuration.

Also have a look at #604938 which fixes a problem in this script. FAI
will use grub-probe (instead of device2grub) for grub2.

IMO we can close this bug.
-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#604938: Acknowledgement (host does not boot with grub_pc and /dev/sdd as boot disk)

2010-11-27 Thread Thomas Lange

 - $BOOT_DEVICE may consist of several device names if RAID is used. Hence 
we
   need to loop over each of them and do what you just proposed.
That's a good reason to use your patch.

-- 
regards Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



<    1   2   3   4   5   6   7   8   9   10   >