Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69435 - [kea] Scripts not executable

Attached to Project: Community Packages
Opened by Sebastian Gmeiner (Basti.G) - Monday, 25 January 2021, 13:02 GMT
Last edited by Konstantin Gizdov (kgizdov) - Wednesday, 21 April 2021, 16:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Konstantin Gizdov (kgizdov)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Upgrading the lease database fails due to upgrade scripts not being executable.
Could be fixed by chmod +x /usr/share/kea/scripts/*/*.sh

Additional info:
* package version(s): kea 1.9.3-1
* config and/or log files etc.: n/a
* link to upstream bug report, if any: n/a

Steps to reproduce:
Upgrade from an existing Kea, e.g. 1.5 with lease db configured and run
kea-admin db-upgrade mysql -u <username> -p <password> -n <db-name>
Script fails because the upgrade scripts that get invoked are not marked as executable.
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Wednesday, 21 April 2021, 16:02 GMT
Reason for closing:  Works for me
Additional comments about closing:  re-open with more information if still an issue
Comment by Konstantin Gizdov (kgizdov) - Wednesday, 21 April 2021, 14:43 GMT
Is this still an issue?

I cannot reproduce this. kea 1.9.6-1 in [community] has all the "*.sh" files in `/usr/share/kea/scripts` as executable except for the `/usr/share/kea/scripts/admin-utils.sh` which is documented as source-able only by other scripts - thus, it should remain non-executable. Did you perhaps get a warning during upgrade for permission differences from pacman?

Also, if you have the logs of the specific error, it would be helpful.

Loading...