BTS

Issue1188

Title save-config not working with current ISO layout
Priority bug Status resolved
Superseder Nosy List falko.mach, mika
Assigned To mika Topics

Created on 2012-06-27.07:31:14 by falko.mach, last changed 2012-07-31.12:22:46 by mika.

Files
File name Uploaded Type Edit Remove
grml-boot.zip falko.mach, 2012-06-27.07:31:13 application/x-zip-compressed
Messages
msg4437 (view) Author: mika Date: 2012-07-31.12:22:46
Thanks for testing and reporting back!

regards,
Mika
msg4436 (view) Author: falko.mach Date: 2012-07-31.11:51:34
I tested again using grml64-full_testing_latest.iso with bootid=grml64full_testing20120731 and did not run into this save-config problem, so from my point of view it's fixed there - thank you.

falko

> -----Original Message-----
> From: Michael Prokop [mailto:bts@bts.grml.org]
> Sent: Tuesday, July 24, 2012 12:47 PM
> To: Mach, Falko GIZ
> Subject: [issue1188] save-config not working with current ISO layout
>
>
> Michael Prokop <mika@grml.org> added the comment:
>
> Michael Prokop <mika@grml.org> has uploaded a package that may fix your
> bug.
> Please test the package and inform the maintainer whether
> version 0.9.55 of grml-autoconfig works as intended or not.
>
> Thank you
>
> The changelog is attached below
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Format: 1.8
> Date: Tue, 24 Jul 2012 12:45:06 +0200
> Source: grml-autoconfig
> Binary: grml-autoconfig
> Architecture: source all
> Version: 0.9.55
> Distribution: grml-testing
> Urgency: low
> Maintainer: Michael Prokop <mika@grml.org>
> Changed-By: Michael Prokop <mika@grml.org>
> Description:
>  grml-autoconfig - main bootup process of a Grml (based) system
> Changes:
>  grml-autoconfig (0.9.55) grml-testing; urgency=low
>  .
>    * [b429b30] save-config: Adjust for working with current Grml versions
>      [Testing: issue1188]
> Checksums-Sha1:
>  77dc62ce3ca231ab1fb4be5a389b8bf5e7a49011 1021 grml-autoconfig_0.9.55.dsc
>  8fc81fc09c5048c746323ad49dced6bf219337f9 69117 grml-
> autoconfig_0.9.55.tar.gz
>  3952b5f4cf035ec0cf3ed17a23902f0450f61bf1 90586 grml-
> autoconfig_0.9.55_all.deb
> Checksums-Sha256:
>  bb672b214656b8205738d8fe9d6da6aa248ed34b1e46be50ccb87278e9ab6d71 1021
> grml-autoconfig_0.9.55.dsc
>  88c6a476304814e4bc6f29fcf0404920e57775b9741e541d6c9d4c3993ee04f8 69117
> grml-autoconfig_0.9.55.tar.gz
>  ef6648f4f90df84547c69c79790e46b59f09ec03cc94b547af9158eb820716a6 90586
> grml-autoconfig_0.9.55_all.deb
> Files:
>  47e5518e430d8c56f9694b5c854850a1 1021 grml optional grml-
> autoconfig_0.9.55.dsc
>  26ced2238d32b493dd8780fc84505512 69117 grml optional grml-
> autoconfig_0.9.55.tar.gz
>  64fb9788edbc85cddb87916bbb49fee1 90586 grml optional grml-
> autoconfig_0.9.55_all.deb
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlAOfXUACgkQ2N9T+zficuhRLACfdlij1I2krroRx0gGEBXESxKi
> oOIAn2Toypxog0FCotW6LSzDMBhe2Dz5
> =nPAp
> -----END PGP SIGNATURE-----
>
> ----------
> status: chatting -> testing
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1188>
> _____________________________________
________________________________
Deutsche Gesellschaft fuer Internationale Zusammenarbeit (GIZ) GmbH;
Sitz der Gesellschaft Bonn und Eschborn/Registered offices Bonn and Eschborn, Germany;
Registergericht/Registered at Amtsgericht Bonn, Germany; Eintragungs-Nr./Registration no. HRB 18384 und/and Amtsgericht Frankfurt am Main, Germany; Eintragungs-Nr./Registration no. HRB 12394;
USt-IdNr./VAT ID no. DE 113891176;
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Hans-Juergen Beerfeltz, Staatssekretaer/State Secretary;
Vorstand/Management Board: Tanja Goenner (Vorstandssprecherin/Chair of the Management Board), Dr. Christoph Beier (Stellv. Vorstandssprecher/Vice-Chair of the Management Board), Tom Paetz, Dr. Hans-Joachim Preuss, Cornelia Richter
msg4430 (view) Author: mika Date: 2012-07-24.10:46:55
Michael Prokop <mika@grml.org> has uploaded a package that may fix your bug.
Please test the package and inform the maintainer whether
version 0.9.55 of grml-autoconfig works as intended or not.

