aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rwxr-xr-xadd-service9
2 files changed, 9 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 60c284b..2dd3733 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+ * workaround services "disabled" by default getting disabled on
+ upgrade (#39720)
+
2008-03-14 Guillaume Rousse <guillomovitch@mandriva.org> 0.21.3
* fix error in syslog-ng helper, and avoid spurious error
messages in output
diff --git a/add-service b/add-service
index 5ffcbef..b208ba7 100755
--- a/add-service
+++ b/add-service
@@ -75,9 +75,12 @@ else
if [ $# -gt 1 ]; then
echo 1>&2 "add-service: Error: $srv appears multiple times: $*"
fi
- if [ -f "$1" ]; then
- /sbin/chkconfig --add $srv
- fi
+
+# [FIXME] disabling code below for MDV2008.1 to workaround butchered services
+# which have "chkconfig: - ..." and "Default-Start" dropped (#39720)
+# if [ -f "$1" ]; then
+# /sbin/chkconfig --add $srv
+# fi
# restart the service if already running
if [ -f /var/lock/subsys/$srv ]; then