hi,

thanks for your responses :)

Am 11/07/2013 08:58 AM, schrieb Schlomo Schapiro:
> In
> usr/share/rear/skel/SESAM/etc/scripts/system-setup.d/59-start-sesam-client.sh:
>
>> @@ -0,0 +1,14 @@
>> +# start included sesam client so file restore can happen:
>> +
>> +if [ -e /etc/sesam2000.ini ]; then
>> +        SM_INI=`grep SM_INI /etc/sesam2000.ini | cut -d '=' -f 2`
>
> $( ... ) please. If you use the "Analyze sesam2000.ini" feature more
> than once then it might be better put into a library function to be
> called from here and from the other place.

is it okey for this to be integrated in

  usr/share/rear/lib/sesam-functions.sh

or is there a better location to add module based functions to be
used from multiple scripts?

We have also removed the init script related stuff. On the distributions
we test (centos/sles/debian) the init scripts require different tools,
some are needed on centos but not on sles, the init script however will
work anyway because sesam uses different init  scripts for the target
distribution. Now we start sesam directly using its own startup
executable to get rid of these contents.

For the lsb_relase: For different reasons we will still ship the rear
client  with sesam in the sesam library path, this means it will be
installed in

<sesam_install_dir>/var/lib/rear/

the script generating os.conf:

build/default/99_update_os_conf.sh

however allways creates the os.conf file in /etc/rear/. If REAR
is installed in an non default path it expects the os.conf file
within the non-standard path (/var/opt/sesam/var/lib/rear/etc/rear).

If it is missing and no lsb_release is included 'rear recover' wont
start. We have patched 99_update_os_conf.sh to also use the
$CONFIG_DIR path for the file destination, ($ROOTFS_DIR/$CONFIG_DIR
/os.conf) so the os.conf file ends up in the right path rear has been
installed to, so we dont have to include lsb_release anymore.

If these steps are ok for you we will commit the latest changes
and have another pull request :)
-- 
Michael Ablassmeier
Senior Support Engineer

Ziegelstrasse 1
D-83629 Weyarn

Fon    +49 (0) 80 20 / 180-0
Fax    +49 (0) 80 20 / 180-666

Mail    support@sep.de
Web   http://www.sep.de