Page MenuHomePhorge

Guam init script is not setting the HOME variable.
Closed, ResolvedPublic1 Story Points

Description

[root@kolab ~]# rpm -qv guam
guam-0.7.3-4.1.el6.kolab_14.x86_64

The script: /etc/init.d/guam installed by this package is not setting the HOME variable. When using the "service" tool, the script attempt to start guam, but fails with:

[root@kolab ~]# service guam start
Starting guam
erlexec: HOME must be set
..........Unable to start
[root@kolab ~]#

Exporting the variable HOME in the script removes the error and guam is starting:

-----snip-----
start_cmd="$name start"
restart_cmd="$name restart"
stop_cmd="$name stop"
ping_cmd="$name ping"
user=""
export HOME="/root"

get_pid() {
    cat "$pid_file"
-----snip----

Details

Ticket Type
Task

Event Timeline

petersen set the point value for this task to 1.
petersen added projects: Guam, Restricted Project.
vanmeeuwen moved this task from Backlog to Doing on the Kolab Enterprise 14 board.
vanmeeuwen moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
venc claimed this task.
venc subscribed.

tested on Kolab Enterprise 14 REL6 -> passed -> resolved