[issue1188] save-config

Mach, Falko GIZ bts at bts.grml.org
Wed Jun 27 09:31:14 CEST 2012


New submission from Mach, Falko GIZ <falko.mach at giz.de>:

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 at 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

----------
files: grml-boot.zip
messages: 4398
nosy: falko.mach
status: unread
title: save-config

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue1188>
_____________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grml-boot.zip
Type: application/x-zip-compressed
Size: 24489 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/bugs-changes/attachments/20120627/90ac1c1a/attachment-0001.bin>


More information about the Bugs-changes mailing list