Project

General

Profile

Actions

Bug #7387

closed

The initial installation of rudder-jetty outputs an error on rudder %pre scriptlet

Added by Matthieu CERDA about 9 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The reason is:

# Prepare the migration of /etc/default/rudder-jetty
if [ $(grep -c '# WARNING #' /opt/rudder/etc/rudder-jetty.conf) -eq 0 ]
then
    cp /opt/rudder/etc/rudder-jetty.conf /opt/rudder/etc/rudder-jetty.conf.migrate
fi

We should test the file presence before trying funny things with it !


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6773: Rudder-ldap and rudder-jetty settings should be user configurable in /etc/defaultReleasedBenoît PECCATTE2015-06-19Actions
Actions

Also available in: Atom PDF