Page MenuHomePhorge

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 lowered the priority of this task from Needs Triage to Normal.
vanmeeuwen updated the task description. (Show Details)
vanmeeuwen updated the task description. (Show Details)
vanmeeuwen moved this task from Backlog to Reviewed on the Bug Reports board.
vanmeeuwen subscribed.

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