aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-04-02 17:44:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-04-02 17:44:52 +0000
commit55500bfaac0c9084d6369fc9741daf73f9161966 (patch)
treeed529574c2462b76376633e63fea486a561c42eb
parentfc08fbc21cd8f0cb2a8d7a28f32a1e1538500a9a (diff)
downloadrpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar.gz
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar.bz2
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.tar.xz
rpm-helper-55500bfaac0c9084d6369fc9741daf73f9161966.zip
* workaround services "disabled" (butchered?) by default getting disabled on
upgrade (#39720)
-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