[Eisfair] [e1] Fehlermeldung bei Installation / Erststart von BFB

Olaf Jaehrling eisfair at ojaehrling.de
Sa Okt 15 18:59:29 CEST 2016


Hallo Marcus,

Marcus Roeckrath schrieb am 15.10.2016 um 18:16:

> 
> Das ein Paket bei der Erstinstallation zunächst deaktiviert sein soll, hängt
> damit zusammen, dass keine Konfiguration während der Installation
> stattfindet.
> 
> Solche Dinge hat Holger mir in meinen Paketen, insbesondere Fremdpaketen,
> die ich übernommen habe, schon lange nicht mehr durchgehen lassen.

Jupp, das habe ich auch schon mitbekommen. Auch eine Änderung die
niemals öffentlich bekannt gegeben wurde, ausser dass sie mal in der
devdoc angepasst wurde. Hier mal ein Auszug aus der devdoc, nach der ich
seinerzeit gearbeitet habe:
5.1.2 install.sh
.....

#! /bin/sh
#------------------------------------------------------------------------
# /tmp/install.sh - setup for foo
#
# Creation: 25.01.2005 max
# Last Update: 09.06.2005 max
#
# Copyright (c) 2001-2005 Frank Meyer <frank at eisfair.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#------------------------------------------------------------------------
### package definition
package=’foo’
package_name=’foo server’
package_pos=80
### install startup/stop-scripts
package_start=’S’${package_pos}${package}
package_kill=’K’‘/usr/bin/expr 100 - $package_pos‘${package}
ln -sf /etc/init.d/$package /etc/rc2.d/$package_start
ln -sf /etc/init.d/$package /etc/rc2.d/$package_kill
### add menu
/var/install/bin/add-menu
setup.services.menu \
setup.services.$package.menu \
$package_name
### install configuration
if [ -f "/etc/config.d/$package" ]
then
### update configuration
echo "loading previous configuration file ..."
/var/install/config.d/$package’-update.sh’ update
else
### install default configuartion
echo "loading initial configuration file ..."
cp -p /etc/default.d/$package /etc/config.d/$package
fi
### edit configuration
/var/install/bin/edit -apply $package "Edit $package_name configuration"
exit 0
5.2 Update

Da wurde explizit -apply aufgerufen. Aber ich möchte hier jetzt nicht
darüber philosophieren wann welche Änderung von wem initiiert wurde und
wann die wo beschlossen und veröffentlicht wurde. Das macht absolut
keinen Sinn. Lass uns das Thema bitte beenden.

Danke und Gruß

Olaf




> 


Mehr Informationen über die Mailingliste Eisfair