Package: fai-setup-storage
Version: 4.0.5
Severity: normal
File: /usr/sbin/setup-storage
Hello Thomas,
I just have an disk-config entry, which should resize an existing
ntfs partition, using ntfsresize from ntfs-3g-Package.
In Commands.pm of /usr/share/fai/setup-storage at line 1094 there
is a blank missing after:
ntfsresize -s " . $part->{size}->{eff_size} .
Because of this missing blank the whole fai install process on the
client stopped with an fatal error.
Here my patch, to get it working again:
*** Commands.pm 2013-01-14 16:29:44.000000000 +0100
--- Commands-modified.pm 2013-01-14 16:27:33.000000000 +0100
*************** sub setup_partitions {
*** 1091,1097 ****
# check, whether ntfsresize is available
&FAI::in_path("ntfsresize") or die "ntfsresize not found in PATH\n";
! &FAI::push_command( "yes | ntfsresize -s " . $part->{size}->{eff_size}
. " ".
&FAI::make_device_name($disk, $p), "rebuilt_" .
&FAI::make_device_name($disk, $p) . $deps, "ntfs_ready_for_rm_" .
&FAI::make_device_name($disk, $p) );
--- 1091,1097 ----
# check, whether ntfsresize is available
&FAI::in_path("ntfsresize") or die "ntfsresize not found in PATH\n";
! &FAI::push_command( "yes | ntfsresize -s " . $part->{size}->{eff_size} .
&FAI::make_device_name($disk, $p), "rebuilt_" .
&FAI::make_device_name($disk, $p) . $deps, "ntfs_ready_for_rm_" .
&FAI::make_device_name($disk, $p) );
-- System Information:
Debian Release: 7.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.UTF8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fai-setup-storage depends on:
ii liblinux-lvm-perl 0.16-1
ii libparse-recdescent-perl 1.967009+dfsg-1
ii parted 2.3-11
ii perl 5.14.2-16
Versions of packages fai-setup-storage recommends:
ii lvm2 2.02.95-4
ii mdadm 3.2.5-3
Versions of packages fai-setup-storage suggests:
pn cryptsetup <none>
ii dmsetup 2:1.02.74-4
pn dosfstools <none>
pn jfsutils <none>
pn ntfsprogs <none>
pn reiserfsprogs <none>
pn xfsprogs <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]