Your message dated Wed, 7 Jul 2010 17:23:35 +0200
with message-id <[email protected]>
and subject line
has caused the Debian Bug report #579108,
regarding fai-client: disk-info does not output disk sizes anymore
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
579108: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579108
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: fai-client
Version: 3.3.5
Severity: important
Tags: squeeze sid
Hi,
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.
when invoking /usr/lib/fai/disk-info on a Debian Lenny box, the script outputs
the disk devices together with their sizes (in blocks) while on Squeeze the
scripts just outputs the disk devices. The new behavior comes from this
change which removed $blocks from the output:
- [ $isdisk -eq 1 ] && echo "$device $blocks"
+ [ $isdisk -eq 1 ] && echo "$device"
glaub...@z6:~> /usr/lib/fai/disk-info
sda
sdb
sdc
sdd
sde
glaub...@z6:~> /usr/lib/fai/disk-info.fixed
sda 244198584
sdb 976762584
sdc 976762584
sdd 976762584
sde 976762584
glaub...@z6:~>
Changing it back will fix the behavior again. If this behvaior is intentional,
it would be nice, if someone pointed me to the new way to determine disk sizes
since using disk-info breaks our Squeeze FAI installation for the time being.
Thanks,
Adrian
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fai-client depends on:
ii file 5.04-2 Determines file type using "magic"
ii iproute 20100224-3 networking and traffic control too
ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg
ii liblinux-lvm-perl 0.14-2 Perl module to access LVM status i
ii libparse-recdescent-perl 1.964+dfsg-1 Perl module to create and use recu
ii perl 5.10.1-12 Larry Wall's Practical Extraction
Versions of packages fai-client recommends:
ii cfengine2 2.2.10-2 Tool for configuring and maintaini
ii debconf-utils 1.5.32 debconf utilities
Versions of packages fai-client suggests:
pn cryptsetup <none> (no description available)
ii dmsetup 2:1.02.45-1 The Linux Kernel Device Mapper use
pn ntfsprogs <none> (no description available)
-- no debconf information
--- End Message ---
--- Begin Message ---
I will now close this bug. The change had been documented, and
there's a simple workaround, that you can use the old code if you like
to define a variable with the old behaviour.
> Furthermore, the FAI documentation still mentions that functionality,
> from <http://www.informatik.uni-koeln.de/fai/fai-guide/ar01s11.html>:
A minor error. It was already fixed in the fai-doc package, but not on
the web page.
--
regards Thomas
--- End Message ---