Package: fai-setup-storage
Version: 4.0.4
Severity: normal

Dear Maintainer,

sometimes i use setup-storage in debug mode to look at how various
drives will end up partitioned if run through fai.  to do so i use
something like the attached ssd.disk_config file and run (for /dev/sdak
& /dev/sdal in this example): 
sudo bash -c '/usr/sbin/setup-storage -D "sdak sdal" -d -f 
/tmp/ssd.disk_config' 
with the fai-setup-storage 4.0.3 package this works and returns the
desired "would run command" output.  w/4.0.4 it fails with: 
Use of uninitialized value $_[0] in substr at 
/usr/share/perl5/Parse/RecDescent.pm line 3130, <$config_file> line 1.
Use of uninitialized value $_[0] in substr at 
/usr/share/perl5/Parse/RecDescent.pm line 3130, <$config_file> line 1.
Unknown starting rule (Parse::RecDescent::dclone) called
 at /usr/share/fai/setup-storage//Parser.pm line 1129

copying the Parser.pm file from 4.0.3 resolves this, and it looks
related to the fix from
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686388

thanks!

        andy


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
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-8          
ii  perl                      5.12.4-6       

Versions of packages fai-setup-storage recommends:
pn  lvm2   2.02.88-1
pn  mdadm  <none>   

Versions of packages fai-setup-storage suggests:
pn  cryptsetup           2:1.3.0-3        
pn  dmsetup              2:1.02.67-1      
pn  dosfstools           3.0.12-1         
pn  jfsutils             <none>           
pn  ntfs-3g [ntfsprogs]  1:2011.4.12AR.7-1
pn  reiserfsprogs        <none>           
pn  xfsprogs             <none>           

-- no debconf information
# config file for setup-storage
#
# disabling both -c (mount-count-dependent) and -i (time-dependent)
# checking
#
# <type> <mountpoint> <size>   <fs type> <mount options> <misc options>

disk_config sdak disklabel:gpt align-at:1M

primary -       100%    -       -

disk_config sdal sameas:sdak

Reply via email to