Your message dated Thu, 15 Sep 2016 11:29:51 +0200
with message-id <22490.27151.13064.341...@paeffgen.informatik.uni-koeln.de>
and subject line closing bug
has caused the Debian Bug report #710372,
regarding fai-setup-storage: setup-storage fails when using both LUKS and GPT
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 ow...@bugs.debian.org
immediately.)


-- 
710372: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710372
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: fai-setup-storage
Version: 4.0.6
Severity: normal
Tags: patch

Dear Maintainer,

When trying to use both GPT and LUKS with FAI, the installation fails during
the partition task. It fails while trying to execute :
echo ,,,* | sfdisk --force $boot_disk -N1
sfdisk tries to reload the partition table, and is unable to do so because the
disk is already used by luks (because of the cryptsetyp luksOpen command,
called before the sfdisk command).

The attached patch fixes the problem by changing the dependencies on the luks
stuffs.


-- System Information:
Debian Release: 7.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.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-12
ii  perl                      5.14.2-21

Versions of packages fai-setup-storage recommends:
ii  lvm2   2.02.95-7
ii  mdadm  3.2.5-5

Versions of packages fai-setup-storage suggests:
ii  cryptsetup     2:1.4.3-4
ii  dmsetup        2:1.02.74-7
ii  dosfstools     3.0.13-1
pn  jfsutils       <none>
ii  ntfsprogs      1:2012.1.15AR.5-2.1
pn  reiserfsprogs  <none>
pn  xfsprogs       <none>
diff -urwb fai-4.0.6/lib/setup-storage/Commands.pm fai-4.0.6.new/lib/setup-storage/Commands.pm
--- fai-4.0.6/lib/setup-storage/Commands.pm	2012-04-09 13:24:56.000000000 +0200
+++ fai-4.0.6.new/lib/setup-storage/Commands.pm	2013-05-30 11:46:46.143963327 +0200
@@ -223,7 +223,7 @@
       my $enc_dev_short_name = $enc_dev_name;
       $enc_dev_short_name =~ s#^/dev/mapper/##;
 
-      my $pre_dep = "exist_$real_dev";
+      my $pre_dep = "gpt_bios_fake_bootable";
 
       if ($FAI::configs{$config}{randinit}) {
         # ignore exit 1 caused by reaching the end of $real_dev

--- End Message ---
--- Begin Message ---
I'm closing this bug, since the code that fails was removed from
setup-storage a long time ago. Also contacting the submitter for
getting the disk_config for another test with newer FAI versions did
not work, since the email address is no longer valid.

-- 
regards Thomas

--- End Message ---

Reply via email to