Thank you

The changelog is attached below

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 24 Jul 2012 12:45:06 +0200
Source: grml-autoconfig
Binary: grml-autoconfig
Architecture: source all
Version: 0.9.55
Distribution: grml-testing
Urgency: low
Maintainer: Michael Prokop <mika@grml.org>
Changed-By: Michael Prokop <mika@grml.org>
Description: 
 grml-autoconfig - main bootup process of a Grml (based) system
Changes: 
 grml-autoconfig (0.9.55) grml-testing; urgency=low
 .
   * [b429b30] save-config: Adjust for working with current Grml versions
     [Testing: issue1188]
Checksums-Sha1: 
 77dc62ce3ca231ab1fb4be5a389b8bf5e7a49011 1021 grml-autoconfig_0.9.55.dsc
 8fc81fc09c5048c746323ad49dced6bf219337f9 69117 grml-autoconfig_0.9.55.tar.gz
 3952b5f4cf035ec0cf3ed17a23902f0450f61bf1 90586 grml-autoconfig_0.9.55_all.deb
Checksums-Sha256: 
 bb672b214656b8205738d8fe9d6da6aa248ed34b1e46be50ccb87278e9ab6d71 1021 grml-autoconfig_0.9.55.dsc
 88c6a476304814e4bc6f29fcf0404920e57775b9741e541d6c9d4c3993ee04f8 69117 grml-autoconfig_0.9.55.tar.gz
 ef6648f4f90df84547c69c79790e46b59f09ec03cc94b547af9158eb820716a6 90586 grml-autoconfig_0.9.55_all.deb
Files: 
 47e5518e430d8c56f9694b5c854850a1 1021 grml optional grml-autoconfig_0.9.55.dsc
 26ced2238d32b493dd8780fc84505512 69117 grml optional grml-autoconfig_0.9.55.tar.gz
 64fb9788edbc85cddb87916bbb49fee1 90586 grml optional grml-autoconfig_0.9.55_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlAOfXUACgkQ2N9T+zficuhRLACfdlij1I2krroRx0gGEBXESxKi
oOIAn2Toypxog0FCotW6LSzDMBhe2Dz5
=nPAp
-----END PGP SIGNATURE-----
msg4429 (view) Author: mika Date: 2012-07-24.10:46:19
Hi,

gna sorry, I pushed my fix to the wrong package/repository. I just uploaded the corrected grml-
autoconfig version to the repository now.

Could you please give it a shot tomorrow or so with the most current daily ISO then?

thx && regards,
-mika-
msg4428 (view) Author: falko.mach Date: 2012-07-24.08:32:04
Hi Mika,

I used grml64-full_testing_latest.iso which I downloaded today. I booted it and did not provide any config.tbz. After that I created/modified some files in /etc and mounted a local hdd partition in /mnt/grmlcfg. Now I executed "save-config -all -file /mnt/grmlcfg/testiso.tbz" and got the following response:

