Page MenuHomekolab.org

Incorrect database SQL directory in rpm scriptlet
Closed, ResolvedPublic

Description

roundcubemail-core-1.4-209.2.el7.kolab_16.noarch contains the following scriptlet section:

/usr/share/roundcubemail/bin/updatedb.sh \
    --dir /usr/share/doc/roundcubemail-core-1.4-rc1.27/SQL/ \
    --package roundcube || : \
    >/dev/null 2>&1

But that directory does not exist, resulting in:

Error 500: Specified database schema directory doesn't exist.

on upgrade.

Also, you probably do not want to attempt to redirect stderr as this would hide errors like this.

Details

Ticket Type
Task

Event Timeline

vanmeeuwen updated the task description. (Show Details)Mar 27 2019, 7:06 PM
vanmeeuwen updated the task description. (Show Details)
vanmeeuwen lowered the priority of this task from Needs Triage to Normal.
vanmeeuwen claimed this task.
vanmeeuwen moved this task from Backlog to Reviewed on the Bug Reports board.
vanmeeuwen added a subscriber: vanmeeuwen.

Inconvenient at best for the moment, but certainly a risk going forward.