find: `/live/cow/etc': No such file or directory
Successfully stored configuration in file /mnt/grmlcfg/testiso.tbz

A "tar -tvjf /mnt/grmlcfg/testiso.tbz" shows, that there is no /etc related stuff included.

There is no directory /live/cow at my machines, below /live exist the following dir only: image,overly and rofs. The same situation I see in our vmware virtual machines.


regards,
falko


> -----Original Message-----
> From: Michael Prokop [mailto:bts@bts.grml.org]
> Sent: Monday, July 23, 2012 5:46 PM
> To: Mach, Falko GIZ
> Subject: [issue1188] save-config not working with current ISO layout
>
>
> Michael Prokop <mika@grml.org> added the comment:
>
> Hi Falko,
>
> did you have the opportunity to give grml-saveconfig 0.3.0 a shot?
>
> regards,
> Mika
>
> ----------
> status: testing -> need-eg
>
> _____________________________________
> GRML issue tracker <bts@bts.grml.org>
> <http://bts.grml.org/grml/issue1188>
> _____________________________________
________________________________
Deutsche Gesellschaft fuer Internationale Zusammenarbeit (GIZ) GmbH;
Sitz der Gesellschaft Bonn und Eschborn/Registered offices Bonn and Eschborn, Germany;
Registergericht/Registered at Amtsgericht Bonn, Germany; Eintragungs-Nr./Registration no. HRB 18384 und/and Amtsgericht Frankfurt am Main, Germany; Eintragungs-Nr./Registration no. HRB 12394;
USt-IdNr./VAT ID no. DE 113891176;
Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Hans-Juergen Beerfeltz, Staatssekretaer/State Secretary;
Vorstand/Management Board: Tanja Goenner (Vorstandssprecherin/Chair of the Management Board), Dr. Christoph Beier (Stellv. Vorstandssprecher/Vice-Chair of the Management Board), Tom Paetz, Dr. Hans-Joachim Preuss, Cornelia Richter
msg4427 (view) Author: mika Date: 2012-07-23.15:46:27
Hi Falko,

did you have the opportunity to give grml-saveconfig 0.3.0 a shot?

regards,
Mika
msg4403 (view) Author: mika Date: 2012-07-02.11:53:47
Hi,

I've just uploaded grml-saveconfig 0.3.0 to grml-testing which includes a bunch of 
fixes regarding this issue. Please let us know whether this works for you (the 
daily ISOs as of tomorrow available at http://daily.grml.org/ are supposed to 
include that fix).

thanks for the bugreport && regards,
-mika-
msg4398 (view) Author: falko.mach Date: 2012-06-27.07:31:13
Dear GRML team,

the offered possibility to store changed files in /etc by the save-config script does not work at our machines (FUJITSU PRIMERGY RX300) if they use grml64-full_2012.05 --- the KNECHTROOTRECHT release worked fine at the same machines.

I could bring it to work at my machines by changing the test required for setting the NEWLAYOUT variable, so that it checks now the existence of /live/cow instead of /live/image (our /live directory contains image,overlay and rofs subdirs only):

-----------------------------------------------------------------
# old linuxrc version:
  [ -d /cdrom ]      && OLDLAYOUT=1 || OLDLAYOUT=''
  # new initramfs layout:
  #[ -d /live/image ] && NEWLAYOUT=1 || NEWLAYOUT=''
  [ -d /live/cow ] && NEWLAYOUT=1 || NEWLAYOUT=''
...
save_etc(){
  debug "save etc"
  if [ -n "$NEWLAYOUT" ] ; then
     $runas find /live/cow/etc -type f -o -type l | sed -e 's#/live/cow## ; /etc$/d' >> $FILELIST
  else
     $runas findchanged /etc /GRML/etc >> $FILELIST
  fi
}
-----------------------------------------------------------------


We use following kernel boot options: apm=power-off vga=791 nomce quiet lang=de tz=Europe/Berlin keyboard=de npgpm noquick nodhcp noeject noprompt nolvm
I attached a zipped syslog of our boot process, if thats point of interest for something.


... and many thanks for this project !


mit freundlichen Gruessen,
Falko Mach

Stabstelle IT
Deutsche Gesellschaft fuer
Internationale Zusammenarbeit (GIZ) GmbH
Postfach 5180
65726 Eschborn
Deutschland

tel    +49 6196 791828
fax    +49 6196 79801828
email  falko.mach@giz.de
web    www.giz.de


________________________________
Deutsche Gesellschaft fuer Internationale Zusammenarbeit (GIZ) GmbH;
Sitz der Gesellschaft Bonn und Eschborn/Registered Office Bonn and Eschborn; Germany;
Registergericht/Registered at Amtsgericht Frankfurt am Main, Germany; Eintragungs-Nr./Registration no. HRB 12394;
USt-IdNr./VAT ID no. DE 113891176;
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Hans-Juergen Beerfeltz, Staatssekretaer/State Secretary;
Vorstandssprecher/Chairman of the Management Board: Dr. Bernd Eisenblaetter; Vorstand/Management Board: Dr. Christoph Beier, Adolf Kloke-Lesch, Tom Paetz, Dr. Sebastian Paust, Dr. Hans-Joachim Preuss, Prof. Dr. Juergen Wilhelm
History
Date User Action Args
2012-07-31 12:22:46mikasetstatus: testing -> resolved
nosy: mika, falko.mach
messages: + msg4437
2012-07-31 11:51:35falko.machsetnosy: mika, falko.mach
messages: + msg4436
2012-07-24 10:46:55mikasetstatus: chatting -> testing
nosy: mika, falko.mach
messages: + msg4430
2012-07-24 10:46:19mikasetnosy: mika, falko.mach
messages: + msg4429
2012-07-24 10:17:31mikasetstatus: need-eg -> chatting
nosy: mika, falko.mach
2012-07-24 08:32:05falko.machsetnosy: mika, falko.mach
messages: + msg4428
2012-07-23 15:46:27mikasetstatus: testing -> need-eg
nosy: mika, falko.mach
messages: + msg4427
2012-07-02 11:53:48mikasetstatus: unread -> testing
assignedto: mika
messages: + msg4403
nosy: + mika
title: save-config -> save-config not working with current ISO layout
2012-06-27 11:40:06mikasetpriority: bug
2012-06-27 07:31:14falko.machcreate